header.header-5 {
    position: relative;
}

.eq-header-nav {z-index: 9;}

section.cycle-hero {
    background: #fff;
    margin-top: -40px;
    padding: 90px 0;
}
.latest-collection {
    padding-top: 0;
}

.at-section-title {
    padding-top: 40px;
}

.merge-section {
    padding-top: 120px;
}

.eq-brand-box.black-texture-bg::before {
    border-radius: 0px;
}
.spacer {
    border-color: #ffffff26;
}
.lang-switcher {
    z-index: 11;
}


a.logo {
    display: block;
    max-height: 60px;
}

a.logo > img {
    max-height: inherit;
}

section.about-section {
    padding: 80px;
}

section.eq-feedback-section {
    padding-top: 160px;
    padding-bottom: 50px;
}

.cycle-hero .hero-dark-shape {
    margin-top: -2px;
}

/* ===== Sidebar restyle ===== */
/* Scope all styles to the sidebar to avoid side effects */
.sidebar__wrapper.sidebar {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 24px;
}

.sidebar__widget {
    padding-bottom: 24px;
    margin-bottom: 24px !important; /* keep spacing even if theme overrides */
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.sidebar__widget:last-child {
    border-bottom: 0;
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.sidebar__widget-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    margin: 0 0 14px 0;
    padding-left: 12px;
    position: relative;
}

.sidebar__widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: #111827; /* neutral-900 */
}

/* Search */
.sidebar__search .sidebar__search-input-2 {
    position: relative;
}

.sidebar__search .sidebar__search-input-2 input[type="text"] {
    width: 100%;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 44px 12px 14px;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.sidebar__search .sidebar__search-input-2 input[type="text"]:focus {
    outline: none;
    border-color: #111827;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.1);
}

.sidebar__search .sidebar__search-input-2 button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: none;
    background: #111827;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color .2s ease, transform .05s ease;
}

.sidebar__search .sidebar__search-input-2 button:hover {
    background: #0b1220;
}

.sidebar__search .sidebar__search-input-2 button:active {
    transform: translateY(-50%) scale(0.98);
}

/* Categories */
.sidebar__widget-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar__widget-content ul li + li {
    margin-top: 8px;
}

.sidebar__widget-content ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f9fafb;
    color: #111827;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: background-color .2s ease, border-color .2s ease, transform .05s ease;
}

.sidebar__widget-content ul li a span {
    background: #111827;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 999px;
}

.sidebar__widget-content ul li a:hover {
    background: #fff;
    border-color: #111827;
}

/* Recent posts */
.rc__post .rc__post-thumb img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.rc__post .rc__post-content .rc__meta span {
    display: inline-block;
    font-size: 12px;
    color: #6b7280; /* neutral-500 */
}

.rc__post .rc__post-title {
    font-size: 14px;
    line-height: 1.3;
    margin: 4px 0 0 0;
}

.rc__post .rc__post-title a {
    color: #111827;
    text-decoration: none;
}

.rc__post .rc__post-title a:hover {
    text-decoration: underline;
}

