/* ============================================
   اکانتی – Frontend Styles
   pmashop.ir | v1.0.0
   ============================================ */

/* box-sizing فقط روی container های افزونه — هدر و المان‌های تم رو تغییر نمی‌ده */
.accounti-game-page *, .accounti-game-page *::before, .accounti-game-page *::after,
.accounti-pd-page *, .accounti-pd-page *::before, .accounti-pd-page *::after,
.accounti-pd-extra-sections *, .accounti-pd-extra-sections *::before, .accounti-pd-extra-sections *::after,
.accounti-seller-panel *, .accounti-seller-panel *::before, .accounti-seller-panel *::after,
.accd-wrap *, .accd-wrap *::before, .accd-wrap *::after,
.asp-quick-preview-modal *, .asp-quick-preview-modal *::before, .asp-quick-preview-modal *::after,
.asp-product-chat-modal *, .asp-product-chat-modal *::before, .asp-product-chat-modal *::after,
.accounti-safe-pay-overlay *, .accounti-safe-pay-overlay *::before, .accounti-safe-pay-overlay *::after {
    box-sizing: border-box;
}

/* ── Game Listing Page ─────────────────────── */
.accounti-game-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    direction: rtl;
    font-family: 'IRYekan', IRANSans, Tahoma, Arial, sans-serif;
}

.accounti-game-seo-content {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid #e5e8f1;
    border-radius: 12px;
    background: #fff;
    color: #28324f;
    line-height: 2;
    font-size: 14px;
}

.accounti-game-related-posts {
    margin-top: 22px;
    padding-top: 8px;
}

.accounti-game-related-posts h2 {
    font-size: 18px;
    color: #1f2740;
    margin: 0 0 12px;
}

.accounti-game-related-posts__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.accounti-game-related-posts__item {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: #f4f7ff;
    color: #344174;
    border: 1px solid #d8dff5;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
    line-height: 1.4;
}

.accounti-game-related-posts__item:hover {
    background: #eaf0ff;
    color: #26305b;
}

/* Chat workspace */
.asp-chat-app {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 0;
    border: 1px solid #e4e8f2;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    height: 70vh;
    max-height: 760px;
    min-height: 560px;
}

.asp-chat-sidebar {
    border-left: 1px solid #edf0f7;
    background: #fbfcff;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.asp-chat-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 14px 14px 12px;
    border-bottom: 1px solid #edf0f7;
}

.asp-chat-sidebar__header h3 {
    margin: 0;
    font-size: 15px;
    color: #1f2540;
}

.asp-chat-refresh-btn {
    border: 1px solid #d9dfef;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    background: #fff;
    cursor: pointer;
    color: #566084;
}

.asp-chat-notify-toggle {
    border: 1px solid #d0d8ef;
    border-radius: 999px;
    background: #fff;
    color: #384569;
    font-size: 12px;
    line-height: 1;
    padding: 8px 12px;
    cursor: pointer;
}

.asp-chat-notify-toggle.is-on {
    border-color: #16a34a;
    background: #ecfdf3;
    color: #166534;
}

.asp-chat-notify-toggle.is-off {
    border-color: #d0d8ef;
    background: #fff;
    color: #384569;
}

.asp-chat-connection-widget {
    padding: 10px 14px;
    border-bottom: 1px solid #edf0f7;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.asp-chat-connection-widget__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.asp-chat-connection-widget__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
}

.asp-chat-connection-widget strong {
    font-size: 12px;
    color: #475172;
}

.asp-chat-connection-widget small {
    font-size: 11px;
    color: #8a93ad;
    line-height: 1.7;
}

.asp-chat-connection-widget.is-connected .asp-chat-connection-widget__dot {
    background: #16a34a;
}

.asp-chat-connection-widget.is-disconnected .asp-chat-connection-widget__dot {
    background: #dc2626;
}

.asp-chat-connection-widget.is-connecting .asp-chat-connection-widget__dot {
    background: #f59e0b;
}

.asp-chat-conversation-list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 100%;
}

.asp-chat-list-empty {
    padding: 20px 14px;
    text-align: center;
    color: #8b93ac;
    font-size: 13px;
}

.asp-chat-list-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 14px;
    color: #647097;
    font-size: 12px;
    border-bottom: 1px solid #edf0f7;
    background: #fff;
}

.asp-chat-list-loading__spinner {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #d7dff5;
    border-top-color: #3a57cf;
    animation: aspChatSpin .8s linear infinite;
}

@keyframes aspChatSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.asp-chat-list-item {
    border: 0;
    border-bottom: 1px solid #edf0f7;
    background: #fff;
    text-align: right;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.asp-chat-list-item:hover {
    background: #f4f7ff;
}

.asp-chat-list-item.is-active {
    background: #eaf0ff;
}

.asp-chat-list-item__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9edf8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #647097;
}

.asp-chat-list-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asp-chat-list-item__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.asp-chat-list-item__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.asp-chat-list-item__meta strong {
    color: #1f2642;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asp-chat-list-item__unread {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #e11d48;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    line-height: 1;
    padding: 0 5px;
    font-weight: 700;
}

.asp-chat-list-item__meta small {
    color: #6c7591;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asp-chat-list-item__time {
    font-size: 11px;
    color: #8790aa;
    align-self: flex-start;
}

.asp-chat-thread-wrap {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.asp-chat-thread-empty {
    margin: auto;
    text-align: center;
    color: #8a93ac;
    max-width: 360px;
    padding: 20px;
}

.asp-chat-thread-empty .dashicons {
    width: 52px;
    height: 52px;
    font-size: 52px;
    color: #a7b0c8;
}

.asp-chat-thread-empty h3 {
    margin: 14px 0 8px;
    font-size: 17px;
    color: #2a314f;
}

.asp-chat-thread-empty p {
    margin: 0;
    line-height: 1.9;
    font-size: 13px;
}

.asp-chat-thread {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.asp-chat-load-older-wrap {
    padding: 8px 14px 0;
    background: transparent;
    text-align: center;
}

.asp-chat-load-older-btn {
    border: 1px solid #d3dbef;
    background: #fff;
    color: #30416d;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    padding: 8px 14px;
    cursor: pointer;
}

.asp-chat-load-older-btn:disabled {
    opacity: .6;
    cursor: default;
}

.asp-chat-thread__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #edf1fa;
    background: #fff;
}

.asp-chat-peer-wrap {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.asp-chat-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
}

.asp-chat-header-actions .asp-chat-delivery-confirm-btn,
.asp-chat-header-actions .asp-chat-delivery-problem-btn {
    padding: 6px 10px;
    font-size: 11px;
}

.asp-chat-peer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e9edf8;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #63719a;
}

.asp-chat-peer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.asp-chat-peer-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.asp-chat-peer-meta strong {
    font-size: 14px;
    color: #212946;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asp-chat-peer-meta small {
    font-size: 11px;
    color: #7f88a4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asp-chat-messages {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.asp-chat-messages-empty {
    margin: auto;
    color: #8e97b0;
    font-size: 13px;
}

.asp-chat-message {
    display: flex;
    justify-content: flex-end;
}

.asp-chat-message.is-me {
    justify-content: flex-start;
}

.asp-chat-message.is-system {
    justify-content: center;
}

.asp-chat-message__bubble {
    max-width: min(78%, 520px);
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e6ebf7;
    padding: 8px 10px;
}

.asp-chat-message.is-me .asp-chat-message__bubble {
    background: #dae9ff;
    border-color: #c7dcff;
}

.asp-chat-message.is-system .asp-chat-message__bubble {
    max-width: min(86%, 620px);
    background: #f7f8ff;
    border-color: #d7defe;
    box-shadow: 0 10px 24px rgba(40, 56, 110, 0.08);
}

.asp-chat-message.is-system-warning .asp-chat-message__bubble {
    max-width: min(92%, 760px);
    background: #fff8ed;
    border-color: #f5c27a;
    box-shadow: none;
    padding: 6px 10px;
}

.asp-chat-message.is-system-warning .asp-chat-message__sender {
    display: none;
}

.asp-chat-message.is-system-warning .asp-chat-message__text {
    color: #8a4b00;
    font-size: 12px;
    line-height: 1.75;
}

.asp-chat-message.is-system-warning .asp-chat-message__time {
    color: #aa7a33;
    margin-top: 2px;
}

.asp-chat-message__sender {
    font-size: 11px;
    color: #4d5b87;
    margin-bottom: 3px;
}

.asp-chat-message.is-system .asp-chat-message__sender {
    text-align: center;
    color: #4a5dc2;
    font-weight: 700;
}

.asp-chat-message__text {
    line-height: 1.9;
    color: #253053;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 13px;
}

.asp-chat-message__time {
    margin-top: 4px;
    font-size: 10px;
    color: #7883a1;
    text-align: left;
}

.asp-chat-message.is-system .asp-chat-message__time {
    text-align: center;
}

.asp-chat-message__text--system-html {
    margin-bottom: 8px;
}

