@font-face {
    font-family: "Somar";
    src: url("../assets/fonts/Somar-Regular.otf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Somar", sans-serif;
}

a {
    text-decoration: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

:root {
    --main-color: #1d532f;
    --second-color: #00000099;
    --third-color: #73b41a;
}

.main-color {
    color: var(--main-color);
}

.second-color {
    color: var(--second-color);
}
.third-color {
    color: var(--third-color);
}
.login-box .member-select-con h4 {
    color: var(--main-color);
}
.member-select-con label {
    font-weight: 700;
    font-size: 27px;
    color: var(--second-color);
    cursor: pointer;
}
.member-select-con .form-check-input:checked {
    background-color: var(--third-color);
    border-color: var(--third-color);
}
/* -------------------------- */
/* login page  */

.login-box {
    border-radius: 24px;
    box-shadow: 0px 6px 18px 0px #00000040;
}

.login-box h3 {
    color: var(--main-color);
    font-size: 34px;
    font-weight: 700;
    line-height: 40.8px;
}
.login-box h4 {
    color: var(--second-color);
    font-weight: 700;
    font-size: 27px;
    line-height: 100%;
    letter-spacing: 0%;
}

.input-group-custom {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    height: 50px;
}

.input-group-custom .input-group-text {
    border: 0;
    border: 8px;
    background-color: transparent;
}

.input-group-custom .form-select,
.input-group-custom .form-control {
    border: none;
    box-shadow: none;
    font-size: 24px;
    border-radius: 8px;
}

.input-group-custom .form-control::placeholder {
    color: #dadada;
}

.iti {
    width: 100%;
    height: 100%;
    direction: ltr;
    display: flex;
    flex-direction: row-reverse;
}

.iti--allow-dropdown .iti__country-container {
    right: auto !important;
    left: 0 !important;
}

.iti__selected-country-primary {
    direction: rtl !important;
}

input.phone {
    padding-left: 90px !important;
    padding-right: 0 !important;
}

.main-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    font-weight: 700;
    font-size: 24px;
}
.second-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-color: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-weight: 700;
    font-size: 24px;
}
.login-btns a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    background-color: transparent;
    border: 1px solid var(--main-color);
    font-weight: 700;
    font-size: 24px;
    width: 48%;
    color: var(--main-color);
}
.login-btns a.active-page {
    background-color: var(--main-color);
    color: #fff;
}

.login-box hr {
    color: #dadada;
    opacity: 1;
}

.condition-text {
    color: #00000099;
    font-weight: 300;
}

.condition-text a {
    color: var(--third-color);
    font-weight: bold;
    text-decoration: underline;
}

.input-group-custom .form-select {
    color: #dadada;
}

.input-group-custom .form-select.changed {
    color: #000;
    /* Color when option is selected */
}

/* Hide placeholder from dropdown but keep it visible when nothing selected */
.input-group-custom .form-select option[value=""] {
    display: none;
}

.input-group-custom .form-select option {
    color: #000;
}
.realInput {
    width: 0;
    height: 0;
    border: none;
    outline: none;
}

.timer {
    font-weight: 400;
    font-size: 34px;
    line-height: 100%;
    letter-spacing: 0%;
    color: var(--second-color);
}

.resend-con {
    font-weight: 400;
    font-size: 27px;
    color: var(--second-color);
}
.resend-con button {
    border: none;
    background-color: transparent;
    color: var(--third-color);
    text-decoration: underline;
}
.resend-con button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}
/* ------------------------ */
/* navbar */

.navbar {
    background-color: #fff;
    box-shadow: 0px 2px 12px 0px #00000040;
}

.navbar .navbar-toggler {
    color: var(--third-color);
    border-color: var(--third-color);
}

.navbar .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 27px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    padding: 8px 20px !important;
    color: var(--second-color);
    border-radius: 50px;
}

.navbar .nav-link.active {
    background: #1d532f1a;
    color: var(--main-color);
}

.navbar-collapse {
    flex-grow: unset;
}
.lang-link,
.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none;
}
/* ------------- */
/* ---------------- */
footer {
    background-color: var(--main-color);
    position: relative;
    box-shadow: 4px -4px 4px 0px #00000040;
}

footer .footer-top {
    background-color: #fff;
    color: var(--second-color);
}
footer .footer-top h5 {
    font-size: 34px;
    font-weight: 400;
    line-height: 40.8px;
    color: var(--second-color);
}

footer .footer-top h4 {
    font-size: 38px;
    font-weight: 700;
    line-height: 51.6px;
    color: var(--main-color);
}

