/* start global  */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
}

a {
    text-decoration: none;
}

body {
    background-color: #F6F7F9;
    font-family: "Rajdhani", sans-serif;
}

:root {
    --main-color: #1421AB;
    --transition: all .5s ease;
}

li {
    list-style: none;
}

.text-main {
    color: #1421AB !important;
}

.bg-main {
    background-color: #1421AB !important;
}

.fs-8 {
    font-size: 8px !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.gap-6 {
    gap: 8rem !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.flex {
    display: flex !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-between {
    justify-content: space-between !important;
}

.justify-start {
    justify-content: flex-start !important;
}

.justify-end {
    justify-content: flex-end !important;
}

.flex-col {
    flex-direction: column !important;
}

.items-center {
    align-items: center !important;
}

.items-start {
    align-items: flex-start !important;
}

.items-end {
    align-items: flex-end !important;
}

.w-fit {
    width: fit-content !important;
}

.text-gray {
    color: #7C7C8D !important;
}

.text-light {
    color: #c2c1c1 !important;
}

.bg-gray {
    background-color: #F5F5F5 !important;
}

.text-black {
    color: #34343C !important;
}

.line-border {
    border: 1px solid #7c7c8d80 !important;
    border-radius: 20px !important;
}

.main-title {
    font-weight: 500;
    font-style: Medium;
    font-size: 24px;
    line-height: 32.4px;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 120px;
    right: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background: var(--main-color);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px #1421AB;
    transition: opacity 0.4s, transform 0.3s;
    opacity: 0;
    pointer-events: none;
}

#scrollToTopBtn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#scrollToTopBtn:hover {
    background: #F1EAFA;
    transform: scale(1.1);
    color: var(--main-color);
}

/* Floating Cart Button */
#floatingCartBtn {
    bottom: 120px;
    left: 30px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border: none;
    outline: none;
    background: var(--main-color);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px #1421AB;
    transition: opacity 0.4s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

html.rtl #floatingCartBtn {
    left: auto;
    right: 30px;
}

#floatingCartBtn .floating-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

html.rtl #floatingCartBtn .floating-cart-count {
    right: auto;
    left: -5px;
}

#floatingCartBtn:hover {
    background: #F1EAFA;
    transform: scale(1.1);
    color: var(--main-color);
}

.object-cover {
    object-fit: cover !important;
}

/* ---------- RTL MODE ---------- */
html.rtl {
    direction: rtl;
    text-align: right;
    font-family: "Tajawal", sans-serif;
}

/* ---------- LTR MODE ---------- */
html.ltr {
    direction: ltr;
    text-align: left;
    font-family: "Poppins", sans-serif;
}

/* End global  */

/* start top-ads   */
.top-ads img {
    object-fit: cover;
}

/* end top-ads   */

/* start home banner slider */
.banner .banner-swiper {
    width: 100%;
}

.banner .banner-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner .banner-swiper img {
    width: 100%;
    height: 360px;
    max-height: 360px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .banner .banner-swiper img {
        height: 260px;
        max-height: 260px;
    }
}

@media (max-width: 576px) {
    .banner .banner-swiper img {
        height: 200px;
        max-height: 200px;
    }
}

/* end home banner slider */

/* start services section */
.services .service-icon {
    height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
}
/* end services section */

/* start top bar   */
.top-bar {
    position: relative;
    z-index: 1100;
    border-bottom: 1px solid #f0f0f0;
    overflow: visible;
}

.top-bar .container-fluid {
    overflow: visible;
}

.top-bar .right-side-container {
    gap: 24px;
    align-items: center;
}

.top-bar .right-side-container > * {
    display: flex;
    align-items: center;
    height: 100%;
}

.top-bar .brand-logo {
    width: 280px !important;
    max-width: 280px !important;
    height: 175px !important;
    max-height: 175px !important;
    object-fit: contain;
}

.top-bar .right-side-container .cart-count {
    width: 15px;
    height: 15px;
    top: -10px;
    right: -10px;
}

html.rtl .top-bar .right-side-container .cart-count {
    right: -auto;
    left: -10px;
}

.top-bar .right-side-container .cart-dropdown {
    display: none;
    top: 100%;
    width: 350px;
    right: 0;
    border-radius: 8px;
    z-index: 9999;
}

html.rtl .top-bar .right-side-container .cart-dropdown {
    right: auto;
    left: 0;
}

.top-bar .right-side-container .cart-container .product-item img {
    width: 100px;
}

.top-bar .right-side-container .cart-container .checkout-box button {
    background-color: var(--main-color);
    color: white;
    border-radius: 20px;
    border: none;
    padding: 5px 15px;
}

.top-bar .right-side-container .cart-container .fa-xmark:hover,
.top-bar .right-side-container .cart-container .fa-pen:hover {
    background-color: white !important;
    color: var(--main-color) !important;
    border: 1px solid var(--main-color);
    transition: var(--transition);
}

.top-bar .right-side-container .cart-container .fa-pen,
.top-bar .right-side-container .cart-container .fa-xmark {
    width: 20px;
    text-align: center;
    border: 1px solid transparent;

}

.top-bar .right-side-container .cart-container .product-name:hover {
    color: var(--main-color) !important;
}

.top-bar .right-side-container .cart-container .cart-crud {
    top: 10px;
    left: 0;
}

.top-bar .right-side-container .cart-container {
    position: relative;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.top-bar .right-side-container .cart-container:hover {
    background-color: #f5f5f5;
}

.top-bar .right-side-container a[href*="wishlist"] {
    padding: 6px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.top-bar .right-side-container a[href*="wishlist"]:hover {
    background-color: #f5f5f5;
}

.top-bar .right-side-container a[href*="login"],
.top-bar .right-side-container #profile-dropdown-toggle {
    padding: 6px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.top-bar .right-side-container a[href*="login"]:hover,
.top-bar .right-side-container #profile-dropdown-toggle:hover {
    background-color: #f5f5f5;
}

.top-bar #lang-toggle {
    user-select: none;
    position: relative;
}

.top-bar .lang-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    height: 100%;
}

.top-bar .lang-button:hover {
    background-color: #f5f5f5;
}

.top-bar #lang-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    min-width: 160px;
    top: 100%;
    right: 0;
    margin-top: 8px;
    position: absolute;
    z-index: 1100;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
}

html.rtl .top-bar #lang-menu {
    right: auto;
    left: 0;
}

.top-bar #lang-menu .lang-item {
    padding: 10px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
}

.top-bar #lang-menu .lang-item:hover {
    background-color: var(--main-color);
    color: #fff;
}

.top-bar #lang-menu .lang-item:first-child {
    border-radius: 8px 8px 0 0;
}

.top-bar #lang-menu .lang-item:last-child {
    border-radius: 0 0 8px 8px;
}

.top-bar .lang-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

/* Theme5 Language Dropdown Style - Using theme1 functionality */
.top-bar .t-h-dropdown {
    position: relative;
}

.top-bar .t-h-dropdown .main-link {
    padding: 0;
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-bar .t-h-dropdown .main-link:hover {
    color: inherit;
}

.top-bar .t-h-dropdown .t-h-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 8px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateY(-10px);
}

html.rtl .top-bar .t-h-dropdown .t-h-dropdown-menu {
    right: auto;
    left: 0;
}

.top-bar .t-h-dropdown:hover .t-h-dropdown-menu,
.top-bar .t-h-dropdown.active .t-h-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.top-bar .t-h-dropdown .t-h-dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
}

.top-bar .t-h-dropdown .t-h-dropdown-menu a:hover {
    background-color: var(--main-color);
    color: #fff;
}

.top-bar .t-h-dropdown .t-h-dropdown-menu a:first-child {
    border-radius: 8px 8px 0 0;
}

.top-bar .t-h-dropdown .t-h-dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

.top-bar .t-h-dropdown .t-h-dropdown-menu a.active {
    background-color: var(--main-color);
    color: #fff !important;
}

.top-bar .t-h-dropdown .t-h-dropdown-menu a i {
    margin-right: 8px;
    font-size: 12px;
}

html.rtl .top-bar .t-h-dropdown .t-h-dropdown-menu a i {
    margin-right: 0;
    margin-left: 8px;
}

.top-bar .profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1100;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    padding: 8px 0;
    margin-top: 8px;
}

html.rtl .top-bar .profile-dropdown {
    right: auto;
    left: 0;
}

.top-bar .profile-dropdown a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 14px;
    gap: 10px;
}

.top-bar .profile-dropdown a i {
    width: 18px;
    font-size: 14px;
}

.top-bar .profile-dropdown a:hover {
    background-color: var(--main-color);
    color: #fff;
}

.top-bar .profile-dropdown a:first-child {
    border-radius: 8px 8px 0 0;
}

.top-bar .profile-dropdown a:last-child {
    border-radius: 0 0 8px 8px;
}

