/*!
Author: Wady
Author URI: https://wady.sa
*/
/*---------------------------------
  Root Variables & Fonts
----------------------------------*/
:root {
    --color-primary: #628f15;
    --color-secondary: #383838;
    --color-gray: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
    --near-black: #111111;
    --white-rgb: 255, 255, 255;
    --black-rgb: 0, 0, 0;
    --border-gray: #eeeeee;
    --muted-gray: #b7b7b7;
    --indicator-gray: #c9d2d9;
    --rating-gold: #f6c34d;
    --indicator-active: #7cb342;
    --hero-btn-bg: #f1f1f1;
    --copy-grad-start: #4e740d;
    --copy-grad-end: #5f8b14;
    --bs-secondary-color: #b7b7b7ff;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

@font-face {
    font-family: "Neo Sans Arabic";
    src: url("../fonts/NeoSansArabic.ttf") format("truetype");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Neo Sans Arabic";
    src: url("../fonts/NeoSansArabic-Medium.ttf") format("truetype");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Neo Sans Arabic";
    src: url("../fonts/NeoSansArabic-Bold.ttf") format("truetype");
    font-weight: 700;
    font-display: swap;
}

/*---------------------------------
  Global Styles
----------------------------------*/
body {
    font-family: "Neo Sans Arabic", sans-serif;
    font-weight: 400;
}

strong {
    font-weight: 500;
}

h1,
h2,
h3 {
    font-weight: 700;
}

p {
    line-height: 2em;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    transition:
        color 0.3s ease,
        background-color 0.3s ease;
}

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

.text-success {
    color: var(--color-primary) !important;
}

.btn-outline-danger {
    --bs-btn-color: #dc3545;
    --bs-btn-border-color: #dc3545;
    --bs-btn-hover-bg: #dc3545;
    --bs-btn-hover-border-color: #dc3545;
}

.btn-outline-success {
    --bs-btn-color: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-bg: var(--color-primary);
    --bs-btn-hover-border-color: var(--color-primary);
}

/*---------------------------------
  Header
----------------------------------*/
.topbar {
    background: var(--color-gray);
    color: var(--color-secondary);
    font-size: 12px;
}

.topbar .user-top {
    height: 28px;
    width: 28px;
    object-fit: cover;
}

.topbar i {
    color: var(--color-primary);
    font-size: 18px;
}

.brand {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 700;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--color-primary) !important;
}

.btn-success {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-success:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.offcanvas-end {
    width: 320px;
}

.offcanvas-header img {
    height: 44px;
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.mobile-search .form-control {
    border-radius: 8px;
}

.list-group .list-group-item {
    border: none;
    padding: 10px 0;
}

.menu-item {
    align-items: center;
    color: var(--color-secondary);
    display: flex;
    font-size: 16px;
    gap: 10px;
}

.menu-item .icon {
    align-items: center;
    color: var(--color-primary);
    display: inline-flex;
    font-size: 20px;
    justify-content: center;
    width: 32px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    font-weight: 500;
}

.menu-bottom {
    margin-top: 16px;
}

.badge-cart {
    font-size: 11px;
    vertical-align: middle;
}

#sideMenu a {
    color: var(--color-secondary);
}

/*---------------------------------
  Cards & Vendors
----------------------------------*/
.search-input {
    background: var(--white);
    border: 1px solid var(--color-gray);
    border-radius: 14px;
    box-shadow: none;
    color: var(--color-secondary);
    font-size: 1rem;
}

.search-input::placeholder {
    color: var(--muted-gray);
}

.search-caret {
    background: transparent;
    border: none;
    border-radius: 50%;
    color: var(--color-secondary);
    height: 36px;
    padding: 0;
    width: 36px;
}

.search-caret::after {
    margin: 0;
}

.search-caret:hover {
    background: var(--color-gray);
}

.btn-show-all {
    background: var(--white);
    border-color: var(--color-gray);
    color: var(--color-primary);
}

.btn-show-all:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

@media (max-width: 576px) {
    .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    h5 {
        font-size: 1rem;
    }

    .form-control-lg {
        font-size: 1rem;
        line-height: 1.25;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .search-input {
        border-radius: 10px;
    }

    .search-caret {
        width: 32px;
        height: 32px;
    }

    .btn-show-all {
        border-radius: 10px;
        font-size: 0.95rem;
        padding: 0.45rem 0.75rem;
    }
}

.vendor-card a:hover {
    color: var(--color-primary);
}

.vendor-card .logo {
    align-items: center;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    display: flex;
    height: 180px;
    justify-content: center;
    overflow: hidden;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.vendor-card .logo:hover {
    box-shadow: 0 8px 30px rgba(var(--black-rgb), 0.06);
    transform: translateY(-6px);
}

.vendor-card .logo img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.vendor-card h6 {
    color: var(--color-secondary);
    font-weight: 600;
}

.rating {
    color: var(--rating-gold);
    font-weight: 700;
    font-size: 14px;
    display: flex;
}

.dir-ltr .rating {
    flex-direction: row;
    justify-content: flex-start;
}

/* .dir-rtl .rating {
    flex-direction: row-reverse;
    justify-content: flex-end;
} */
.pagination .page-link {
    color: var(--color-secondary);
    font-size: 12px;
}

.pagination .active > .page-link,
.pagination .page-link.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--white);
}

/*---------------------------------
  Hero Slider
----------------------------------*/
#hero-slider-section {
    padding-bottom: 20px;
}

.hero-slider-wrapper {
    position: relative;
}

.hero-carousel {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
}

.hero-slide {
    min-height: 420px;
    position: relative;
}

