@import url(../webfonts/stylesheet.css);

:root {
    --crl-primary: #8145d8;
    --crl-black: #1e1e1e;
    --crl-gray: #888888;
    --crl-light: #d9d9d9;
    --crl-white: #ffffff;
}

body,
html {
    font-family: "29LT Zarid Serif Rg";
    color: var(--crl-black);
    font-size: 20px;
}

a,
img,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
    transition: 0.3s;
}

a,
button,
input,
select,
textarea {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    outline: none;
    cursor: pointer;
    background: transparent;
}

a {
    text-decoration: none;
    color: var(--crl-black);
    font-weight: 200;
}

a:hover {
    color: var(--crl-primary);
}

ul,
ol {
    padding: 0px;
    margin: 0px;
    list-style: none;
}

.btn {
    border-radius: 50vmax;
}

[data-tooltips] {
    position: relative;
}

[data-tooltips]:hover::after {
    content: attr(data-tooltips);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--crl-black);
    color: var(--crl-white);
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-weight: 100;
    font-size: 12px;
    bottom: -29px;
}

[data-tooltips]:hover::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-top-color: transparent;
    border-right-color: transparent;
    border-left-color: transparent;
    border-image: initial;
    border-bottom-color: var(--crl-black);
}

a > span {
    /* display: none; */
    font-size: 14px;
}

.swiper-pagination {
    position: absolute;
    bottom: 60px !important;
}

.swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgb(209, 217, 222);
    border-radius: 4px;
    opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: #e894e6;
    width: 20px;
}

.form-select-custom {
    appearance: none;
    background-image: url("../images/icons/arrow-down.svg");
    background-repeat: no-repeat;
    background-position: left 12px center;
    border-radius: 50px;
    padding: 8px 12px;
    color: #A6A7AD;
    width: 100%;
    background-color: rgb(245, 245, 245);
    border: 1px solid transparent;
}

.form-select-custom::-webkit-inner-spin-button,
.form-select-custom::-webkit-outer-spin-button {
    appearance: none;
    margin: 0px;
}

.form-select-custom:focus {
    border-color: var(--crl-primary);
    outline: none;
}

.form-control-custom {
    border-width: medium;
    border-style: none;
    border-color: currentcolor;
    border-image: initial;
    border-radius: 50px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--crl-black);
    width: 100%;
    background-color: #f5f5f5;
}

.form-control-custom:focus {
    border-color: var(--crl-primary);
    outline: none;
}

.btn-primary {
    background: rgb(129, 69, 216);
    color: var(--crl-white);
    transition: all;
    border-width: medium !important;
    border-style: none !important;
    border-color: currentcolor !important;
    border-image: initial !important;
}

.btn-primary:hover {
    border-color: transparent;
    background: linear-gradient(45deg, rgb(232, 148, 230), rgb(129, 69, 216));
}

#navList {
    position: fixed;
    left: 0px;
    width: 100%;
    top: 0px;
    height: 100dvh;
    text-align: center;
    padding: 30px 16px;
    transition: transform 0.3s;
    transform: translateY(-100%);
    z-index: 9999;
    font-size: 16px;
    background-color: #fff;
}

#navList.active {
    transform: translateY(0px);
}

#navList li.close a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-inline: auto;
    background: var(--crl-black);
    border-radius: 50px;
    color: var(--crl-white);
    margin-bottom: 20px;
    line-height: 0;
}

#navList li.close a:hover {
    background: var(--crl-primary);
}

#navList li:not(.close) a {
    display: block;
    padding: 12px 16px;
}

#navList li:not(.close) a:hover {
    background: var(--crl-black);
    color: var(--crl-white);
}

header {
    /* padding: 15px 0px; */
}

header .container {
    gap: 8px;
}

#messagesToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

#messagesToggle i {
    font-size: 20px;
    color: #8145d8;
    font-weight: 100;
}

#messagesToggle i:hover {
    color: rgb(142 64 255);
}

