:root {
  --main-color: #ff5600;
  --primary-color: #fe5e32;
  --hover-color: #fe5e325c;
  --border-color: #fe5e3244;
  --bg-color: #ff560011;
  --bg-color-alpha: #ff560005;
  --bg-hover: #cad4ea;
  --text-color: #3b5998;
  --shadow-color: #ff7935;
}
a:hover,
a:focus {
  text-decoration: none;
  outline: hidden;
  border: hidden;
}
.btn-main,
.btn-main-sm,
.btn-main-track {
  width: 100%;
  background-color: var(--main-color);
  color: #fff;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
}
.btn-main-sm {
  width: fit-content;
  padding: 6px 12px;
}
.btn-main-track {
  width: fit-content;
  padding: 6px 12px;
  font-weight: 600;
}
nav {
  position: fixed;
  bottom: -1px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  left: 0;
  right: 0;
  z-index: 99;
}

.nav-box {
  display: flex;
  background-color: #fff;
  box-shadow: 0px 0px 16px 0px #4444;
  border-radius: 8px;
}

.nav-container {
  display: flex;
  width: 100%;
  list-style: none;
  justify-content: space-around;
  margin: 0px;
  padding: 0px;
}

.nav__item {
  display: flex;
  position: relative;
  padding: 2px;
}

.nav__item.active .nav__item-icon {
  margin-top: -10px;
  box-shadow: 0px 0px 16px 0px #4444;
  height: 45px;
  width: 45px;
}

.nav__item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #3b5998;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}
.nav__item-link.active {
  color: var(--main-color);
}

.nav__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background-color: #fff;
  border-radius: 50%;
  height: 30px;
  width: 55px;
  transition: margin-top 250ms ease-in-out, box-shadow 250ms ease-in-out;
}

.nav__item-text {
  font-size: 12px;
}

nav a:hover,
nav a:focus {
  color: #ff6d00;
  text-decoration: none;
}

.even-item {
  margin-right: -9px;
}
.odd-item {
  margin-left: -9px;
}
.main-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 5px;
  padding-right: 10px;
  margin-bottom: 15px;
}
.main-heading .view-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-color);
  font-size: 16px;
}
.main-heading .redirect-icon {
  width: 20px;
  height: 20px;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 12px;
  color: var(--main-color);
  cursor: pointer;
}
.main-heading .redirect-icon:hover {
  text-decoration: none;
  background: #ffd9c5;
}
.category-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--bg-color-alpha);
  border: solid 1px var(--bg-color);
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  padding-top: 10px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  height: 150px;
}
.category-card-product {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    /* height: 200px; */
    border: solid 1px #ff560322;
}
.category-card-product img{
  min-height: 80px;
}

.parent-categories .active .img-content{
  background: #f9ce9b55 !important;
}

.parent-categories .active:before {
    content: "";
    width: 50px;
    height: 5px;
    background: var(--primary-color);
    position: absolute;
    top: -9px;
    border-radius: 10px;
}

.category-card .category__bottom {
  width: 100%;
  height: 40px;
  padding-top: 3px;
  position: absolute;
  bottom: 0px;
  text-align: center;
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: auto;
}
.list-element:hover {
  background-color: #f9b36922 !important;
}
.main-product-view {
  display: flex;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
}
.main-product-view::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.main-product-view::-webkit-scrollbar-track {
  background: var(--bg-color-alpha);
}
.main-product-view::-webkit-scrollbar-thumb {
  background: var(--bg-color);
  border-radius: 6px;
}
.main-product-view::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.offers-label {
  color: var(--text-color);
  background-color: transparent;
  border: 0px;
  margin-bottom: 0px;
  white-space: nowrap;
}
.offers-img[src*="pics/no-product.png"] {
  margin-bottom: -15px;
  height: auto !important;
  max-height: 115px !important;
}

.bk-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
}
.dot-bricks {
  position: relative;
  top: 8px;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--shadow-color);
  color: var(--shadow-color);
  box-shadow: 9991px -16px 0 0 var(--shadow-color),
    9991px 0 0 0 var(--shadow-color), 10007px 0 0 0 var(--shadow-color);
  animation: dot-bricks 2s infinite ease;
}