/* --- Theme5 Mega Nav (Products) --- */
.t5-mega-nav {
    position: relative;
    overflow: visible;
}

.top-bar .nav-links,
.top-bar .nav-item {
    overflow: visible;
}

.t5-mega-nav__trigger {
    text-decoration: none !important;
    min-height: 44px;
    padding: 8px 12px !important;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.t5-mega-nav__trigger:hover,
.t5-mega-nav.is-open .t5-mega-nav__trigger {
    background-color: rgba(20, 33, 171, 0.08);
}

.t5-mega-nav__chevron {
    font-size: 0.65rem;
    color: #6b7280;
    transition: transform 0.25s ease;
}

.t5-mega-nav.is-open .t5-mega-nav__chevron,
.t5-mega-nav:hover .t5-mega-nav__chevron {
    transform: rotate(180deg);
}

html.rtl .t5-mega-nav.is-open .t5-mega-nav__chevron,
html.rtl .t5-mega-nav:hover .t5-mega-nav__chevron {
    transform: rotate(180deg) scaleX(-1);
}

html:has(.t5-mega-nav.is-open) {
    overflow-x: hidden;
}

.t5-mega-nav__panel {
    position: absolute;
    top: calc(100% + 4px);
    inset-inline-start: 0;
    inset-inline-end: auto;
    --mega-offset-x: 0px;
    transform: translate(var(--mega-offset-x), 8px);
    width: min(920px, calc(100vw - 32px));
    width: min(920px, calc(100dvw - 32px));
    max-width: calc(100vw - 32px);
    max-width: calc(100dvw - 32px);
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 1200;
}

.t5-mega-nav.is-open .t5-mega-nav__panel,
.t5-mega-nav:hover .t5-mega-nav__panel,
.t5-mega-nav:focus-within .t5-mega-nav__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(var(--mega-offset-x), 0);
}

.t5-mega-nav__panel-inner {
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.12);
    border-radius: 16px;
    box-shadow: 0 20px 48px rgba(20, 33, 171, 0.14), 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    max-width: 100%;
}

.t5-mega-nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(20, 33, 171, 0.06) 0%, rgba(20, 33, 171, 0.02) 100%);
    border-bottom: 1px solid rgba(20, 33, 171, 0.08);
    min-width: 0;
}

.t5-mega-nav__head-text {
    min-width: 0;
    flex: 1 1 180px;
}

.t5-mega-nav__eyebrow {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1421AB;
}

.t5-mega-nav__subtitle {
    margin: 4px 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.t5-mega-nav__all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #1421AB;
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.t5-mega-nav__all-link:hover {
    background: #0f1890;
    color: #fff !important;
}

.t5-mega-nav__body {
    display: grid;
    grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
    min-height: 280px;
    max-height: min(420px, 60vh);
    overflow: hidden;
    min-width: 0;
}

html.rtl .t5-mega-nav__body,
html[dir="rtl"] .t5-mega-nav__body {
    direction: rtl;
}

html.rtl .t5-mega-nav__head,
html[dir="rtl"] .t5-mega-nav__head {
    direction: rtl;
}

html.rtl .t5-mega-nav__head-text,
html[dir="rtl"] .t5-mega-nav__head-text {
    text-align: start;
}

html.rtl .t5-mega-nav__panel-head-copy,
html[dir="rtl"] .t5-mega-nav__panel-head-copy {
    text-align: start;
}

.t5-mega-nav__cats {
    border-inline-end: 1px solid rgba(20, 33, 171, 0.08);
    background: #fafbff;
    overflow: hidden;
    min-width: 0;
}

.t5-mega-nav__cat-list {
    list-style: none;
    margin: 0;
    padding: 8px;
    max-height: min(420px, 60vh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.t5-mega-nav__cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none !important;
    color: #34343C !important;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    min-height: 44px;
    min-width: 0;
    max-width: 100%;
}

.t5-mega-nav__cat-item:hover,
.t5-mega-nav__cat-item.is-active,
.t5-mega-nav__cat-item:focus-visible {
    background: #fff;
    color: #1421AB !important;
    box-shadow: 0 2px 8px rgba(20, 33, 171, 0.08);
    outline: none;
}

.t5-mega-nav__cat-thumb {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.1);
}

.t5-mega-nav__cat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-mega-nav__cat-name {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
    text-align: start;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t5-mega-nav__cat-arrow {
    font-size: 0.65rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.t5-mega-nav__cat-item.is-active .t5-mega-nav__cat-arrow,
.t5-mega-nav__cat-item:hover .t5-mega-nav__cat-arrow {
    color: #1421AB;
}

.t5-mega-nav__panels {
    display: grid;
    padding: 16px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    min-width: 0;
    overscroll-behavior: contain;
}

.t5-mega-nav__panel-content {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.t5-mega-nav__panel-content.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 1;
}

.t5-mega-nav__panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(20, 33, 171, 0.1);
    min-width: 0;
}

.t5-mega-nav__panel-head-copy {
    min-width: 0;
    flex: 1;
}

.t5-mega-nav__panel-head-media {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(20, 33, 171, 0.1);
}

.t5-mega-nav__panel-head-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-mega-nav__panel-head-title {
    margin: 0 0 6px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1421AB;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.t5-mega-nav__panel-head-meta {
    margin: 0;
    font-size: 0.8125rem;
    color: #6b7280;
}

.t5-mega-nav__panel-label {
    margin: 0 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
}

.t5-mega-nav__cat-list li[data-mega-cat] {
    cursor: pointer;
}

.t5-mega-nav__subgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 16px;
    min-width: 0;
}

.t5-mega-nav__sub-link {
    display: flex;
    align-items: center;
    min-height: 40px;
    min-width: 0;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #34343C !important;
    font-size: 0.875rem;
    transition: background 0.15s ease, color 0.15s ease;
    text-align: start;
    overflow: hidden;
}

.t5-mega-nav__sub-link span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.t5-mega-nav__sub-link:hover {
    background: rgba(20, 33, 171, 0.06);
    color: #1421AB !important;
}

.t5-mega-nav__sub-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1421AB;
    opacity: 0.35;
    margin-inline-end: 10px;
    flex-shrink: 0;
}

.t5-mega-nav__panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(20, 33, 171, 0.08);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1421AB !important;
    text-decoration: none !important;
}

.t5-mega-nav__panel-cta:hover {
    color: #0f1890 !important;
}

.t5-mega-nav__empty {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
}

.t5-mega-nav__hero {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(20, 33, 171, 0.1);
}

.t5-mega-nav__empty-title {
    margin: 0 0 8px;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #34343C;
}

.t5-mega-nav__empty-text {
    margin: 0 0 12px;
    font-size: 0.875rem;
    color: #6b7280;
}

.t5-mega-nav__panel-cta--inline {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

/* Mobile mega categories */
.t5-mobile-mega__menu {
    padding-inline-start: 12px !important;
}

.t5-mobile-mega__all a {
    font-weight: 700;
    color: #1421AB !important;
}

.t5-mobile-mega__cat {
    font-weight: 600;
    display: block;
    padding: 8px 0 4px;
}

.t5-mobile-mega__subs {
    list-style: none;
    margin: 0 0 8px;
    padding-inline-start: 16px;
}

.t5-mobile-mega__subs a {
    display: block;
    padding: 6px 0;
    font-size: 0.875rem;
    color: #6b7280 !important;
}

@media (max-width: 991.98px) {
    .t5-mega-nav__body {
        grid-template-columns: 1fr;
    }

    .t5-mega-nav__subgrid {
        grid-template-columns: 1fr;
    }
}

/* end top bar   */

/* start desktop navbar  */
.desktop-navbar {
    background-color: #fff;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 1050;
    border-bottom: 1px solid #e0e0e0;
}

/* Navbar cart icon */
.desktop-navbar .navbar-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.desktop-navbar .navbar-cart-icon.order-first {
    order: -1;
}

html.rtl .desktop-navbar .navbar-cart-icon.order-first {
    order: 999;
}

.desktop-navbar .navbar-cart-icon a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px;
}

.desktop-navbar .navbar-cart-icon a:hover {
    color: var(--main-color);
}

.desktop-navbar .navbar-cart-count {
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    font-weight: bold;
    font-size: 11px;
}

html.rtl .desktop-navbar .navbar-cart-count {
    right: auto;
    left: -5px;
}

.desktop-navbar .main-link {
    color: #333;
    font-size: 14px;
    padding: 10px;
    text-align: center;
}

.desktop-navbar .more-menu button {
    color: #333;
    font-size: 20px;
    padding: 10px;
    text-align: center;
    background-color: transparent;
    border: none;
}

.desktop-navbar .main-link:hover {
    color: #0159aa;
}

.desktop-navbar a.active {
    background-color: transparent;
    color: #0159aa;
    border-bottom: 2px solid #0159aa;
    padding-bottom: 8px;
}