/* Tag cloud */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tagcloud a {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #111827;
    font-size: 13px;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.tagcloud a:hover {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

/* Small screens adjustments */
@media (max-width: 575.98px) {
    .sidebar__wrapper.sidebar {
        padding: 16px;
        border-radius: 8px;
    }

    .rc__post .rc__post-thumb img {
        width: 64px;
        height: 64px;
    }
}

[dir="rtl"] .btn,
[dir="rtl"] h6,
[dir="rtl"] .h6,
[dir="rtl"] h5,
[dir="rtl"] .h5,
[dir="rtl"] h4,
[dir="rtl"] .h4,
[dir="rtl"] h3,
[dir="rtl"] .h3,
[dir="rtl"] h2,
[dir="rtl"] .h2,
[dir="rtl"] h1,
[dir="rtl"] .h1,
[dir="rtl"] a,
[dir="rtl"] p{
   font-family: "Noto Kufi Arabic", sans-serif;
}

[dir="rtl"] .shape::before {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

[dir="rtl"] .cycle-hero .hero-dark-shape {
    clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
    -webkit-clip-path: polygon(0 0, 70% 0, 100% 100%, 0% 100%);
    right:unset;
    left:0;
}

body,
.noto-kufi-arabic{
   font-family: "Noto Kufi Arabic", sans-serif;
   font-optical-sizing: auto;
   font-style: normal;
}

.sr-service-single .feature-img,
.product-card-top {
    width: 100%;
    height: 250px; /* Adjust height as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8; /* Optional: adds neutral background */
}
.sr-service-single .feature-img img,
.product-card-top img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio while filling the area */
    display: block;
}

.header-sticky {
    background: #fff;
}
.bc-header-contact span, .bc-header-contact h4, .bc-header-contact .h4 {
    color: #000;
}

/* Cart badge styling */
.bc-header-cart {
    position: relative;
}

.bc-header-cart .cart-count {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Empty cart message styling */
.apt_cart_box .text-center {
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Cart dropdown styling */
.apt_cart_box {
    min-width: 320px;
    max-height: 450px;
}

.apt_cart_box .at_scrollbar {
    max-height: 300px;
    overflow-y: auto;
}

/* Cart item hover effect */
.cart-item {
    transition: background-color 0.2s ease;
}

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

/* Remove button styling */
.remove_cart_btn {
    transition: all 0.2s ease;
}

.remove_cart_btn:hover {
    transform: scale(1.1);
    color: #dc3545;
}

/* ===== Enhanced Products Sidebar Styling ===== */
.products-sidebar {
    position: sticky;
    top: 100px;
}

.products-sidebar .sidebar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.products-sidebar .sidebar-widget:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.products-sidebar .widget-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
}

.products-sidebar .widget-title i {
    font-size: 18px;
    color: #3b82f6;
}

/* Search Widget */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper .form-control {
    padding-right: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    height: 45px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-input-wrapper .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #2563eb;
    transform: translateY(-50%) scale(1.05);
}

/* Sidebar List */
.sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-list li {
    margin-bottom: 8px;
}

.sidebar-list li:last-child {
    margin-bottom: 0;
}

.sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    background: #f3f4f6;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateX(4px);
}

.sidebar-link.active {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #3b82f6;
}

.sidebar-link .link-text {
    flex: 1;
}

.sidebar-link .link-count {
    background: #e5e7eb;
    color: #6b7280;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-link.active .link-count {
    background: #3b82f6;
    color: #fff;
}

/* Price Range Widget */
.price-input-group {
    position: relative;
}

.price-input-group .input-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    pointer-events: none;
}

.price-input-group .form-control {
    padding-left: 36px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    height: 42px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.price-input-group .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Featured Products Widget */
.featured-products-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.featured-product-item {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 16px;
}

.featured-product-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.featured-product-item .product-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-product-item .product-link:hover {
    transform: translateX(4px);
}

.featured-product-item .product-thumb {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #f3f4f6;
    margin-right: 12px;
    transition: all 0.3s ease;
}

.featured-product-item .product-link:hover .product-thumb {
    border-color: #3b82f6;
}

.featured-product-item .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-product-item .product-info {
    flex: 1;
}

.featured-product-item .product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.featured-product-item .product-link:hover .product-name {
    color: #3b82f6;
}

.featured-product-item .product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-product-item .sale-price,
.featured-product-item .current-price {
    font-size: 15px;
    font-weight: 700;
    color: #3b82f6;
}

.featured-product-item .regular-price {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

/* Profile Dropdown Styling */
.profile-dropdown .dropdown-menu {
    min-width: 280px;
    padding: 0;
    margin-top: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-dropdown .dropdown-header {
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.profile-dropdown .dropdown-header .fw-semibold {
    color: #fff;
    font-weight: 600;
    margin-bottom: 2px;
}

.profile-dropdown .dropdown-header .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px;
}

.profile-dropdown .dropdown-item {
    padding: 10px 16px;
    font-size: 14px;
    color: #374151;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.profile-dropdown .dropdown-item:hover {
    background: #f3f4f6;
    color: #111827;
    padding-left: 20px;
}

.profile-dropdown .dropdown-item:active {
    background: #e5e7eb;
}

.profile-dropdown .dropdown-item i {
    width: 20px;
    font-size: 14px;
}

.profile-dropdown .dropdown-item.text-danger:hover {
    background: #fee2e2;
    color: #dc2626;
}

.profile-dropdown .dropdown-divider {
    margin: 8px 0;
    border-color: #e5e7eb;
}

.profile-dropdown .register-btn {
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-dropdown .register-btn:hover {
    opacity: 0.8;
}

.profile-dropdown .register-btn i.fa-chevron-down {
    transition: transform 0.2s ease;
}

.profile-dropdown.show .register-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .products-sidebar {
        position: static;
    }

    .products-sidebar .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .products-sidebar .sidebar-widget {
        padding: 16px;
        border-radius: 8px;
    }

    .sidebar-link {
        padding: 10px 12px;
        font-size: 13px;
    }

    .featured-product-item .product-thumb {
        width: 60px;
        height: 60px;
    }

    .profile-dropdown .dropdown-menu {
        min-width: 260px;
    }
}