footer .footer-top ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

footer .footer-top ul li {
    margin: 20px 0;
}

footer .footer-top ul a {
    font-size: 34px;
    font-weight: 400;
    line-height: 40.8px;
    color: var(--second-color);
}
footer .footer-top ul a.main-color {
    color: var(--main-color);
}

footer .footer-top ul a:hover {
    color: var(--main-color);
}

.copy-write h5 {
    font-size: 27px;
    font-weight: 700;
    color: #fff;
}
/* ---------------- */
/* hero-sec */
.hero-sec {
    background: #ecf3fe;
}

.hero-cart {
    /* box-shadow: 0px 2px 12px 0px #00000040; */
    border-radius: 24px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}
.hero-sec .owl-carousel .owl-stage-outer,
.hero-sec .owl-carousel .owl-stage-outer .owl-stage {
    height: calc(100% - 20px);
}
.hero-sec .owl-carousel .owl-stage-outer .owl-stage .owl-item {
    height: 100%;
}
.hero-sec .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-sec .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    background: #73b41a1a;
    margin: 5px;
    border-radius: 50%;
}

.hero-sec .owl-dots .owl-dot.active {
    background-color: var(--third-color);
}

/* ------------- */
.services-sec {
    background-color: #fff;
}

/* ------------- */
/* offers-sec */
.offers-sec {
    background: #1d532f1a;
}

.offer-form {
    background-color: #fff;
    border-radius: 24px;
}
.offers-sec h1 {
    font-size: 34px;
}
.offer-form hr {
    border-top: 1px solid #dadada;
    opacity: 1;
}
.input-group-custom.dash-border {
    border-style: dashed;
}

.features-list {
    list-style: none;
}

.features-list li {
    font-weight: 700;
    font-size: 27px;
    color: var(--second-color);
}

.who-us-sec {
    background-color: #fff;
}
.who-us-box {
    background: #1d532f1a;
    border-radius: 24px;
}

.offers-sec.bg-white .offer-form {
    box-shadow: 0px 2px 12px 0px #00000040;
}
/* -------------- */
/* battery offers page  */

.battery-card {
    box-shadow: 0px 2px 12px 0px #00000040;
    border-radius: 24px;
}
.battery-img-box {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid var(--third-color);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.battery-img-box img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
.battery-card-top .second-btn {
    width: 100%;
    max-width: 300px;
}

.battery-card-center {
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
}
.battery-card-bottom .main-btn {
    width: 100%;
    max-width: 300px;
}
/* -------------- */
/* store page  */

.search-form {
    border: 1px solid #dadada;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}
.search-form span,
.search-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 16px;
    border: none;
    background-color: transparent;
}
.search-form input {
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: none;
    outline: none;
    font-size: 27px;
}
.search-form input::placeholder {
    color: #dadada;
}
.products-group-header .main-btn {
    position: absolute;
    top: 5px;
    min-width: 200px;
}

@media (max-width: 992px) {
    .products-group-header .main-btn {
        position: relative;
        height: 45px;
        min-width: 150px;
    }
}

.product-card {
    border: 1px solid #dadada;
    border-radius: 24px;
    width: 100%;
}
.product-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    padding: 5px;
    border-radius: 8px;
    border: 1px solid var(--third-color);
}
.product-card-img img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

.products-slider .owl-stage {
    display: flex;
}
.products-slider .owl-item {
    display: flex;
}