.desktop-navbar .hot-border {
    position: absolute;
    top: 9px;
    right: 6px;
    left: auto;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #FF8000;
}

html.rtl .desktop-navbar .hot-border {
    left: 6px;
    right: auto;
}

.desktop-navbar .hot-link {
    position: absolute;
    background-color: #FF8000;
    color: #D02906;
    text-align: center;
    font-size: 11px;
    right: -5px;
    top: -5px;
    width: 30px;
    height: 14px;
}

html.rtl .desktop-navbar .hot-link {
    left: -5px;
    right: auto;
}

.desktop-navbar .mega-parent {
    display: inline-block;
    padding: 10px 0;
}

.desktop-navbar .mega-menu {
    position: absolute;
    left: 50%;
    top: 55px;
    width: 90%;
    transform: translate(-50%, 20px);
    background: #fff;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
    z-index: 999;
}

.desktop-navbar .mega-parent:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.desktop-navbar .mega-content-links a {
    display: block;
    font-size: 14px;
    text-decoration: none;
    color: #7c7c8df6;
    transition: 0.2s;
    text-align: left;
    padding: 0;
    text-transform: capitalize;
}

.desktop-navbar .mega-content-links a:hover {
    color: var(--main-color) !important;
    background-color: transparent;
}

.desktop-navbar .mega-content-links-head {
    text-transform: uppercase !important;
}

.desktop-navbar .mega-menu img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 4px;
}

.desktop-navbar .mega-menu .col-md-6 img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.desktop-navbar .mega-menu .flex {
    flex-wrap: wrap;
}

.desktop-navbar .mega-menu .gap-6 {
    gap: 2rem !important;
}

html.rtl .desktop-navbar .mega-content-links a {
    text-align: right;
}

.desktop-navbar .featured-brands img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border: 1px solid #7c7c8d93;
    padding: 5px;
}

.desktop-navbar .built-in img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.desktop-navbar .featured-brands {
    border-left: 1px solid #7c7c8d93;
    padding: 5px;
}

.desktop-navbar .nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: visible;
    white-space: nowrap;
}

.desktop-navbar .more-menu .dropdown-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: var(--main-color);
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: none;
    min-width: 160px;
    z-index: 10;
}

.desktop-navbar .dropdown-menu {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 18px;
    background: #2D2D2D !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: none;
}

.desktop-navbar .more-menu .dropdown-menu {
    left: 0 !important;
    right: auto;
    min-width: 100%;

}

html.rtl .desktop-navbar .dropdown-menu {
    left: 0 !important;
    right: auto;
}

.desktop-navbar .dropdown-menu.show {
    display: block;
}

/* Remove icon inside input - only show in search button */
.desktop-navbar .fa-magnifying-glass:not(.search-btn i) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
}

html.rtl .desktop-navbar .fa-magnifying-glass:not(.search-btn i) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.desktop-navbar .navbar-search {
    width: 300px;
    background-color: #f5f5f5 !important;
    color: #333 !important;
    border-color: #e0e0e0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    background-image: none !important;
    background-position: unset !important;
    background-repeat: no-repeat !important;
    background-size: unset !important;
}

.desktop-navbar .navbar-search:focus {
    background-color: #fff !important;
    color: #333 !important;
    border-color: var(--main-color) !important;
    box-shadow: 0 0 0 2px rgba(20, 33, 171, 0.1) !important;
    outline: none !important;
}

/* Remove any icons inside search input - Override all possible CSS */
.desktop-navbar .navbar-search::before,
.desktop-navbar .navbar-search::after,
.desktop-navbar .form-control::before,
.desktop-navbar .form-control::after,
.desktop-navbar input[type="search"]::before,
.desktop-navbar input[type="search"]::after,
.desktop-navbar .navbar-search::before,
.desktop-navbar .navbar-search::after {
    display: none !important;
    content: "" !important;
    background: none !important;
    background-image: none !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove any icon elements inside search container */
.desktop-navbar .position-relative .fa-magnifying-glass:not(.search-btn i),
.desktop-navbar .search-icon-inside,
.desktop-navbar form .fa-magnifying-glass:not(.search-btn i),
.desktop-navbar .search-setting .fa-magnifying-glass:not(.search-btn i) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* Remove background images from search input */
.desktop-navbar .navbar-search {
    background-image: none !important;
    background-position: unset !important;
    background-repeat: no-repeat !important;
    background-size: unset !important;
}

.desktop-navbar .search-btn {
    background-color: transparent !important;
    border: none !important;
    color: #333 !important;
    padding: 8px 15px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    min-width: 40px;
    height: 100%;
}

.desktop-navbar .search-btn:hover {
    opacity: 0.9;
    background-color: rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px;
}

.desktop-navbar .search-btn:active {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.1) !important;
}

.desktop-navbar .search-btn i {
    color: #333 !important;
    font-size: 20px !important;
    display: block !important;
    visibility: visible !important;
}

.desktop-navbar .navbar-search::placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
}

.desktop-navbar .navbar-search::-webkit-input-placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
}

.desktop-navbar .navbar-search::-moz-placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
}

.desktop-navbar .navbar-search:-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.5) !important;
}

/* end desktop navbar  */

/* start mobile navbar  */

.mobile-navbar .mobile-logo img {
    width: 223px !important;
    max-width: 223px !important;
    height: 140px !important;
    max-height: 140px !important;
    object-fit: contain;
}

.mobile-navbar .searchDropdown {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #ccc;
    padding: 10px;
    width: 90vw;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-navbar .cart-box span {
    width: 15px;
    height: 15px;
    top: -10px;
    right: -10px;
}

html.rtl .mobile-navbar .cart-box span {
    left: -10px;
    right: auto;
}

.mobile-navbar #overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1100;
}

.mobile-navbar #sidebar {
    position: fixed;
    top: 0;
    left: -85%;
    width: 85%;
    height: 100%;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    padding: 0 20px;
    transition: 0.3s;
    z-index: 1101;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-navbar #sidebar ul {
    list-style: none;
    padding: 0;
}

.mobile-navbar #sidebar ul li {
    margin: 5px 0;
}

.mobile-navbar #sidebar ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.mobile-navbar #sidebar.show {
    left: 0;
}

.mobile-navbar #overlay.show {
    display: block;
}

.mobile-navbar .fa-bars-staggered {
    font-size: 24px;
    color: var(--main-color);
}

.mobile-navbar .nav-tabs .nav-link {
    padding: 20px 10px !important;
    margin-right: 5px;
}

.mobile-navbar .nav-tabs {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.mobile-navbar .nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border-color: var(--main-color) !important;
    color: var(--main-color);

}

.mobile-navbar .toggle-icon {
    transition: transform 0.3s;
}

.mobile-navbar .toggle-icon.rotate {
    transform: rotate(45deg);
}

.mobile-navbar .accordion-item .submenu {
    display: none;
}

.mobile-navbar .accordion-item .toggle-icon.rotate {
    transform: rotate(45deg);
}

.mobile-navbar .submenu {
    display: none;
    padding-left: 20px;
    margin-top: 10px;
}

.mobile-navbar .account-box li {
    margin: 25px 0 !important;
    border-bottom: 1px solid rgba(128, 128, 128, 0.747);
}

.mobile-navbar .toggle-icon {
    font-size: 30px;
}

.mobile-navbar .lang-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
}

/* end mobile navbar  */

/* start appliances-deals */
.product-box .offer-badge {
    background-color: #FFA500;
    position: absolute;
    top: 8px;
    inset-inline-end: 8px;
    z-index: 4;
    color: white;
    border-radius: 3px;
    padding: 2px 5px;
    font-weight: 600;
}

.product-box .product-swiper {
    direction: ltr;
}

html.rtl .product-box .product-swiper,
html[dir="rtl"] .product-box .product-swiper {
    direction: rtl;
}

/* Forward-pointing arrows: use fa-arrow-right + this class */
.dir-arrow-end {
    display: inline-block;
}

html.rtl .dir-arrow-end,
html[dir="rtl"] .dir-arrow-end {
    transform: scaleX(-1);
}

/* Hero / page sliders — swap control sides in RTL */
html.rtl .theme5-leftArrow,
html[dir="rtl"] .theme5-leftArrow,
html.rtl .page-leftArrow,
html[dir="rtl"] .page-leftArrow {
    left: auto;
    right: 18px;
}

html.rtl .theme5-rightArrow,
html[dir="rtl"] .theme5-rightArrow,
html.rtl .page-rightArrow,
html[dir="rtl"] .page-rightArrow {
    right: auto;
    left: 18px;
}