.asp-chat-system-card {
    border: 1px solid #e1e6ff;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    max-width: 360px;
    margin: 0 auto;
}

.asp-chat-system-card__thumb-wrap {
    display: block;
    text-decoration: none;
}

.asp-chat-system-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: 10px;
    background: #eef1fe;
    display: block;
}

.asp-chat-system-card__title {
    margin-top: 8px;
    color: #1f2b55;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    line-height: 1.8;
}

.asp-chat-delivery-actions {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.asp-chat-delivery-confirm-btn,
.asp-chat-delivery-problem-btn {
    border: 1px solid #c9d3f0;
    border-radius: 9px;
    background: #fff;
    color: #25376f;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 12px;
    cursor: pointer;
}

.asp-chat-delivery-confirm-btn {
    background: #edf2ff;
    border-color: #b7c6f6;
}

.asp-chat-delivery-confirm-btn.is-confirmed {
    background: #e7f9ef;
    border-color: #99dfb3;
    color: #0f6a34;
    cursor: default;
}

.asp-chat-delivery-confirm-btn.is-loading {
    opacity: .8;
}

.asp-chat-delivery-confirm-btn.is-error {
    border-color: #efb2b2;
    color: #9d1f1f;
}

.asp-chat-delivery-problem-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}

body.asp-chat-delivery-modal-open {
    overflow: hidden;
}

.asp-chat-delivery-modal {
    position: fixed;
    inset: 0;
    z-index: 10060;
}

.asp-chat-delivery-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 34, 0.52);
}

.asp-chat-delivery-modal__dialog {
    position: relative;
    width: min(560px, calc(100vw - 28px));
    margin: 10vh auto 0;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 20px 44px rgba(10, 18, 40, 0.3);
}

.asp-chat-delivery-modal__close {
    position: absolute;
    top: 10px;
    left: 10px;
    border: 0;
    background: transparent;
    color: #6f7894;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.asp-chat-delivery-modal__dialog h4 {
    margin: 0 0 10px;
    color: #1f2947;
    font-size: 16px;
}

#asp-chat-delivery-modal-text {
    margin: 0;
    color: #32406d;
    line-height: 2;
    font-size: 13px;
}

.asp-chat-delivery-modal__actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.asp-chat-delivery-modal-confirm,
.asp-chat-delivery-modal-cancel {
    border: 1px solid #cfd8ef;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.asp-chat-delivery-modal-confirm {
    background: #3555d5;
    color: #fff;
    border-color: #2d4bc4;
}

.asp-chat-delivery-modal-confirm:disabled {
    background: #b8c4eb;
    border-color: #aebade;
    cursor: not-allowed;
}

.asp-chat-delivery-modal-confirm.is-loading {
    opacity: .85;
}

.asp-chat-delivery-modal-cancel {
    background: #fff;
    color: #2b3a66;
}

.asp-chat-delivery-modal-timer {
    margin-right: auto;
    color: #6a7493;
    font-size: 12px;
    font-weight: 700;
}

.asp-chat-seller-review-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.asp-chat-seller-review-option {
    border: 1px solid #d8deef;
    border-radius: 10px;
    background: #fff;
    color: #2b3963;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 10px;
    cursor: pointer;
}

.asp-chat-seller-review-option.is-selected {
    background: #eef3ff;
    border-color: #8ea5ec;
    color: #1c3ea6;
}

.asp-chat-seller-review-label {
    display: block;
    margin-bottom: 6px;
    color: #4a567c;
    font-size: 12px;
    font-weight: 700;
}

.asp-chat-seller-review-comment {
    width: 100%;
    border: 1px solid #d4dced;
    border-radius: 10px;
    padding: 9px 10px;
    font-size: 13px;
    color: #23315e;
    resize: vertical;
    min-height: 96px;
}

.asp-chat-seller-review-comment:focus {
    outline: none;
    border-color: #4765da;
}

.asp-chat-send-form {
    border-top: 1px solid #edf1fa;
    background: #fff;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asp-chat-input {
    flex: 1;
    border: 1px solid #d3daec;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    outline: none;
}

.asp-chat-input:focus {
    border-color: #4964d8;
}

.asp-chat-send-btn {
    border: 0;
    border-radius: 10px;
    background: #3a57cf;
    color: #fff;
    padding: 0 16px;
    font-size: 13px;
    cursor: pointer;
    height: 40px;
}

.asp-chat-attach-btn {
    border: 1px solid #d3daec;
    border-radius: 10px;
    background: #f7f9ff;
    color: #2c3a66;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.asp-chat-attach-icon {
    font-size: 18px;
    line-height: 1;
}

.asp-chat-image-preview {
    border-top: 1px dashed #e4e9f8;
    background: #fff;
    padding: 8px 10px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asp-chat-image-preview img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #d9e1f5;
}

.asp-chat-image-preview span {
    font-size: 12px;
    color: #4d5b87;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.asp-chat-image-preview button {
    margin-right: auto;
    border: 0;
    background: #f2f4fb;
    color: #7b86a8;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.asp-chat-reply-preview {
    border-top: 1px dashed #dbe2f6;
    background: #f9fbff;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.asp-chat-reply-preview strong {
    color: #344274;
    font-size: 12px;
}

.asp-chat-reply-preview span {
    color: #59658d;
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.asp-chat-reply-preview button {
    margin-right: auto;
    border: 0;
    background: #eaf0ff;
    color: #506090;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    cursor: pointer;
}

.asp-chat-menu-unread {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #dc2626;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    padding: 0 6px;
    margin-right: auto;
    box-shadow: 0 8px 18px rgba(220, 38, 38, 0.28);
}

.asp-chat-message__text--user-html {
    margin-bottom: 6px;
}

.asp-chat-image-link {
    display: inline-block;
    text-decoration: none;
}

.asp-chat-image-message {
    max-width: min(280px, 72vw);
    max-height: 240px;
    border-radius: 10px;
    display: block;
    border: 1px solid #dbe3f7;
}

.asp-chat-reply-ref {
    width: 100%;
    text-align: right;
    border: 1px solid #dde5fb;
    background: #f6f9ff;
    border-radius: 8px;
    padding: 6px 8px;
    margin-bottom: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.asp-chat-reply-ref strong {
    color: #33427a;
    font-size: 11px;
}

.asp-chat-reply-ref span {
    color: #5f6c93;
    font-size: 11px;
}

.asp-chat-message__reply-btn {
    border: 0;
    background: #eaf0ff;
    color: #3f4f86;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin-top: 6px;
    margin-right: auto;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

.asp-chat-message.is-reply-focus .asp-chat-message__bubble {
    box-shadow: 0 0 0 2px rgba(58, 87, 207, 0.25);
}

.asp-chat-message.is-touch-actions .asp-chat-message__reply-btn,
.asp-chat-message__bubble:focus-within .asp-chat-message__reply-btn {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: hover) {
    .asp-chat-message:hover .asp-chat-message__reply-btn {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (hover: none) {
    .asp-chat-message__reply-btn {
        opacity: 0;
        pointer-events: none;
    }
}

@media (max-width: 980px) {
    .asp-chat-app {
        grid-template-columns: 1fr;
        height: 75vh;
        max-height: none;
        min-height: 640px;
    }

    .asp-chat-sidebar {
        min-height: 220px;
        border-left: 0;
        border-bottom: 1px solid #edf0f7;
    }

    .asp-chat-thread,
    .asp-chat-thread-wrap {
        min-height: 420px;
    }
}

/* Hero */
.accounti-game-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.accounti-game-hero__info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.accounti-game-hero__icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.accounti-game-hero__title {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 4px;
    color: #111827;
}

.accounti-game-hero__count {
    font-size: 12px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}
.accounti-game-hero__count::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ed6205;
}

/* CTA Button */
.accounti-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f97316, #ed6205);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}

.accounti-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237,98,5,.4);
    color: #fff;
    text-decoration: none;
}

.accounti-cta-btn--ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,.4);
}

.accounti-cta-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255,255,255,.1);
    box-shadow: none;
}

.accounti-cta-btn--dark-ghost {
    border-color: #cfd6eb;
    color: #3e4a70;
    background: #fff;
}

.accounti-cta-btn--dark-ghost:hover {
    border-color: #aeb9da;
    background: #f8faff;
    color: #2f3a61;
}

/* ── Filter Bar ─────────────────────────────── */
.accounti-filter-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 14px;
    margin: 16px 0 22px;
}

.accounti-filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* سرچ‌باکس */
.accounti-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 12px;
    height: 38px;
    flex: 1;
    min-width: 160px;
}

.accounti-search-box svg { color: #9ca3af; flex-shrink: 0; }

.accounti-search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: #111827;
    width: 100%;
    font-family: inherit;
}

.accounti-search-box input::placeholder { color: #9ca3af; }

/* Dropdown wrapper */
.accounti-dd-wrap {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.accounti-dd-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 12px;
    height: 38px;
    font-size: 13px;
    color: #111827;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    transition: border-color .15s, background .15s;
}

.accounti-dd-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.accounti-dd-wrap.is-active > .accounti-dd-btn {
    border-color: #5b5ea6;
    color: #5b5ea6;
}

.accounti-dd-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #5b5ea6;
    flex-shrink: 0;
}