/* تصميم الزر المخصص */
.btn-admin-custom {
    background-color: #7d4cdb; /* لون بنفسجي عصري مشابه للصورة */
    color: white;
    border-radius: 50px; /* حواف دائرية بالكامل */
    padding: 8px 20px !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(125, 76, 219, 0.2);
}

/* تأثير عند تمرير الماوس */
.btn-admin-custom:hover {
    background-color: #6639c0;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(125, 76, 219, 0.3);
}

/* تحسين شكل القائمة المنسدلة */
.dropdown-menu {
    border-radius: 12px;
    margin-top: 10px !important;
    z-index: 999999;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.mobile-menu {
    font-size: 20px;
    order: 5;
}

.search-form {
    background: rgb(245, 245, 245);
    border-radius: 55px;
    display: none;
    padding: 8px 14px;
    flex: 1 1 0%;
    margin: 0;
}

.search-form button,
.search-form input {
    background: transparent;
}

.search-form input {
    flex: 1 1 0%;
    width: 100%;
}

.custom-border {
    border-color: #d8e2e3 !important;
}

.social-wrapper i {
    color: #444;
    transition: color 0.3s ease;
}

.social-wrapper i:hover {
    color: #7d4cdb;
}

.social-wrapper {
    background-color: #f8f9fa;
    padding: 10px;
    display: inline-flex;
}

header .top-header {
    padding: 3px 0px;
    background: rgb(245, 245, 245);
    font-size: 17px;
    margin-bottom: 20px;
}

header .top-header a {
    font-weight: 400;
}

header .container a.logo {
    order: 1;
}

header .btn + .btn {
    order: 3;
    margin: 0px;
}

header #notifications {
    order: 4;
}

header .btn {
    font-size: 14px;
    white-space: nowrap;
    order: 2;
    margin-inline-start: auto;
}

header .btn svg {
    filter: brightness(0) invert(1);
    scale: 0.8;
}

a.header-logo-link img {
    max-width: 100px;
}

.notifications img {
    max-width: 27px;
}

#notificationPopup {
    position: absolute;
    top: 100%;
    left: 0px;
    background: var(--crl-white);
    z-index: 1000;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px;
}

#notificationPopup ul li a {
    color: var(--crl-black);
    padding: 8px 12px;
    display: block;
}

#notificationPopup ul li a:hover {
    background: var(--crl-light);
}

#slider {
    padding-bottom: 30px;
    margin-bottom: 30px;
}

#slider .slider-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--crl-white);
    inset-inline: 0;
    z-index: 2;
    pointer-events: none;
}

#slider .slider-caption a.slider-btn {
    pointer-events: auto;
}

#slider .slider-caption h3 {
    font-size: 24px;
    color: #ffccfe;
    margin: 0;
}

#slider .slider-caption p {
    font-size: 66px;
    margin: 0;
}

#slider .slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    padding: 11px 50px;
    border-radius: 50vmax;
    margin-top: 12px;
}

#slider .slider-btn:hover {
    background: linear-gradient(45deg, rgb(232, 148, 230), rgb(129, 69, 216));
}

.item-slider {
    display: block;
    position: relative;
    height: 140px;
    overflow: hidden;
}

.item-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* شريط الإعلانات على الجوال: ارتفاع أكبر + خط أصغر حتى لا يُقص زر "اطلب الآن" داخل .swiper (overflow: hidden) */
@media (max-width: 767.98px) {
    .item-slider {
        height: 220px;
    }

    #slider .slider-caption {
        top: auto;
        bottom: 44px;
        transform: none;
        padding-inline: 12px;
    }

    #slider .slider-caption h3 {
        font-size: 18px;
    }

    #slider .slider-caption p {
        font-size: 22px;
        line-height: 1.25;
    }

    #slider .slider-btn {
        margin-top: 8px;
        padding: 10px 28px;
    }
}

.bar-options .d-view {
    width: 70px;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.bar-options .select-location {
    flex: 1 1 0%;
}

.bar-options .d-flex {
    gap: 7px;
}

#filterPopup {
    position: absolute;
    top: 100%;
    left: 0px;
    background: var(--crl-white);
    z-index: 1000;
    min-width: 250px;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px;
}

.popup-content {
    padding: 12px 16px;
}