.product-box .swiper-button-next,
.product-box .swiper-button-prev {
    background-color: var(--main-color);
    width: 40px;
    padding: 10px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-box .product-swiper:hover .swiper-button-next,
.product-box .product-swiper:hover .swiper-button-prev {
    opacity: 1;
}

.product-box .swiper-horizontal>.swiper-pagination-bullets,
.product-box .swiper-pagination-horizontal.swiper-pagination-bullets {
    display: none !important;
}

.product-box .brand-img {
    width: 100%;
    /* width: 150px; */
    height: 130px;
    object-fit: cover;
}

/* Two column category uses same card + swiper as other sections */
.product-box .product-swiper {
    position: relative;
}

.product-box .col-xl-4,
.product-box .col-lg-6 {
    margin-bottom: 0;
}

/* end appliances-deals */

/* start preloader - from theme1 */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999;
    background: #fff;
}

#preloader img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 200px;
}
/* end preloader */

/* start category  */
.category .row {
    display: flex;
    flex-wrap: wrap;
}

.category .col-md-3 {
    display: flex;
    margin-bottom: 15px;
}

.category-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    border-radius: 5px;
    transition: var(--transition);
    width: 100%;
    height: 100%;
}

.category-card img {
    width: 100%;
    height: 155px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
    flex-shrink: 0;
}

.category-card:hover img {
    transform: scale(1.05);
}

.cat-name {
    background-color: #F0F2F7;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #000000;
    transition: var(--transition);
    margin: 0;
    padding: 12px 8px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
}

.category-card:hover .cat-name {
    background-color: var(--main-color);
    color: white;
}

.featured-category-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 30px;
}

/* end category  */

.brand-image {
    width: 100%;
    height: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .brand-image {
    transform: scale(1.1);
}

.brand-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0;
    transition: color 0.3s ease;
}

.product-card:hover .brand-name {
    color: var(--main-color, #007bff);
}

/* start footer — theme5 light footer (same layout, cleaned up) */
body.body_theme5 footer.theme5-footer {
    background: linear-gradient(180deg, #ffffff 0%, #F7FBFF 35%, #EEF2FF 100%) !important;
    color: #34343C !important;
    padding: 3.75rem 0 1.75rem;
    border-start-start-radius: clamp(48px, 10vw, 114px);
    border-start-end-radius: clamp(48px, 10vw, 114px);
    border-top: 4px solid #1421AB;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 -12px 40px rgba(20, 33, 171, 0.08);
}

.theme5-footer__inner {
    max-width: 1320px;
}

.theme5-footer__logo-wrap {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.theme5-footer__logo {
    width: auto;
    max-width: 200px;
    max-height: 120px;
    object-fit: contain;
}

.theme5-footer__apps {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 220px;
    margin-bottom: 1rem;
}

.theme5-footer__app-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: #1421AB;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(20, 33, 171, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.theme5-footer__app-link:hover {
    color: #fff !important;
    background: #0f1890;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 33, 171, 0.28);
}

.theme5-footer__app-link i {
    font-size: 1.35rem;
}

.theme5-footer__desc {
    color: #7C7C8D !important;
    line-height: 1.75;
    font-size: 0.95rem;
    margin: 0;
    text-align: start;
}

.theme5-footer__title {
    color: #1421AB !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 0 1.25rem;
    text-align: start;
    position: relative;
    padding-bottom: 0.65rem;
}

.theme5-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1421AB, #5b6cf0);
}

.theme5-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: start;
}

.theme5-footer__links li {
    margin-bottom: 0.65rem;
}

.theme5-footer__links a {
    color: #34343C !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease, padding-inline-start 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.theme5-footer__links a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1421AB;
    opacity: 0.45;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme5-footer__links a:hover {
    color: #1421AB !important;
    padding-inline-start: 4px;
}

.theme5-footer__links a:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.theme5-footer__info-box {
    background: #fff;
    color: #34343C;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    text-align: start;
    border: 1px solid #E8EAF0;
    border-inline-start: 4px solid #1421AB;
    box-shadow: 0 2px 12px rgba(20, 33, 171, 0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.theme5-footer__info-box:hover {
    box-shadow: 0 6px 20px rgba(20, 33, 171, 0.12);
    transform: translateY(-1px);
}

.theme5-footer__info-box > i {
    font-size: 1.15rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(20, 33, 171, 0.08);
    color: #1421AB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.theme5-footer__info-box span,
.theme5-footer__info-box a,
.theme5-footer__info-lines {
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #34343C !important;
}

.theme5-footer__info-box a {
    text-decoration: none;
    color: #1421AB !important;
    font-weight: 600;
}

.theme5-footer__info-box a:hover {
    color: #0f1890 !important;
    text-decoration: underline;
}

.theme5-footer__info-lines > div + div {
    margin-top: 0.35rem;
}

.theme5-footer__phone-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.5rem;
}

.theme5-footer__phone-label {
    font-weight: 600;
    color: #34343C;
    white-space: nowrap;
}

.theme5-footer__social {
    margin-top: 1.25rem;
}

.theme5-footer__social-label {
    color: #34343C !important;
    font-size: 0.875rem;
    margin: 0 0 0.65rem;
    text-align: start;
}

.theme5-footer__social-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

html.rtl .theme5-footer__social-row {
    justify-content: flex-start;
}

.theme5-footer__social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #E8EAF0;
    color: #34343C !important;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(20, 33, 171, 0.06);
}

.theme5-footer__social-icon:hover {
    background: #1421AB;
    border-color: #1421AB;
    color: #fff !important;
    transform: translateY(-2px);
}

.theme5-footer__map {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E8EAF0;
    box-shadow: 0 4px 16px rgba(20, 33, 171, 0.08);
}

.theme5-footer__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.theme5-footer__map--embed {
    position: relative;
}

.theme5-footer__map-open {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.theme5-footer__map-btn {
    position: absolute;
    bottom: 10px;
    inset-inline-end: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #1421AB !important;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.theme5-footer__map-btn:hover {
    background: #fff;
    color: #1421AB !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme5-footer__bottom {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #E0E4EC;
    align-items: center;
}

.theme5-footer__copyright-col {
    text-align: start;
}

.theme5-footer__credit-col {
    text-align: end;
}

.theme5-footer__copyright {
    color: #7C7C8D !important;
    font-size: 0.875rem;
    margin: 0;
}

.theme5-footer__credit img {
    max-height: 36px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.theme5-footer__credit:hover img {
    opacity: 1;
}

@media (max-width: 767.98px) {
    body.body_theme5 footer.theme5-footer {
        padding-top: 2.5rem;
        border-start-start-radius: 40px;
        border-start-end-radius: 40px;
    }

    .theme5-footer__apps {
        max-width: 100%;
    }

    .theme5-footer__copyright-col,
    .theme5-footer__credit-col {
        text-align: center;
    }

    .theme5-footer__credit-col {
        margin-top: 0.75rem;
    }

    .theme5-footer__credit {
        display: inline-block;
    }
}

/* Legacy dark footer overrides (page/site footers only — not widget micro-footers) */
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer),
body.body_theme5 .site-footer {
    background-color: #000000 !important;
    color: white !important;
}

body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) a,
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) p,
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) h2,
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) h3,
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) h4,
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) span,
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) li,
body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) strong {
    color: white !important;
}

body.body_theme5 footer:not(.theme5-footer):not(.ui-range-slider-footer) a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.8) !important;
}

body.body_theme5 footer:not(.theme5-footer) .footer-input {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid white !important;
    width: 100%;
    padding: 10px;
    color: white !important;
}

body.body_theme5 footer:not(.theme5-footer) .footer-input:focus {
    outline: none;
    color: white !important;
}

body.body_theme5 footer:not(.theme5-footer) .footer-input::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.body_theme5 footer:not(.theme5-footer) .fa-arrow-right-long {
    position: absolute;
    right: 0;
    bottom: 10px;
    color: white !important;
}

body.body_theme5 footer:not(.theme5-footer) .fa-youtube:hover,
body.body_theme5 footer:not(.theme5-footer) .fa-whatsapp:hover,
body.body_theme5 footer:not(.theme5-footer) .fa-facebook-f:hover {
    background-color: white !important;
    color: var(--main-color) !important;
    border-radius: 50%;
    transition: var(--transition);
    box-shadow: 2px 0 20px var(--main-color);
}

body.body_theme5 footer:not(.theme5-footer) .fa-facebook-f {
    padding: 7px 10px !important;
}

body.body_theme5 footer:not(.theme5-footer) .app-download img {
    width: 140px;
    border-radius: 5px;
}

body.body_theme5 footer:not(.theme5-footer) img[alt="payment methods"] {
    max-width: 160px;
    height: auto;
    display: block;
}

body.body_theme5 footer:not(.theme5-footer) a {
    text-decoration: none;
    transition: opacity 0.3s;
    color: white !important;
}