.hero-slide > img {
    border-radius: 18px;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.hero-content {
    color: var(--white);
    max-width: 560px;
    min-width: 560px;
    padding: 2rem 2.5rem;
    position: absolute;
    right: 0;
    text-align: right;
    top: 50%;
    transform: translateY(-50%);
}
.hero-eyebrow {
    font-size: 1.6rem;
    line-height: 1.2;
}

.hero-title {
    font-size: clamp(2rem, 4vw + 0.5rem, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0.35rem 0 0.75rem;
}

.hero-subtitle {
    color: var(--color-primary);
    font-size: 18px;
    margin-bottom: 1.25rem;
}

.btn-hero {
    background: var(--hero-btn-bg);
    border: 0;
    border-radius: 10px;
    color: var(--near-black);
    margin-right: 40%;
    padding: 0.6rem;
    width: 150px;
}

.btn-hero:hover {
    background: var(--white);
    color: var(--black);
}

.hero-edge-nav {
    bottom: 25%;
    display: flex;
    gap: 14px;
    position: absolute;
    right: 4%;
    z-index: 3;
}

.btn-arrow {
    background: var(--color-secondary);
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    color: var(--color-primary);
    cursor: pointer;
    display: grid;
    height: 44px;
    place-items: center;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
    width: 44px;
}

.btn-arrow:hover {
    background: rgba(var(--white-rgb), 0.2);
    transform: translateY(-1px);
}

.btn-arrow i {
    font-size: 18px;
    line-height: 1;
}

#hero-indicators {
    display: flex;
    gap: 6px;
    justify-content: center;
}

#hero-indicators [data-bs-target] {
    background: var(--indicator-gray);
    border: 0;
    border-radius: 50%;
    height: 6px;
    opacity: 0.7;
    transition: all 0.25s ease;
    width: 6px;
}

#hero-indicators .active {
    background: var(--indicator-active);
    border-radius: 999px;
    height: 6px;
    opacity: 1;
    width: 18px;
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.25rem 1rem;
        max-width: 300px;
        min-width: 300px;
    }
    .hero-subtitle {
        font-size: 0.7rem;
    }
    .hero-title {
        font-size: 1.5rem;
    }
    .hero-eyebrow {
        font-size: 1.2rem;
    }
    .hero-slide {
        min-height: 300px;
    }

    .btn-arrow {
        width: 35px;
        height: 35px;
    }
}

.dir-rtl .hero-content {
    right: 0;
    left: auto;
    text-align: right;
}

.dir-rtl .btn-hero {
    margin-right: 40%;
    margin-left: 0;
}

.dir-rtl .hero-edge-nav {
    right: 4%;
    left: auto;
}

.dir-ltr .hero-content {
    left: 0;
    right: auto;
    text-align: left;
}

.dir-ltr .btn-hero {
    margin-left: 40%;
    margin-right: 0;
}

.dir-ltr .hero-edge-nav {
    left: 4%;
    right: auto;
    direction: rtl;
}

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

.search-input-wrapper .bi-search {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    color: #999;
    pointer-events: none;
}

.search-input-wrapper .sliders {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    color: #999;
}

.filter-pills .nav-link {
    border-radius: 999px;
    padding: 0.55rem 1.25rem;
    margin: 3px;
    background: var(--white);
    color: var(--black);
    border: 1px solid var(--color-gray);
    transition: 0.15s ease;
}

.filter-pills .nav-link:hover {
    background: var(--color-primary);
    color: var(--white);
}

.filter-pills .nav-link.active {
    background: var(--color-primary);
    color: var(--white);
    border-color: var(--color-primary);
}

/*---------------------------------
  Notifications
----------------------------------*/
.notif-wrapper {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    overflow: hidden;
    padding: 0 20px;
    margin-top: 20px;
}

.notif-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-gray);
    background: var(--white);
    transition: background 0.15s ease-in-out;
}

.notif-item:last-child {
    border-bottom: 0;
}

.notif-item:hover {
    background: var(--color-gray);
}

.slot-bell {
    order: 1;
}

.slot-body {
    order: 2;
    flex: 1;
    min-width: 0;
}

.slot-time {
    order: 3;
    min-width: 60px;
    text-align: center;
}

.notif-item.unread::before {
    content: "1";
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--white);
    font-size: 12px;
    display: grid;
    place-items: center;
    box-shadow: 0 0 0 2px var(--white);
}

.notif-bell {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-gray);
    display: grid;
    place-items: center;
    color: var(--muted-gray);
    background: var(--color-gray);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notif-item.read .notif-bell {
    color: var(--indicator-gray);
}

.notif-title {
    font-weight: 700;
    color: var(--color-secondary);
    font-size: 1rem;
    margin: 0 0 4px;
}

