.profile-dashboard__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 470px));
    gap: 20px;
    align-items: stretch;
    justify-content: start;
}

.profile-dashboard__card--bonus {
    width: 100%;
    max-width: 470px;
    border: 0;
    box-shadow: none;
}

.profile-dashboard__status {
    width: 100%;
    max-width: 470px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 28px;
    border: 0;
    border-radius: 22px;
    background: #f5f5f5;
}

.profile-dashboard__status-copy {
    min-width: 0;
}

.profile-dashboard__status-title {
    color: #777;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.profile-dashboard__status .status-value {
    display: block;
    width: fit-content;
    margin-top: 10px;
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    color: #222;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.profile-dashboard__status .status-value.status--approved {
    color: #5c8a1f;
}

.profile-dashboard__status .status-value.status--pending {
    color: #9b720d;
}

.profile-dashboard__status .status-value.status--declined {
    color: #b33a31;
}

.profile-dashboard__status-note {
    max-width: 370px;
    margin-top: 12px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.profile-dashboard__status-note:empty {
    display: none;
}

.profile-dashboard__status .wholesale-request-btn {
    align-self: flex-start;
    margin-top: auto;
}

.profile-dashboard__panel[data-profile-panel="orders"] .profile-orders .items {
    gap: 22px;
}

.profile-dashboard__panel[data-profile-panel="orders"] .profile-order {
    margin: 0;
}

.profile-dashboard__avatar .avatar_thumbnail {
    position: relative;
}

.profile-dashboard__avatar .avatar_edit {
    top: 0;
    right: 0;
}

.profile-dashboard__nav {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.profile-dashboard__nav::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.profile-dashboard__quick-action {
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.profile-dashboard__quick-action:hover {
    border-color: #dcdcdc;
    background: #fafafa;
    color: #333;
    transform: none;
    box-shadow: none;
}

.profile-dashboard__quick-action:hover strong {
    color: #b43084;
}

.profile-dashboard__quick-action.is-active {
    border-color: rgba(180, 48, 132, .42);
    background: rgba(180, 48, 132, .035);
    color: #333;
    transform: none;
    box-shadow: none;
}

.profile-dashboard__quick-action.is-active strong {
    color: #b43084;
}

.profile-dashboard .promo-box {
    display: grid;
    grid-template-rows: 0fr;
    max-width: 680px;
    margin-top: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: grid-template-rows .32s ease, margin-top .32s ease, opacity .22s ease, transform .32s ease;
}

.profile-dashboard .promo-box.is-open {
    grid-template-rows: 1fr;
    margin-top: 14px;
    opacity: 1;
    transform: translateY(0);
}

.profile-dashboard .promo-activate {
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    visibility: hidden;
    transition: visibility 0s linear .32s;
}

.profile-dashboard .promo-box.is-open .promo-activate {
    visibility: visible;
    transition-delay: 0s;
}

.profile-dashboard .promo-activate__inner {
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    background: #fafafa;
}

.profile-dashboard .promo-activate__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.profile-dashboard .promo-title {
    margin: 0;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.profile-dashboard .promo-description {
    margin-top: 4px;
    color: #777;
    font-size: 13px;
    line-height: 1.45;
}

.profile-dashboard .promo-close {
    display: inline-flex;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #777;
    font: inherit;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.profile-dashboard .promo-close:hover {
    background: #eee;
    color: #222;
}

.profile-dashboard .promo-field {
    display: flex;
    overflow: hidden;
    border: 1px solid #d7d7d7;
    border-radius: 10px;
    background: #fff;
    transition: border-color .2s ease;
}

.profile-dashboard .promo-field:focus-within {
    border-color: #b43084;
}

.profile-dashboard .promo-code-input {
    min-width: 0;
    min-height: 48px;
    flex: 1 1 auto;
    padding: 0 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #222;
    font: inherit;
    font-size: 15px;
    outline: 0;
    box-shadow: none;
}

.profile-dashboard .promo-code-input:focus,
.profile-dashboard .promo-code-input:focus-visible {
    border: 0;
    outline: 0;
    box-shadow: none;
}

.profile-dashboard .promo-code-input::placeholder {
    color: #999;
}

.profile-dashboard .promo-activate-btn {
    min-height: 48px;
    flex: 0 0 auto;
    padding: 0 18px;
    border: 0;
    border-left: 1px solid #d7d7d7;
    border-radius: 0;
    background: #b43084;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .2s ease;
}

.profile-dashboard .promo-activate-btn:hover {
    border-color: #d7d7d7;
    background: #98246f;
    color: #fff;
}

.profile-dashboard .promo-limit-hint {
    margin-top: 10px;
    color: #a33a32;
    font-size: 13px;
    line-height: 1.4;
}

.profile-dashboard .profile-comments .items {
    gap: 0;
    margin: 0;
}

.profile-dashboard .profile-dashboard__comment {
    position: relative;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #eee;
}

.profile-dashboard .profile-dashboard__comment:first-child {
    padding-top: 0;
}

.profile-dashboard .profile-dashboard__comment:last-child {
    border-bottom: 0;
}

.profile-dashboard .profile-dashboard__comment::before,
.profile-dashboard .profile-dashboard__comment::after,
.profile-dashboard .profile-dashboard__comment > .hover-target {
    display: none;
    content: none;
}

.profile-dashboard .profile-dashboard__comment .comment_content {
    margin-left: 0;
    border-radius: 0;
}

.profile-dashboard .profile-dashboard__comment .author {
    display: grid;
    grid-template-columns: 45px minmax(0, 1fr);
    gap: 0 10px;
    align-items: center;
}

.profile-dashboard .profile-dashboard__comment .author_avatar {
    display: block;
    width: 45px;
    height: 45px;
}

.profile-dashboard .profile-dashboard__comment .author_avatar .avatar_thumbnail {
    width: 45px;
    height: 45px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #eee;
    background-position: center;
    background-size: cover;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.profile-dashboard .profile-dashboard__comment .author_main {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.profile-dashboard .profile-dashboard__comment .author_name {
    width: fit-content;
    color: #222;
    font-size: 15px;
    font-weight: 600;
}

.profile-dashboard .profile-dashboard__comment .comment_detail {
    width: fit-content;
    margin-top: 2px;
    overflow: hidden;
    color: #888;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-dashboard .profile-dashboard__comment .comment_detail:hover {
    color: #b43084;
}

.profile-dashboard .profile-dashboard__comment .comment-text {
    margin: 12px 0 0 55px;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
}

.profile-dashboard .profile-dashboard__comment .comment-text p {
    margin: 0;
}

@media (max-width: 720px) {
    .profile-dashboard__cards {
        grid-template-columns: 1fr;
    }

    .profile-dashboard__card--bonus,
    .profile-dashboard__status {
        max-width: none;
    }

    .profile-dashboard__status {
        min-height: 0;
        padding: 22px 18px;
    }

    .profile-dashboard .profile-dashboard__comment .comment-text {
        margin-left: 0;
    }
}

@media (max-width: 520px) {
    .profile-dashboard .promo-activate__inner {
        padding: 17px;
    }

    .profile-dashboard .promo-field {
        flex-direction: column;
    }

    .profile-dashboard .promo-activate-btn {
        width: 100%;
        border-left: 0;
        border-top: 1px solid #d7d7d7;
    }
}