body.body_theme5 footer:not(.theme5-footer) a:hover {
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Notification styles - make them more visible and closer to right */
body.body_theme5 .notifyjs-container {
    right: 20px !important;
    left: auto !important;
}

body.body_theme5 .notifyjs-bootstrap-base,
body.body_theme5 .notifyjs-bootstrap-success {
    opacity: 1 !important;
    background-color: #28a745 !important;
    background: #28a745 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
    font-weight: 500 !important;
    min-width: 300px !important;
}

body.body_theme5 .notifyjs-bootstrap-base *,
body.body_theme5 .notifyjs-bootstrap-success * {
    opacity: 1 !important;
}

body.body_theme5 .notifyjs-bootstrap-base strong,
body.body_theme5 .notifyjs-bootstrap-success strong {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    opacity: 1 !important;
}

body.body_theme5 .notifyjs-bootstrap-base .notifyjs-bootstrap-icon,
body.body_theme5 .notifyjs-bootstrap-success .notifyjs-bootstrap-icon {
    opacity: 1 !important;
    color: #ffffff !important;
    font-size: 20px !important;
}

body.body_theme5 .notifyjs-bootstrap-base .notifyjs-close,
body.body_theme5 .notifyjs-bootstrap-success .notifyjs-close {
    opacity: 1 !important;
    color: #ffffff !important;
    font-weight: bold !important;
}

/* Remove any transparency from notification wrapper */
body.body_theme5 .notifyjs-wrapper,
body.body_theme5 .notifyjs-container {
    opacity: 1 !important;
}

/* Ensure solid background - no transparency */
body.body_theme5 .notifyjs-bootstrap-base::before,
body.body_theme5 .notifyjs-bootstrap-success::before,
body.body_theme5 .notifyjs-bootstrap-base::after,
body.body_theme5 .notifyjs-bootstrap-success::after {
    opacity: 1 !important;
}

.app-badge {
    height: 50px;
    width: auto;
}

/* end footer  */

/* start category product  */

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
}

.breadcrumb-item,
.breadcrumb-separator {
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.breadcrumb-separator i {
    color: #6c757d;
    margin: 0 8px;
    font-size: 0.9em;
}

html[dir="rtl"] .breadcrumb,
html.rtl .breadcrumb {
    direction: rtl;
}

html[dir="rtl"] .breadcrumb-separator i,
html.rtl .breadcrumb-separator i {
    content: "";
}

html[dir="rtl"] .breadcrumb-separator i::before,
html.rtl .breadcrumb-separator i::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f104";
}


.category-product .cursor-pointer {
    cursor: pointer !important;
}

.category-product .accordion-choose:hover {
    color: var(--main-color) !important;
}

.category-product .grid-box {
    width: 35px;
    height: 35px;
    background-color: var(--main-color);
}

.category-product .grid-box img {
    object-fit: cover;
}

.category-product .page-item a {
    background-color: transparent;
    color: black;
    border: 1px solid #E9EAEC;
}

.category-product .offcanvas {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.category-product .active>.page-link,
.category-product .page-link.active {

    background-color: var(--main-color);
    color: white;
    border-radius: 0 !important;
}

.category-product .grid-box-light {
    background-color: transparent;
    border: 1px solid #D1D1D1;
}

.category-product .breadcrumb-item a {
    color: #000000;
}

.category-product .breadcrumb-item.active {
    color: var(--main-color);
}

.category-product .category-items img {
    width: 100%;
    transition: var(--transition);
}

.category-product .category-items img:hover {
    transform: scale(1.1);
}

.category-product .category-hero img {
    width: 400px;
    height: 150px;
    object-fit: cover;
}

.category-product .category-hero h2 {
    color: var(--main-color) !important;
    font-weight: 600;
    font-size: 42px;
    text-transform: uppercase;
}

.category-product .shop-by .title {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.category-product .accordion-button:not(.collapsed)::after {
    filter: invert(50%);
}

.category-product .accordion {
    margin-bottom: 10px;
}

.category-product .range-slider-container {
    position: relative;
}

.category-product input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    margin: 0;
    position: absolute;
    pointer-events: none;
}

.category-product #minRange {
    z-index: 2;
    pointer-events: auto;
    background: #DADADA;
    border-radius: 20px;
    height: 7px;
}

.category-product input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 12px;
    width: 8px;
    background: #F98B25;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 3;
    margin-top: -2px;
}

.category-product .range-values input {
    width: 50px;
    border: none;
    border-bottom: 1px solid #E1E1E1;
    text-align: center;
}

.category-product .range-values input:focus {
    outline: none;
}

.category-product .go-btn {
    border: 1px solid #D1D1D1;
    border-radius: 25px;
    background-color: white;
    color: var(--main-color);
    width: 64px;
    height: 30px;
    margin-top: 20px;
}

.category-product .go-btn:hover {
    background-color: var(--main-color);
    color: white;
}

.category-product .line-dotted {
    border-top: 1px dashed #E9EAEC;
}

.line-dotted {
    border-top: 1px dashed #E9EAEC;
}

.category-product .top-rounded {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

@media (min-width: 768px) {
    .category-product .btn[data-bs-toggle="offcanvas"] {
        display: none;
    }

    .category-product .offcanvas {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        visibility: visible !important;
    }

}

@media (max-width: 768px) {
    .category-product .category-hero img {
        width: 200px;
    }

    .category-product .category-hero h2 {
        color: var(--main-color) !important;
        font-size: 30px;
    }

    .category-product .offcanvas {
        background-color: white !important;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
        border: 1px solid #7C7C8D !important;
    }

}

/* .list-view .product-card {
    display: flex;
    align-items: center;
    gap: 20px;
} */
/* end category product  */

/* start advanced search  */

.advanced-search .search-btn {
    border: none;
    width: 120px;
    height: 40px;
    border-radius: 30px;
}

/* end advanced search  */

/* start product-details  */
.product-details .brand-img img {
    width: 100px;
}

.product-details .add-btn {
    width: 180px;
    height: 40px;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    background-color: var(--main-color);
    transition: var(--transition);
    color: white;
}

.product-details .buy-btn {
    width: 180px;
    height: 40px;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    background-color: white;
    transition: var(--transition);
    color: var(--main-color);
}

.product-details .buy-btn:hover {
    color: white;
    background-color: var(--main-color);
}

.product-details .wishlist-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--main-color);
    border-radius: 50%;
    background-color: white;
    transition: var(--transition);
    color: var(--main-color);
    font-size: 20px;
}

.product-details .wishlist-btn:hover {
    color: white;
    background-color: var(--main-color);
}

.product-details .calculate-btn {
    width: 80px;
    height: 30px;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    background-color: white;
    transition: var(--transition);
}

.product-details .calculate-btn:hover {
    background-color: var(--main-color);
    color: white;
}

.product-details .quick-overview li {
    list-style: disc;
    margin-left: 10px;
    margin-right: 10px;
}

.product-details .shipping-links:hover {
    color: var(--main-color) !important;
}

.product-details .door-step {
    background-color: #F6F7F9 !important;
}

.product-details .door-step a {
    color: #000;
    text-decoration: underline;
}

.product-details .door-step a:hover {
    color: var(--main-color);
}

.product-details .more-btn {
    border: 2px solid var(--main-color);
    color: var(--main-color);
    width: 120px;
    height: 40px;
    border-radius: 10px;
    background-color: white;
    transition: var(--transition);
}

.product-details .review-btn {
    border: 2px solid var(--main-color);
    background-color: var(--main-color);
    width: 150px;
    height: 40px;
    border-radius: 20px;
    color: white;
    transition: var(--transition);
}

.product-details .new-product-btn {
    border: 2px solid var(--main-color);
    background-color: var(--main-color);
    width: 150px;
    height: 40px;
    border-radius: 10px;
    color: white;
    transition: var(--transition);
}

.product-details .review-btn:hover,
.product-details .new-product-btn:hover,
.product-details .add-btn:hover {
    color: var(--main-color);
    background-color: white;
}

.product-details .more-btn .fa-plus {
    border: 1px solid var(--main-color);
    color: var(--main-color);
    padding: 1px 2px;
    border-radius: 5px;
    background-color: white;
    transition: var(--transition);
}

.product-details .more-btn:hover {
    background-color: var(--main-color);
    color: white;
}

.product-details .review-range {
    height: 10px;
    border: 1px solid gray;
    width: 100%;
}

