/* Colors */
.bg-main {
  background-color: var(--primary-color) !important;
}

.bg-gray-1 {
  background-color: #f8fafc !important;
}

.bg-gray-2 {
  background-color: #f8fafc !important;
}

.bg-gray-3 {
  background-color: #f5f5f7 !important;
}

.text-main {
  color: var(--primary-color) !important;
}

.text-gray-1 {
  color: #64748b;
}
.text-gray-2 {
  color: #475569;
}

.text-red {
  color: #ff483b;
}

.text-dark-1 {
  color: #1e293b !important;
}

.border {
  border-color: rgba(241, 245, 249, 1) !important;
}

.sorting-product .active path,
.sorting-product .active rect {
  fill: var(--primary-color);
  stroke: var(--primary-color);
}

.modal {
  z-index: 999999999999;
}

.pagination .page-link {
  margin: 0 5px;
  border-radius: 12px !important;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  outline: none;
  box-shadow: none;
}

.pagination .page-link.active,
.pagination .page-link:hover {
  background: none;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.pagination .page-link .prev,
.pagination .page-link .next {
  background: #f8fafc !important;
  border: 1px solid transparent !important;
}

/* Size */
.fs-18px {
  font-size: 18px;
}
.fs-14px {
  font-size: 14px;
}
.fs-13px {
  font-size: 13px;
}
.fs-12px {
  font-size: 12px;
}

.hide_on_web,
.side-mobile,
.close-search-mobile,
.search-mobile,
.btn-open-menu {
  display: none;
}

.img-mobile,
.hide_img_on_mobile,
.hide_on_web {
  display: none !important;
}

.profile-mobile {
  display: none;
}

.btn-reset {
  border: 0;
  outline: none;
  background: none;
}

.btn-transparent-red,
.btn-transparent-radius,
.btn-transparent {
  color: var(--primary-color);
  text-decoration: none;
  background-color: #f7f5fe;
  padding: 9px 13px;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.btn-badge {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 11px !important;
  padding-top: 1px;
  margin: 0 3px;
}

@media (max-width: 767px) {
  .btn-badge {
    border-radius: 3px;
    font-size: 9px !important;
  }
}

.btn-badge.free {
  color: var(--primary-color) !important;
}

.btn-badge.not-tax {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
}

.btn-badge.remain-days {
  background: #fffdf7;
  border: 1px solid #ffe493;
}

.btn-badge.free {
  position: relative;
  background: none;
  overflow: hidden;
}

.product-1 .btn-badge.free {
  padding: 1px 6px;
}

.btn-badge.free::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  background: #64748b;
  opacity: 0.2;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
}

/* .profile-order svg path {
    stroke: #475569 !important
} */

/* Profile */
.product-item {
  background-color: #fff;
}

/* .profile-order svg path,
.profile-carts svg path,
.profile-carts svg rect {
    stroke: var(--primary-color);    
} */

.btn-order-status .active {
  color: var(--primary-color);
}

.current-orders-content,
.prev-orders-content,
.box-orders-content {
  display: none;
}

.box-show {
  display: block;
}

.cart-products-with-totals .border-bottom:last-child {
  border-bottom: 0 !important;
}

.all-with-bundle {
  position: relative;
}

.all-with-bundle::after {
  content: "";
  background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cg clip-path="url(%23clip0_229_124763)"%3E%3Cpath d="M10 6.66666V13.3333" stroke="%23334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3Cpath d="M6.66675 10H13.3334" stroke="%23334155" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/g%3E%3Crect x="0.75" y="0.75" width="18.5" height="18.5" rx="7.25" stroke="%23475569" stroke-width="1.5"/%3E%3Cdefs%3E%3CclipPath id="clip0_229_124763"%3E%3Crect width="10" height="10" fill="white" transform="translate(5 5)"/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A');
  width: 20px;
  height: 20px;
  position: absolute;
  top: -25px;
  right: 80px;
  background-color: white;
  padding: 0 20px;
  background-repeat: no-repeat;
  background-position: center;
}

.btn-order-status button:hover::after,
.btn-order-status .active:after {
  content: "";
  background: var(--primary-color);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0.1;
}

.btn-order-status button:hover .number,
.btn-order-status .active .number {
  background-color: var(--primary-color) !important;
}

.btn-order-status button:hover .number,
.btn-order-status .active .number {
  color: #fff;
}

.order-by-status .hidden {
  display: none;
}

.btn-order-status span {
  position: relative;
  z-index: 1;
}

.current-orders-content,
.prev-orders-content,
.box-orders-content {
  display: none;
}

.box-show {
  display: block;
}

.btn-order-status button:hover::after,
.btn-order-status .active:after {
  content: "";
  background: var(--primary-color);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  opacity: 0.1;
  border-radius: 8px;
}

.profile-title .icon {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.icon-w,
.profile-title .box .icon {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.profile-order .icon,
.profile-carts .icon {
  background: var(--primary-color);
}

.profile-title button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px;
  transition: var(--main-transition);
  font-size: 14px;
  line-height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  width: 195px;
  height: 52px;
}

.profile-title button:hover {
  background-color: #555;
}

.iti {
  display: flex;
  overflow: hidden;
}

.iti:after {
  content: "";
  background: #f1f5f9;
  width: 38px;
  position: absolute;
  left: 92px;
  top: 0;
  height: 100%;
  border: 1px solid #cbd5e1;
  border-right: 0;
  border-radius: 4px 0 0 4px;
}

.iti__flag-container {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  width: 23%;
  text-align: end;
  direction: ltr;
}

#phoneNumber {
  display: block;
  background: #e9ecef;
  border: 1px solid #eeeeeeee;
  width: 100%;
  direction: ltr;
  text-align: left !important;
}

[dir="rtl"] #phoneNumber {
  direction: rtl;
  text-align: right !important;
}