.accounti-dd-arrow { color: #9ca3af; flex-shrink: 0; transition: transform .2s; }
.accounti-dd-wrap.is-open > .accounti-dd-btn .accounti-dd-arrow { transform: rotate(180deg); }

/* Dropdown panel */
.accounti-dd-panel {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    min-width: 200px;
    padding: 10px;
    z-index: 200;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.accounti-dd-wrap.is-open > .accounti-dd-panel { display: block; }

.accounti-dd-panel--sort { min-width: 150px; }

.accounti-dd-panel-title {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}

/* گزینه‌های radio/checkbox */
.accounti-dd-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    border-radius: 6px;
}

.accounti-dd-option:hover { background: #f9fafb; }

.accounti-dd-option input[type="radio"] {
    accent-color: #5b5ea6;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    cursor: pointer;
}

/* بازه قیمت/عدد */
.accounti-range-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.accounti-range-row input[type="number"] {
    width: 80px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
    color: #111827;
    font-size: 13px;
    font-family: inherit;
}

.accounti-range-row span { font-size: 12px; color: #9ca3af; }

/* دکمه اعمال داخل panel */
.accounti-dd-apply {
    width: 100%;
    margin-top: 8px;
    padding: 7px;
    border-radius: 8px;
    border: none;
    background: #5b5ea6;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.accounti-dd-apply:hover { background: #4a4d8f; }

/* حذف فیلترها */
.accounti-filter-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    color: #ef4444;
    text-decoration: none;
    flex-shrink: 0;
    transition: background .15s;
}

.accounti-filter-clear:hover { background: #fef2f2; }

/* گروه سورت */
.accounti-sort-group {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: auto;
}

/* دکمه‌های نما (grid/list) */
.accounti-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    color: #6b7280;
    transition: all .15s;
    flex-shrink: 0;
}

.accounti-view-btn:hover { background: #f9fafb; }
.accounti-view-btn.is-active { background: #f3f4f6; color: #111827; border-color: #d1d5db; }

/* نمای لیست */
.accounti-products-grid.is-list-view {
    grid-template-columns: 1fr;
}

.accounti-products-grid.is-list-view .accounti-product-card {
    flex-direction: row;
}

.accounti-products-grid.is-list-view .accounti-product-card__thumb {
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}

.accounti-products-grid.is-list-view .accounti-product-card__link {
    flex-direction: row;
    flex: 1;
}

.accounti-products-grid.is-list-view .accounti-product-card__body {
    flex: 1;
}

@media (max-width: 640px) {
    .accounti-sort-group { margin-right: 0; }
    .accounti-filter-row { gap: 6px; }
    .accounti-products-grid.is-list-view .accounti-product-card { flex-direction: column; }
    .accounti-products-grid.is-list-view .accounti-product-card__thumb { width: 100%; }
    .accounti-products-grid.is-list-view .accounti-product-card__link { flex-direction: column; }
}

/* ── 4-column Product Grid ──────────────────── */
.accounti-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .accounti-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .accounti-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
    .accounti-products-grid { grid-template-columns: 1fr; }
}

/* ── Product Card ────────────────────────────── */
.accounti-product-card {
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s, transform .2s, border-color .2s;
    display: flex;
    flex-direction: column;
}

.accounti-product-card:hover {
    border-color: #c5c8f0;
    box-shadow: 0 8px 28px rgba(91,94,166,.15);
    transform: translateY(-3px);
}

/* لینک اصلی (تصویر + بدنه + فوتر قیمت) */
.accounti-product-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
}

/* ── تصویر ──────────────────────────────────── */
.accounti-product-card__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #e5e7eb;
    position: relative;
    flex-shrink: 0;
}

.accounti-product-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.accounti-product-card__no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 40px;
}

/* badge شمارنده عکس */
.accounti-product-card__photo-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,.52);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

/* ── بدنه ───────────────────────────────────── */
.accounti-product-card__body {
    padding: 14px 14px 10px;
    flex: 1;
}

.accounti-product-card__title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #111827;
}

/* ── برچسب‌های ویژگی ─────────────────────────── */
.accounti-product-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 4px;
}

.accounti-product-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    padding: 4px 9px;
    font-size: 11px;
    color: #4b5563;
    white-space: nowrap;
}

.accounti-product-card__badge strong {
    color: #111827;
    font-weight: 600;
}

/* ── فوتر: قیمت + دکمه ─────────────────────── */
.accounti-product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px 12px;
    margin-top: auto;
}

.accounti-product-card__price {
    font-size: 16px;
    font-weight: 700;
    color: #ed6205;
    line-height: 1.2;
}

.accounti-product-card__view-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ed6205;
    color: #fff;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s;
}

.accounti-product-card__link:hover .accounti-product-card__view-btn {
    background: #d45700;
}

/* ── ردیف فروشنده ───────────────────────────── */
.accounti-product-card__seller {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 9px 12px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa;
}

.accounti-product-card__seller-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.accounti-product-card__seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accounti-product-card__seller-info {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.accounti-product-card__seller-name {
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.accounti-product-card__seller-name:hover { color: #5b5ea6; }

.accounti-product-card__badge-gold {
    font-size: 11px;
    color: #d97706;
    flex-shrink: 0;
}

.accounti-product-card__badge-verified {
    font-size: 11px;
    color: #059669;
    font-weight: 700;
    flex-shrink: 0;
}

.accounti-product-card__seller-spacer { flex: 1; }

.accounti-product-card__seller-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #4b5563;
    flex-shrink: 0;
}

.accounti-product-card__seller-rating svg { color: #059669; }

.accounti-product-card__sold-count {
    font-size: 10px;
    color: #9ca3af;
    flex-shrink: 0;
}

/* ── مشخصات اکانت در صفحه محصول ──────────────── */
.accounti-product-specs {
    margin: 24px 0;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    font-family: inherit;
}

.accounti-product-specs__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* هر آیتم */
.accounti-product-specs__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 20px;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
}

/* ردیف اول — بدون border بالا */
.accounti-product-specs__item:nth-child(-n+3) {
    border-top: none;
}

/* ستون آخر هر ردیف — بدون border چپ */
.accounti-product-specs__item:nth-child(3n+1) {
    border-left: none;
}

/* برچسب فیلد */
.accounti-product-specs__label {
    font-size: 13px;
    font-weight: 600;
    color: #1e2432;
    line-height: 1.3;
}

/* مقدار فیلد */
.accounti-product-specs__value {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
    word-break: break-word;
}

@media (max-width: 640px) {
    .accounti-product-specs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .accounti-product-specs__item:nth-child(-n+3) {
        border-top: 1px solid #e5e7eb;
    }
    .accounti-product-specs__item:nth-child(-n+2) {
        border-top: none;
    }
    .accounti-product-specs__item:nth-child(3n+1) {
        border-left: 1px solid #e5e7eb;
    }
    .accounti-product-specs__item:nth-child(2n+1) {
        border-left: none;
    }
}

@media (max-width: 400px) {
    .accounti-product-specs__grid {
        grid-template-columns: 1fr;
    }
    .accounti-product-specs__item {
        border-left: none;
        border-top: 1px solid #e5e7eb;
    }
    .accounti-product-specs__item:first-child {
        border-top: none;
    }
    .accounti-product-specs__item:nth-child(2n+1),
    .accounti-product-specs__item:nth-child(3n+1) {
        border-left: none;
    }
}

/* Pagination */
.accounti-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}

.accounti-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1.5px solid #dde2ef;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    transition: all .2s;
}

.accounti-pagination .page-numbers.current,
.accounti-pagination .page-numbers:hover {
    background: #5b5ea6;
    border-color: #5b5ea6;
    color: #fff;
}

/* Empty state */
.accounti-empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #aaa;
}

.accounti-empty-state__icon {
    font-size: 56px;
    display: block;
    margin-bottom: 16px;
}

.accounti-empty-state h3 {
    font-size: 20px;
    color: #555;
    margin: 0 0 8px;
}

.accounti-empty-state p {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
}

/* ── Submit Listing (My Account) ────────────── */
.accounti-submit-wrap {
    direction: rtl;
    font-family: IRANSans, Tahoma, Arial, sans-serif;
}

/* My listings table */
.accounti-my-listings {
    margin-bottom: 32px;
}

.accounti-my-listings h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.accounti-listings-table {
    width: 100%;
    border-collapse: collapse;
}

.accounti-listings-table th,
.accounti-listings-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #eaecf5;
    font-size: 13px;
    text-align: right;
}

.accounti-listings-table th {
    background: #f7f8fc;
    font-weight: 600;
    color: #555;
}