.popup-content h4 {
    margin-bottom: 12px;
    font-size: 18px;
}

.popup-content label {
    display: block;
    margin-bottom: 8px;
    opacity: 0.7;
}

.popup-content input[type="range"] {
    width: 100%;
}

.list-category {
    display: flex;
    gap: 10px;
    margin-block: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-block: 2px 8px;
    scrollbar-color: #aaa transparent;
    scrollbar-width: thin;
}

.list-category > a {
    background: rgb(245, 245, 245);
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: none !important;
    min-height: 44px;
    padding: 7px 27px;
    border-radius: 55px;
    overflow: visible !important;
    white-space: nowrap;
    text-overflow: clip !important;
    line-height: 1.4;
}

.list-category::-webkit-scrollbar {
    height: 6px;
}

.list-category::-webkit-scrollbar-track {
    background: transparent;
}

.list-category::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 999px;
}

.list-category > a.active {
    background: linear-gradient(45deg, rgb(232, 148, 230), rgb(129, 69, 216));
    color: var(--crl-white);
}

#home-content {
    transition: opacity 0.18s ease;
}

#home-content.is-loading {
    opacity: 0.55;
    pointer-events: none;
    cursor: progress;
}

.items-product {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.items-product .item {
    background: var(--crl-white);
    padding: 8px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 4px;
}

.items-product .item .favorite-btn,
.items-product .item .item-link-img .heart.favorite-btn {
    position: absolute;
    top: 12px;
    inset-inline-end: 12px;
    z-index: 3;
    width: 35px;
    height: 35px;
    padding: 0;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgb(232, 148, 230);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.items-product .item .favorite-btn img,
.items-product .item .item-link-img .heart.favorite-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.items-product .item .favorite-btn.is-favorited img,
.items-product .item .item-link-img .heart.favorite-btn.is-favorited img {
    filter: none;
}

.items-product .item .item-link-img {
    display: block;
    position: relative;
    height: 120px;
    overflow: hidden;
    border-radius: 7px;
}

.items-product .item .item-link-img > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.items-product .item .item-link-img > img:hover {
    transform: scale(1.05);
}

.items-product .item .item-link-img .date {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    background-color: rgb(245, 245, 245);
    border-radius: 50vmax;
    font-size: 16px;
    padding: 4px 20px;
    font-weight: 100;
    color: rgb(136, 136, 136);
    display: inline-flex;
    gap: 10px;
}

.items-product .item .item-content {
    padding: 12px;
    flex: 1 1 0%;
}

.items-product .item .item-content .item-title {
    display: block;
    margin-bottom: 7px;
    font-size: 20px;
}

.items-product .item .item-content .item-information {
    color: rgb(136, 136, 136);
    display: grid;
    align-items: flex-end;
    justify-content: space-between;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    font-size: 13px;
}

.items-product .item .item-content .item-information .right {
    flex: 1 1 0%;
}

.items-product .item .item-content .item-information .left {
    color: var(--crl-primary);
    font-weight: 600;
    text-align: end;
}

.items-product .item .item-content .item-information .left p {
    display: flex;
    justify-content: flex-end;
    margin: 0;
}

/* السعر: رمز الريال يسار الرقم (اتجاه ltr داخل الحاوية) */
.price-with-currency {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: ltr;
    unicode-bidi: isolate;
}

.price-with-currency .price-currency {
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.price-with-currency .price-amount {
    color: rgb(129, 69, 216);
    font-weight: 600;
    line-height: 1.2;
}

.price-with-currency--lg .price-amount {
    font-size: 1.35rem;
}

.items-product.list-view {
    display: block;
}

.items-product.list-view .item {
    display: flex;
}

.items-product.list-view .item .item-link-img {
    width: 140px;
    flex: 0 0 140px;
}

.items-product.list-view .item .item-title.text-center {
    text-align: start !important;
}

.pagination-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 28px 0 36px;
    gap: 12px;
}

.pagination-wrapper .pagination-summary {
    margin: 0;
    font-size: 18px;
    color: rgb(102, 102, 102);
    text-align: center;
    width: 100%;
}

/* ترقيم الصفحات — مربعات بحد رمادي + تدرج بنفسجي للصفحة النشطة */
.hirajj-pagination-nav {
    width: 100%;
}

.hirajj-pagination {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hirajj-pagination__item {
    margin: 0;
    padding: 0;
}

.hirajj-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border: 1px solid rgb(229, 229, 229);
    border-radius: 6px;
    background: var(--crl-white);
    color: rgb(85, 85, 85);
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.hirajj-pagination__link--arrow {
    font-size: 22px;
    font-weight: 400;
    padding-bottom: 2px;
}

.hirajj-pagination__link--dots {
    width: auto;
    min-width: 36px;
    padding-inline: 6px;
    border: none;
    background: transparent;
    color: rgb(153, 153, 153);
}

.hirajj-pagination__item.is-active .hirajj-pagination__link {
    background: linear-gradient(45deg, rgb(232, 148, 230), rgb(129, 69, 216));
    border-color: transparent;
    color: var(--crl-white);
}

.hirajj-pagination__item:not(.is-active):not(.is-disabled) .hirajj-pagination__link:hover {
    border-color: rgb(201, 179, 232);
    color: var(--crl-primary);
    background: rgb(250, 248, 255);
}

.hirajj-pagination__item.is-disabled .hirajj-pagination__link {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

footer {
    font-size: 18px;
}

footer a {
    color: rgb(255, 255, 255);
    font-weight: 100;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 18px;
}

footer .list-link a::before {
    content: url("../images/icons/Setting_alt_line_duotone.svg");
    margin-inline-end: 6px;
}

.contact-item a > span {
    color: rgb(255, 255, 255);
    opacity: 90%;
}

.contact-item a:hover > span {
    opacity: 100%;
    color: rgb(255, 255, 255);
}

footer a:hover {
    color: var(--crl-white);
}

footer .top {
    background-image: linear-gradient(
        269deg,
        rgb(232, 148, 230),
        rgb(129, 69, 216)
    );
    padding: 40px 0px;
    color: rgb(255, 255, 255);
}

footer .top .list-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

footer .copyright {
    background: rgb(90, 53, 145);
    text-align: center;
    padding: 20px 0px;
    color: rgb(217, 217, 217);
}

footer .copyright .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.grid-footer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.footer-brand-col {
    min-width: 0;
}

footer .footer-social-link {
    color: rgba(255, 255, 255, 0.92);
}

footer .footer-social-link:hover {
    color: #fff;
}

.page-content {
    line-height: 1.85;
}

.page-content p:last-child {
    margin-bottom: 0;
}

/* FAQ accordion (صفحة الأسئلة الشائعة) */
.faq-page-section {
    padding-bottom: 2rem;
}

.faq-page-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: rgb(34, 34, 34);
    margin-bottom: 1.5rem;
}

[dir="rtl"] .faq-page-title {
    text-align: right;
}

[dir="ltr"] .faq-page-title {
    text-align: left;
}

.faq-accordion .faq-card {
    border: 1px solid rgb(224, 224, 224);
    border-radius: 10px;
    background: rgb(255, 255, 255);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-accordion .faq-card:has(.collapse.show) {
    border-color: rgb(157, 92, 231);
}

.faq-card-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.faq-card-toggle:focus-visible {
    outline: 2px solid rgba(157, 92, 231, 0.45);
    outline-offset: 2px;
}

.faq-qmark {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgb(239, 239, 239);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: rgb(164, 164, 164);
    line-height: 1;
}

.faq-question-text {
    flex: 1;
    min-width: 0;
    font-weight: 700;
    font-size: 1rem;
    color: rgb(51, 51, 51);
    line-height: 1.45;
}

[dir="rtl"] .faq-question-text {
    text-align: right;
}

[dir="ltr"] .faq-question-text {
    text-align: left;
}

.faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgb(178, 178, 178);
}

.faq-chevron i {
    transition: transform 0.22s ease;
}

.faq-card-toggle:not(.collapsed) .faq-chevron i {
    transform: rotate(180deg);
}

.faq-card-answer {
    padding-block: 4px 18px;
    padding-inline-start: calc(18px + 36px + 12px);
    padding-inline-end: 18px;
    color: rgb(145, 145, 145);
    font-size: 0.938rem;
    line-height: 1.65;
}

[dir="rtl"] .faq-card-answer {
    text-align: right;
}

[dir="ltr"] .faq-card-answer {
    text-align: left;
}

.grid-footer img[alt="Logo"] {
    max-width: 100%;
    height: auto;
}

.grid-footer h2 {
    font-weight: 100;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.grid-footer h2::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 1px;
    bottom: 0px;
    right: 0px;
    background: rgb(232, 148, 230);
}
.modal-content {
    background: linear-gradient(to right, #fff, #e799f0);
    color: white;
    border: none;
    border-radius: 20px;
    position: relative;
}

.modal-header {
    border: 0px;
    padding-top: 50px;
    padding-inline: 40px;
}
.modal-header h5 {
    color: #fff;
}
.modal-body {
    padding-inline: 40px;
    padding-bottom: 50px;
}

a.forgot-password {
    font-weight: 100;
}

a.register {
    text-decoration: underline;
    color: rgb(129 69 216);
}

a.register:hover {
    color: rgb(142 64 255);
}

.items-product.item-1 {
    display: block;
}

.content-ads-page .inner-content {
    display: grid;
    gap: 16px;
}

.price-block {
    background-color: rgba(217, 217, 217, 0.33);
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.top-ads {
    display: grid;
    gap: 16px;
}

.price-block .price-with-currency {
    font-size: 1.25rem;
}

.user-information {
    border: 1px solid var(--crl-light);
    padding: 14px;
    border-radius: 8px;
    font-size: 18px;
}

.user-information > div:not(:last-child) {
    border-bottom: 1px solid rgba(112, 112, 112, 0.11);
    padding-bottom: 1rem;
}

.user-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-block img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
}

.user-information .rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 1.15rem;
    line-height: 1;
}

.user-information .rating-stars .star1 {
    user-select: none;
}

.user-information .rating-stars .star1--empty {
    color: rgb(215, 215, 215);
}

.user-information .rating-stars .star1--filled {
    color: #ffc107;
}

.gallery .main-image figure {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery .main-image figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery #thumbnails {
    display: flex;
    gap: 10px;
    overflow: scroll;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery #thumbnails figure {
    margin: 0px;
    width: 25%;
    overflow: hidden;
    height: 80px;
    flex: 0 0 auto;
    border-radius: 8px;
}

.gallery #thumbnails figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inner-content h1 {
    font-size: 22px;
    margin: 0px;
}

.ads-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

#shareIcon {
    display: flex;
    gap: 6px;
}

.share-icons {
    position: absolute;
    background: rgb(255, 255, 255);
    min-width: fit-content;
    display: flex;
    gap: 16px;
    inset-inline-end: 0px;
    padding: 5px 20px;
    border: 1px solid rgb(231, 231, 231);
    border-radius: 8px;
    top: 100%;
    opacity: 0;
}

.details-ads .content {
    border: 1px solid rgb(217, 217, 217);
    padding: 16px;
    border-radius: 8px;
    color: rgb(112, 112, 112);
    line-height: 1.8;
}

.details-ads h2 {
    font-size: 18px;
    margin-block-end: 17px;
    font-weight: 600;
}

.contact-information {
    margin: 16px 0px;
    border: 1px solid rgb(217, 217, 217);
    border-radius: 50vmax;
    padding: 10px 20px;
}

.contact-information h2 {
    font-size: 17px;
    font-weight: 400;
    margin: 0px;
}

/* صفحة الإعلان — شريط التواصل (اتصال / مراسلة) */
.contact-information.ad-contact-bar {
    margin: 18px 0;
    border: 1px solid rgb(230, 230, 230);
    border-radius: 999px;
    padding: 12px 22px;
    background: rgb(255, 255, 255);
}

.contact-information.ad-contact-bar .ad-contact-inner {
    width: 100%;
    gap: 20rem;
}

.ad-contact-meta {
    flex: 1;
    min-width: 0;
}

.ad-contact-label {
    font-weight: 600;
    color: rgb(55, 55, 55);
    margin-inline-end: 10px;
}

.ad-contact-value {
    font-weight: 500;
    color: rgb(28, 28, 28);
    word-break: break-word;
}

.ad-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: none;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    color: #fff !important;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.ad-contact-btn .bi {
    font-size: 1.1rem;
}