@keyframes dot-bricks {
  0% {
    box-shadow: 9991px -16px 0 0 var(--shadow-color),
      9991px 0 0 0 var(--shadow-color), 10007px 0 0 0 var(--shadow-color);
  }
  8.333% {
    box-shadow: 10007px -16px 0 0 var(--shadow-color),
      9991px 0 0 0 var(--shadow-color), 10007px 0 0 0 var(--shadow-color);
  }
  16.667% {
    box-shadow: 10007px -16px 0 0 var(--shadow-color),
      9991px -16px 0 0 var(--shadow-color), 10007px 0 0 0 var(--shadow-color);
  }
  25% {
    box-shadow: 10007px -16px 0 0 var(--shadow-color),
      9991px -16px 0 0 var(--shadow-color), 9991px 0 0 0 var(--shadow-color);
  }
  33.333% {
    box-shadow: 10007px 0 0 0 var(--shadow-color),
      9991px -16px 0 0 var(--shadow-color), 9991px 0 0 0 var(--shadow-color);
  }
  41.667% {
    box-shadow: 10007px 0 0 0 var(--shadow-color),
      10007px -16px 0 0 var(--shadow-color), 9991px 0 0 0 var(--shadow-color);
  }
  50% {
    box-shadow: 10007px 0 0 0 var(--shadow-color),
      10007px -16px 0 0 var(--shadow-color),
      9991px -16px 0 0 var(--shadow-color);
  }
  58.333% {
    box-shadow: 9991px 0 0 0 var(--shadow-color),
      10007px -16px 0 0 var(--shadow-color),
      9991px -16px 0 0 var(--shadow-color);
  }
  66.666% {
    box-shadow: 9991px 0 0 0 var(--shadow-color),
      10007px 0 0 0 var(--shadow-color), 9991px -16px 0 0 var(--shadow-color);
  }
  75% {
    box-shadow: 9991px 0 0 0 var(--shadow-color),
      10007px 0 0 0 var(--shadow-color), 10007px -16px 0 0 var(--shadow-color);
  }
  83.333% {
    box-shadow: 9991px -16px 0 0 var(--shadow-color),
      10007px 0 0 0 var(--shadow-color), 10007px -16px 0 0 var(--shadow-color);
  }
  91.667% {
    box-shadow: 9991px -16px 0 0 var(--shadow-color),
      9991px 0 0 0 var(--shadow-color), 10007px -16px 0 0 var(--shadow-color);
  }
  100% {
    box-shadow: 9991px -16px 0 0 var(--shadow-color),
      9991px 0 0 0 var(--shadow-color), 10007px 0 0 0 var(--shadow-color);
  }
}

.tab-container {
  display: flex;
  background: #f3f3f3;
  border-radius: 3px;
  align-items: center;
  padding: 4px;
}
.tab-container .tab-content {
  width: 50%;
  padding: 4px;
  border-radius: 3px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  color: #999;
  transition: 0.3s ease-in-out;
}
.tab-container .tab-content:hover {
  color: #333;
}
.tab-container .tab-content.active {
  background: #fff;
  color: #000;
}

#CartViewModel .tab-content.active {
  background-color: var(--primary-color);
  color: #fff;
}

.flex-center-10 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-b-btm-15 {
  padding: 15px;
  border-bottom: 1px solid #ff560042;
}
.ellipsis-150 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-block;
  width: 150px;
}

.apply-arabic-direction {
  direction: rtl;
}
.apply-arabic-direction .arabic-revet {
  direction: ltr !important;
}
.apply-arabic-direction .arabic-rotate {
  transform: rotate(180deg);
}
.menu-direction {
  direction: ltr;
}

.btn-switch,
.btn-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.btn-switch {
  top: 20px;
  right: 20px;
  left: auto;
  width: 58px;
  height: 28px;
  overflow: hidden;
}

.btn-switch.btn-switch-pill {
  border-radius: 100px;
}

.btn-switch .checkbox {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knob {
  position: relative;
  z-index: 2;
}

.btn-bg {
  width: 100%;
  background-color: #ebf7fc;
  transition: 0.3s ease all;
  z-index: 1;
  border-radius: 100px;
}

#switch-lang .knob {
  position: relative;
}
#switch-lang .knob .toggle,
#switch-lang .knob .label-en,
#switch-lang .knob .label-ar {
  position: absolute;
  top: 2px;
  width: 25px;
  height: 23px;
  font-size: 10px;
  font-weight: bold;
  padding: 5px;
  border-radius: 50%;
  transition: 0.4s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#switch-lang .knob .label-en {
  left: 4px;
}

#switch-lang .knob .label-ar {
  right: -24px;
}

#switch-lang .knob .label-en,
#switch-lang .knob .label-ar {
  color: #fff;
  z-index: 2;
}

#switch-lang .knob .toggle {
  left: 4px;
  background-color: #03a9f4;
  z-index: 1;
}

#switch-lang .checkbox:checked + .knob .label-en {
  left: -24px;
}

#switch-lang .checkbox:checked + .knob .label-ar {
  right: 4px;
}