.iti__arrow {
  border: 0;
  width: auto;
  height: auto;
  font-weight: bold;
  font-size: 14px;
}

.iti__flag {
  border-radius: 50%;
}

.profile-carts {
  border-color: #e2e8f0 !important;
}

.pagination-container button,
.dataTables_wrapper .dataTables_paginate .paginate_button,
.pagination-button-shipping {
  border: 1px solid #e2e8f0 !important;
  border-radius: 13px !important;
  line-height: 31px !important;
  margin: 0 4px !important;
  background: none !important;
  color: #64748b !important;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  /* .profile-mobile{
        display: block;
    } */

  /* Profile */

  /* .account-profile .breadcrumb-section,
    .profile-lg{display: none;}

    .profile-mobile{
        display: block;
    } */

  .profile-links .link .icon,
  .contact-us-profile .icon,
  .user-welcome .icon {
    background: #f1f5f9;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 50%;
    line-height: 50px;
  }

  .profile-links .link a {
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #000;
  }

  .profile-links .link {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 13px;
    margin-bottom: 13px;
  }

  .profile-links.mobile-lang button,
  .contact-us-profile .icon {
    position: relative;
  }

  .contact-us-profile .box-phone svg path {
    stroke: var(--primary-color);
  }

  .profile-links.mobile-lang button {
    padding: 8px 15px;
  }

  .profile-links.mobile-lang .active span {
    color: var(--primary-color);
    position: relative;
    z-index: 2;
  }

  .reviews-mobile .btn-transparent-radius::before,
  .profile-links.mobile-lang .active:after,
  .contact-us-profile .icon::after {
    content: "";
    background: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.1;
  }

  .profile-links.mobile-lang .active:after {
    border-radius: 10px;
  }

  .contact-us-profile .icon path {
    fill: var(--primary-color);
  }

  .profile-links .link .icon {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  .profile-links .link .icon-arrow {
    position: absolute;
    left: 0;
  }

  #editMyProfile {
    z-index: 999999999 !important;
  }

  .my-order-mobile .btn-readmore {
    font-size: 12px !important;
    padding: 4px 8px;
  }

  .my-order-mobile .rounded-3.bg-white {
    border: 1px solid rgb(226, 232, 240);
    padding: 5px !important;
  }

  .my-order-mobile .rounded-3.bg-white h5 {
    font-size: 15px;
  }

  .contact-us-profile .icon {
    margin: auto !important;
  }

  .slick-slide {
    margin: 0 3px !important;
  }

  .product-item {
    padding: 8px !important;
  }
}

.cart-products-items {
  max-height: 662px;
  overflow: auto;
}

.orders-items {
  max-height: 485px;
  overflow: auto;
}

.profile-order {
  margin: 38px 0;
}

@media (max-width: 767px) {
  .profile-order {
    margin: 24px 0;
  }
}

.profile-order-header {
  background-color: #f7f7f7;
  padding: 20px;
}

.profile-title-box {
  border: 1px solid #e0e0e0;
  padding: 16px 32px;
  border-radius: 0px;
  margin-bottom: 38px;
}
@media (max-width: 1024px) {
  .profile-title-box {
    margin-bottom: 24px;
  }
}
.profile-headding {
  font-size: 24px;
  line-height: 36px;
  /* font-weight: 700; */
  color: #333;
}

.profile-text {
  font-size: 16px;
  line-height: 24px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.profile-text {
  font-size: 16px;
  line-height: 24px;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.box-profile {
  padding: 16px;
  border: 1px solid #e0e0e0;
  transition: var(--main-transition);
}

.box-profile:hover {
  border-color: var(--primary-color);
}

.readmore-orders {
  font-size: 12px;
  line-height: 16px;
  color: var(--primary-color);
  padding: 8px;
  transition: var(--main-transition);
}

.readmore-orders:hover {
  color: #777;
}

#editMyProfile {
  width: 600px;
}

#editMyProfile .offcanvas-header {
  padding: 32px;
  background-color: #f7f7f7;
  border-bottom: 1px solid #e2e8f0;
}