.ad-contact-btn:hover {
    color: #fff !important;
    opacity: 0.95;
    transform: translateY(-1px);
}

.ad-contact-btn--call {
    background: linear-gradient(
        to right,
        rgb(240, 190, 238) 0%,
        rgb(157, 92, 231) 100%
    );
}

.ad-contact-btn--message {
    background: rgb(157, 92, 231);
}

.ad-contact-btn--disabled {
    cursor: not-allowed;
    opacity: 0.45;
    transform: none;
    pointer-events: none;
}

@media (max-width: 576px) {
    .contact-information.ad-contact-bar {
        border-radius: 16px;
        padding: 14px 16px;
    }

    .contact-information.ad-contact-bar .ad-contact-inner {
        flex-direction: column;
        align-items: stretch !important;
        gap: 1.25rem;
    }

    .ad-contact-meta {
        text-align: center !important;
    }

    .ad-contact-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.comments h2 {
    font-size: 18px;
    margin-bottom: 15px;
}

.comments .comment {
    margin-bottom: 19px;
    border: 1px solid rgb(220, 220, 220);
    padding: 16px;
    border-radius: 10px;
}

.comments .comment .thumbnail {
    height: 41px;
    width: 41px;
    border-radius: 50%;
}

.comments .comment .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-comment {
    display: flex;
    gap: 20px;
}

.content-ads-page .inner-content .left .items-product.item-1 {
    display: grid;
}

.left > h4 {
    font-size: 23px;
}

h1.main-title {
    font-size: 26px;
    margin-bottom: 30px;
    margin-top: 20px;
}

.item-list {
    display: grid;
    row-gap: 20px;
}

.item-list .item {
    display: flex;
    gap: 12px;
    font-size: 14px;
    border-bottom: 1px solid rgb(221, 221, 221);
    padding-block: 15px;
    align-items: center;
}

.item-list .item figure {
    width: 60px;
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background: rgb(221, 221, 221);
    margin: 0px;
}

.item-list .item figure img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.item-list .item .content {
    flex: 1 1 0%;
}

.item-list .item .timestamp {
    font-size: 12px;
}

.list-page {
    margin-bottom: 50px;
}

.item-list .item .content h2 {
    font-size: 14px;
}

.item-list.messages .item figure img {
    object-fit: cover;
}

#follow {
    display: grid;
    gap: 20px;
    margin-bottom: 60px;
}