.product-images-slider .owl-dots,
.products-slider .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
}
.product-images-slider .owl-dots .owl-dot,
.products-slider .owl-dots .owl-dot {
    background: #73b41a1a;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 8px;
}
.product-images-slider .owl-dots .owl-dot.active,
.products-slider .owl-dots .owl-dot.active {
    background-color: var(--third-color);
}
/* -------------- */
/* product page  */
.product-images-slider .owl-nav button {
    position: absolute;
    top: 42%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-images-slider .owl-nav button.owl-prev {
    right: 16px;
}

.product-images-slider .owl-nav button.owl-next {
    left: 16px;
}

@media (max-width: 768px) {
    .product-images-slider .owl-nav button.owl-prev {
        right: 0px;
    }

    .product-images-slider .owl-nav button.owl-next {
        left: 0px;
    }
}

.product-images-slider .product-img-slide {
    border-radius: 24px;
    max-height: 350px;
}

.product-images-slider .product-img-slide img {
    display: inline;
    width: 100%;
    height: 100%;
    max-height: 320px;
    min-height: 320px;
    border-radius: 24px;
}

.product-details-con .main-btn {
    width: 100%;
    max-width: 300px;
}

.product-desc {
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
}

.prod-features {
    border-bottom: 1px solid #dadada;
}

.input-group-custom .select2-selection {
    height: 100%;
    border: none;
    margin: 0 2px;
    font-size: 24px;
    font-weight: 400;
    line-height: 24.4px;
    text-align: right;
}

.input-group-custom
    .select2-container[dir="rtl"]
    .select2-selection--single
    .select2-selection__rendered {
    display: flex;
    align-items: center;
    height: 100%;
}

.input-group-custom
    .select2-container--default[dir="rtl"]
    .select2-selection--single
    .select2-selection__arrow {
    top: 12px;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow
    b {
    border-color: var(--main-color) transparent transparent transparent;
}

.select2-container--default
    .select2-search--inline
    .select2-search__field::placeholder {
    color: #7777777d;
}

.select2-results__option--selectable {
    font-size: 24px;
    font-weight: 400;
    line-height: 26px;
    color: #00000099;
}

.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: transparent !important;
    color: var(--main-color);
}

.select2-container--default .select2-results__option--selected {
    color: var(--main-color);
}

.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #dadada;
}

.search-table .main-header {
}

.search-table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border: 1px solid #dee2e6;
}

.search-table .main-header th,
.search-table .main-row td {
    padding: 16px;
    text-align: center;
    vertical-align: middle;
    font-size: 24px;
    border: 1px solid #dee2e6;
}
.search-table .main-header th {
    background-color: var(--main-color);
    color: #fff;
}
.search-table .main-row td {
    background-color: #fff;
    color: var(--second-color);
    font-weight: bold;
}
.search-table tbody {
    border-top: 2px solid #dee2e6;
}
.hidden-row {
    display: none;
}
.toggle-row {
    cursor: pointer;
}
.details-table-con {
    background-color: #1d532f1a !important;
}
.details-table-con td,
.details-table-con th {
    color: var(--second-color);
    font-weight: bold;
    font-size: 24px;
    padding: 12px;
    text-align: center;
    vertical-align: middle;
}
.details-table-con table {
    border: 1px solid #00000099;
}
.details-table-con th {
    background: #6666661a;
}
.details-table-con .main-btn {
    height: 45px;
}

/* ------------ */
/* Basket page  */

.cart-product {
    border: 1px solid #dadada;
    border-radius: 24px;
}

.cart-product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--third-color);
    padding: 5px;
    width: 150px;
    height: 150px;
}
.cart-product-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.product-total {
    background: #1d532f1a;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
}

/* ------------- */
/* pay page  */

.close-btn {
    background-color: transparent;
    border: none;
}

.locationModal .locationModal-logo img {
    height: 130px;
}

.location-select-con {
    max-height: 340px;
}
.location-selected {
    border: 1px solid #dadada;
    border-radius: 24px;
}
.pay-user-info {
    border-top: 1px solid #dadada;
}
.pay-cart-totat {
    border-top: 1px solid #dadada;
    border-bottom: 1px solid #dadada;
}

.pay-way-select .form-check {
    border: 1px solid #dadada;
    border-radius: 8px;
    height: 60px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    position: relative;
}

.pay-way-select .form-check-input[type="radio"] {
    width: 25px;
    height: 25px;
    position: absolute;
    left: 16px;
}

.pay-way-select .form-check label {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--second-color);
    padding: 20px 16px;
    cursor: pointer;
}
.pay-way-select .form-check-input:checked {
    background-color: var(--third-color);
    border-color: var(--third-color);
}
/* ------------ */
/* requests page */

.order-status-select .nav-link {
    height: 50px;
    border-radius: 0;
    border-top-left-radius: 24px;
    border-bottom-right-radius: 24px;
    min-width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--main-color);
    margin: 8px;
    color: var(--main-color);
    font-weight: bold;
    width: 200px;
}
.order-status-select .nav-link.active {
    background-color: var(--main-color);
    color: #fff;
}

.order-card {
    border: 1px solid #dadada;
    border-radius: 24px;
}

.order-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--third-color);
    width: 150px;
    height: 150px;
}
.order-card-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}
/* ---------- */
/* policy page  */
.policy-box {
    border: 1px solid #dadada;
    border-radius: 24px;
    font-size: 34px;
    font-weight: 400;
    line-height: 51.6px;
    color: var(--second-color);
}

/* ------------ */
/* contact page  */

.contact-form {
    box-shadow: 0px 2px 12px 0px #00000040;
    border-radius: 24px;
}