#offcanvasTopLabel {
  font-size: 24px;
  line-height: 36px;
  font-weight: 700;
  color: var(--primary-color);
}

@media (max-width: 767px) {
  #offcanvasTopLabel {
    font-size: 18px;
    line-height: 36px;
  }
}

.label-edit-profile {
  font-size: 14px;
  line-height: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 8px 8px;
}

#editMyProfile .form-control {
  border: 1px solid #eeeeeeee;
  border-radius: 4px;
  padding: 16px;
  font-size: 12px;
  line-height: 16px;
}

.edit-profile-button,
.remove-profile-button {
  font-size: 16px;
  line-height: 20px;
  height: 48px;
  font-weight: 400;
  transition: var(--main-transition);
  border-radius: 4px;
  padding: 13px;
  text-align: center;
  width: 100%;
  display: block;
}

.edit-profile-button {
  color: #fff;
  background-color: var(--primary-color);
}

.edit-profile-button:hover {
  background-color: #555;
}

.remove-profile-button {
  border: 2px solid #ff483b;
  color: #ff483b;
}

.remove-profile-button:hover {
  opacity: 0.7;
}

.add-adress {
  font-size: 14px;
  line-height: 16px;
  transition: var(--main-transition);
  border-radius: 4px;
  padding: 12px;
  border: 1px solid black;
  text-align: center;
  background-color: var(--primary-color);
  color: white;
}

.address-headding {
  font-size: 16px;
  line-height: 24px;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.address-text {
  font-size: 14px;
  line-height: 24px;
  color: #64748b;
}

.address-container {
  gap: 24px 0;
}

@media (max-width: 767px) {
  .address-headding {
    font-size: 14px;
    line-height: 21px;
  }

  .address-text {
    font-size: 12px;
    line-height: 19px;
  }
  .address-container {
    gap: 16px 0;
  }
}
@media (max-width: 1024px) {
  .address-container {
    gap: 18px 0;
  }
}

.normal-text {
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: var(--primary-color, "#808080");
}

.edit-icon,
.delete-icon {
  background: white;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

[id^="address-div-"] {
  max-width: 431px;
}
@media (max-width: 1024px) {
  [id^="address-div-"] {
    max-width: 100%;
  }
}

.delete-address-modal {
  top: -45px;
  left: 50%;
  background: white;
  padding: 20px;
  transform: translateX(-50%);
  border-radius: 50%;
}

img.shipping-method-img {
  display: block !important;
  width: 108px !important;
  height: auto !important;
  aspect-ratio: 1/1 !important;
}

@media (max-width: 767px) {
  img.shipping-method-img {
    width: 50px !important;
  }
}

#location_map {
  width: 100%;
  aspect-ratio: 1.55;
}
@media (max-width: 767px) {
  #location_map {
    aspect-ratio: 0.76;
  }
}

.shipping-header {
  background-color: var(--primary-color);
  margin-bottom: 24px;
  padding: 24px 0;
}
@media (max-width: 767px) {
  .shipping-header {
    padding: 18px 0 12px;
  }
}

.shipping-header-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 16px;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.shipping-payments-toggle {
  font-size: 24px;
  line-height: 36px;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 24px;
  padding: 0 36px 18px;
  border-bottom: 2px solid transparent;
  -webkit-transition: var(--main-transition);
  transition: var(--main-transition);
}
@media (max-width: 767px) {
  .shipping-payments-toggle {
    font-size: 16px;
    line-height: 24px;
    padding: 0 20px 8px;
    gap: 12px;
  }
  .shipping-payments-toggle svg {
    width: 24px;
    height: 24px;
  }
}
.shipping-payments-toggle:hover,
.shipping-payments-toggle.active {
  border-color: #fff;
}

.shipping-box {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: calc((100% - 20px) / 2) 20px calc((100% - 20px) / 2);
  grid-template-columns: repeat(2, calc((100% - 20px) / 2));
  gap: 20px;
}

.shipping-box .ship-box {
  background-color: white;
  border-radius: 16px;
}

@media (max-width: 767px) {
  .shipping-box {
    -ms-grid-columns: 100%;
    grid-template-columns: 100%;
    gap: 28px;
  }
}

.payment-image {
  height: 64px;
}
@media (max-width: 767px) {
  .payment-image {
    height: 24px;
  }
}

.shipping-heading {
  margin: 24px 0;
}

.rtl .account-profile-page *,
.rtl .account-addresses-page *,
.rtl .account-orders-page *,
.rtl .shipping-and-payments-page * {
  font-family: var(--palsam-ar) !important;
}