@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);
}

.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));
}

/* Custom button style */

/* Hover effect */

/* Improved dropdown menu styling */
.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;
}

/* With the header logo removed: on mobile, spread the items to both ends instead of bunching them on one side */

#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;
}

/* Mobile ads bar: taller with a smaller font so the "Order now" button isn't clipped inside .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 .home-search {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    background: rgb(245, 245, 245);
    border-radius: 55px;
    padding: 8px 16px;
}

.bar-options .home-search input {
    flex: 1 1 0%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
}

.bar-options .home-search button {
    border: 0;
    background: transparent;
    padding: 0;
    display: flex;
}

.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;
}

/* Price: the riyal symbol sits to the left of the number (ltr direction inside the container) */
.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%;
}

/* Pagination: squares with a grey border and a purple gradient on the active page */
.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;
}

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

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

/* Static pages (about, terms, privacy, ...) */
.static-page {
    padding-block: 2rem 3.5rem;
}

.static-page__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.static-page__logo {
    display: block;
}

.static-page__logo img {
    height: 110px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.static-page__title {
    position: relative;
    margin: 0.5rem 0 0;
    padding-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--crl-black);
}

.static-page__title::after {
    content: "";
    position: absolute;
    inset-inline: 25%;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--crl-primary);
}

.static-page__body {
    max-width: 800px;
    margin-inline: auto;
    padding: 1.75rem 2rem;
    background: #fff;
    border: 1px solid #ebe5f5;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(48, 22, 92, 0.05);
    color: #3a3a3a;
    font-size: 0.97rem;
    line-height: 1.7;
    text-align: start;
}

.static-page__body p {
    margin: 0 0 0.6rem;
}

.static-page__body p:empty {
    display: none;
}

.static-page__body br + br {
    display: none;
}

.static-page__body ul,
.static-page__body ol {
    margin: 0 0 0.6rem;
    padding-inline-start: 1.4rem;
}

.static-page__body li {
    margin-bottom: 0.2rem;
}

.static-page__body li > p {
    margin-bottom: 0;
}

.static-page__body h2,
.static-page__body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--crl-primary);
    margin: 1.1rem 0 0.4rem;
}

.static-page__body > :first-child {
    margin-top: 0 !important;
}

.static-page__body .lead {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--crl-black);
}

/* Toast notifications (showToast in partials/scripts.blade.php) */
.toast-container {
    position: fixed;
    top: 84px;
    inset-inline-end: 20px;
    z-index: 2000;
    width: 340px;
    max-width: calc(100vw - 32px);
    pointer-events: none;
}

.toast-container .toast {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ebe5f5;
    border-inline-start: 4px solid var(--crl-primary);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(48, 22, 92, 0.18);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: auto;
}

.toast-container .toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-container .toast.success { border-inline-start-color: #28a745; }
.toast-container .toast.error { border-inline-start-color: #dc3545; }
.toast-container .toast.warning { border-inline-start-color: #ffc107; }
.toast-container .toast.info { border-inline-start-color: #17a2b8; }

.toast-container .toast-header {
    display: flex;
    align-items: center;
    padding: 10px 14px 0;
    background: transparent;
    border: 0;
    font-size: 0.95rem;
}

.toast-container .toast-body {
    padding: 4px 14px 12px;
    color: #495057;
    font-size: 0.9rem;
}

.toast-container .toast-close {
    margin-inline-start: auto;
    padding: 0;
    border: 0;
    background: none;
    color: #8a8a8a;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.toast-container .toast-close:hover {
    color: #333;
}

@media (max-width: 575.98px) {
    .toast-container {
        top: 70px;
        inset-inline: 16px;
        width: auto;
        max-width: none;
    }
}

/* Following page */
.following-page {
    padding-block: 2rem 3.5rem;
}

.following-page .following-note {
    margin: -0.5rem 0 1.25rem;
    color: var(--crl-gray);
    font-size: 0.95rem;
}

.following-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.following-filters .form-select-custom {
    flex: 1 1 220px;
}

.following-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--crl-primary);
    font-size: 0.9rem;
    text-decoration: none;
}

.following-clear:hover {
    text-decoration: underline;
}

.following-page > .container {
    max-width: 820px;
}

.following-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.following-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #ebe5f5;
    border-radius: 14px;
    transition: box-shadow 0.2s ease, opacity 0.25s ease, transform 0.25s ease;
}

.following-card:hover {
    box-shadow: 0 8px 22px rgba(48, 22, 92, 0.09);
}

.following-card.is-removing {
    opacity: 0;
    transform: scale(0.95);
}

.following-card__avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f6f1fe;
}

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

.following-card__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.following-card__name {
    font-weight: 700;
    color: var(--crl-black);
    text-decoration: none;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
}

.following-card__name:hover {
    color: var(--crl-primary);
}

.following-card__meta {
    color: var(--crl-gray);
    font-size: 0.85rem;
}