.notif-text {
    color: var(--muted-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-icons i {
    margin-inline: 0 4px;
    color: var(--indicator-gray);
    font-size: 0.95rem;
    vertical-align: -1px;
}

.notif-time {
    color: var(--muted-gray);
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .notif-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .slot-bell {
        order: 1;
    }

    .slot-body {
        order: 2;
        width: 100%;
    }

    .slot-time {
        order: 3;
        align-self: flex-end;
    }

    .notif-item.unread::before {
        inset-inline-start: 12px;
        top: 18px;
        transform: none;
    }
}

/*---------------------------------
  Merchant Page
----------------------------------*/
.vendor-profile {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 22px 28px 10px;
}

.brand-logo {
    width: 130px;
    height: auto;
    display: block;
}

.vendor-profile h5 {
    font-weight: 800;
    color: #111;
    margin: 0;
}

.meta {
    color: var(--muted-gray);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.meta i {
    color: var(--muted-gray);
}

.vendor-profile .col-md-9 > .d-flex {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.tag-line {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: end;
}

.tag-pill {
    background: #eef6e6;
    color: #2c6a12;
    border: 0;
    border-radius: 22px;
    padding: 0.3rem 1rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .tag-pill {
        white-space: normal;
        text-align: right;
    }
}

.tag-pill i {
    color: var(--color-primary);
    font-size: 1.05rem;
}

.socials a {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border-gray);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9aa1a8;
    text-decoration: none;
    font-size: 14px;
    background: var(--white);
}

.btn-fav {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--color-primary);
    text-decoration: none;
}

.vendor-profile hr {
    margin: 18px 0 0;
    color: var(--border-gray);
    opacity: 1;
}

.bottom-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    padding: 14px 0 8px;
}

.bottom-actions .btn {
    background: var(--white);
    border: 1px solid #d6e7c6;
    color: #1e5a12;
    border-radius: 14px;
    font-size: 1rem;
    padding: 0.65rem 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.bottom-actions .btn:hover {
    background: #eef6e6;
}

.btn-call i {
    transform: scaleX(-1);
}

@media (max-width: 768px) {
    .bottom-actions .btn {
        padding: 0.25rem;
    }
}

.brands-slider-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.brandsSwiper {
    width: 95%;
}

.brandsSwiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

.brandsSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
}

.brandsSwiper .brand-tab {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 30px;
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    color: var(--near-black);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    font-weight: 500;
}

.brandsSwiper .brand-tab img {
    flex: 0 0 auto;
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.brandsSwiper .brand-tab span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brandsSwiper .brand-tab.active {
    border-color: var(--color-primary);
    color: var(--color-secondary);
}

.brands-slider-wrapper .custom-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
}

.brands-slider-wrapper .swiper-button-prev.custom-swiper-btn {
    left: -20px;
    right: auto;
    margin: 0;
}

.brands-slider-wrapper .swiper-button-next.custom-swiper-btn {
    right: -20px;
    left: auto;
    margin: 0;
}

.brands-slider-wrapper .custom-swiper-btn::after {
    font-size: 10px;
    font-weight: bold;
}

.brand-models-tabs {
    border: 1px solid var(--border-gray);
    border-radius: 15px;
    padding: 8px 12px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
    margin: 20px auto 0;
    background-color: var(--white);
    width: 95%;
}

.brand-models-tabs .model-item {
    background-color: var(--color-gray);
    border-radius: 999px;
    padding: 4px 12px;
    color: var(--black);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.brand-models-tabs .model-item:hover {
    background-color: var(--white);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

@media (max-width: 1200px) {
    .brandsSwiper .brand-tab img {
        height: 26px;
    }
}

@media (max-width: 992px) {
    .brandsSwiper .brand-tab {
        padding: 8px 10px;
    }
}

@media (max-width: 768px) {
    .brands-slider-wrapper .custom-swiper-btn {
        top: 40%;
        width: 30px;
        height: 30px;
    }

    .brands-slider-wrapper .swiper-button-prev.custom-swiper-btn {
        left: 8px;
    }

    .brands-slider-wrapper .swiper-button-next.custom-swiper-btn {
        right: 8px;
    }

    .brandsSwiper .brand-tab img {
        height: 24px;
    }
}

.rating-container {
    background-color: var(--color-gray);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 20px;
}

.rating-container .star-rating {
    display: flex;
}

.dir-ltr .rating-container .star-rating {
    flex-direction: row;
    justify-content: flex-start;
}

.rating-container .star-rating i {
    color: var(--rating-gold);
    font-size: 1.2rem;
    margin-left: 2px;
}

.rating-container .text-muted-custom {
    color: var(--muted-gray);
    font-size: 0.85rem;
}

.rating-container .progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.rating-container .progress-bar-bg {
    background-color: #e0e0e0;
    height: 6px;
    border-radius: 4px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.rating-container .progress-bar-fill {
    height: 6px;
    background-color: var(--indicator-active);
    border-radius: 4px;
    position: absolute;
    top: 0;
    right: 0;
}

.rating-container .score-right {
    width: 50px;
    text-align: right;
    color: var(--color-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.rating-container .score-left {
    width: 40px;
    text-align: left;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

.rating-container .rating-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.rating-container .rating-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--color-secondary);
    margin-left: 15px;
}

.rating-container .rating-info {
    text-align: right;
}

.testimonial-card {
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 20px;
    background-color: var(--white);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 145px;
}

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

.testimonial-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 15px;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-name {
    font-weight: bold;
    color: var(--color-secondary);
    margin-bottom: 5px;
}

.testimonial-text {
    color: var(--color-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    margin-right: 15px;
}

.testimonial-rating span {
    color: var(--color-secondary);
    font-weight: bold;
    margin-left: 5px;
}

.testimonial-rating i {
    color: var(--rating-gold);
}

.faq-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 12px;
    background: var(--white);
    color: var(--near-black);
    text-align: start;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.faq-trigger:hover,
.faq-trigger:focus {
    border-color: color-mix(in oklab, var(--border-gray), var(--black) 10%);
    box-shadow: 0 0 0 0.15rem rgba(var(--black-rgb), 0.04);
    background: color-mix(in oklab, var(--white), var(--color-gray) 20%);
    outline: none;
}

.faq-icon-right {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: var(--color-secondary);
}

.faq-icon-right i {
    font-size: 20px;
}

.faq-title {
    flex: 1 1 auto;
    color: var(--near-black);
}

.chev {
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
    color: var(--muted-gray);
}

.faq-trigger[aria-expanded="true"] .chev {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-body {
    padding: 0.9rem 1rem;
    margin: 0.5rem 0 1rem 0;
    color: var(--color-secondary);
    border-radius: 8px;
}

.faq-item {
    margin-top: 0.6rem;
    box-shadow: 0 0 10px #dddddd;
    border-radius: 10px;
}

.faq-trigger:focus-visible {
    box-shadow: 0 0 0 0.2rem
        color-mix(in oklab, var(--color-primary), white 70%);
    border-color: var(--color-primary);
}

/*---------------------------------
  Faq Tabs
----------------------------------*/
.faq-tabs .nav-pills .nav-link {
    color: var(--color-primary);
    background: var(--white);
    border: 1px solid var(--color-primary);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.faq-tabs .nav-pills .nav-link:hover {
    background: color-mix(in oklab, var(--color-primary), white 90%);
}

.faq-tabs .nav-pills .nav-link.active {
    color: var(--white);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/*---------------------------------
  Form-control
----------------------------------*/
.form-control,
.form-select {
    height: 50px;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    box-shadow: none;
    color: var(--bs-secondary-color);
    font-size: 14px;
}

.form-control::placeholder {
    color: var(--muted-gray);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--indicator-active);
    box-shadow: 0 0 0 0.25rem rgba(124, 179, 66, 0.25);
}

.field-wrap {
    position: relative;
}

.field-wrap .input-group {
    position: relative;
}

.with-icon {
    padding-inline-end: 2.25rem;
}

.icon-inside {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-gray);
    pointer-events: none;
    font-size: 1.05rem;
    right: 20px;
}

.dir-ltr .icon-inside {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-gray);
    pointer-events: none;
    font-size: 1.05rem;
    left: 20px;
}

.with-start-icon {
    padding-inline-start: 2.5rem;
}

.with-end-icon {
    padding-inline-end: 2.8rem;
}

.icon-start {
    position: absolute;
    inset-inline-start: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-gray);
    pointer-events: none;
    font-size: 1.05rem;
    z-index: 3;
}

.eye-btn {
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--muted-gray);
    font-size: 1.05rem;
    z-index: 2;
}

.eye-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(124, 179, 66, 0.25);
    border-radius: 6px;
}

.input-group .input-group-text {
    background-color: var(--color-gray);
    border-color: var(--border-gray);
}

.btn-send {
    background-color: var(--color-secondary);
    color: var(--white);
    border: none;
    padding: 0.7rem 3.5rem;
}

.btn-send:hover {
    background-color: var(--color-primary);
    color: var(--white);
}

textarea.form-control {
    min-height: 170px;
}

.profile-header {
    position: relative;
    text-align: center;
    margin-top: -100px;
    margin-bottom: 50px;
}

.profile-divider {
    height: 1px;
    background: #e9ecef;
    position: relative;
    margin: 2rem 0;
}

.avatar-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    margin-inline: auto;
}

.avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid var(--white);
}

.avatar-upload-btn {
    position: absolute;
    inset-inline-end: -4px;
    bottom: 6px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e6e6e6;
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.avatar-upload-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.profile-name {
    font-weight: 700;
    color: #222;
    margin-top: 0.75rem;
}

.profile-email {
    color: #8a8a8a;
    font-size: 0.95rem;
}

.upload-error {
    color: #b30000;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    display: none;
}

.form-check.lang {
    height: 50px;
    border: 1px solid var(--color-gray);
    border-radius: 10px;
    box-shadow: none;
    color: var(--color-secondary);
    font-size: 14px;
    padding: 12px 30px;
    font-weight: 700;
}

.form-check-input:checked {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

/*---------------------------------
  My orders page
----------------------------------*/
.my-orders-page .orders-tabs-wrapper {
    border-bottom: 1px solid var(--white);
}

.my-orders-page .orders-tabs {
    display: flex;
    gap: 2rem;
}

.my-orders-page .orders-tabs .nav-link {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0.65rem 0 0.9rem;
    color: #8f8f8f;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.my-orders-page .orders-tabs .nav-link .count {
    color: #1b1b1b;
}

.my-orders-page .orders-tabs .nav-link.active {
    color: var(--color-primary);
}

.my-orders-page .orders-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: -1px;
    height: 1px;
    border-radius: 1px;
    background: var(--color-primary);
}

.my-orders-page .order-card {
    background: var(--white);
    border-color: var(--border-gray) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.my-orders-page .req-id {
    font-weight: 800;
    font-size: 1.06rem;
}

.dir-ltr .my-orders-page .req-id {
    direction: ltr;
    text-align: left;
}

.my-orders-page .req-time {
    color: #6f6f6f;
}
.dir-ltr .my-orders-page .req-id {
    direction: ltr;
    text-align: left;
}

.dir-ltr .my-orders-page .req-time {
    direction: ltr;
    text-align: left;
}
.my-orders-page .status-badge {
    border: 1px solid var(--border-gray);
    padding: 10px 30px;
    border-radius: 10px;
    align-items: center;
    white-space: nowrap;
}

.my-orders-page .order-card .list-group {
    --bs-list-group-bg: transparent;
    --bs-list-group-border-color: transparent;
    --bs-list-group-color: #5f5f5f;
}

.my-orders-page .order-card .list-group-item {
    padding: 0.35rem 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.my-orders-page .order-card .list-group-item i {
    color: #9aa0a6;
    font-size: 1.05rem;
}

.my-orders-page .offer-line {
    font-size: 1rem;
}

.my-orders-page .actions {
    display: flex;
    gap: 10px;
}

.my-orders-page .card-timeline .actions {
    width: 25%;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .my-orders-page .card-timeline .actions {
        width: 100%;
    }
}

.my-orders-page .order-card hr {
    margin: 14px 0 12px;
    color: #eee;
    opacity: 1;
}

.my-orders-page .brand-badge {
    width: 100px;
    height: 100px;
    padding: 10px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.my-orders-page .brand-title {
    font-weight: 800;
    color: var(--near-black);
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 10px;
}

.my-orders-page .brand-sub {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.my-orders-page .btn {
    border-radius: 10px;
    padding: 0.5rem 3rem;
}

.my-orders-page .order-timeline {
    --dot: 22px;
    --line-h: 2px;
    --line-c: #e5e7eb;
    --active-c: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 50%;
}

@media (max-width: 768px) {
    .my-orders-page .order-timeline {
        width: 100%;
    }
}

.my-orders-page .timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    position: relative;
}

.my-orders-page .timeline-step .node {
    position: relative;
    height: var(--dot);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.my-orders-page .timeline-step .node::before,
.my-orders-page .timeline-step .node::after {
    content: "";
    position: absolute;
    top: calc(50% - var(--line-h) / 2);
    height: var(--line-h);
    background: var(--line-c);
    border-radius: 2px;
}

.my-orders-page .timeline-step .node::before {
    inset-inline-start: calc(50% + var(--dot) / 2 + 3px);
    inset-inline-end: -3px;
}

.my-orders-page .timeline-step .node::after {
    inset-inline-end: calc(50% + var(--dot) / 2 + 3px);
    inset-inline-start: -3px;
}

.my-orders-page .timeline-step .dot {
    width: var(--dot);
    height: var(--dot);
    border-radius: 50%;
    background: var(--line-c);
    position: relative;
    z-index: 2;
}

.my-orders-page .timeline-step .label {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
}

.my-orders-page .order-timeline > .timeline-step:first-child .node::after {
    display: none;
}

.my-orders-page .order-timeline > .timeline-step:last-child .node::before {
    display: none;
}

.my-orders-page .timeline-step.is-active .dot {
    background: var(--active-c);
}

.my-orders-page .timeline-step.is-active .node::before {
    background: var(--active-c);
}
.my-orders-page .timeline-step.is-active .node::after {
    background: var(--active-c);
}

.my-orders-page .timeline-step.is-active .label {
    color: var(--black);
    font-weight: 300;
}

.my-orders-page .timeline-step.is-complete .dot {
    background: var(--active-c);
}

.my-orders-page .timeline-step.is-complete .node::before,
.my-orders-page .timeline-step.is-complete .node::after {
    background: var(--active-c);
}

@media (max-width: 576px) {
    .my-orders-page .brand-badge {
        width: 50px;
        height: 50px;
        padding: 2px;
    }

    .my-orders-page .brand-title {
        font-weight: 500;
        font-size: 1rem;
    }

    .my-orders-page .req-time {
        padding-bottom: 15px;
    }

    .my-orders-page .status-badge {
        padding: 5px 20px;
    }

    .my-orders-page .btn {
        padding: 10px !important;
        margin-top: 10px;
    }

    .my-orders-page .order-timeline {
        gap: 0.25rem;
    }

    .my-orders-page .timeline-step .label {
        font-size: 0.7rem;
    }

    .my-orders-page .timeline-step .node::before,
    .my-orders-page .timeline-step .node::after {
        inset-inline-start: calc(50% + var(--dot) / 2 + 2px);
        inset-inline-end: -2px;
    }

    .my-orders-page .timeline-step .node::after {
        inset-inline-end: calc(50% + var(--dot) / 2 + 2px);
        inset-inline-start: -2px;
    }
}

.order-timeline2 {
    --dot: 40px;
    --line-h: 6px;
    --track: var(--indicator-gray);
    --active: var(--color-primary);
    --active-txt: var(--white);
}

.order-timeline2 .timeline-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.order-timeline2 .timeline-track {
    position: relative;
    height: var(--line-h);
    border-radius: 99px;
    background: var(--track);
}

.order-timeline2 .timeline-track .progress {
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    height: 100%;
    width: var(--timeline-progress, 0%);
    background: var(--active);
    border-radius: inherit;
    transition: width 0.25s ease;
}

.order-timeline2 .timeline-steps {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: start;
    margin-top: calc(-1 * var(--dot) / 2 - var(--line-h) / 2);
}

.order-timeline2 .step {
    text-align: center;
    min-width: 40px;
    margin-top: -12px;
}

.order-timeline2 .step .dot {
    width: var(--dot);
    height: var(--dot);
    border-radius: 50%;
    background: #fff;
    border: 6px solid var(--track);
    display: grid;
    place-items: center;
    margin-inline: auto;
    box-sizing: border-box;
}

.order-timeline2 .step .dot i {
    font-size: 1.15rem;
    color: #2b2b2b;
    line-height: 1;
}

.order-timeline2 .step.is-complete .dot {
    background: var(--active);
    border-color: var(--active);
}

.order-timeline2 .step.is-complete .dot i {
    color: var(--active-txt);
}

.order-timeline2 .step.is-current .dot {
    background: var(--active);
    border-color: var(--active);
    outline: 6px solid color-mix(in srgb, var(--active) 18%, transparent);
}

.order-timeline2 .step.is-current .dot i {
    color: var(--active-txt);
}

.order-timeline2 .step .label {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #111827;
    white-space: nowrap;
}

@media (max-width: 576px) {
    :root {
        --dot: 34px;
    }

    .order-timeline2 .step .label {
        font-size: 0.88rem;
    }
}

.tl-rate-stars {
    display: flex;
    gap: 1rem;
}

.tl-rate-stars input {
    display: none;
}

/* إخفاء radio */
.tl-rate-stars label {
    position: relative;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
    user-select: none;
}

.tl-rate-stars label .bi {
    transition:
        opacity 0.12s ease,
        transform 0.12s ease,
        color 0.12s ease;
}

.tl-rate-stars label .bi-star {
    color: var(--muted-gray);
}

.tl-rate-stars label .bi-star-fill {
    color: var(--color-primary);
    position: absolute;
    inset: 0;
    opacity: 0;
}

.tl-rate-stars label:hover .bi-star-fill,
.tl-rate-stars label:hover ~ label .bi-star-fill {
    opacity: 1;
}

.tl-rate-stars label:hover .bi-star,
.tl-rate-stars label:hover ~ label .bi-star {
    opacity: 0;
}

.tl-rate-stars input:checked ~ label .bi-star-fill {
    opacity: 1;
}

.tl-rate-stars input:checked ~ label .bi-star {
    opacity: 0;
}

.delivery-active {
    border: 1px solid var(--bs-border-color) !important;
    color: black;
    border-radius: 15px;
}

.part-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
}

.part-row .part-name {
    flex: 1;
    font-weight: 600;
}

.part-row .part-price {
    width: 130px;
    text-align: start;
}

.part-row .part-status {
    width: 140px;
    text-align: end;
}

.part-row .part-status.available {
    color: var(--color-primary);
}

.part-row .part-status.not-available {
    color: #d93025;
}

.part-row .part-status.not-full-available {
    color: orange;
}

@media (max-width: 576px) {
    .part-row .part-name {
        font-size: 12px;
    }

    .part-row .part-price {
        width: 100px;
        font-size: 12px;
    }

    .part-row .part-status {
        width: 60px;
        font-size: 12px;
    }
}

/*---------------------------------
  Saved Car
----------------------------------*/
.vehicle-list .vehicle-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vehicle-list .actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vehicle-list .action-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    background: #fff;
    border: 1px solid var(--border-gray);
    box-shadow: 0 1px 0 rgba(var(--black-rgb), 0.03);
    transition: 0.15s ease-in-out;
    padding: 0;
}

.vehicle-list .action-btn + .action-btn {
    margin: 0;
}

.vehicle-list .action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.75rem rgba(var(--black-rgb), 0.06);
}

.vehicle-list .action-btn.edit i {
    color: var(--color-secondary);
}

.vehicle-list .action-btn.delete i {
    color: #dc3545;
}

.vehicle-list .content {
    flex: 1 1 auto;
}

.vehicle-list .vehicle-title {
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
}

.vehicle-list .vehicle-meta {
    color: var(--muted-gray);
    font-size: 0.925rem;
    line-height: 1.3;
}

.vehicle-list .vehicle-thumb {
    width: 78px;
    height: 78px;
    border-radius: 0.75rem;
    object-fit: cover;
    border: 1px solid var(--border-gray);
    flex: 0 0 auto;
}

@media (max-width: 576px) {
    .vehicle-list .vehicle-thumb {
        width: 66px;
        height: 66px;
    }

    .vehicle-list .vehicle-title {
        font-size: 1rem;
    }

    .vehicle-list .vehicle-meta {
        font-size: 0.8rem;
    }
}

/*---------------------------------
  Chat
----------------------------------*/
.chat-wrap {
    margin-top: 20px;
}

.chat-wrap .btn-call {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-wrap .btn-call i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.chat-wrap .brand-badge {
    width: 100px;
    height: 100px;
    padding: 10px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--border-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-wrap .brand-title {
    font-weight: 800;
    color: var(--near-black);
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 10px;
}

.chat-wrap .brand-sub {
    font-size: 0.9rem;
    color: var(--muted-gray);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.chat-wrap .brand-sub .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--indicator-active);
    display: inline-block;
}

.chat-wrap .order-card {
    background: var(--color-gray);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 18px 20px;
}

.chat-wrap .order-id {
    font-weight: 800;
    color: var(--near-black);
}

.chat-wrap .order-id .hash {
    color: #777;
    font-weight: 600;
}

.chat-wrap .order-note {
    color: var(--muted-gray);
    font-size: 0.95rem;
}

.chat-wrap .btn-ghost {
    width: 60px;
    height: 60px;
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-wrap .btn-ghost i {
    font-size: 1.2rem;
    color: var(--near-black);
}

.chat-wrap .chat-card {
    display: flex;
    flex-direction: column;
    height: 82vh;
    min-height: 560px;
}

.chat-wrap .messages {
    flex: 1;
    overflow: auto;
    padding: 28px 26px 10px;
}

.chat-wrap .day-chip {
    background: #eeeff1;
    color: #7b8187;
    font-size: 0.8rem;
    padding: 0.25rem 0.8rem;
    border-radius: 999px;
    display: inline-block;
}

.chat-wrap .msg {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 18px 0;
}

.chat-wrap .bubble {
    max-width: 70%;
    padding: 0.5rem 0.9rem;
    line-height: 1.65;
    word-break: break-word;
}

.chat-wrap .msg-in {
    align-items: flex-end;
}

.chat-wrap .msg-out {
    align-items: flex-start;
}

.chat-wrap .bubble.in {
    background: #f7f7f7;
    border-radius: 0 15px 15px 15px;
}

.chat-wrap .bubble.out {
    background: #eaf8d3;
    border-radius: 15px 0 15px 15px;
}

.chat-wrap .time {
    font-size: 0.78rem;
    color: #9aa3ab;
}

.chat-wrap .media-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0.6rem;
}

.chat-wrap .media-caption {
    font-size: 0.9rem;
    color: #60686f;
    margin-bottom: 0.45rem;
}

.chat-wrap .media-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.chat-wrap .composer {
    border-top: 1px solid #e9ecef;
    padding: 16px 22px;
}

.chat-wrap .composer-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-wrap .attach-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: #fff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-wrap .send-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    background: #fff;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-wrap .composer .form-control {
    flex: 1;
    height: 44px;
    background: #f6f7f8;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    padding-inline: 16px;
}

.chat-wrap .file-name {
    font-size: 0.8rem;
    color: #7b8790;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40%;
    margin-inline-start: 8px;
}

@media (max-width: 576px) {
    .chat-wrap .bubble {
        max-width: 88%;
    }

    .chat-wrap .media-card img {
        width: 100%;
        height: 100%;
    }
}

/*---------------------------------
  Complaints
----------------------------------*/
.complaints-timeline {
    --dot: 22px;
    --line-h: 3px;
    --line-c: #e5e7eb;
    --active-c: #dd1d1d;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 0;
}

.complaints-timeline .timeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.complaints-timeline .timeline-step .node {
    position: relative;
    height: var(--dot);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.complaints-timeline .timeline-step .node::before {
    content: "";
    position: absolute;
    top: 50%;
    inset-inline-start: -50%;
    width: 100%;
    height: var(--line-h);
    background: var(--line-c);
    transform: translateY(-50%);
    z-index: -1;
}

.complaints-timeline .timeline-step:first-child .node::before {
    display: none !important;
}

/* Dot */
.complaints-timeline .timeline-step .dot {
    width: var(--dot);
    height: var(--dot);
    border-radius: 50%;
    background: var(--line-c);
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--line-c);
}

.complaints-timeline .timeline-step .label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--muted-gray);
    text-align: center;
    transition: color 0.3s ease;
}

/* Active State */
.complaints-timeline .timeline-step.is-active .dot {
    background: var(--active-c);
    box-shadow: 0 0 0 1px var(--active-c);
    animation: box-shadow infinite 2s ease-in-out;
}

/* Active Incoming Line */
.complaints-timeline .timeline-step.is-active .node::before {
    background: var(--active-c);
}

.complaints-timeline .timeline-step.is-active .label {
    color: var(--color-secondary);
    font-weight: 700;
}

@media (max-width: 576px) {
    .complaints-timeline .timeline-step .label {
        font-size: 0.7rem;
    }
}

@keyframes box-shadow {
    0% {
        box-shadow: 0 0 0 1px var(--line-c);
    }

    50% {
        box-shadow: 0 0 0 1px var(--active-c);
    }

    100% {
        box-shadow: 0 0 0 1px var(--line-c);
    }
}

/*---------------------------------
  Store registration Form
----------------------------------*/
.registration-form-container .registration-timeline {
    --gap: 40px;
    --dot: 22px;
    --line-w: 60px;
    --line-h: 2px;
    --line-c: #e5e7eb;
    --active-c: #dd1d1d;
    display: flex;
    align-items: center;
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
}

.registration-form-container .registration-timeline .timeline-step {
    min-width: var(--gap);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
}

.registration-form-container .registration-timeline .timeline-step .node {
    position: relative;
    height: var(--dot);
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-form-container
    .registration-timeline
    .timeline-step
    .node::before,
.registration-form-container
    .registration-timeline
    .timeline-step
    .node::after {
    content: "";
    position: absolute;
    top: calc(50% - var(--line-h) / 2);
    width: var(--line-w);
    height: var(--line-h);
    background: var(--line-c);
    border-radius: 2px;
}

.registration-form-container
    .registration-timeline
    .timeline-step
    .node::before {
    inset-inline-start: calc(var(--dot) / 2 + 6px);
}

.registration-form-container
    .registration-timeline
    .timeline-step
    .node::after {
    inset-inline-end: calc(var(--dot) / 2 + 11px);
}

.registration-form-container .registration-timeline .timeline-step .dot {
    width: var(--dot);
    height: var(--dot);
    border-radius: 50%;
    background: var(--line-c);
}

.registration-form-container .registration-timeline .timeline-step .label {
    font-size: 1rem;
}

.registration-form-container
    .registration-timeline
    > .timeline-step:first-child
    .node::after {
    display: none;
}

.registration-form-container
    .registration-timeline
    > .timeline-step:last-child
    .node::before {
    display: none;
}

.registration-form-container
    .registration-timeline
    .timeline-step.is-active
    .dot {
    background: var(--active-c);
    z-index: 9999 !important;
}

.registration-form-container
    .registration-timeline
    .timeline-step.is-active
    .node::before {
    background: var(--active-c);
    z-index: 99;
}

.registration-form-container
    .registration-timeline
    .timeline-step.is-active
    .node::after {
    background: var(--active-c);
    z-index: 99;
}

.registration-form-container
    .registration-timeline
    .timeline-step.is-active
    .label {
    color: var(--black);
}

.registration-form-container
    .registration-timeline
    .timeline-step.is-complete
    .dot {
    background: var(--active-c);
}

.registration-form-container
    .registration-timeline
    .timeline-step.is-complete
    .node::before,
.registration-form-container
    .registration-timeline
    .timeline-step.is-complete
    .node::after {
    background: var(--active-c);
}

@media (max-width: 576px) {
    .registration-form-container .registration-timeline {
        justify-content: space-between;
    }

    .registration-form-container .registration-timeline .timeline-step .label {
        font-size: 0.88rem;
    }
}

.registration-form-container .step-form {
    display: none;
}

.registration-form-container .step-form.active {
    display: block;
}

/*---------------------------------
  tl-chip-input
----------------------------------*/
.tl-chip-input {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 60px;
    padding: 8px 10px;
    cursor: text;
    background: #fff;
    border-radius: 0.5rem;
}

.tl-chip-input:focus-within {
    border-color: #ced4da;
    box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.03);
}

.tl-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f6f6f6;
    border: 1px solid #e6e6e6;
    border-radius: 20px;
    padding: 5px 7px;
    font-size: 0.75rem;
    line-height: 1;
    color: #333;
}