.contact-form textarea {
    resize: none;
    height: 300px;
    font-size: 24px;
    box-shadow: none;
    outline: none;
}
.contact-form textarea::placeholder {
    color: #dadada;
}
/* -------------------- */
/* profile edit page  */

.profile-img-con .cover-img-con {
    height: 350px;
    width: 100%;
    border-radius: 24px;
    position: relative;
    border: 1px solid var(--main-color);
    border-radius: 24px;
}

.profile-img-con .cover-img-con .edit-cover {
    position: absolute;
    right: -20px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--third-color);
    background-color: #fff;
}
.profile-img-con .cover-img-con img {
    width: 100%;
    height: 100%;
    border-radius: 24px;
}

.profile-img-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    position: relative;
    border: 1px solid var(--third-color);
    padding: 5px;
    transform: translateY(-50%);
    background-color: #fff;
}
.profile-img-edit img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.profile-img-edit .edit-cover {
    position: absolute;
    right: -2px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--third-color);
    background-color: #fff;
}

/*Mina*/
.user-profile-icon {
    color: #73b41aff;
}

.toast {
    font-size: 25px !important;
}

.search-table tbody td {
    font-size: 24px;
}

.search-table tbody td a {
    font-size: 24px;
    font-weight: bold;
}

.toggle-row {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
}

#search-table th,
#search-table td {
    white-space: nowrap;
}

.pagination-container {
    width: 100%;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    margin: 0 !important;
}

.pagination .page-link {
    color: #1d532f;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #1d532f;
    border-color: #1d532f;
}

.pagination .active .page-link {
    background-color: #1d532f;
    border-color: #1d532f;
    color: white;
    font-weight: bold;
}

.pagination .disabled .page-link {
    color: #ccc;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.delete-icon {
    font-size: 23px;
}

.if-no-cart {
    display: flex;
    justify-content: center;
}

.add-to-cart-btn {
    column-gap: 10px;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%;
}

.crosshair-icon,
.location-icon {
    color: #73b41a !important;
    font-size: 22px;
}

.delete-from-cart:hover {
    cursor: pointer;
}

.location-container {
    font-size: 30px !important;
}

.location-con {
    font-size: 30px !important;
    border: 1px solid #0000002e !important;
    border-radius: 26px !important;
}

#username-error,
#user-phone-error,
#pay-way-error,
#location-error {
    font-size: 18px;
}

#pay-way-error {
    margin-top: -20px;
}

.iti__tel-input.form-control.is-invalid,
.was-validated .iti__tel-input.form-control:invalid {
    background-image: unset !important;
}
.fave_count,
.cart_count {
    background-color: var(--third-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 5px;
}

.whatsapp-btn {
    margin-left: 20px;
}

.truncate-content {
    max-height: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Adjust based on your font size and line height */
    -webkit-box-orient: vertical;
}

.track-box {
    box-shadow: 0px 0px 15px 5px #0000000d;
    border-radius: 24px;
}
.order-details-box p {
    color: #7a7c7f;
}
.delevery-status {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: #044be5;
    background-color: #044be51c;
}
.status-pending {
    color: #ffc107;
    background-color: #ffc1071c;
}

.status-getting-ready {
    color: #0dcaf0;
    background-color: #0dcaf01c;
}

.status-waiting {
    color: #0d6efd;
    background-color: #0d6efd1c;
}

.status-receiving,
.status-out {
    color: #ffc107;
    background-color: #ffc1071c;
}

.status-delivered {
    color: #13d26c;
    background-color: #13d26c1c;
}

.status-canceled {
    color: #dc3545;
    background-color: #dc35451c;
}

.status-returned {
    color: #dc3545;
    background-color: #dc35451c;
}

.status-received {
    color: #20c997;
    background-color: #20c9971c;
}

.status-warehouse {
    color: #13d26c;
    background-color: #13d26c1c;
}

.pay-status {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    color: #13d26c;
    background-color: #13d26c1c;
}

.payment-pending
{
    color: #ffc107;
    background-color: #ffc1071c;
}

.payment-cod
{
    color: #0d6efd;
    background-color: #0d6efd1c;
}

.payment-paid
{
    color: #13d26c;
    background-color: #13d26c1c;
}

.payment-deferred
{
    color: #dc3545;
    background-color: #dc35451c;
}


.product-box img {
    height: 99px;
    width: 114px;
    border: 1px solid #21252933;
    border-radius: 12px;
}
.product-box h4 {
    color: #212529;
}