/* Status badges */
.accounti-status {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.accounti-status--publish  { background: #e8f5e9; color: #2e7d32; }
.accounti-status--pending  { background: #fff3e0; color: #e65100; }
.accounti-status--draft    { background: #f5f5f5; color: #757575; }

.accounti-link   { color: #5b5ea6; text-decoration: none; }
.accounti-link:hover { text-decoration: underline; }
.accounti-muted  { color: #aaa; font-size: 12px; }

/* Game chips */
.accounti-new-listing h3 {
    font-size: 16px;
    margin-bottom: 16px;
}

.accounti-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.accounti-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.accounti-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    border: 2px solid #dde2ef;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all .2s;
    background: #fafbff;
}

.accounti-chip img {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    object-fit: cover;
}

.accounti-chip:hover,
.accounti-chip.is-active {
    border-color: #5b5ea6;
    background: #eef0fb;
    color: #5b5ea6;
    text-decoration: none;
}

/* Ad form */
.accounti-ad-form {
    max-width: 640px;
}

.accounti-ad-form__field {
    margin-bottom: 20px;
}

.accounti-ad-form__field--media {
    display: block;
    width: 100%;
    margin-left: 0;
    padding: 12px;
    border: 1px solid #e4e8f2;
    border-radius: 12px;
    background: #fbfcff;
}

.accounti-ad-form__field--media .accounti-ad-form__label {
    font-size: 12px;
    margin-bottom: 8px;
}

.accounti-ad-form__field--media .accounti-file-wrap {
    gap: 8px;
}

.accounti-ad-form__field--media .accounti-file-label {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
    border-style: solid;
}

.accounti-ad-form__field--media .accounti-file-name {
    font-size: 11px;
    color: #8991a7;
    line-height: 1.7;
}

.accounti-ad-form__field--media .asp-existing-media {
    margin-bottom: 8px;
    padding: 8px;
}

.accounti-ad-form__field--media .asp-existing-media__label {
    font-size: 11px;
}

.accounti-ad-form__field--media .asp-existing-thumb img {
    width: 86px;
    height: 86px;
    margin-bottom: 6px;
}

.accounti-ad-form__field--media .asp-gallery-existing-grid {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}

.accounti-ad-form__field--media .asp-gallery-item img {
    height: 66px;
}

.accounti-ad-form__field--media .asp-remove-hint {
    font-size: 10px;
    margin-top: 6px;
}

@media (max-width: 760px) {
    .accounti-ad-form__field--media {
        width: 100%;
        margin-left: 0;
    }
}

.accounti-ad-form__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1e2432;
}

.accounti-required { color: #e53935; margin-right: 2px; }

.accounti-input,
.accounti-textarea,
.accounti-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #dde2ef;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #1e2432;
    background: #fff;
    outline: none;
    transition: border-color .2s;
    direction: rtl;
}

.accounti-input:focus,
.accounti-textarea:focus,
.accounti-select:focus {
    border-color: #7c83fd;
    box-shadow: 0 0 0 3px rgba(124,131,253,.15);
}

.accounti-textarea { resize: vertical; min-height: 120px; }

/* Radio / checkbox */
.accounti-radio-group,
.accounti-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.accounti-radio,
.accounti-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
}

.accounti-radio input,
.accounti-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #5b5ea6;
    cursor: pointer;
}

/* File upload */
.accounti-file-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.accounti-file-input {
    display: none;
}

.accounti-file-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border: 2px dashed #c5c8f0;
    border-radius: 9px;
    color: #5b5ea6;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
    background: #f5f6fb;
}

.accounti-file-label:hover {
    border-color: #5b5ea6;
    background: #eef0fb;
}

.accounti-file-name {
    font-size: 12px;
    color: #aaa;
}

.asp-upload-preview {
    margin-top: 10px;
    width: 100%;
}

.asp-upload-preview__loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6f7690;
    background: #f5f7fb;
    border: 1px solid #e2e7f2;
    border-radius: 8px;
    padding: 7px 10px;
}

.asp-preview-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #d6dcef;
    border-top-color: #5b5ea6;
    display: inline-block;
    animation: asp-spin .8s linear infinite;
}

.asp-upload-preview__single img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8deea;
    display: block;
}

.asp-upload-preview__single,
.asp-upload-preview__item {
    position: relative;
}

.asp-upload-preview__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 50%;
    background: rgba(15, 21, 35, .78);
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    cursor: pointer;
    padding: 0;
}

.asp-upload-preview__remove:hover {
    background: #d32f2f;
}

.asp-upload-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
}

.asp-upload-preview__item img {
    width: 100%;
    height: 66px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d8deea;
    display: block;
}

@keyframes asp-spin {
    to { transform: rotate(360deg); }
}

/* Submit button */
.accounti-ad-form__submit {
    margin-top: 28px;
}

.accounti-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    background: linear-gradient(135deg, #5b5ea6, #7c83fd);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s;
}

.accounti-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91,94,166,.4);
}

.asp-chat-dashboard-entry {
    margin: 14px 0 0;
}

.asp-chat-entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.single-product .asp-product-chat-open,
.single-product .asp-product-chat-login-btn {
    margin-top: 10px;
    margin-right: 8px;
}

.asp-product-chat-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
}

.asp-product-chat-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 15, 30, 0.48);
}

.asp-product-chat-modal__dialog {
    position: relative;
    width: min(520px, calc(100vw - 28px));
    margin: 9vh auto 0;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 20px 48px rgba(10, 18, 39, 0.28);
}

.asp-product-chat-modal__dialog h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1f2846;
}

.asp-product-chat-modal__hint {
    margin: 0 0 10px;
    color: #5f6b8b;
    line-height: 1.9;
    font-size: 13px;
}

.asp-product-chat-modal__close {
    position: absolute;
    top: 10px;
    left: 10px;
    border: 0;
    background: transparent;
    font-size: 26px;
    cursor: pointer;
    color: #7f89a5;
    line-height: 1;
}

.asp-product-chat-text {
    width: 100%;
    border: 1px solid #d4dcee;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.8;
    resize: vertical;
    min-height: 108px;
}

.asp-product-chat-modal__actions {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.asp-product-chat-go-link {
    color: #3a57cf;
    text-decoration: none;
    font-size: 13px;
}

.asp-product-chat-go-link:hover {
    text-decoration: underline;
}

.asp-product-chat-toast {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    max-width: min(420px, calc(100vw - 32px));
    border-radius: 12px;
    padding: 11px 12px;
    color: #fff;
    box-shadow: 0 16px 40px rgba(8, 14, 30, 0.24);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    font-size: 12px;
    line-height: 1.9;
}

.asp-product-chat-toast.is-success {
    background: #14803c;
}

.asp-product-chat-toast.is-error {
    background: #b42318;
}

.asp-product-chat-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Notices */
.accounti-notice {
    padding: 12px 16px;
    border-radius: 9px;
    font-size: 13px;
    margin-bottom: 16px;
    background: #e8eaf6;
    color: #3949ab;
    border-right: 4px solid #5b5ea6;
}

.accounti-notice--warning {
    background: #fff8e1;
    color: #e65100;
    border-right-color: #ff9800;
}

/* ════════════════════════════════════════════════
   SELLER PANEL
   ════════════════════════════════════════════════ */

.accounti-seller-panel {
    font-family: inherit;
    direction: rtl;
    text-align: right;
}

/* Page header */
.asp-page-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.asp-page-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e2130;
    flex: 1;
}
.asp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #5b5ea6;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    background: #ede7f6;
    transition: background .2s;
}
.asp-back-btn:hover { background: #d8cffe; color: #3d3f8f; }
.asp-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 10px;
    background: #5b5ea6;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s;
}
.asp-new-btn:hover { background: #3d3f8f; color: #fff; }

/* Dashboard grid */
.asp-dashboard-header {
    margin-bottom: 24px;
}
.asp-dashboard-header h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #1e2130;
}
.asp-dashboard-header p {
    color: #7a7f9a;
    font-size: 14px;
    margin: 0;
}
.asp-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 480px;
}
@media (max-width: 400px) {
    .asp-dashboard-grid { grid-template-columns: 1fr; }
}
.asp-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 28px 16px;
    background: #fff;
    border: 2px solid #ede9fe;
    border-radius: 16px;
    text-decoration: none;
    color: #1e2130;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .2s;
    position: relative;
    min-height: 120px;
}
.asp-tile:hover:not(.asp-tile--disabled) {
    border-color: #5b5ea6;
    box-shadow: 0 6px 24px rgba(91,94,166,.15);
    transform: translateY(-2px);
    color: #3d3f8f;
}
.asp-tile--disabled {
    opacity: .55;
    cursor: default;
    background: #fafafa;
}
.asp-tile__icon {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: #5b5ea6;
}
.asp-tile--disabled .asp-tile__icon { color: #aaa; }
.asp-tile__label {
    font-size: 14px;
    font-weight: 700;
}
.asp-tile__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ede7f6;
    color: #7c4dff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 8px;
}