.tl-chip-remove {
    width: 16px;
    height: 16px;
    position: relative;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.6;
}

.tl-chip-remove::before,
.tl-chip-remove::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1px;
    background: #666;
    transform-origin: center;
}

.tl-chip-remove::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.tl-chip-remove::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.tl-chip-remove:hover {
    opacity: 1;
}

.tl-input {
    flex: 1 1 160px;
    min-width: 120px;
    border: 0;
    outline: 0;
    box-shadow: none;
    padding: 8px 4px;
    background: transparent;
}

.tl-input::placeholder {
    color: #bdbdbd;
    opacity: 0.9;
}

.tl-chip-input[data-haschips="true"] .tl-input::placeholder {
    color: transparent;
}

/*---------------------------------
  Parts Quote
----------------------------------*/
.parts-quote .input-group-text {
    background: #fff;
    color: var(--muted-gray);
}

.parts-quote .add-text-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    width: 100%;
    text-align: right;
}

.parts-quote .add-text-btn:hover {
    background: #f7fff2;
}

.parts-quote .piece-card {
    position: relative;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 15px;
    background: #fff;
}

.parts-quote .piece-grid {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.parts-quote .piece-col-image {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.parts-quote .piece-sep {
    width: 1px;
    align-self: stretch;
    background: var(--border-gray);
}

.parts-quote .piece-col-data {
    flex: 1 1 auto;
    min-width: 0;
}

.parts-quote .piece-col-qty {
    flex: 0 0 auto;
}

.parts-quote .piece-thumb {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    border: 1px solid var(--border-gray);
    object-fit: cover;
    background: var(--color-gray);
}

.parts-quote .card-remove {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    background: #fff;
    color: #666;
}

.parts-quote .card-remove:hover {
    background: #f7f7f7;
}

.parts-quote .state-badge {
    background: var(--color-primary);
    color: var(--white);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.75rem;
}

.parts-quote .qty-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 0.3rem 0.4rem;
}

.parts-quote .qty-btn {
    width: 44px;
    height: 36px;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parts-quote .qty-number {
    min-width: 24px;
    text-align: center;
}

.parts-quote .modal-header {
    border-bottom: 0;
}

.parts-quote .modal-content {
    border-radius: 18px;
    overflow: hidden;
}

.parts-quote .option-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.2rem;
}

.parts-quote .option-row .form-check-input {
    width: 18px;
    height: 18px;
    border-color: #dcdcdc;
}

.parts-quote .option-row .form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.parts-quote .dropzone {
    border: 2px dashed #d7d2d7;
    border-radius: 12px;
    background: #fff;
    padding: 1rem;
    position: relative;
    cursor: pointer;
}

.parts-quote .dropzone .dz-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #9aa0a6;
    border: 1px solid #e5e5e5;
}