#switch-lang .checkbox:checked + .knob span {
  right: 4px;
  background-color: #f44336;
}

#switch-lang .checkbox:checked ~ .btn-bg {
  background-color: #fcebeb;
}
.personal-icon::before {
    content: "";
    width: calc(100% - 15px);
    height: calc(100% - 15px);
    position: absolute;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.account-redirect {
  padding: 13px 15px; 
  border: 1px solid #D6D6D6;
  border-radius: 8px;
  box-shadow: 0px 4px 10px 2px #6965651A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 15px 0px;
  color: #000;
  font-weight: 600;
}
.account-redirect:hover {
  border: 1px solid #D6D6D6;
  color: #000;
}
.accordion {
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    margin: 10px 0;
    padding: 0px;
    background: none;
}

.accordion-header {
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.accordion-header i {
  transition: .3s ease-in-out;
}
.accordion-header.active i {
  transform: rotate(180deg);
}
.activeAccordion, .accordion:hover {
  background-color: var(--bg-color);
  border-radius: 8px;
}
textarea:focus,
textarea:focus-visible {
  border: 2px solid var(--primary-color) !important;
  outline: none;
}
textarea::placeholder {
  font-size: 12px;
}
.accordion-content {
    display: none;
    padding: 5px;
    border-top: 1px solid #d6d6d6;
}

.delivery-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  position: relative;
  border: 1px solid #d6d6d6;
}

.delivery-card h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.timeline {
  margin-top: 15px;
  padding-left: 20px;
}

.step {
  position: relative;
  padding: 10px 0;
  margin-bottom: 10px;
}

.step::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 11px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #d1d5db;
  border: 2px solid white;
}

.step::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 34px;
  top: 27px;
  left: -15px;
}
.step.active::before {
  background-color: var(--primary-color);
  box-shadow: 0 0 0 3px #fef3c7;
}

.step.completed::before {
  background-color: var(--primary-color);
}
.step.active::after,
.step.completed::after {
  background: var(--primary-color);
}

.step h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.step p {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.time {
  float: right;
  color: #6b7280;
  font-size: 13px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary,
.btn-default:hover, .btn-default:focus, .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default {
  outline: none;
}

#serviceModal ol li {
  font-size: 13px;
  color: #2E59D8;
}
.btn-primary {
  background-color: var(--primary-color);
  border: none;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary {
  border: none;
  background-color: var(--main-color);
}

.limited-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 135px;
}
.product-choice label,
.product-choice a {
  cursor: pointer;
}
.product-choice a.active label{
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.product-choice label{
  font-size: 16px;
  margin: 0px;
  color: var(--hover-color);
  border: 1px solid var(--hover-color);
  padding: 0px 12px;
  border-radius: 10px;
}
.favorite-container {
  position: absolute;
  bottom: 36px;
  right: 12px;
  width: 33px;
  height: 33px;
  background: #FFFAF4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 99;
}
.favorite-container .bk-favorite {
  width: 15px;
  height: 15px;
}
.favorite-product {
  position: absolute;
  top: 6px;
  right: 8px;
  cursor: pointer;
  background: #FFFAF4;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.favorite-product i {
  color: var(--primary-color);
  font-size: 16px;
}
.balance-wallet {
  margin: 0;
  font-size: 18px;
  margin-top: 8px;
  cursor: pointer;
  text-decoration: underline;
}
.fees-row {
  display: flex;
  align-items: center;
  margin: 4px 0;
}

.fees-row {
  display: flex;
  align-items: center;
  margin: 4px 0;
}

.fees-amount {
  flex: 0 0 auto;
  margin-right: 6px;
}

.fees-dash {
  flex: 1; 
  border-bottom: 1px dashed #888;
  margin: 0 10px 0 6px;
}

.fees-name {
  flex: 0 0 auto;
}
.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 17px;
  font-weight: bold;
  background: #f9f9f9;
  border-radius: 6px;
}

.total-label {
  color: #222;
}

.total-amount {
  color: var(--main-color); /* highlight in blue */
}
@media(min-width: 768px) {
  body {
    display: grid; 
    place-items: center;
  }
  body > #content {
    width: 400px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 10px 25px rgba(0, 0, 0, .2);
    position: relative;
    overflow: hidden;
  }
}
@media(min-width: 992px) {
  body {
    display: grid; 
    place-items: center;
  }
  body > #content {
    width: 565px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 10px 25px rgba(0, 0, 0, .2);
    position: relative;
    overflow: hidden;
  }
}

img[src="src/ajaxloader/ajax-loader.gif"] {
    width: auto !important;
}