.product-details .star-rating {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.product-details .star-rating i {
    font-size: 18px;
    color: #ccc;
    transition: color 0.2s ease;
}

.product-details .star-rating i.hover,
.product-details .star-rating i.active {
    color: #ffc107;
}

/* end product-details  */

/* start shipping  */
.shipping .facebook-btn {
    background-color: #3B5998;
    color: white;
    width: 220px;
    height: 40px;
    border: none;
    border-radius: 4px;
    margin: auto;
}

.shipping .place-order-btn {
    color: white;
    background-color: var(--main-color);
    width: 100%;
    height: 40px;
    border: 1px solid var(--main-color);
    border-radius: 20px;
    transition: var(--transition);
}

.shipping .place-order-btn:hover {
    background-color: white;
    color: var(--main-color);
}

.shipping .coupon-btn {
    background-color: white;
    color: var(--main-color);
    width: 180px;
    height: 35px;
    border: 1px solid var(--main-color);
    border-radius: 4px;
    transition: var(--transition);
}

.shipping .coupon-btn:hover {
    color: white;
    background-color: var(--main-color);
}

.shipping .fa-question {
    cursor: pointer;
    background-color: #BBBBBB;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.shipping .payment-method-img {
    width: 80px;
    height: 30px;
    object-fit: contain;
}

.shipping .cart-item-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.shipping .fa-question:hover {
    background-color: #000;
    color: white;
}

.shipping .shipping-title {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

html.ltr .shipping .fa-facebook-f {
    border-right: 1px solid #fff !important;
    padding-right: 10px;
}

html.rtl .shipping .fa-facebook-f {
    border-left: 1px solid #fff !important;
    padding-left: 10px;
}

/* end shipping  */

.accordion-button {
    direction: ltr;
    text-align: left;
}

html.rtl .accordion-button {
    direction: rtl;
    text-align: right;
    justify-content: space-between;
}

html.rtl .accordion-button::after {
    margin-left: 0;
    margin-right: auto;
    transform: rotate(180deg);
}

/* Swiper handles RTL via JS rtl:true — do not reverse wrapper here */

/* --- Home page UX (theme5) --- */
.t5-product-section {
    padding: 1.25rem 0 1.75rem;
}

.t5-product-section + .t5-product-section {
    border-top: 1px solid rgba(20, 33, 171, 0.07);
}

.t5-product-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.t5-product-section__head--compact {
    margin-bottom: 14px;
}

.t5-product-section__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #34343C;
    line-height: 1.25;
}

.t5-product-section__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(20, 33, 171, 0.18);
    background: #fff;
    color: #1421AB;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.t5-product-section__link--compact {
    padding: 8px 14px;
    font-size: 13px;
}

.t5-product-section__link:hover {
    background: #1421AB;
    color: #fff;
    border-color: #1421AB;
}

/* Unified product card (all home sliders) */
.product-box .product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.1);
    border-radius: 16px;
    padding: 12px;
    height: 100%;
    overflow: visible;
    position: relative;
}

.product-box .product-swiper .swiper-slide {
    height: auto;
    display: flex;
    overflow: visible;
}

.product-box .product-card__link {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
}

html.rtl .product-box .product-card__actions-inner {
    direction: ltr;
}

.product-box .product-card__media {
    position: relative;
    margin-bottom: 10px;
}

.product-box .product-card__img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
}

.product-box .product-card__quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: var(--main-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
    pointer-events: none;
}

.product-box .product-card:hover .product-card__quick-view {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

.product-box .product-card__quick-view:hover {
    background: var(--main-color);
    color: #fff;
}

.product-box .product-card__body {
    flex: 1;
    text-align: center;
    min-height: 88px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-box .product-card__name {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #34343C;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.65em;
}

.product-box .product-card__price-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-box .product-card__price {
    color: #1421AB;
    font-weight: 700;
    font-size: 1rem;
}

.product-box .product-card__price-old {
    color: #7C7C8D;
    font-size: 0.875rem;
    font-weight: 600;
}

.product-box .product-card__badge--stock {
    background: #6c757d !important;
}

.product-box .product-card__actions {
    margin-top: auto;
    padding-top: 10px;
}

.product-box .product-card__actions-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 4px 8px;
    background: var(--main-color);
    border-radius: 999px;
    direction: ltr;
}

.product-box .product-card__actions .counter-box {
    background: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.product-box .product-card__actions .counter-box button {
    border: none;
    background: transparent;
    font-size: 16px;
    color: #2D2D2D;
    padding: 0;
    min-width: 28px;
    min-height: 28px;
}

.product-box .product-card__actions .counter-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2D2D2D;
    min-width: 1.25rem;
    text-align: center;
}

.product-box .product-card__actions .hover-content-actions {
    display: inline-flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.product-box .product-card__actions .hover-content-actions a,
.product-box .product-card__actions .hover-content-actions button {
    color: #fff;
    background: transparent;
    border: none;
    text-decoration: none;
    font-size: 15px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-box .product-card__actions .hover-content-actions a:hover,
.product-box .product-card__actions .hover-content-actions button:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

@media (min-width: 992px) {
    .product-box .product-card__media {
        overflow: hidden;
        border-radius: 12px;
    }

    .product-box .product-card__actions {
        position: absolute;
        left: 8px;
        right: 8px;
        bottom: 8px;
        z-index: 4;
        margin-top: 0;
        padding-top: 0;
        opacity: 0;
        transform: translateY(110%);
        transition: opacity 0.3s ease, transform 0.3s ease;
        pointer-events: none;
    }

    .product-box .product-card:hover .product-card__actions {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    .product-box .product-card:hover .product-card__body {
        opacity: 0;
        transform: translateY(-12px);
    }

    .product-box .product-card__actions:hover {
        background: transparent;
    }

    .product-box .product-card__actions:hover .product-card__actions-inner {
        background: #fff;
        border: 1px solid var(--main-color);
    }

    .product-box .product-card__actions:hover .counter-box {
        background: var(--main-color);
    }

    .product-box .product-card__actions:hover .counter-box button,
    .product-box .product-card__actions:hover .counter-value {
        color: #fff !important;
    }

    .product-box .product-card__actions:hover .hover-content-actions a,
    .product-box .product-card__actions:hover .hover-content-actions button {
        color: var(--main-color);
    }
}

@media (max-width: 991.98px) {
    .product-box .product-card {
        overflow: visible;
    }

    .product-box .product-card__actions {
        position: relative;
        opacity: 1;
        transform: none;
        pointer-events: all;
    }

    .product-box .product-card:hover .product-card__body {
        opacity: 1;
        transform: none;
    }

    .product-box .product-card__quick-view {
        display: none;
    }

    .product-box .swiper-button-next,
    .product-box .swiper-button-prev {
        opacity: 1;
        width: 36px;
        height: 36px;
        padding: 8px;
    }

    .t5-product-section__link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .theme5-hero {
        height: min(62vw, 360px) !important;
    }

    .services img {
        height: auto !important;
        min-height: 120px;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .theme5-about-image {
        min-height: 400px;
    }
}

/* --- About section (home + page) --- */
.t5-about-section {
    margin: clamp(2rem, 4vw, 3.5rem) 0;
    padding: 0;
}

.t5-about-section--home {
    padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.t5-about-label {
    margin: 0 0 0.5rem;
    color: #1421AB;
    font-size: 0.875rem;
    font-weight: 700;
}

.t5-about-title {
    margin: 0 0 1.25rem;
    font-size: clamp(1.65rem, 3vw, 2.125rem);
    font-weight: 700;
    color: #34343C;
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.85rem;
}

.t5-about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: #1421AB;
}

.t5-about-copy {
    position: relative;
}

.t5-about-content-shell {
    position: relative;
    margin-bottom: 0.25rem;
}

.t5-about-content-shell::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 64px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff 90%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.t5-about-content-shell.is-expanded::after,
.t5-about-content-shell.is-full::after {
    opacity: 0;
}

.t5-about-content {
    color: #7C7C8D;
    line-height: 1.85;
    font-size: 1rem;
    max-height: var(--collapsed-h, 220px);
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.t5-about-content.is-expanded {
    max-height: 2400px;
}

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

.t5-about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1rem;
}

.t5-about-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0;
    border: none;
    background: none;
    color: #1421AB;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

.t5-about-toggle:hover {
    color: #0f1890;
}

.t5-about-toggle:focus-visible {
    outline: 2px solid #1421AB;
    outline-offset: 4px;
    border-radius: 4px;
}

.t5-about-toggle__icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.t5-about-toggle.is-expanded .t5-about-toggle__icon {
    transform: rotate(180deg);
}

.t5-about-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 22px;
    border-radius: 8px;
    background: #1421AB;
    color: #fff !important;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.t5-about-cta:hover {
    color: #fff !important;
    background: #0f1890;
}

.t5-about-figure {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(20, 33, 171, 0.12);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
}

.t5-about-figure__img,
.theme5-about-image {
    width: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

/* About full page */
.t5-about-page {
    background: #fff;
}

.t5-about-page-banner {
    border-radius: 16px;
    overflow: hidden;
    max-height: 360px;
}

.t5-about-page-banner__img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.t5-about-page-head {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ececf0;
}

.t5-about-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.875rem;
    color: #7C7C8D;
}

.t5-about-breadcrumb a {
    color: #1421AB;
    text-decoration: none;
    font-weight: 600;
}

.t5-about-breadcrumb a:hover {
    text-decoration: underline;
}

.t5-about-breadcrumb i {
    font-size: 0.65rem;
    opacity: 0.55;
}

.t5-about-breadcrumb span[aria-current] {
    color: #34343C;
    font-weight: 600;
}

.t5-about-page-head__title {
    margin: 0;
    font-size: clamp(1.75rem, 3.5vw, 2.375rem);
    font-weight: 700;
    color: #34343C;
    line-height: 1.25;
}

.t5-about-page-intro {
    margin-bottom: 0.5rem;
}

.t5-about-pillar-card {
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #1421AB;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.t5-about-pillar-card__title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1421AB;
}

.t5-about-pillar-card__text {
    margin: 0;
    color: #1421AB;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 767.98px) {
    .t5-about-content {
        max-height: var(--collapsed-h, 180px);
    }

    .t5-about-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .t5-about-cta {
        width: 100%;
        justify-content: center;
    }

    .t5-about-page-banner__img {
        height: 220px;
    }
}

@media (min-width: 992px) {
    .t5-about-figure__img,
    .theme5-about-image {
        min-height: 400px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .t5-about-content {
        transition: none;
    }
}

/* --- Theme5 Blog Detail & Listing --- */
.t5-blog-detail-page,
.t5-blog-list-page {
    padding-top: 8px;
}

.t5-blog-article {
    border: 1px solid rgba(20, 33, 171, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(20, 33, 171, 0.06);
}

.t5-blog-hero-single img,
.t5-blog-hero-slider img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.t5-blog-article__body {
    padding: 24px 28px 28px;
}

.t5-blog-article__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.08);
    color: #1421AB !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none !important;
    margin-bottom: 12px;
}

.t5-blog-article__title {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.3;
    color: #34343C;
}

.t5-blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 0;
    list-style: none;
}

.t5-blog-article__meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 0.875rem;
}

.t5-blog-article__content {
    font-size: 1rem;
    line-height: 1.75;
    color: #34343C;
}

.t5-blog-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.t5-blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    gap: 8px;
    width: 100%;
}

.t5-blog-tags__label {
    flex: 0 0 100%;
    font-weight: 600;
    color: #34343C;
    margin-bottom: 2px;
}

.t5-blog-tag,
body.body_theme5 .t5-blog-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 12px;
    border: 1px solid rgba(20, 33, 171, 0.12) !important;
    border-radius: 999px;
    background: #f3f4f6 !important;
    color: #34343C !important;
    font-size: 0.8125rem;
    line-height: 1.4 !important;
    height: auto !important;
    white-space: normal !important;
    word-break: break-word;
    text-decoration: none !important;
    margin: 0 !important;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.t5-blog-tag:hover,
body.body_theme5 .t5-blog-tag:hover {
    background: rgba(20, 33, 171, 0.08) !important;
    border-color: rgba(20, 33, 171, 0.2) !important;
    color: #1421AB !important;
}

body.body_theme5 .t5-blog-detail-page .blog-details-main-content.t5-blog-article__body {
    padding: 24px 28px 28px !important;
}

body.body_theme5 .t5-blog-article__content h2,
body.body_theme5 .t5-blog-article__content h3,
body.body_theme5 .t5-blog-article__content h4 {
    margin: 1.5rem 0 0.75rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1421AB;
}

body.body_theme5 .t5-blog-article__content h2 { font-size: 1.375rem; }
body.body_theme5 .t5-blog-article__content h3 { font-size: 1.125rem; }
body.body_theme5 .t5-blog-article__content h4 { font-size: 1rem; }

body.body_theme5 .t5-blog-article__content p {
    margin-bottom: 1rem;
}

body.body_theme5 .t5-blog-article__content ul,
body.body_theme5 .t5-blog-article__content ol {
    margin-bottom: 1rem;
    padding-inline-start: 1.25rem;
}

body.body_theme5 .t5-blog-article__content li + li {
    margin-top: 0.35rem;
}

body.body_theme5 .t5-blog-article__footer {
    gap: 16px;
    margin-top: 8px;
    padding-top: 16px !important;
    border-top: 1px solid rgba(20, 33, 171, 0.1);
}

body.body_theme5 .t5-blog-share {
    gap: 8px;
}

body.body_theme5 .t5-blog-share > span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #34343C !important;
}