.parts-quote .dropzone .dz-text {
    color: #a7a7a7;
}

.parts-quote .qty-input {
    border: 2px solid var(--indicator-active);
    background: rgba(124, 179, 66, 0.07);
    border-radius: 14px;
}

@media (max-width: 576px) {
    .parts-quote .piece-card {
        padding: 0.85rem 0.85rem 1rem;
    }

    .parts-quote .piece-grid {
        align-items: flex-start;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .parts-quote .piece-col-image {
        order: 1;
    }

    .parts-quote .piece-thumb {
        width: 64px;
        height: 64px;
        border-radius: 10px;
    }

    .parts-quote .piece-sep {
        display: none;
    }

    .parts-quote .piece-col-data {
        order: 2;
        width: 100%;
    }

    .parts-quote .piece-col-qty {
        order: 3;
        width: 100%;
    }

    .parts-quote .qty-group {
        width: 100%;
        justify-content: space-between;
    }

    .parts-quote .qty-btn {
        width: 44px;
        height: 40px;
    }

    .parts-quote .card-remove {
        width: 34px;
        height: 34px;
        left: 8px;
        top: 8px;
    }
}

/*---------------------------------
  Footer
----------------------------------*/
#siteFooter {
    background: var(--color-gray);
    color: var(--color-secondary);
    position: relative;
}