/* Listings grid */
.asp-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.asp-listing-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
}
.asp-listing-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.12); }
.asp-listing-card__thumb {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f0f2f5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    width: 100%;
    cursor: pointer;
}
.asp-thumb-button {
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
}
.asp-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 48px;
}
.asp-thumb-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .35);
    color: #fff;
    font-size: 30px;
    opacity: 0;
    transition: opacity .18s ease;
}
.asp-listing-card__thumb:hover .asp-thumb-overlay,
.asp-listing-card__thumb:focus .asp-thumb-overlay,
.asp-listing-card__thumb:focus-visible .asp-thumb-overlay {
    opacity: 1;
}
.asp-listing-card__info {
    padding: 12px 14px 8px;
    flex: 1;
}
.asp-listing-card__info h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1e2130;
}
.asp-game-tag {
    display: inline-block;
    background: #ede7f6;
    color: #5b5ea6;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 8px;
    margin-left: 4px;
}
.asp-price {
    display: block;
    color: #2e7d32;
    font-weight: 700;
    font-size: 13px;
    margin-top: 6px;
}
.asp-listing-card__footer {
    padding: 8px 14px 12px;
    border-top: 1px solid #f0f2f5;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.asp-status-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 8px;
}
.asp-status-badge--publish  { background: #e8f5e9; color: #2e7d32; }
.asp-status-badge--pending  { background: #fff3e0; color: #e65100; }
.asp-status-badge--draft    { background: #f3f3f3; color: #666; }
.asp-status-badge--sold     { background: #ffebee; color: #b71c1c; }
.asp-date { font-size: 11px; color: #aaa; margin-right: auto; }
.asp-view-link { font-size: 12px; color: #5b5ea6; text-decoration: none; }
.asp-view-link:hover { text-decoration: underline; }
.asp-edit-link {
    font-size: 12px;
    color: #1565c0;
    text-decoration: none;
    background: #e3f2fd;
    padding: 3px 8px;
    border-radius: 8px;
}
.asp-edit-link:hover { background: #d3ebff; text-decoration: none; }

.asp-edit-link--disabled {
    color: #8a94a6;
    background: #eef1f6;
    cursor: not-allowed;
    pointer-events: none;
}

.asp-sold-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(183, 28, 28, .92);
    color: #fff;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    z-index: 3;
}

.asp-is-sold .asp-listing-card__thumb {
    filter: saturate(.8);
}

/* Quick preview modal */
.asp-quick-preview-open {
    overflow: hidden;
}
.asp-quick-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
}
.asp-quick-preview-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}
.asp-quick-preview-modal__dialog {
    position: relative;
    max-width: 620px;
    width: calc(100% - 28px);
    margin: 70px auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 44px rgba(0,0,0,.25);
    padding: 18px;
    max-height: calc(100vh - 120px);
    overflow: auto;
}
.asp-quick-preview-modal__close {
    position: absolute;
    top: 8px;
    left: 10px;
    z-index: 2;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #616161;
    cursor: pointer;
}

#asp-quick-preview-content {
    padding-top: 6px;
}

.asp-quick-preview__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-left: 38px;
    margin-bottom: 10px;
}
.asp-quick-preview__header h3 {
    margin: 0;
    font-size: 17px;
    color: #1e2130;
}
.asp-quick-preview__status {
    font-size: 12px;
    font-weight: 700;
    color: #8a5800;
    background: #fff3e0;
    border-radius: 8px;
    padding: 4px 8px;
}
.asp-quick-preview__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.asp-quick-preview__meta-item {
    background: #f8f9fb;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 13px;
    color: #3a4258;
}
.asp-quick-preview__fields {
    border: 1px solid #eceff5;
    border-radius: 12px;
    overflow: hidden;
}
.asp-quick-preview__field {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f2f4f8;
}
.asp-quick-preview__field:last-child {
    border-bottom: 0;
}
.asp-quick-preview__field-label {
    font-weight: 700;
    color: #1f2a44;
    font-size: 12px;
}
.asp-quick-preview__field-value {
    font-size: 13px;
    color: #4b556f;
    word-break: break-word;
}
.asp-quick-preview__hint {
    margin: 12px 0 0;
    font-size: 12px;
    color: #7b8498;
}

/* Seller account settings */
.asp-seller-profile-wrap {
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 14px;
    padding: 16px;
}
.asp-seller-gate,
.asp-verification-box {
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 14px;
    padding: 18px;
}
.asp-seller-gate h3,
.asp-verification-box h3 {
    margin: 0 0 10px;
    color: #1f2a44;
    font-size: 17px;
}
.asp-seller-gate p,
.asp-verification-box p {
    margin: 0 0 12px;
    color: #5c667f;
    font-size: 13px;
    line-height: 1.9;
}
.asp-verification-box ul {
    margin: 0 0 14px;
    padding: 0 18px 0 0;
}
.asp-verification-box li {
    margin-bottom: 8px;
    line-height: 1.9;
    color: #46506c;
    font-size: 13px;
}
.asp-verification-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}
.asp-verification-address-field {
    grid-column: 1 / -1;
}
.asp-seller-gate--pending {
    border-color: #ffe0a3;
    background: #fffaf0;
}
.asp-seller-gate--approved {
    border-color: #cfe0ff;
    background: #f6f9ff;
}
.asp-seller-gate--rejected {
    border-color: #f5c3c1;
    background: #fff6f5;
}
.asp-seller-username-form {
    max-width: 540px;
}
.asp-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}
.asp-badge-card {
    background: #fff;
    border: 1px solid #e7eaf1;
    border-radius: 14px;
    padding: 14px;
}
.asp-badge-card h4 {
    margin: 0 0 8px;
    color: #1f2a44;
    font-size: 15px;
}
.asp-badge-card p {
    margin: 0 0 8px;
    font-size: 13px;
    color: #5c667f;
    line-height: 1.8;
}
.asp-badge-card__notes {
    margin: 0 0 10px;
    padding: 0 16px 0 0;
}
.asp-badge-card__notes li {
    margin-bottom: 6px;
    color: #44506b;
    font-size: 12px;
    line-height: 1.8;
}
.asp-badge-card__status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 10px;
    font-weight: 700;
    font-size: 11px;
}
.asp-badge-card--ok { border-color: #cce7d3; background: #f4fbf6; }
.asp-badge-card--ok .asp-badge-card__status { background: #daf3e1; color: #1f8d4f; }
.asp-badge-card--pending { border-color: #ffe0a3; background: #fffaf0; }
.asp-badge-card--pending .asp-badge-card__status { background: #ffeccc; color: #a46200; }
.asp-badge-card--rejected { border-color: #f5c3c1; background: #fff6f5; }
.asp-badge-card--rejected .asp-badge-card__status { background: #ffe1df; color: #b42318; }
.asp-badge-card--none .asp-badge-card__status { background: #eef1f8; color: #4d5c7a; }
.asp-gold-sample-wrap {
    border: 1px solid #e5e9f3;
    border-radius: 12px;
    overflow: hidden;
    background: #fafbfd;
    max-width: 460px;
}
.asp-gold-sample-image {
    display: block;
    width: 100%;
    height: auto;
}
.asp-pending-loader {
    width: 160px;
    height: 8px;
    border-radius: 999px;
    background: #eceef4;
    overflow: hidden;
}
.asp-pending-loader span {
    display: block;
    width: 42%;
    height: 100%;
    background: linear-gradient(90deg, #ffb74d, #ff9800);
    border-radius: 999px;
    animation: aspPendingMove 1.25s ease-in-out infinite;
}
@keyframes aspPendingMove {
    0% { transform: translateX(0); }
    50% { transform: translateX(130%); }
    100% { transform: translateX(0); }
}
.asp-seller-profile-form {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}
.asp-seller-profile-form__avatar {
    border: 1px dashed #cfd6e3;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    background: #fafbff;
}
.asp-seller-profile-form__avatar img,
.asp-seller-avatar-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 999px;
    object-fit: cover;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.asp-seller-avatar-box {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 10px;
}
.asp-seller-avatar-box .asp-seller-avatar-img,
.asp-seller-avatar-box .asp-seller-avatar-placeholder {
    margin: 0;
    width: 110px;
    height: 110px;
}
.asp-seller-avatar-img.is-hidden,
.asp-seller-avatar-placeholder.is-hidden {
    display: none;
}
.asp-seller-avatar-icon {
    position: absolute;
    top: 6px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: rgba(16, 21, 35, .75);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.asp-seller-avatar-icon .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
.asp-change-seller-avatar {
    right: 6px;
}
.asp-remove-seller-avatar {
    left: 6px;
}
.asp-seller-avatar-icon:hover {
    background: #1f2f66;
}
.asp-seller-avatar-placeholder {
    background: #eceff6;
    color: #8b94a8;
}
.asp-seller-avatar-placeholder .dashicons {
    font-size: 44px;
    width: 44px;
    height: 44px;
}
.asp-seller-upload-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #eef2ff;
    color: #36428a;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}
.asp-seller-profile-form__avatar input[type="file"] {
    display: none;
}
.asp-seller-profile-form__avatar small {
    display: block;
    margin-top: 8px;
    color: #7a8399;
    font-size: 11px;
}
.asp-seller-help {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #7b8498;
}
.asp-seller-bio-counter {
    margin-top: 6px;
    font-size: 11px;
    color: #66708a;
}
.asp-seller-bio-counter.is-limit-near {
    color: #b45309;
    font-weight: 700;
}
.asp-seller-slug-status {
    margin-top: 6px;
    font-size: 12px;
    min-height: 18px;
}
.asp-seller-slug-status.is-loading {
    color: #4f5f85;
}
.asp-seller-slug-status.is-ok {
    color: #1f8d4f;
    font-weight: 700;
}
.asp-seller-slug-status.is-error {
    color: #b42318;
    font-weight: 700;
}
.asp-seller-public-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f7ff;
    border: 1px solid #d9e2ff;
    border-radius: 10px;
    padding: 10px 12px;
    color: #445078;
    font-size: 12px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.asp-seller-public-link a {
    color: #2e4bc6;
    text-decoration: none;
    font-weight: 700;
}
.asp-seller-public-link--pending {
    background: #fff8e8;
    border-color: #ffe0a5;
    color: #875d15;
}

/* Seller public profile */
.accounti-seller-hero__placeholder {
    background: rgba(255,255,255,.14);
    border: 2px solid rgba(255,255,255,.3);
}
.accounti-seller-hero__placeholder .dashicons {
    width: 34px;
    height: 34px;
    font-size: 34px;
    color: #fff;
}
.accounti-seller-hero__bio {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.9;
    color: rgba(255,255,255,.86);
    max-width: 760px;
}

.accounti-seller-rating-inline {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.17);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    padding: 6px 10px;
}

.accounti-seller-rating-inline__score {
    color: #fff;
    font-weight: 800;
    font-size: 12px;
}

.accounti-seller-rating-inline__count,
.accounti-seller-rating-inline__empty {
    color: rgba(255,255,255,.9);
    font-size: 12px;
}

.accounti-seller-reviews {
    margin-top: 22px;
    border: 1px solid #e6ebf7;
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.accounti-seller-reviews h2 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #1e2a53;
}

.accounti-seller-reviews__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 10px;
}

.accounti-seller-review-card {
    border: 1px solid #e9edf8;
    border-radius: 12px;
    padding: 10px;
    background: #fbfcff;
}

.accounti-seller-review-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
    color: #2c3a67;
    font-size: 12px;
}

.accounti-seller-review-card__head span {
    color: #f59e0b;
    letter-spacing: 1px;
    white-space: nowrap;
}

.accounti-seller-review-card p {
    margin: 0;
    color: #4e5b82;
    font-size: 12px;
    line-height: 1.9;
}

.accounti-seller-reviews__empty {
    margin: 0;
    color: #6c789a;
    font-size: 13px;
}

/* Empty state */
.asp-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #aaa;
}
.asp-empty-state .dashicons { font-size: 48px; width: 48px; height: 48px; }
.asp-empty-state p { margin: 12px 0 20px; font-size: 14px; }

/* Game search */
.asp-game-search-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px 0;
}
.asp-search-label {
    font-size: 15px;
    font-weight: 600;
    color: #1e2130;
    margin-bottom: 12px;
}
.asp-search-hint {
    font-size: 12px;
    color: #aaa;
    margin-top: 8px;
}
.asp-game-search-box {
    position: relative;
}
.asp-search-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: #aaa;
    pointer-events: none;
    z-index: 1;
}
.asp-game-search-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border: 2px solid #d1d5dc;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    color: #1e2130;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
    direction: rtl;
}
.asp-game-search-input:focus { border-color: #ed6205; }
.asp-game-search-results {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    background: #fff;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    overflow: hidden;
    position: absolute;
    width: 100%;
    z-index: 100;
    max-height: 320px;
    overflow-y: auto;
}
.asp-game-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 14px;
    color: #1e2130;
    transition: background .15s;
    direction: rtl;
}
.asp-game-result-item:hover { background: #fff4ec; color: #ed6205; }
.asp-result-name {
    flex: 1;
}
.asp-result-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #ed6205;
    border-radius: 8px;
    padding: 4px 8px;
    white-space: nowrap;
}
.asp-result-icon {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.asp-no-result {
    padding: 12px 16px;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}

/* Form header with selected game */
.asp-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f4f0ff;
    border-radius: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.asp-game-icon-sm {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 8px;
}
.asp-form-header strong {
    font-size: 15px;
    color: #1e2130;
}
.asp-game-name-fa {
    font-size: 13px;
    color: #7a7f9a;
}
.asp-change-game {
    margin-right: auto;
    font-size: 12px;
    color: #5b5ea6;
    text-decoration: none;
    background: #ede7f6;
    padding: 4px 10px;
    border-radius: 8px;
}
.asp-change-game:hover { background: #d8cffe; }

.asp-reject-reason {
    margin: 8px 0 0;
    padding: 8px 10px;
    border: 1px solid #f3c2c2;
    border-radius: 8px;
    background: #fff3f3;
    color: #8e1f1f;
    font-size: 12px;
    line-height: 1.8;
}

.asp-edit-status {
    margin-right: auto;
    font-size: 12px;
    color: #5f677a;
    background: #f1f3f8;
    border-radius: 8px;
    padding: 4px 10px;
}

.asp-edit-warning {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #ffd59a;
    background: #fff7ea;
}
.asp-edit-warning p {
    margin: 0 0 10px;
    color: #8a5a00;
    font-size: 13px;
    line-height: 1.8;
}
.asp-edit-warning__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.accounti-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #c9cfdb;
    background: #fff;
    color: #4f566b;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
}
.accounti-link-btn:hover {
    background: #f5f7fb;
}

.asp-existing-media {
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #e7eaf1;
    border-radius: 10px;
    background: #fafbfe;
}
.asp-existing-media__label {
    margin: 0 0 8px;
    font-size: 12px;
    color: #626980;
    font-weight: 700;
}
.asp-existing-thumb img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #d8deea;
    display: block;
    margin-bottom: 8px;
}
.asp-media-thumb-card {
    position: relative;
    display: inline-block;
    isolation: isolate;
}
.asp-media-trash-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 8px;
    background: rgba(18, 22, 33, .72);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .18s, transform .15s;
    z-index: 20;
    pointer-events: auto;
}
.asp-media-trash-btn:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}
.asp-media-trash-btn:disabled {
    opacity: .45;
    cursor: default;
}
.asp-media-trash-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}
.asp-remove-hint {
    margin: 4px 0 0;
    font-size: 11px;
    color: #8b92a5;
}
.asp-media-thumb-card.is-removed img,
.asp-gallery-item.is-removed img {
    opacity: .35;
    filter: grayscale(100%);
}
.asp-media-thumb-card.is-removed .asp-media-trash-btn,
.asp-gallery-item.is-removed .asp-media-trash-btn {
    background: #c62828;
}
.asp-thumb-removed-note {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #b42318;
}
.asp-remove-media-check {
    font-size: 12px;
}