#follow form .row {
    row-gap: 16px;
}

#follow h3 {
    font-size: 16px;
}

.head-table {
    background: rgba(64, 115, 158, 0.21);
}

.head-table,
.body-table .row {
    padding: 10px;
}

#myaccount .block {
    padding: 24px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    margin-bottom: 24px;
}

#myaccount .block .user {
    display: flex;
    gap: 16px;
    align-items: center;
}

#myaccount .block .user .image {
    width: 80px;
    flex: 0 0 auto;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

#myaccount .block .user .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#myaccount .block .user .info {
    flex: 1 1 0%;
}

#myaccount .block .user .info h5.name {
    font-size: 16px;
}

#myaccount .block .user .info p.email {
    font-size: 14px;
    margin-bottom: 10px;
}

#myaccount .block .user .info .follow {
    font-size: 13px;
}

#myaccount .block ul {
    display: grid;
    gap: 14px;
}

#myaccount {
    margin-bottom: 60px;
}

.comments {
    margin-bottom: 60px;
}

.comments form {
    position: relative;
}

.comments form textarea {
    resize: none;
}

.comments form button {
    position: absolute;
    left: 25px;
    bottom: 25px;
}

#add-ads {
    margin-bottom: 60px;
}

#add-ads form hr {
    margin: 40px 0px;
}