#siteFooter a {
    color: var(--color-secondary);
}

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

#siteFooter #copy {
    background-image: linear-gradient(
        to right,
        var(--copy-grad-start),
        var(--copy-grad-end)
    );
    color: var(--white);
    padding: 15px 0;
}

#siteFooter #copy h6 {
    font-size: 14px;
    margin-bottom: 0;
}

/*---------------------------------
  Contact page   
----------------------------------*/
#contact-us-floating-icon {
    z-index: 99;
    margin-bottom: 40px;
    background-color: var(--color-primary);
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

@media screen and (max-width: 576px) {
    #contact-us-floating-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }
}

#contact-social-media-icons a img {
    width: 20px;
    height: 20px;
}

.dir-ltr input,
.dir-ltr .field-wrap {
    direction: ltr !important;
    text-align: left !important;
}

.dir-rtl input,
.dir-rtl .field-wrap {
    direction: rtl !important;
    text-align: right !important;
}

.dir-ltr #mobile {
    border-radius: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dir-ltr #mobile-code {
    border-radius: 10px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.dir-rtl #qtyValue,
.dir-ltr #qtyValue {
    text-align: center !important;
}

.dir-ltr .offcanvas.offcanvas-start {
    top: 0;
    left: 0;
    transform: translateX(100%);
}