.asp-gallery-existing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
}
.asp-gallery-item {
    position: relative;
    border: 1px solid #dbe2ee;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    isolation: isolate;
}
.asp-gallery-item img {
    width: 100%;
    height: 86px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}
.asp-gallery-item__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    font-size: 11px;
    color: #61697e;
}

.asp-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.asp-edit-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 20, .55);
}
.asp-edit-modal__dialog {
    position: relative;
    width: min(92vw, 520px);
    margin: 12vh auto 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .25);
    padding: 20px;
}
.asp-edit-modal__dialog h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #1d2333;
}
.asp-edit-modal__dialog p {
    margin: 0;
    font-size: 13px;
    color: #50596e;
    line-height: 1.9;
}
.asp-edit-modal__actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Wallet */
.asp-wallet-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.asp-wallet-balance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    flex: 1;
}

.asp-wallet-balance-card {
    border: 1px solid #dbe2f1;
    border-radius: 5px;
    background: #fff;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asp-wallet-balance-card--pending {
    background: #fbfcff;
}

.asp-wallet-balance-card--awaiting {
    background: #fffdf5;
    border-color: #f0dfb4;
}

.asp-wallet-balance-card__label {
    font-size: 12px;
    color: #6a7188;
}

.asp-wallet-balance-card strong {
    font-size: 18px;
    color: #1f2741;
}