#add-ads form h2 {
    color: rgb(64, 115, 158);
    font-size: 16px;
}

#add-ads form .tab {
    padding: 30px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 10px;
    display: none;
}

.input-checbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.input-checbox input {
    position: relative;
    top: 7px;
}

#add-ads .btn {
    padding: 8px 40px !important;
}

#add-ads .btn + .btn {
    margin-right: 16px;
}

#add-ads form .mb-3 {
    margin-bottom: 23px !important;
}

#add-ads form label {
    display: inline-block;
    margin-bottom: 7px;
}

.banner {
    margin-block: 32px;
    height: 200px;
}

.banner img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.content-page {
    border: 1px solid #eee;
    padding: 18px;
}

.content-ads-page {
    margin-top: 40px;
}

.title-page {
    font-size: 32px;
    margin-top: 0px !important;
}

#following-page {
    padding-top: 8px;
}

#following-page .main-title {
    margin-bottom: 8px;
}

.following-note {
    color: #777;
    /* font-size: 14px; */
    margin-bottom: 16px;
}

.following-separator {
    height: 1px;
    background: #ececf2;
    margin: 14px 0 24px;
}

.following-filters {
    display: grid;
    grid-template-columns: 260px 1fr 1fr;
    gap: 16px;
    margin-bottom: 26px;
}

