/* =========================================================
   Guest Post Filters - Click Dropdown
========================================================= */
.gp-filters-wrap {
    position: relative;
    margin: 0 0 24px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #deddf0;
    border-radius: 18px;
    box-shadow: none;
    overflow: visible;
    direction: rtl;
    margin-inline: auto;
}

/* إخفاء عنوان صندوق الفلترة */
.gp-filters-head {
    display: none;
}

/* الشبكة بنفس شكل الصورة */
.gp-filters-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
    min-width: 100%;
}

/* إخفاء أسماء الحقول */
.gp-filter-label {
    display: none;
}

/* البحث يأخذ خانتين */
.gp-filter-search-box {
    grid-column: span 2;
}

/* إخفاء فلتر الترتيب من داخل صندوق الفلاتر */
.gp-filters-grid > .gp-filter-box:nth-child(8) {
    display: none;
}

/* أزرار الفلترة */
.gp-filters-actions {
    grid-column: span 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    direction: ltr;
}

/* شكل الحقول */
.gp-filter-trigger,
.gp-search-field {
    min-height: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #deddf0;
    border-radius: 9px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
    transition: 0.18s ease;
}

.gp-filter-trigger:hover,
.gp-search-field:hover,
.gp-filter-dropdown.is-open .gp-filter-trigger {
    border-color: #c8c4ec;
    box-shadow: none;
}

.gp-filter-trigger span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.gp-filter-trigger i {
    color: #0f172a;
    font-size: 10px;
    transition: 0.18s ease;
}

.gp-filter-dropdown.is-open .gp-filter-trigger i {
    transform: rotate(180deg);
}

/* البحث */
.gp-search-field {
    position: relative;
    padding: 0;
}

.gp-search-field i {
    position: absolute;
    right: 14px;
    color: #64748b;
    font-size: 14px;
}

.gp-search-input {
    width: 100%;
    height: 42px;
    padding: 0 42px 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    text-align: right;
}

.gp-search-input::placeholder {
    color: #64748b;
}

/* أزرار التطبيق والإلغاء */
.gp-filter-apply,
.gp-filter-reset {
    min-height: 42px;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.18s ease;
}

.gp-filter-apply {
    background: #5b35f5;
    color: #ffffff;
    border: 1px solid #5b35f5;
    box-shadow: none;
}

.gp-filter-reset {
    background: #ffffff;
    color: #334155;
    border: 1px solid #deddf0;
}

.gp-filter-apply:hover,
.gp-filter-reset:hover {
    transform: none;
    opacity: 0.92;
}

/* القائمة المنسدلة */
.gp-filter-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    z-index: 90;
    display: none;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #deddf0;
    border-radius: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    min-width: 250px;
    max-width: 260px;
}

.gp-filter-dropdown.is-open .gp-filter-menu {
    display: block;
}

.gp-filter-menu ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-height: 260px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gp-filter-menu li {
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 9px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.16s ease;
}

.gp-filter-menu li:hover {
    background: #f3f0ff;
    color: #5b35f5;
}

.gp-filter-menu li.active {
    background: #5b35f5;
    color: #ffffff;
}

/* حالة القفل */
.gp-filters-locked .gp-filters-grid {
    filter: blur(4px);
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

.gp-filters-login-overlay {
    position: absolute;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(2px);
    border-radius: 18px;
}

.gp-filters-login-card {
    width: min(430px, 100%);
    padding: 24px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #deddf0;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.gp-filters-login-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: #5b35f5;
    color: #ffffff;
    border-radius: 16px;
}

.gp-filters-login-card h4 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 19px;
    font-weight: 900;
}

.gp-filters-login-card p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    font-weight: 700;
}

/* الموبايل */
@media (max-width: 900px) {
    .gp-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-filter-search-box,
    .gp-filters-actions {
        grid-column: span 2;
    }
}

@media (max-width: 520px) {
    .gp-filters-wrap {
        padding: 14px;
        border-radius: 14px;
    }

    .gp-filters-grid {
        grid-template-columns: 1fr;
    }

    .gp-filter-search-box,
    .gp-filters-actions {
        grid-column: span 1;
    }

    .gp-filters-actions {
        flex-direction: column;
    }

    .gp-filter-apply,
    .gp-filter-reset {
        width: 100%;
    }
}

.gp-login-filter-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    border-radius: 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
    transition: 0.2s ease;
}

.gp-login-filter-button:hover {
    transform: translateY(-1px);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(17, 24, 39, 0.24);
}

.gp-login-filter-button i {
    font-size: 13px;
}

.gp-ajax-loading {
    opacity: 0.75;
    pointer-events: none;
}