.dir-ltr .offcanvas-header .btn-close {
    margin-right: 0;
}

.dir-ltr .offcanvas-header {
    justify-content: flex-end;
}

.dir-rtl .bi-star-half {
    transform: rotateY(180deg);
}

.testimonials-swiper .swiper-button-prev::after,
.testimonials-swiper .swiper-button-next::after {
    color: var(--color-primary);
    font-size: 16px;
}

.testimonials-swiper .swiper-button-prev {
    right: 0px !important;
}
.testimonials-swiper .swiper-button-next {
    left: 0px !important;
}

.seller-success-modal {
    border-radius: 16px;
    border: none;
}

.success-icon svg {
    display: inline-block;
}

.reference-box {
    background: #f8f9fa;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
}

.note-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    border: 1px solid #eee;
}

.seller-modal-lg {
    max-width: 700px;
}

.pay-now-btn {
    padding: 7px 90px;
}

#download-app-container {
    background-color: #f0f0f0;
}

.download-app-nav-text {
    color: var(--color-primary);
    transition: all 0.3s ease;
    background-color: #f0f0f0;
    border: 1px solid var(--color-primary);
}

.download-app-nav-text:hover {
    color: white;
    background-color: var(--color-primary);
}

#editQtyValue,
#addQtyValue {
    text-align: center !important;
}

label:has(+ input[required])::after,
label:has(+ select[required])::after,
label:has(+ textarea[required])::after {
    content: " *";
    color: red;
}

.mb-3:has(input[required]) > label::after,
.mb-3:has(select[required]) > label::after,
.mb-3:has(textarea[required]) > label::after {
    content: " *";
    color: red;
}

#main-sar-symbol svg {
    height: 14px !important;
    width: 14px !important;
    vertical-align: middle;
    margin-bottom: 3px;
}

.btn-success #main-sar-symbol svg {
    fill: white;
}

#slider-filter-count {
    position: absolute;
    top: -6px;
    left: -6px;
    background: red;
    color: #fff;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.part-image-preview .part-image {
    width: 100px;
    height: 100px;
    cursor: pointer;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 450px) {
    .part-image-preview .part-image {
        width: 120px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
    }
}


.required-field::after {
    content: " *";
    color: red;
}