.btn-following-filter {
    border: 1px solid #e3e5ee;
    background: #fff;
    border-radius: 999px;
    height: 46px;
    color: #5a5a66;
}

.follow-members-title {
    margin-top: 6px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #5d5d65;
}

.following-table-wrapper {
    border-radius: 10px;
    overflow: hidden;
}

.following-table {
    margin-bottom: 18px;
    background: #fff;
}

.following-table thead th {
    background: #eef1f6;
    color: #5d5d65;
    font-weight: 700;
    border: 0;
}

.following-table td {
    border-color: #f0f1f6;
    color: #5a5a66;
    padding-top: 14px;
    padding-bottom: 14px;
}

.following-table .select-col {
    width: 120px;
    text-align: center;
}

.btn-unfollow {
    border: 0;
    background: linear-gradient(135deg, #6c3be6 0%, #9a4fe8 100%);
    color: #fff;
    border-radius: 999px;
    height: 44px;
    padding: 0 32px;
    font-size: 14px;
}

.btn-unfollow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#advancedFilters {
    position: absolute;
    top: 50px;
    background: #fff;
    width: 100%;
    z-index: 9;
    padding: 24px;
    gap: 16px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(50px, auto));
    align-items: end;
}

form#filtersForm {
    position: relative;
}

@media (max-width: 991.98px) {
    .following-filters {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .item-slider {
        height: 270px;
    }

    footer .copyright .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .comments .comment {
        display: flex;
        gap: 18px;
    }

    .comments .comment .thumbnail {
        flex-basis: 41px;
    }

    .comments .comment .content {
        flex: 1 1 0%;
    }

    .info-comment {
        width: 110px;
        flex-basis: 110px;
    }

    .comments {
        margin-top: 40px;
    }

    .gallery #thumbnails figure {
        height: 140px;
        width: 30%;
    }

    .gallery .main-image figure {
        height: 380px;
    }

    #myaccount .items-product .item .item-content .item-title {
        display: inline-block;
    }

    #myaccount .block .user .image {
        width: 40px;
        height: 40px;
    }

    #myaccount .block .user .info h5.name {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .mobile-menu,
    [data-tooltips]:hover::after,
    [data-tooltips]:hover::before,
    #navList li.close a {
        display: none;
    }

    a > span {
        display: inline-block;
        padding: 8px 12px;
        text-decoration: none;
        color: rgb(51, 51, 51);
        font-weight: 100;
        transition: color 0.3s;
    }

    a > span:hover {
        color: var(--crl-primary);
    }

    #navList {
        display: flex;
        gap: 9px;
        position: static;
        height: auto;
        transform: unset;
        background-color: transparent;
        padding: 0px;
        flex: 1 1 0%;
        z-index: inherit;
    }

    #navList li:not(.close) a {
        font-weight: 100;
        padding: 4px 10px;
        font-size: 20px;
    }

    #navList li:not(.close) a:hover {
        background-color: transparent;
        color: var(--crl-primary);
    }

    .search-form {
        max-width: 180px;
        flex: 0 0 200px;
        display: flex;
    }

    .item-slider {
        height: 420px;
    }

    .items-product {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

    .items-product .item .item-link-img {
        height: 190px;
    }

    .items-product .item .item-content .item-title {
        font-size: 23px;
    }

    .items-product .item .item-content .item-information {
        font-size: 17px;
    }

    .items-product .item .item-content .item-information .left .price-amount {
        font-weight: 100;
        font-size: 41px;
    }

    .items-product .item .item-content .item-information .left .price-currency {
        width: 28px;
        height: 28px;
    }

    .items-product .item .item-content {
        flex: 1 1 0%;
    }

    .items-product.list-view .item .item-link-img {
        width: 250px;
        flex: 0 0 auto;
        height: 140px;
    }

    .items-product.list-view .left {
        text-align: end;
    }

    .content-ads-page .inner-content {
        grid-template-columns: 3fr 1fr;
    }

    .gallery #thumbnails figure {
        height: 145px;
        width: 24%;
    }

    .gallery .main-image figure {
        height: 450px;
    }

    .item-list .item {
        font-size: 1rem;
    }

    h1.main-title {
        font-size: 32px;
    }

    .item-list .item .content h2 {
        font-size: 16px;
    }

    #myaccount .block .user .image {
        width: 80px;
        height: 80px;
    }

    #myaccount .block .user .info h5.name {
        font-size: 18px;
    }

    #myaccount .block {
        position: sticky;
        top: 0px;
    }

    #fees {
        min-height: 500px;
    }
}

