.vorya-public-profile {
    max-width: 560px;
    margin: 32px auto;
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px 24px 24px;
    box-shadow: 0 4px 26px rgba(10, 8, 48, 0.08);
    color: #212121;
    direction: rtl;
}
.profile-header {
    display: flex;
    align-items: center;
    border-bottom: 1.5px solid #54595F;
    padding-bottom: 12px;
    margin-bottom: 22px;
}
.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 3px solid #0A0830;
    margin-left: 18px;
}
.profile-info { flex: 1; }
.profile-name {
    margin: 0 0 7px 0;
    color: #0A0830;
    font-weight: bold;
    font-size: 1.3em;
}
.profile-bio {
    margin: 0;
    color: #54595F;
    font-size: 1em;
}
.profile-meta {
    color: #54595F;
    font-size: .97em;
    margin-bottom: 5px;
}
.profile-membership-days {
    background: #F6F7FA;
    color: #54595F;
    padding: 5px 13px;
    border-radius: 7px;
    font-size: .98em;
    margin: 0;
    display: inline-block;
}

.profile-section {
    margin-top: 22px;
}
.profile-section h3 {
    color: #0A0830;
    font-size: 1.1em;
    margin-bottom: 7px;
}

.products-list, .comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.products-list li, .comments-list li {
    background: #F6F7FA;
    margin-bottom: 8px;
    border-radius: 7px;
    padding: 7px 13px;
    font-size: 0.97em;
    display: flex;
    flex-direction: column;
}
.products-list a {
    color: #0A0830;
    transition: color 0.2s;
    text-decoration: none;
}
.products-list a:hover {
    color: #54595F;
    text-decoration: underline;
}
.comment-post {
    color: #54595F;
    font-size: 0.93em;
}
.comment-content {
    margin-top: 2.5px;
    color: #212121;
}
.profile-note {
    color: #54595F;
    background: #EDEEF7;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.95em;
}
.vorya-profile-error {
    color: #fff;
    background: #d32f2f;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
    margin: 24px 0;
}

/* --- Accordion --- */
.accordion-toggle {
    width: 100%;
    background: #F6F7FA;
    color: #0A0830;
    border: none;
    text-align: right;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
    outline: none;
}

.accordion-toggle:hover, .accordion-toggle.accordion-open {
    background: #EDEEF7;
}
.accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.36, .94, .64, 1), opacity .25s linear;
    margin-bottom: 16px;
    background: none;
}
.accordion-toggle.accordion-open + .accordion-content {
    max-height: 800px; /* برای بیشترین آیتم‌ها */
    opacity: 1;
    margin-top: 0;
    padding-top: 0;
}
/* آیکون چرخشی */
.accordion-icon {
    margin-right: 10px;
    transition: transform .4s;
}
.accordion-toggle.accordion-open .accordion-icon {
    transform: rotate(180deg);
}

.user-profile-link {
    color: #0A0830;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.18s;
}
.user-profile-link:hover {
    color: #54595F;
}