.gp-not-found {
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e5eaf3;
    border-radius: 18px;
    text-align: center;
    color: #64748b;
    font-weight: 800;
    max-height: max-content;
}

@media (max-width: 1200px) {
    .gp-filters-grid {
        grid-template-columns: repeat(3, minmax(145px, 1fr));
    }
}

@media (max-width: 768px) {
    .gp-filters-wrap {
        padding: 15px;
        border-radius: 18px;
    }

    .gp-filters-head {
        flex-direction: column;
        align-items: stretch;
    }

    .gp-filters-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .gp-filters-grid {
        grid-template-columns: 1fr;
    }

    .gp-filter-search-box {
        grid-column: auto;
    }

    .gp-filters-login-overlay {
        position: relative;
        inset: auto;
        margin-top: 14px;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .gp-filters-login-card {
        padding: 18px;
    }
}
.gp-pro-card {
    --gp-accent: #5b35f5;
    --gp-accent-2: #7b61ff;
    --gp-price-bg: #eee9ff;
    --gp-soft: #f7f6ff;
    position: relative;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #deddf0;
    border-radius: 22px;
    overflow: visible;
    transition: .2s ease;
    box-shadow: none;
    flex: 1;
    min-width: 100%;
}

.gp-pro-card:nth-of-type(even) {
    --gp-accent: #12aa9b;
    --gp-accent-2: #0f9f91;
    --gp-price-bg: #e2f7f3;
    --gp-soft: #f0fbf9;
}

.gp-pro-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #d8d7ed;
}
.gp-filter-dropdown {
    position: relative;
}

.gp-pro-card__head {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #dedff0;
    margin-bottom: 10px;
}

.gp-pro-card__identity {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.gp-pro-card__topline {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 11px;
    width: 100%;
}

.gp-pro-card__avatar {
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gp-accent);
    color: #ffffff;
    border-radius: 13px;
    box-shadow: none;
}

.gp-pro-card__avatar span {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.gp-pro-card__titlebox {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.gp-pro-card__title-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    margin-bottom: 0;
    direction: rtl;
}

.gp-pro-card__title {
    margin: 0;
    color: #06102d;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-pro-card__ext {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #9ca3af;
    border-radius: 0;
    text-decoration: none;
    transition: .18s ease;
    font-size: 11px;
}

.gp-pro-card__ext:hover {
    background: transparent;
    color: var(--gp-accent);
}

.gp-pro-card__subtitle {
    display: none;
}

.gp-pro-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
    justify-content: flex-start;
}

.gp-pro-badge {
    min-height: 21px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 800;
    border: 0;
    line-height: 1;
}

.gp-pro-badge--green {
    background: #dffaf3;
    color: #009878;
    border-color: transparent;
}

.gp-pro-badge--gray {
    background: #eee9ff;
    color: #4f35d6;
    border-color: transparent;
}

.gp-pro-badge--gold {
    background: #fff5d6;
    color: #9a5a00;
    border-color: transparent;
}

.gp-pro-badge--blue {
    background: #eef2ff;
    color: #3157ff;
    border-color: transparent;
}

.gp-pro-card-body {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.gp-pro-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    flex: 1;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.gp-pro-card__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    flex: initial;
}

.gp-pro-stat {
    position: relative;
    min-height: 57px;
    padding: 13px 12px 11px;
    border-radius: 12px;
    border: 1px solid #dedff0;
    background: #ffffff;
    box-shadow: none;
    flex: initial;
}

.gp-pro-stat__value {
    position: absolute;
    top: 16px;
    left: 12px;
    color: var(--gp-accent);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
    font-family: var(--f-number);
}

.gp-pro-stat__label {
    position: absolute;
    top: 18px;
    right: 14px;
    color: #061342;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
    white-space: nowrap;
}

.gp-pro-stat__bar {
    position: absolute;
    right: 12px;
    left: 12px;
    bottom: 10px;
    height: 4px;
    background: #e8e7f0;
    border-radius: 999px;
    overflow: hidden;
}

.gp-pro-stat__bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.gp-pro-stat--blue .gp-pro-stat__bar i {
    background: #e33d78;
}

.gp-pro-stat--indigo .gp-pro-stat__bar i {
    background: #5b35f5;
}

.gp-pro-stat--violet .gp-pro-stat__bar i {
    background: #5b35f5;
}

.gp-pro-stat--green .gp-pro-stat__bar i {
    background: #0ea896;
}

.gp-pro-card__info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    flex: initial;
}

.gp-pro-info {
    min-height: 64px;
    padding: 13px 13px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #dedff0;
    flex: initial;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    direction: rtl;
}

.gp-pro-card__info-grid .gp-pro-info:nth-child(4) {
    order: 1;
}

.gp-pro-card__info-grid .gp-pro-info:nth-child(1) {
    order: 2;
}