.comment-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.comment-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.user-avatar img,
.initials-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    font-weight: bold;
    color: #9d5ce7;
}

.comment-text {
    font-size: 0.95rem;
    color: #6c757d;
}

.reply-link {
    color: #9d5ce7;
    text-decoration: none;
    font-size: 0.9rem;
}

.comment-input-capsule {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    padding: 8px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    flex-direction: row-reverse;
}

.comment-input-capsule textarea {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    text-align: right;
    font-size: 0.95rem;
    resize: none;
    field-sizing: content;
    min-height: min-content;
}

.btn-send-icon {
    background: none;
    border: none;
    padding: 5px;
    transition: transform 0.2s;
}

.btn-send-icon:hover {
    transform: scale(1.1);
}

.btn-login-gradient {
    display: inline-block;
    background: linear-gradient(to right, #e799f0, #9d5ce7);
    color: #fff !important;
    padding: 10px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(157, 92, 231, 0.2);
}

.stars-display {
    font-size: 1.5rem;
    color: #ddd;
}
.stars-display .filled {
    color: #ffc107;
}

@media (min-width: 800px) {
    .modal-dialog {
        max-width: 820px;
    }

    .modal-header,
    .modal-body {
        padding-inline: 60px;
    }

    .modal-header {
        padding-top: 60px;
    }

    .modal-body {
        padding-bottom: 60px;
        padding-top: 40px;
    }

    header {
        padding: 0px;
    }

    header .top-header {
        padding: 3px 0px;
        background: rgb(245, 245, 245);
        font-size: 17px;
        margin-bottom: 20px;
    }

    header .container a.logo,
    .mobile-menu,
    header .btn,
    header .btn + .btn,
    header #notifications {
        order: unset;
    }

    header .top-header .d-flex + .d-flex svg {
        scale: 0.8;
    }

    header .top-header .d-flex + .d-flex a:hover svg path {
        stroke: rgb(129, 69, 216);
    }

    header .btn {
        padding-inline: 20px;
        font-size: 20px;
    }

    .items-product.item-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-footer {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .social-wrapper {
        display: none !important;
    }
    header .top-header .container {
        display: block !important;
    }

    header .top-header .d-flex {
        justify-content: space-between;
    }
}