.asp-wallet-withdraw-form {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.asp-wallet-withdraw-form .accounti-input {
    width: 220px;
}

.asp-wallet-finance-box,
.asp-wallet-transactions-box {
    border: 1px solid #e4e9f4;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    margin-bottom: 14px;
}

.asp-wallet-finance-toggle {
    border: 1px solid #cfd7ea;
    border-radius: 10px;
    background: #f8faff;
    color: #2d3a62;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.asp-wallet-finance-panel {
    margin-top: 12px;
    border-top: 1px dashed #d9dfec;
    padding-top: 12px;
}

.asp-wallet-bank-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.asp-wallet-transactions-box h3 {
    margin: 0 0 10px;
    color: #202949;
}

.asp-wallet-table-wrap {
    overflow-x: auto;
}

.asp-wallet-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.asp-wallet-table th,
.asp-wallet-table td {
    border-bottom: 1px solid #edf1f8;
    padding: 10px 8px;
    text-align: right;
    font-size: 13px;
    vertical-align: top;
}

.asp-wallet-table th {
    color: #5f6883;
    background: #fafcff;
}

.asp-wallet-amount {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.asp-wallet-amount.is-credit {
    color: #14803c;
}

.asp-wallet-amount.is-debit {
    color: #cf2f2f;
}

.asp-wallet-detail-toggle {
    border: 1px solid #d3dbed;
    background: #fff;
    color: #3f4b72;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}

.asp-wallet-no-detail {
    color: #98a0b8;
}

.asp-wallet-detail-row td {
    background: #fbfcff;
}

.asp-wallet-detail-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 8px;
    color: #364268;
    font-size: 12px;
}

.asp-wallet-detail-hr {
    grid-column: 1 / -1;
    border: none;
    border-top: 1px dashed #dde2ef;
    margin: 4px 0;
}

.asp-wallet-detail-finance {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: #f8f9ff;
    border: 1px solid #e8ecf8;
    border-radius: 8px;
    padding: 10px 14px;
}

.asp-wallet-detail-finance__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #364268;
}

.asp-wallet-detail-finance__row--deduct { color: #c0392b; }

.asp-wallet-detail-finance__row--net {
    border-top: 1px solid #dde2ef;
    padding-top: 6px;
    margin-top: 2px;
    font-weight: 700;
    color: #1a7a3c;
}

.asp-wallet-gross-hint {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
    margin-top: 2px;
}

@media (max-width: 700px) {
    .asp-verification-grid {
        grid-template-columns: 1fr;
    }

    .asp-seller-profile-form {
        grid-template-columns: 1fr;
    }

    .asp-quick-preview-modal__dialog {
        margin: 40px auto;
        width: calc(100% - 18px);
        max-height: calc(100vh - 64px);
        padding: 14px;
    }

    .asp-quick-preview__meta {
        grid-template-columns: 1fr;
    }

    .asp-quick-preview__field {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .asp-wallet-balance-cards,
    .asp-wallet-bank-grid,
    .asp-wallet-detail-content {
        grid-template-columns: 1fr;
    }

    .asp-wallet-withdraw-form .accounti-input,
    .asp-wallet-withdraw-form .accounti-submit-btn {
        width: 100%;
    }
}

/* ════════════════════════════════════════════════
   PRODUCT DETAIL PAGE  (accounti-pd-*)
   صفحه جزئیات آگهی اکانتی
   ════════════════════════════════════════════════ */

@font-face {
    font-family: 'IRYekan';
    src: url('https://pmashop.ir/wp-content/themes/mweb-digiland-pro/assets/fonts/IRYekan-medium-fanum.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.accounti-pd-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 12px 48px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 16px;
    align-items: start;
    direction: rtl;
    font-family: 'IRYekan', Tahoma, Arial, sans-serif;
}

@media (max-width: 700px) {
    .accounti-pd-page {
        grid-template-columns: 1fr;
    }
}

/* Card */
.accounti-pd-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}
.accounti-pd-card-inner {
    padding: 16px 18px;
}
.accounti-pd-specs-head {
    padding-bottom: 0;
}

/* Main column */
.accounti-pd-main {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

/* ── Product header ── */
.accounti-pd-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.accounti-pd-game-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.accounti-pd-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.accounti-pd-game-icon .dashicons {
    font-size: 22px;
    color: #9ca3af;
    width: 22px;
    height: 22px;
}

.accounti-pd-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.5;
    margin: 0;
}

/* ── Tags ── */
.accounti-pd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.accounti-pd-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
}
.accounti-pd-tag .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}
.accounti-pd-tag--warranty {
    color: #10b981;
    border-color: #a7f3d0;
    background: #ecfdf5;
}
.accounti-pd-tag--clickable {
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.accounti-pd-tag--clickable:hover {
    background: #d1fae5;
    box-shadow: 0 2px 10px rgba(16,185,129,.2);
    transform: translateY(-1px);
}

/* دکمه «؟» کنار ضمانت پرداخت */
.accounti-pd-safe-pay-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #dbeafe;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 4px;
    transition: background 0.15s;
    flex-shrink: 0;
}
.accounti-pd-safe-pay-hint:hover { background: #bfdbfe; }
.accounti-pd-safe-pay-hint .dashicons {
    font-size: 13px;
    width: 13px; height: 13px;
    color: #2563eb;
}

/* ── Modal: ضمانت پرداخت ایمن ── */
.accounti-safe-pay-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: safepay-fade-in .18s ease;
}
@keyframes safepay-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.accounti-safe-pay-modal {
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 28px;
    max-width: 400px;
    width: 100%;
    position: relative;
    text-align: center;
    direction: rtl;
    box-shadow: 0 20px 60px rgba(0,0,0,.2);
    animation: safepay-slide-up .2s ease;
}
@keyframes safepay-slide-up {
    from { transform: translateY(16px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.accounti-safe-pay-modal__close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    color: #6b7280;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s, color .15s;
}
.accounti-safe-pay-modal__close:hover { background: #e5e7eb; color: #111827; }
.accounti-safe-pay-modal__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #ecfdf5;
    border: 3px solid #a7f3d0;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.accounti-safe-pay-modal__icon .dashicons {
    font-size: 30px;
    width: 30px; height: 30px;
    color: #10b981;
}
.accounti-safe-pay-modal__title {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 14px;
}
.accounti-safe-pay-modal__text {
    font-size: 14px;
    color: #4b5563;
    line-height: 2;
    margin: 0;
}

/* ── Gallery ── */
.accounti-pd-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.accounti-pd-gallery-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 8px;
}
.accounti-pd-gallery-count {
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 10px;
    border-radius: 12px;
}
.accounti-pd-gallery-nav {
    display: flex;
    gap: 6px;
}
.accounti-pd-gallery-nav button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
    padding: 0;
}
.accounti-pd-gallery-nav button:hover {
    background: #f3f4f6;
}
.accounti-pd-gallery-nav .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.accounti-pd-gallery-slider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}
.accounti-pd-gallery-slider::-webkit-scrollbar {
    display: none;
}

.accounti-pd-gallery-item {
    flex-shrink: 0;
    width: 240px;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    scroll-snap-align: start;
    display: block;
    text-decoration: none;
}
.accounti-pd-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .2s;
}
.accounti-pd-gallery-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 500px) {
    .accounti-pd-gallery-item {
        width: 200px;
        height: 150px;
    }
}

/* ── Section title ── */
.accounti-pd-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.accounti-pd-section-title .dashicons {
    color: #9ca3af;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ── Description ── */
.accounti-pd-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
}
.accounti-pd-description ol,
.accounti-pd-description ul {
    padding-right: 20px;
    margin: 8px 0;
}
.accounti-pd-description li {
    margin-bottom: 4px;
}

/* ── Specs grid ── */
.accounti-pd-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 500px) {
    .accounti-pd-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.accounti-pd-stat-cell {
    padding: 12px 16px;
    border-bottom: 1px solid #f3f4f6;
    border-left: 1px solid #f3f4f6;
}
.accounti-pd-stat-cell:nth-child(3n) {
    border-left: none;
}
.accounti-pd-stats-grid .accounti-pd-stat-cell:nth-last-child(-n+3) {
    border-bottom: none;
}
@media (max-width: 500px) {
    .accounti-pd-stat-cell:nth-child(3n) {
        border-left: 1px solid #f3f4f6;
    }
    .accounti-pd-stat-cell:nth-child(2n) {
        border-left: none;
    }
    .accounti-pd-stats-grid .accounti-pd-stat-cell:nth-last-child(-n+3) {
        border-bottom: 1px solid #f3f4f6;
    }
    .accounti-pd-stats-grid .accounti-pd-stat-cell:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

.accounti-pd-stat-label {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 4px;
}
.accounti-pd-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

/* ── Sidebar ── */
.accounti-pd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 20px;
}
@media (max-width: 700px) {
    .accounti-pd-sidebar {
        position: static;
        order: -1; /* سایدبار بالای محتوا در موبایل */
    }
}

/* ── Checkout card ── */
.accounti-pd-checkout-title {
    font-size: 15px;
    font-weight: 700;
    color: #ed6205;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}
.accounti-pd-checkout-title .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.accounti-pd-checkout-desc {
    font-size: 12px;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.7;
}

.accounti-pd-checkout-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}
.accounti-pd-checkout-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #4b5563;
}
.accounti-pd-checkout-feature .dashicons {
    font-size: 16px;
    color: #10b981;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* ── Price block ── */
.accounti-pd-price-block {
    margin-bottom: 16px;
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.5px;
}
.accounti-pd-price-block .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}
.accounti-pd-price-block .woocommerce-Price-currencySymbol {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    margin-right: 4px;
}