.gp-pro-card__info-grid .gp-pro-info:nth-child(2) {
    order: 3;
}

.gp-pro-card__info-grid .gp-pro-info:nth-child(3) {
    order: 4;
}

.gp-pro-info span {
    display: block;
    margin-bottom: 7px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

.gp-pro-info b {
    display: block;
    color: #06102d;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--f-number);
}

.gp-pro-card__info-grid .gp-pro-info:nth-child(1) b,
.gp-pro-info__accent {
    color: #009878 !important;
}

.gp-pro-card__pricing {
    position: relative;
    z-index: 2;
    width: 200px;
    min-width: 240px;
    max-width: 230px;
    padding: 18px 17px;
    background: var(--gp-price-bg);
    border: 0;
    border-radius: 11px;
    direction: rtl;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gp-pro-card__price-main {
    margin-bottom: 13px;
    display: block;
    text-align: center;
}

.gp-pro-card__price-label {
    display: block;
    color: var(--gp-accent);
    font-size: 11px;
    font-weight: 500;
    text-transform: none;
    line-height: 1;
}

.gp-pro-card__price-main strong {
    display: block;
    color: var(--gp-accent);
    font-size: 33px;
    font-weight: 900;
    /* line-height: .9; */
    margin: 4px 0 5px;
    font-family: var(--f-number);
}

.gp-pro-card__price-main small {
    display: block;
    color: #1f2a55;
    font-size: 13px;
    font-weight: 500;
    width: 100%;
    line-height: 1;
}

.gp-pro-card__price-list {
    display: flex;
    gap: 0;
    margin-bottom: 27px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    direction: ltr;
}

.gp-pro-card__price-item {
    min-height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 9px 7px;
    background: #ffffff;
    border: 0;
    border-radius: 0;
    flex: 1;
    cursor: pointer;
    transition: .18s ease;
    direction: rtl;
}

.gp-pro-card__price-item span {
    color: #061342;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.gp-pro-card__price-item b {
    color: #061342;
    font-size: 11px;
    font-weight: 900;
    font-family: var(--f-number);
    white-space: nowrap;
}

.gp-pro-card__price-item.active {
    background: var(--gp-accent);
    color: #ffffff;
    border-radius: 7px;
}

.gp-pro-card__price-item.active span,
.gp-pro-card__price-item.active b {
    color: #ffffff;
}

.gp-pro-card__btn {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    border-radius: 8px;
    background: var(--gp-accent);
    box-shadow: none;
    transition: .18s ease;
}

.gp-pro-card__btn:hover {
    transform: none;
    box-shadow: none;
    opacity: .92;
}

.gp-pro-card__chips {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 7px;
    padding-top: 11px;
    border-top: 1px dashed #dedff0;
    flex: 1;
}

.gp-pro-chip {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f5f4ff;
    border: 0;
    color: #1f2a55;
    font-size: 12px;
    font-weight: 500;
    direction: rtl;
}

.gp-pro-chip i {
    color: #1f2a55;
    font-size: 13px;
    font-weight: 400;
}

.gp-pro-chip--links {
    background: #fff1d8;
    border-color: transparent;
    color: #9a5a00;
}

.gp-pro-chip--links i {
    color: #1f2937;
}

.gp-pro-chip--note {
    background: #fff8ee;
    border-color: transparent;
    color: #9a5a00;
}

.gp-pro-chip--note i {
    color: #9a5a00;
}

.gp-tooltip-parent {
    position: relative;
}

.gp-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    z-index: 80;
    min-width: max-content;
    max-width: 260px;
    padding: 8px 10px;
    background: #06102d;
    color: #ffffff;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7;
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: .18s ease;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .18);
}

.gp-tooltip-parent:hover .gp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .gp-pro-card {
        padding: 18px;
        border-radius: 18px;
    }

    .gp-pro-card-body {
        flex-direction: column;
    }

    .gp-pro-card__pricing {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

.gp-pro-card__price-list {
    margin-bottom: 15px;
}

.gp-pro-card__btn {
    font-size: 14px;
    font-weight: 500;
}

    .gp-pro-card__chips {
        width: 100%;
    }

    .gp-pro-card__stats,
    .gp-pro-card__info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .gp-pro-card__stats,
    .gp-pro-card__info-grid {
    }

    .gp-pro-card__head {
        justify-content: flex-start;
    }

    .gp-pro-card__identity {
        align-items: flex-start;
    }

    .gp-pro-card__badges {
        margin-right: 0;
        justify-content: flex-start;
    }

    .gp-pro-card__title {
        font-size: 15px;
    }
}

.gp-pro-card-body {
    display: flex;
    align-items: self-start;
    gap: 20px;
}