@import url('../../resources/js/assets/sass/00-abstracts/_01-variables.scss');

.comment-author-image img {
    height: 65px;
    width: 65px;
}

.tl-pagination {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: end;
    gap: 5px;
}

.tl-pagination li {
    display: inline
}

.tl-pagination li a {
    color: #000;
    background-color: white;
    border: 1px solid white;

    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;

    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s
}

/* Active and Hoverable Pagination */
.tl-pagination li a {
    -webkit-transition: background-color 0.3s;
    transition: background-color 0.3s
}

.tl-pagination li a.active {
    color: #fff;
    background-color: var(--mainC);
    border: 1px solid var(--mainC);
}

.tl-pagination li a:hover:not(.active) {
    color: #fff;
    background-color: var(--mainC);
    border: 1px solid var(--mainC);
}

.title-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.details-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.footer-top h3 {
    color: #fff;
}

.site-title a:hover {
    color: #ddd;
}

.post-details .entry-header .entry-title {
    font-size: 30px;
}

/* Arabic / RTL mobile: keep page from overflowing, but never clip the menu sidebar */
html.rtl,
html[dir="rtl"] {
    max-width: 100%;
}

html.rtl body,
html[dir="rtl"] body {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

html.rtl .offcanvas-wrapper,
html[dir="rtl"] .offcanvas-wrapper {
    overflow: hidden !important;
    overflow-x: hidden !important;
}

html.rtl .offcanvas-wrapper .offcanvas-panel,
html[dir="rtl"] .offcanvas-wrapper .offcanvas-panel {
    left: auto !important;
    right: 0 !important;
    transform: translate3d(100%, 0, 0) !important;
}

html.rtl .offcanvas-wrapper.open .offcanvas-panel,
html[dir="rtl"] .offcanvas-wrapper.open .offcanvas-panel {
    transform: none !important;
}

html.rtl .offcanvas-wrapper .offcanvas-close,
html[dir="rtl"] .offcanvas-wrapper .offcanvas-close {
    right: auto !important;
    left: 0 !important;
}

html.rtl .offcanvas-wrapper .offcanvas-menu a,
html.rtl .offcanvas-wrapper .user-info,
html.rtl .offcanvas-wrapper .login-register,
html[dir="rtl"] .offcanvas-wrapper .offcanvas-menu a,
html[dir="rtl"] .offcanvas-wrapper .user-info,
html[dir="rtl"] .offcanvas-wrapper .login-register {
    text-align: right;
}

@media (max-width: 768px) {
    html.rtl,
    html[dir="rtl"] {
        max-width: 100% !important;
    }

    html.rtl body,
    html[dir="rtl"] body,
    html.rtl #app,
    html[dir="rtl"] #app,
    html.rtl .split-screen-container,
    html[dir="rtl"] .split-screen-container,
    html.rtl .modern-layout-container,
    html[dir="rtl"] .modern-layout-container,
    html.rtl .split-screen-content,
    html[dir="rtl"] .split-screen-content,
    html.rtl .content-split-nudge,
    html[dir="rtl"] .content-split-nudge {
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden;
    }

    html.rtl .product-list-row,
    html[dir="rtl"] .product-list-row {
        max-width: 100%;
        min-width: 0;
    }

    html.rtl .table-responsive,
    html[dir="rtl"] .table-responsive {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.product-list-thumb-only,
.modern-h-card__media,
.product-list-row__thumb {
    position: relative;
    overflow: hidden;
}

.product-oos-overlay {
    position: absolute;
    inset: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.42);
    pointer-events: none;
}

.product-oos-overlay span {
    display: inline-block;
    background: #111;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 6px;
    line-height: 1.2;
    text-align: center;
}

.product-oos-overlay--compact span {
    font-size: 9px;
    padding: 5px 7px;
    letter-spacing: 0.04em;
}