/* ── Action buttons ── */
.accounti-pd-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.accounti-pd-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background .15s, color .15s;
    font-family: inherit;
    line-height: 1.4;
}
.accounti-pd-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.accounti-pd-btn--primary {
    background: #ed6205;
    color: #fff;
}
.accounti-pd-btn--primary:hover {
    background: #c95404;
    color: #fff;
    text-decoration: none;
}
.accounti-pd-btn--sold {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}
.accounti-pd-btn--outline {
    background: transparent;
    color: #111827;
    border: 1px solid #e5e7eb;
}
.accounti-pd-btn--outline:hover {
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
}

/* ── Seller card ── */
.accounti-pd-seller-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.accounti-pd-seller-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fde8d3;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #ed6205;
}
.accounti-pd-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.accounti-pd-seller-info {
    flex: 1;
    min-width: 0;
}
.accounti-pd-seller-name-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 2px;
    flex-wrap: wrap;
}
.accounti-pd-seller-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
a.accounti-pd-seller-name:hover {
    color: #ed6205;
}
.accounti-pd-seller-verified {
    font-size: 15px;
    color: #ed6205;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}
.accounti-pd-seller-gold {
    font-size: 14px;
    color: #d97706;
    flex-shrink: 0;
}
.accounti-pd-seller-badge {
    font-size: 11px;
    color: #9ca3af;
}
.accounti-pd-seller-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 0 0 4px;
}
.accounti-pd-seller-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 8px;
}
.accounti-pd-seller-stat-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #4b5563;
    flex-shrink: 0;
}
.accounti-pd-seller-stat-label .dashicons {
    font-size: 16px;
    color: #9ca3af;
    width: 16px;
    height: 16px;
}
.accounti-pd-seller-stat-value {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.accounti-pd-rating-green {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* ── Extra sections (related + seller other) ── */
.accounti-pd-extra-sections {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 12px 48px;
    font-family: 'IRYekan', Tahoma, Arial, sans-serif;
}

.accounti-pd-extra-block {
    margin-top: 32px;
}

.accounti-pd-extra-title {
    font-size: 17px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
}

.accounti-pd-extra-title__bar {
    display: inline-block;
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: #ed6205;
    flex-shrink: 0;
}

.accounti-pd-related-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .accounti-pd-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
    .accounti-pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
    .accounti-pd-related-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   SELLER PUBLIC PROFILE PAGE  (sp-*)
   ════════════════════════════════════════════════════════════ */

.sp-page {
    font-family: 'IRYekan', IRANSans, Tahoma, Arial, sans-serif;
    direction: rtl;
    background: #f7f7f8;
    min-height: 100vh;
}

/* ── Header — روشن و تمیز ── */
.sp-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 32px 0 0;
}

.sp-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.sp-header__top { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 24px; flex-wrap: wrap; }

/* آواتار */
.sp-avatar-wrap { position: relative; flex-shrink: 0; }
.sp-avatar {
    width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
    border: 3px solid #fde8d4; display: block;
}
.sp-avatar-placeholder {
    width: 80px; height: 80px; border-radius: 50%;
    background: #fff4ec; border: 3px solid #fde8d4;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 800; color: #ed6205;
}
.sp-avatar-badge {
    position: absolute; bottom: 2px; right: 2px;
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid #fff;
    display: flex; align-items: center; justify-content: center; font-size: 10px;
}
.sp-avatar-badge.basic { background: #10b981; color: #fff; }
.sp-avatar-badge.gold  { background: #d97706; color: #fff; }

/* اطلاعات */
.sp-header__info { flex: 1; min-width: 0; }
.sp-header__name {
    font-size: 20px; font-weight: 800; color: #111827;
    margin: 0 0 10px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.sp-verified-badge {
    display: inline-flex; align-items: center; gap: 3px;
    padding: 3px 9px; border-radius: 10px;
    font-size: 11px; font-weight: 700; line-height: 1;
}
.sp-verified-badge.basic { background: #ecfdf5; color: #059669; border: 1px solid #a7f3d0; }
.sp-verified-badge.gold  { background: #fef3c7; color: #d97706; border: 1px solid #fde68a; }

.sp-header__stats { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.sp-stat-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #6b7280; }
.sp-stat-pill i { font-size: 15px; color: #ed6205; }
.sp-stat-pill strong { color: #111827; font-weight: 700; }
.sp-stat-sep { color: #d1d5db; font-size: 16px; }
.sp-bio-preview { font-size: 13px; color: #6b7280; line-height: 1.8; margin: 0; }

/* تب‌ها */
.sp-tabs-nav {
    display: flex; gap: 0;
    border-top: 1px solid #f3f4f6;
    margin-top: 16px;
}
.sp-tab-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 12px 18px; font-size: 13px; font-weight: 600;
    color: #6b7280; background: none; border: none;
    cursor: pointer; font-family: inherit;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}
.sp-tab-btn:hover { color: #111827; }
.sp-tab-btn.is-active { color: #ed6205; border-bottom-color: #ed6205; }
.sp-tab-btn i { font-size: 15px; }
.sp-tab-count {
    background: #f3f4f6; color: #6b7280;
    font-size: 10px; padding: 1px 6px; border-radius: 8px;
}
.sp-tab-btn.is-active .sp-tab-count { background: #fff4ec; color: #ed6205; }

/* ── Content ── */
.sp-content { max-width: 1100px; margin: 0 auto; padding: 28px 20px; }
.sp-tab-panel { display: none; }
.sp-tab-panel.is-active { display: block; }

/* آگهی‌ها */
.sp-listings-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.sp-listings-count { font-size: 13px; color: #6b7280; }

/* empty state */
.sp-empty-state { text-align: center; padding: 80px 20px; color: #9ca3af; }
.sp-empty-state i { font-size: 52px; display: block; margin-bottom: 14px; color: #e5e7eb; }
.sp-empty-state h3 { font-size: 18px; color: #4b5563; margin: 0 0 8px; }
.sp-empty-state p  { font-size: 14px; margin: 0; }

/* خلاصه امتیاز */
.sp-rating-summary {
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 16px; padding: 20px 24px;
    display: flex; align-items: center; gap: 28px;
    margin-bottom: 24px; flex-wrap: wrap;
}
.sp-rating-big { text-align: center; flex-shrink: 0; }
.sp-rating-big__num { font-size: 42px; font-weight: 800; color: #111827; display: block; line-height: 1; }
.sp-rating-big__stars { display: flex; gap: 3px; justify-content: center; margin: 6px 0 4px; }
.sp-rating-big__star { font-size: 16px; color: #f59e0b; }
.sp-rating-big__star.off { color: #e5e7eb; }
.sp-rating-big__count { font-size: 12px; color: #9ca3af; }
.sp-rating-pct {
    font-size: 20px; font-weight: 800; color: #10b981;
    display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.sp-rating-pct i { font-size: 22px; }

/* گرید نظرات */
.sp-reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sp-review-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; }
.sp-review-card__head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.sp-review-card__avatar {
    width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
    background: #fde8d4; color: #ed6205;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700;
}
.sp-review-card__name { font-size: 13px; font-weight: 700; color: #111827; margin-bottom: 3px; }
.sp-review-card__stars { display: flex; gap: 2px; }
.sp-review-card__star { font-size: 12px; color: #e5e7eb; }
.sp-review-card__star.on { color: #f59e0b; }
.sp-review-card__date { font-size: 10px; color: #9ca3af; margin-right: auto; white-space: nowrap; }
.sp-review-card__comment { font-size: 13px; color: #4b5563; line-height: 1.8; margin: 0; }

.sp-reviews-empty { text-align: center; padding: 60px 20px; color: #9ca3af; }
.sp-reviews-empty i { font-size: 48px; display: block; margin-bottom: 12px; color: #e5e7eb; }
.sp-reviews-empty p { font-size: 14px; margin: 0; }

/* درباره */
.sp-about-card {
    background: #fff; border: 1px solid #e5e7eb;
    border-radius: 16px; padding: 28px; max-width: 660px;
}
.sp-about-card__avatar {
    width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
    margin-bottom: 14px; border: 3px solid #fde8d4; display: block;
}
.sp-about-card__name { font-size: 18px; font-weight: 800; color: #111827; margin: 0 0 10px; }
.sp-about-card__bio { font-size: 14px; color: #4b5563; line-height: 2; margin: 0; }
.sp-about-card__no-bio { font-size: 13px; color: #9ca3af; }
.sp-about-stats {
    display: flex; gap: 28px; margin-top: 20px; padding-top: 20px;
    border-top: 1px solid #f0f0f1; flex-wrap: wrap;
}
.sp-about-stat__val { font-size: 22px; font-weight: 800; color: #ed6205; display: block; }
.sp-about-stat__label { font-size: 12px; color: #6b7280; }

@media (max-width: 600px) {
    .sp-header__top { gap: 14px; }
    .sp-avatar, .sp-avatar-placeholder { width: 70px; height: 70px; }
    .sp-header__name { font-size: 18px; }
    .sp-tab-btn { padding: 11px 14px; font-size: 12px; }
    .sp-content { padding: 20px 14px; }
    .sp-reviews-grid { grid-template-columns: 1fr; }
}