body.body_theme5 .t5-blog-share .t5-social-share {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

body.body_theme5 .t5-social-share {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

body.body_theme5 .t5-social-share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none !important;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

body.body_theme5 .t5-social-share__link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #fff !important;
}

body.body_theme5 .t5-social-share__link--facebook { background: #1877F2; }
body.body_theme5 .t5-social-share__link--twitter { background: #1DA1F2; }
body.body_theme5 .t5-social-share__link--linkedin { background: #0A66C2; }
body.body_theme5 .t5-social-share__link--pinterest { background: #E60023; }

body.body_theme5 .t5-blog-sidebar .widget {
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.1);
    box-shadow: none;
}

body.body_theme5 .t5-blog-sidebar .widget-title {
    position: relative;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(20, 33, 171, 0.12);
    font-size: 1rem;
    font-weight: 700;
    color: #34343C;
}

body.body_theme5 .t5-blog-sidebar .widget-title::after {
    display: block;
    position: absolute;
    bottom: -1px;
    inset-inline-start: 0;
    width: 48px;
    height: 2px;
    background-color: #1421AB !important;
    content: '';
}

body.body_theme5 .t5-blog-sidebar .widget-categories ul > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0 !important;
    border-bottom: 1px solid rgba(20, 33, 171, 0.06);
}

body.body_theme5 .t5-blog-sidebar .widget-categories ul > li::before {
    display: none !important;
    content: none !important;
}

body.body_theme5 .t5-blog-sidebar .widget-categories ul > li > a {
    flex: 1;
    min-width: 0;
    color: #34343C;
    text-decoration: none;
}

body.body_theme5 .t5-blog-sidebar .widget-categories ul > li:last-child {
    border-bottom: 0;
}

body.body_theme5 .t5-blog-sidebar .widget-categories ul > li > a:hover {
    color: #1421AB;
}

body.body_theme5 .t5-blog-sidebar .widget-categories ul > li > span {
    flex-shrink: 0;
    min-width: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(20, 33, 171, 0.08);
    color: #1421AB;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.t5-blog-section {
    margin-top: 32px;
}

.t5-blog-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.t5-blog-section__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #34343C;
}

.t5-blog-section__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1421AB !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.t5-blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(20, 33, 171, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.t5-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.t5-blog-card__excerpt {
    margin: 12px 0 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #6b7280;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.65em;
}

body.body_theme5 .t5-blog-list-page .t5-blog-list-grid > [class*="col-"] {
    display: flex;
}

body.body_theme5 .t5-blog-list-page .blog-post {
    display: flex !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

body.body_theme5 .t5-blog-list-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid rgba(20, 33, 171, 0.1);
    border-radius: 12px;
    background: rgba(20, 33, 171, 0.04);
}

body.body_theme5 .t5-blog-list-filters__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.12);
    font-size: 0.8125rem;
    color: #34343C;
}

body.body_theme5 .t5-blog-list-filters__clear {
    margin-inline-start: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1421AB !important;
    text-decoration: none !important;
}

body.body_theme5 .t5-blog-empty {
    border: 1px solid rgba(20, 33, 171, 0.1);
    box-shadow: none;
}

body.body_theme5 .t5-blog-pagination {
    display: flex;
    justify-content: center;
}

.t5-blog-card:hover {
    box-shadow: 0 10px 24px rgba(20, 33, 171, 0.1);
    transform: translateY(-2px);
}

.t5-blog-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f3f4f6;
}

.t5-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.t5-blog-card:hover .t5-blog-card__media img {
    transform: scale(1.04);
}

.t5-blog-card__cat {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1421AB !important;
    text-decoration: none !important;
}

.t5-blog-card__title {
    margin: 0 0 10px;
    font-size: 0.9375rem;
    line-height: 1.4;
}

.t5-blog-card__title a {
    color: #34343C !important;
    text-decoration: none !important;
}

.t5-blog-card__title a:hover {
    color: #1421AB !important;
}

.t5-blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.75rem;
    color: #6b7280;
}

.t5-blog-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.t5-blog-entry {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(20, 33, 171, 0.08);
}

.t5-blog-entry:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.t5-blog-entry__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
}

.t5-blog-entry__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t5-blog-entry__title {
    margin: 0 0 6px;
    font-size: 0.875rem;
    line-height: 1.35;
}

.t5-blog-entry__title a {
    color: #34343C !important;
    text-decoration: none !important;
}

.t5-blog-entry__title a:hover {
    color: #1421AB !important;
}

.t5-blog-entry__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.t5-blog-entry__meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.t5-blog-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    border: 1px solid rgba(20, 33, 171, 0.15);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

body.body_theme5 .t5-blog-search .form-control {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 10px 14px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #34343C;
}

body.body_theme5 .t5-blog-search .form-control:focus {
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
}