.following-card__btn {
    flex-shrink: 0;
    padding: 8px 20px;
    border: 1px solid #d9cdee;
    border-radius: 999px;
    background: #fff;
    color: var(--crl-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.following-card__btn:hover:not(:disabled) {
    background: var(--crl-primary);
    border-color: var(--crl-primary);
    color: #fff;
}

.following-card__btn:disabled {
    opacity: 0.6;
    cursor: progress;
}

@media (max-width: 575.98px) {
    .following-page {
        padding-block: 1.25rem 2.5rem;
    }

    .following-filters .form-select-custom {
        flex-basis: 100%;
    }
}

/* Commission payment page */
.commission-page .static-page__head {
    margin-bottom: 1.25rem;
}

.commission-rate {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 800px;
    margin: 0 auto 1rem;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f6f1fe, #fdf0fc);
    border: 1px solid #e3d6f7;
    border-radius: 14px;
}

.commission-rate__icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--crl-primary);
    color: #fff;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.commission-rate__value {
    display: block;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--crl-primary);
}

.commission-rate__text {
    color: #555;
    font-size: 0.95rem;
}

.copy-value {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-inline-start: 10px;
    padding: 2px 10px;
    border: 1px solid #d9cdee;
    border-radius: 999px;
    background: #fff;
    color: var(--crl-primary);
    font-size: 0.8rem;
    vertical-align: middle;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.copy-btn:hover,
.copy-btn.is-copied {
    background: var(--crl-primary);
    border-color: var(--crl-primary);
    color: #fff;
}

/* Favorites page */
.favorites-page {
    padding-block: 2rem 3.5rem;
}

.favorites-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ebe5f5;
}

.favorites-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--crl-black);
}

.favorites-count {
    min-width: 30px;
    height: 30px;
    padding-inline: 10px;
    border-radius: 999px;
    background: #f6f1fe;
    color: var(--crl-primary);
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

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

.favorites-page .items-product .item {
    margin-bottom: 0 !important;
    border: 1px solid #ebe5f5;
    box-shadow: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.favorites-page .items-product .item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(48, 22, 92, 0.1);
}

.favorites-page .items-product .item .item-link-img {
    height: 160px;
}

@media (max-width: 575.98px) {
    .favorites-page {
        padding-block: 1.25rem 2.5rem;
    }

    .favorites-title {
        font-size: 1.3rem;
    }

    .favorites-page .items-product {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .favorites-page .items-product .item .item-link-img {
        height: 120px;
    }
}

.static-page__empty {
    max-width: 520px;
    margin: 0.5rem auto 0;
    padding: 2.25rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px dashed #d9cdee;
    border-radius: 16px;
}

.static-page__empty-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 0.9rem;
    border-radius: 50%;
    background: #f6f1fe;
    color: var(--crl-primary);
    font-size: 1.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.static-page__empty p {
    margin: 0 0 1.25rem;
    color: var(--crl-gray);
    font-size: 1rem;
}

.static-page__empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 24px;
    border-radius: 999px;
    background: var(--crl-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.static-page__empty-btn:hover {
    background: #6a34bd;
    color: #fff;
}

@media (max-width: 575.98px) {
    .static-page {
        padding-block: 1rem 2.5rem;
    }

    .static-page__logo img {
        height: 84px;
    }

    .static-page__title {
        font-size: 1.3rem;
    }

    .static-page__body {
        padding: 1.25rem 1.1rem;
        border-radius: 14px;
    }
}

/* FAQ accordion (FAQ page) */
.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;
}

.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;
}

.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;
}

/* Ad page: contact bar (call / message) */
.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;
}

#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 (min-width: 768px) {
    .item-slider {
        height: 270px;
    }

    .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) {
    [data-tooltips]:hover::after,
    [data-tooltips]:hover::before {
        display: none;
    }

    .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;
    }

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

}

/* Slider: small box sized to the image ratio (215:112) instead of stretching to full width */
#slider {
    padding-top: 16px;
    padding-bottom: 28px;
    margin-bottom: 20px;
}

#slider .swiper {
    width: calc(100% - 24px);
    max-width: 640px;
    margin-inline: auto;
    border-radius: 16px;
}

#slider .item-slider,
#slider .item-slider img {
    height: auto;
}

#slider .item-slider {
    aspect-ratio: 215 / 112;
}

#slider .item-slider img {
    height: 100%;
}

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

#slider .slider-caption p {
    font-size: 36px;
    line-height: 1.2;
}

#slider .slider-btn {
    padding: 8px 32px;
}

@media (max-width: 767.98px) {
    #slider .slider-caption h3 {
        font-size: 14px;
    }

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

    #slider .slider-btn {
        padding: 6px 20px;
        margin-top: 6px;
    }
}

/* Never show scrollbars on textareas (content still scrolls). */
textarea {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

textarea::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