body.body_theme5 .t5-blog-search .form-control::placeholder {
    color: #9ca3af;
}

body.body_theme5 .t5-blog-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #1421AB !important;
    color: #fff !important;
    cursor: pointer;
    transition: background 0.15s ease;
}

body.body_theme5 .t5-blog-search button:hover {
    background: #0f1890 !important;
}

body.body_theme5 .t5-blog-widget--search {
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.1);
    box-shadow: none;
}

.t5-blog-widget + .t5-blog-widget {
    margin-top: 16px;
}

.t5-blog-list-card .post-meta li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.t5-blog-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.t5-blog-related-grid .t5-blog-card {
    min-height: 100%;
}

@media (max-width: 991.98px) {
    .t5-blog-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .t5-blog-related-grid {
        grid-template-columns: 1fr;
    }
}

body.body_theme5 .t5-blog-hero-slider .owl-nav button.owl-prev,
body.body_theme5 .t5-blog-hero-slider .owl-nav button.owl-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #1421AB !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    font-size: 0;
    line-height: 1;
}

body.body_theme5 .t5-blog-hero-slider .owl-nav button.owl-prev i,
body.body_theme5 .t5-blog-hero-slider .owl-nav button.owl-next i {
    font-size: 0.875rem;
}

body.body_theme5 .t5-blog-hero-slider .owl-nav button.owl-prev::before,
body.body_theme5 .t5-blog-hero-slider .owl-nav button.owl-next::before {
    display: none !important;
    content: none !important;
}

body.body_theme5 .t5-blog-detail-page .owl-dots {
    margin-top: 12px;
}

body.body_theme5 .t5-blog-detail-page .owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: rgba(20, 33, 171, 0.25);
}

body.body_theme5 .t5-blog-detail-page .owl-dots .owl-dot.active span {
    background: #1421AB;
}

@media (max-width: 767.98px) {
    body.body_theme5 .t5-blog-detail-page .blog-details-main-content.t5-blog-article__body,
    .t5-blog-article__body {
        padding: 18px 16px 20px !important;
    }

    .t5-blog-section__head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.body_theme5 .t5-blog-article__footer {
        flex-direction: column;
        align-items: flex-start !important;
    }

    body.body_theme5 .t5-blog-share {
        width: 100%;
    }
}

/* Reviews — star input & cards */
.star-rating-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-rating-input__star {
    border: 0;
    background: transparent;
    padding: 0;
    color: #d1d5db;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.star-rating-input__star.is-active,
.star-rating-input__star:hover,
.star-rating-input__star:hover ~ .star-rating-input__star {
    color: #f59e0b;
}

.t5-review-card {
    border: 1px solid rgba(20, 33, 171, 0.1);
    border-radius: 12px;
}

.t5-review-area .progress-bar {
    transition: width 0.3s ease;
}

/* --- Catalog sidebar (theme5) — fix legacy red scrollbar + MDB/noUi conflicts --- */
body.body_theme5 .t5-catalog-page .sidebar .widget {
    background: #fff;
    border: 1px solid rgba(20, 33, 171, 0.1);
    box-shadow: none;
}

body.body_theme5 .t5-catalog-page .sidebar .widget-title {
    position: relative;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(20, 33, 171, 0.12);
    font-size: 1rem;
    font-weight: 700;
    color: #34343C;
}

body.body_theme5 .t5-catalog-page .sidebar .widget-title::after {
    display: block;
    position: absolute;
    bottom: -1px;
    inset-inline-start: 0;
    width: 48px;
    height: 2px;
    background-color: #1421AB !important;
    content: '';
}

body.body_theme5 .t5-catalog-page #category_list.category-scroll {
    scrollbar-color: rgba(20, 33, 171, 0.35) #f3f4f6 !important;
}

body.body_theme5 .t5-catalog-page #category_list.category-scroll::-webkit-scrollbar-thumb {
    background-color: rgba(20, 33, 171, 0.35) !important;
    border: 0 !important;
}

body.body_theme5 .t5-catalog-page .filter-scroll-container {
    scrollbar-color: rgba(20, 33, 171, 0.35) #f3f4f6 !important;
}

body.body_theme5 .t5-catalog-page .filter-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(20, 33, 171, 0.35) !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider {
    padding-top: 12px;
    background: transparent !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .ui-range-slider {
    height: 36px;
    margin: 4px 8px 12px;
    background: transparent !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .noUi-target {
    height: 6px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e5e7eb !important;
    box-shadow: none !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .noUi-base,
body.body_theme5 .t5-catalog-page .price-range-slider .noUi-connects {
    height: 6px !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .noUi-horizontal {
    height: 6px !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .noUi-connect {
    background: #1421AB !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .noUi-background {
    background: #e5e7eb !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .noUi-handle {
    width: 18px !important;
    height: 18px !important;
    top: -6px !important;
    inset-inline-end: -9px !important;
    inset-inline-start: auto !important;
    border-radius: 50% !important;
    background: #fff !important;
    border: 2px solid #1421AB !important;
    box-shadow: 0 2px 6px rgba(20, 33, 171, 0.18) !important;
    cursor: grab;
}

body.body_theme5 .t5-catalog-page .price-range-slider .noUi-handle::before,
body.body_theme5 .t5-catalog-page .price-range-slider .noUi-handle::after {
    display: none !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .ui-range-slider-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding-top: 12px;
    background: transparent !important;
    color: #34343C !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .ui-range-slider-footer > .column {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    text-align: start !important;
    background: transparent !important;
    color: inherit !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .ui-range-values {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #34343C !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .ui-range-values span {
    color: #1421AB !important;
}

body.body_theme5 .t5-catalog-page .price-range-slider .ui-range-slider-footer .btn {
    min-height: 36px;
    padding: 0 16px;
    line-height: 1.2;
    border-radius: 8px;
    background: #1421AB !important;
    border-color: #1421AB !important;
}

body.body_theme5 .t5-catalog-page .widget-categories ul > li > a {
    color: #34343C;
    transition: color 0.15s ease;
}

body.body_theme5 .t5-catalog-page .widget-categories ul > li.active > a,
body.body_theme5 .t5-catalog-page .widget-categories ul > li > a:hover {
    color: #1421AB;
}
/* --- Theme5 Content Sections Hub --- */
.t5-mega-nav__trigger {
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.t5-mega-nav__panel--sections {
    width: min(560px, calc(100vw - 32px));
    width: min(560px, calc(100dvw - 32px));
}

.t5-mega-nav__sections {
    display: grid;
    gap: 8px;
    padding: 16px;
    max-height: min(70vh, 480px);
    overflow-y: auto;
}

.t5-mega-nav__section-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #1f2937 !important;
    border: 1px solid transparent;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.t5-mega-nav__section-card:hover,
.t5-mega-nav__section-card:focus-visible {
    background: rgba(20, 33, 171, 0.06);
    border-color: rgba(20, 33, 171, 0.12);
    transform: translateY(-1px);
}

.t5-mega-nav__section-thumb {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    overflow: hidden;
    background: #f3f4f6;
}

.t5-mega-nav__section-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.t5-mega-nav__section-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.t5-mega-nav__section-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.t5-mega-nav__section-sub {
    font-size: 0.8125rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.t5-mega-nav__section-arrow {
    color: #9ca3af;
    font-size: 0.75rem;
    transition: transform 0.18s ease, color 0.18s ease;
}

.t5-mega-nav__section-card:hover .t5-mega-nav__section-arrow {
    color: #1421AB;
    transform: translateX(3px);
}

html.rtl .t5-mega-nav__section-card:hover .t5-mega-nav__section-arrow {
    transform: translateX(-3px) scaleX(-1);
}

/* Explore landing / detail */
.t5-explore__title,
.t5-explore-detail__title {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #111827;
}

.t5-explore__subtitle {
    margin: 8px 0 0;
    color: #6b7280;
    font-size: 1rem;
    max-width: 48rem;
}

.t5-explore__hero {
    border-radius: 16px;
    overflow: hidden;
    max-height: 240px;
}

.t5-explore__hero img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.t5-explore-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    color: inherit !important;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.t5-explore-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.t5-explore-card__media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    overflow: hidden;
}

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

.t5-explore-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
}

.t5-explore-card__title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
}

.t5-explore-card__excerpt {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.45;
}

.t5-explore-detail__media {
    border-radius: 16px;
    overflow: hidden;
    background: #f3f4f6;
}

.t5-explore-detail__media img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.t5-explore-detail__eyebrow {
    margin: 0 0 8px;
    color: #1421AB;
    font-size: 0.875rem;
    font-weight: 700;
}

.t5-explore-detail__content {
    margin-top: 16px;
    color: #374151;
    line-height: 1.7;
}

.t5-explore-detail__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-weight: 600;
    color: #1421AB !important;
    text-decoration: none !important;
}
