.dr-title-bar,
.dr-title-bar-om {
  padding: 5px 3px;
}

.dr-title-bar-od {
  display: none;
}

.shop-home-title {
  display: inline-block;
  font-weight: bold;
  color: #646a95;
  margin-top: 0.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  position: relative;
  user-select: none;
}

.shop-home-title.with-line {
  margin-bottom: 1.3rem;
}

.shop-home-title.with-line::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -10px;
  right: 11px;
  height: 5px;
  width: 95%;
  border-radius: 3px;
  background-color: var(--line-color, #5261c8);
}

.shop-home-title.with-line::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 8px;
  height: 5px;
  border-radius: 3px;
  background-color: var(--line-color, #5261c8);
}

.my-swiper-slider.swiper-container {
  position: relative;
  overflow-x: hidden;
  border-radius: 12px;
  --swiper-navigation-size: 40px;
}

.container-f .allow-no-round.my-swiper-slider.swiper-container {
  border-radius: 0;
}

.my-swiper-slider .swiper-pagination {
  --swiper-pagination-bottom: 5px !important;
}

.my-swiper-slider .swiper-pagination-bullet-active {
  background: #5261c8 !important;
}

@media (max-width: 1199.98px) {
  .swiper-container {
    border-radius: 0;
  }

  .my-swiper-slider .swiper-slide {
    max-height: 430px;
  }
}

.my-swiper-slider .swiper-slide {
  user-select: none;
  width: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 12px;
}

.container-f .allow-no-round.my-swiper-slider .swiper-slide {
  border-radius: 0;
}

.my-swiper-slider .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 500px) {
  .my-swiper-slider .swiper-button-prev,
  .my-swiper-slider .swiper-button-next {
    width: 35px !important;
    height: 35px !important;
  }
}

.my-swiper-slider .swiper-button-prev,
.my-swiper-slider .swiper-button-next {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid #aaaaaa !important;
  border-radius: 50% !important;
}

.my-swiper-slider .swiper-button-prev svg,
.my-swiper-slider .swiper-button-next svg {
  width: 12px !important;
  height: 12px !important;
  color: #444;
}

.my-swiper-slider .swiper-button-next,
.my-swiper-slider .swiper-button-prev {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.my-swiper-slider.swiper-container:hover .swiper-button-next,
.my-swiper-slider.swiper-container:hover .swiper-button-prev {
  opacity: 1;
}

/* تنظیمات عمومی برای همه اسلایدرها */
.my-swiper-slider .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0; /* حالت دسکتاپ ارتفاع پویا */
}

.my-swiper-slider .swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: contain; /* دسکتاپ */
  transition: all 0.3s ease;
}

/* حالت موبایل */
@media (max-width: 767.98px) {
  .my-swiper-slider .swiper-slide {
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .my-swiper-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .widget-slider-banners.row {
    --bs-gutter-x: 0 !important;
    gap: 10px;
  }
}

.banner-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.banner-wrapper img {
  user-select: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.container-f .allow-no-round .banner-wrapper img {
  border-radius: 0;
}

.widget-slider-banners {
  align-items: center;
}

@media (min-width: 768px) {
  .banner-container {
    flex-direction: column;
  }
  .widget-slider-banners .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .widget-slider-banners .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .dr-title-bar-om {
    display: none;
  }

  .dr-title-bar-od {
    display: block;
    padding-bottom: 10px;
    padding-right: 3px;
  }

  .shop-home-title {
    font-size: 1.15rem;
    margin-top: 0;
    margin-bottom: 0;
  }

  .shop-home-title.with-line {
    margin-bottom: 0.5rem;
  }

  .shop-home-title.with-line::before,
  .shop-home-title.with-line::after {
    height: 3px;
    bottom: -5px;
  }
}

@media (min-width: 650px) and (max-width: 767.98px) {
  .banner-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .banner-container > .banner-wrapper:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.big-banner-wrapper {
  user-select: none;
  width: 100%;
  height: auto;
}

.big-banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.container-f .allow-no-round .big-banner-wrapper img {
  border-radius: 0;
}

.small-banner-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.small-banner-wrapper {
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-banner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
  font-weight: bold;
  text-align: center;
}

a.small-banner-item {
  text-decoration: none;
}

.product-card a {
  text-decoration: none !important;
}

.product-swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
  color: #000;
}

.product-card {
  user-select: none;
  min-width: 140px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background-color: #fff;
  text-decoration: none;
}

.product-card:hover {
  box-shadow: rgb(54 56 120 / 20%) 0px 0px 10px 0px;
  border-color: #b8beff;
}

.product-card .product-image {
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .product-placeholder {
  width: 140px;
  height: 140px;
  display: inline-block;
  background-color: #eee;
}

.product-card .product-info {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-card .product-title {
  padding: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-align: center;
  margin-bottom: 0;
}

.product-card .product-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #353535;
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: space-around;
}

.product-card .product-price .woocommerce-Price-currencySymbol {
  display: none;
}

.product-card {
  width: var(--card-width);
  height: var(--card-height);
}

.product-card .product-image {
  min-height: var(--image-height);
}

@media (max-width: 767.98px) {
  .product-card {
    width: var(--card-width-mobile);
    min-height: var(--card-height-mobile);
  }

  .product-card .product-image {
    min-height: var(--image-height-mobile);
  }
}

.product-card .short-features {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

.product-card .short-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #444;
  width: 100%;
  font-size: 0.83rem;
  padding: 5px 20px;
}

.product-card .short-feature:nth-child(odd) {
  background-color: rgba(0, 0, 0, 0.03);
}

.product-card .short-feature i {
  color: #1eb4f0;
  padding-right: 5px;
}

.rtl .product-card .short-feature i {
  padding-right: unset;
  padding-left: 5px;
}

.product-card .product-price .sm-old-price {
  font-size: 0.83rem;
  color: #ff2c2c;
  text-decoration: line-through;
}

/**   BreadCrumb  **/

.breadcrumbs__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  -webkit-flex-direction: row;
  flex-direction: row;
  font-size: 0.89rem !important;
}

.breadcrumbs__nav .item {
  position: relative;
}

.breadcrumbs__nav .item a {
  color: #6d6e79;
  text-decoration: none;
}

.breadcrumbs__nav .item:before {
  position: absolute;
}

.breadcrumbs__nav {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.breadcrumbs__nav:after {
  content: "";
  display: block;
  /* min-width: 5vw;
  min-height: 1vw; */
  visibility: hidden;
}

.breadcrumbs__nav::-webkit-scrollbar {
  display: none;
}

.breadcrumbs__nav {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}

.breadcrumbs__nav .item {
  padding-right: 1.3rem;
  -ms-flex-negative: 0;
  -webkit-flex-shrink: 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumbs__nav .item:before {
  color: #6c757d;
  content: var(--bs-breadcrumb-divider, "/");
  position: absolute;
  right: 0.4rem;
}

.breadcrumbs__nav .item:first-child {
  padding-left: 0;
}

.breadcrumbs__nav .item:last-child {
  padding-right: 0;
  opacity: 1;
  color: #6c757d !important;
}

.breadcrumbs__nav .item:last-child:before {
  display: none;
}

.rtl .breadcrumbs__nav .item:before {
  left: -1rem !important;
  right: unset !important;
  transform: rotate(180deg) !important;
}

.rtl .breadcrumbs__nav .item.active {
  padding-right: 1.3rem !important;
}

.rtl .breadcrumbs__nav .item:first-child {
  padding-right: 0 !important;
}

.tag-item {
  background-color: #f2f2f2;
  color: #878e94;
  cursor: pointer;
}

.tag-item a {
  text-decoration: none;
  color: #878e94;
}

.post-desc img {
  max-width: 100% !important;
}

.hrseprator {
  border: 0;
  border-bottom: 1px solid #ccc;
  margin: 0;
}

.btn-comment {
  width: 100%;
  background: none;
  color: #333;
  border: 1px solid #ccc;
  box-shadow: none;
  text-shadow: none;
}

.btn-comment:hover {
  background: #eee;
  box-shadow: none;
}

#add_comment .btn-primary:hover,
.btn-primary:active {
  background-color: #0d6efd;
  border-color: #0d6efd;
}

.card.accordion-item .card-header {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.card-header .accordion-button {
  color: #000 !important;
  background-color: unset !important;
  box-shadow: unset !important;
}

.card-header.noclick .accordion-button::after {
  display: none !important;
}

#accordionSimi .accordion-body {
  padding: 10px;
}

@media (max-width: 991.98px) {
  .product-detail {
    flex-direction: column;
  }
}

.add_cart_prd_prc {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  text-align: end;
  gap: 15px;
  margin-top: 10px;
}

.add_cart_prd_prc .v-hidden {
  display: none;
}

.add-to-cart-box {
  display: flex;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px 0;
}

.opacity-02 {
  opacity: 0.2 !important;
}

.specific-item {
  flex: 1;
  cursor: pointer;
  min-width: 90px;
  padding: 10px;
  margin: 0 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #717171;
}

@media (min-width: 992px) {
  .add-to-cart-box {
    flex-direction: column;
  }
  .feature-k {
    text-align: center;
  }
}

@media (max-width: 577px) {
  .main-cls-prd {
    margin-bottom: 50px;
  }

  .product-desc-short {
    margin-top: 15px;
  }

  .add-to-cart-box {
    justify-content: center;
    border-radius: unset;
    padding: unset;
    border: unset;
    border-top: 1px solid #ddd;
    padding-top: 15px !important;
    margin-top: 30px;
  }

  .add-cart {
    position: fixed;
    bottom: 0;
    z-index: 5;
    width: 100%;
    margin: 0;
    left: 0;
    box-shadow: rgb(54 56 120 / 20%) 0px 0px 10px 0px;
    background: #fff;
    border-top: 1px solid #ddd;
  }

  .add_cart_prd_prc {
    align-items: center;
    flex-direction: row-reverse;
    border: none !important;
    padding: 0;
  }

  .specific-item {
    min-width: 90px;
    margin: 0 5px;
  }

  #accordionFeatures .accordion-body {
    padding: 0;
  }
}

@media (max-width: 380px) {
  .specific-item {
    min-width: 80px;
  }
}

.product-desc-short {
  font-size: 0.91rem;
  color: #555;
}

.add_cart_prd_prc .btn {
  --bs-btn-padding-y: 0.7rem !important;
  --bs-btn-padding-x: 1.8rem !important;
  --bs-btn-font-size: 0.97rem !important;
  --bs-btn-border-radius: var(--bs-border-radius-lg) !important;
}

.add_cart_prd_prc .product-price {
  font-weight: bold;
  font-size: 1.2rem;
}

.product-price .sm-old-price {
  color: #ff2c2c;
  text-decoration: line-through;
}

.add_cart_prd_prc .product-price .sm-old-price,
.cart_product .product-price .sm-old-price {
  font-size: 0.95rem;
}

.cart_product .product-price {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.cart_product .product-price .normal-price {
  font-size: 18px;
  padding-right: 8px;
}

.title-border {
  border-bottom: 1px solid #ddd;
  margin: 10px 0;
}

.feature-k {
  background-color: #f0f0f1 !important;
  color: #424750 !important;
}

.feature-v {
  border-color: #ebebeb;
}

.features {
  margin: 0;
}

.features td {
  font-size: 0.93rem;
}

.product-specifics {
  display: flex;
  justify-content: center;
}

.specific-item.sales {
  background: #e9ffed;
  border-radius: 8px;
  color: #49aa50;
}

.specific-item.sales i {
  color: #65cd72;
}

.specific-item.file-type {
  background: #ffeaea;
  border-radius: 8px;
  color: #aa4949;
}

.specific-item.file-type i {
  color: #df6c6c;
}

.specific-item.file-size {
  background: #eaf6ff;
  border-radius: 8px;
  color: #498faa;
}

.specific-item.file-size i {
  color: #6cb1df;
}

.specific-item.file-length {
  background: #eaf6ff;
  border-radius: 8px;
  color: #494faa;
}

.specific-item.file-length i {
  color: #6c81df;
}

.product-specifics .specific-item:last-child {
  border-left: none !important;
}

.specific-item i {
  font-size: 1.5rem;
}

.specific-item span {
  display: inline-flex;
  font-size: 0.97rem;
  text-align: center;
  align-items: center;
}

.specific-item span small {
  display: none;
}

@media (min-width: 576px) {
  .add-cart {
    width: 100%;
  }

  .add-to-cart-box {
    margin-top: 30px;
  }

  .add_cart_prd_prc .btn {
    margin-right: 40px !important;
  }

  .product-specifics {
    width: 100%;
    flex-direction: column;
    gap: 5px;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }

  .specific-item {
    border-radius: 35px !important;
    flex-direction: row;
    background: #fafafa;
    padding: 0;
    justify-content: flex-start;
  }

  .rtl .specific-item {
    direction: rtl;
  }

  .specific-item span small {
    display: block;
    margin-right: 10px;
    color: #607d8b;
  }

  .rtl .specific-item span small {
    margin-right: 0;
    margin-left: 10px;
  }

  .specific-item.sales {
    background: linear-gradient(90deg, #f2fff4 0%, #e9ffed 100%);
  }

  .specific-item.file-type {
    background: linear-gradient(90deg, #fff9f9 0%, #ffeaea 100%);
  }

  .specific-item.file-size {
    background: linear-gradient(90deg, #f6fbff 0%, #eaf6ff 100%);
  }

  .specific-item.file-length {
    background: linear-gradient(90deg, #f6f6ff 0%, #eaeaff 100%);
  }

  .specific-item i {
    border-radius: 50%;
    border: 2px solid #fff;
    width: 50px;
    display: inline-flex;
    align-items: center;
    height: 50px;
    justify-content: center;
    margin-right: 15px;
  }

  .rtl .specific-item i {
    margin-right: 0;
    margin-left: 15px;
  }
}

.add_cart_prd_prc .prd-price-div {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media (min-width: 992px) {
  .add_cart_prd_prc .btn {
    margin-right: 0 !important;
  }
}

/* gallery view */

.gallery-pro-wrapper {
  max-width: 640px;
  margin: auto;
  text-align: center;
}
.gallery-pro-main-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 1px solid #ddd;
  background: #fff;
  cursor: zoom-in;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 991.98px) {
  .gallery-pro-wrapper {
    max-width: unset;
    margin-bottom: 50px;
  }

  .gallery-pro-main-image {
    border: unset;
  }
}

.gallery-pro-thumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-pro-thumb {
  width: 64px;
  height: 64px;
  border: 1px solid #ccc;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery-pro-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-pro-thumb .gallery-pro-more-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: bold;
}

.gallery-pro-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1200;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
}
.gallery-pro-modal.open {
  display: flex;
}
.gallery-pro-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  color: white;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1300;
}
.gallery-pro-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 42px;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  z-index: 1300;
}
.gallery-pro-nav-prev {
  right: 12px;
}
.gallery-pro-nav-next {
  left: 12px;
}
.gallery-pro-modal-inner {
  max-width: 92vw;
  max-height: 82vh;
  width: 92vw;
  height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.gallery-pro-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  touch-action: none;
  background: #111;
  display: block;
}
.gallery-pro-img-wrap img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 0 0;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}
.gallery-pro-img-wrap img.grabbing {
  cursor: grabbing;
}

.gallery-pro-modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  justify-content: center;
  padding: 10px;
  margin-top: 8px;
  width: 100%;
  max-width: 90vw;
  overflow-y: hidden !important;
}
.gallery-pro-modal-thumbs::-webkit-scrollbar {
  height: 6px;
}
.gallery-pro-modal-thumbs::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 4px;
}
.gallery-pro-modal-thumb {
  width: 64px;
  height: 64px;
  border: 2px solid transparent;
  flex: 0 0 auto;
  cursor: pointer;
  overflow: hidden !important;
}
.gallery-pro-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden !important;
}
.gallery-pro-modal-thumb.active {
  border-color: #03a9f4;
  width: 75px;
  height: 75px;
}

/* End Gallery */

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 5px;
}

.product-card .product-price .v-hidden {
  display: none;
}

@media (max-width: 500px) {
  .grid-products {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .product-card .product-price {
    flex-direction: column;
  }

  .product-card .product-price .v-hidden {
    display: block;
  }

  .grid-products .product-card {
    width: unset;
  }
}

@media (max-width: 420px) {
  .grid-products {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 380px) {
  .grid-products {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

.subcategories .card-header {
  background-color: unset !important;
}

.subcategories .card-header h5 {
  color: #6d6e79;
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  row-gap: 20px;
}

@media (max-width: 500px) {
  .subcat-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

a.subcat-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  position: relative;
}

.subcategories .subcat-item .img-parent {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #e0e0e0;
  box-shadow: 0 0 0 3px #fff, 0 0 0 3px #ccc;
  padding: 10px;
}

.subcategories .subcat-item .img-parent.square {
  border-radius: 5px;
}

@media (max-width: 767.98px) {
  .subcategories .subcat-item .img-parent:not(.noimg) {
    width: 100px;
    height: 100px;
  }
}

.subcat-item .sub-title {
  padding-top: 15px;
  color: #5f606f;
  text-align: center;
  font-size: 0.87rem;
  height: 70px;
}

.subcat-item .sub-title {
  font-size: clamp(0.8rem, 1vw, 0.89rem);
  line-height: 1.4em;
}

.subcategories .subcat-item .img-parent img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#authModal .modal-content {
  background-color: var(--bs-primary-bg-subtle) !important;
}

.cart-img-holder {
  width: 100px;
  height: 100px;
}

.cart-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.removeCartItem.prd-del {
  top: -10px;
  right: -5px !important;
}

.rtl .removeCartItem.prd-del {
  right: unset !important;
  left: -5px !important;
}

.span-block {
  padding: 2px 5px;
  border: 2px solid #f3f3f3;
  border-radius: 5px;
  margin-right: 5px;
  display: inline-block;
}

.rtl .span-block {
  margin-right: unset;
  margin-left: 5px;
}

.removeCartItem {
  position: absolute;
  right: 5px;
}

.rtl .removeCartItem {
  right: unset;
  left: 10px;
}

.btn-default {
  background: none;
  color: #333;
  border: 1px solid #ccc;
  box-shadow: none;
  text-shadow: none;
}

.btn-default:hover {
  background: #eee;
  box-shadow: none;
}

.btn-pay {
  color: #fafafa;
  min-width: 300px;
  --bs-btn-padding-y: 0.56rem !important;
  --bs-btn-color: #fff;
  --bs-btn-bg: #389f63;
  --bs-btn-border-color: #389f63;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #318655;
  --bs-btn-active-border-color: #318655;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #318655;
  --bs-btn-hover-border-color: #318655;
}

@media (max-width: 500px) {
  .btn-pay,
  .btn-pay-balance {
    width: 100%;
  }
}

.btn-pay-balance {
  color: #fafafa;
  min-width: 300px;
  --bs-btn-padding-y: 0.56rem !important;
}

.cart_payments .card.active {
  border-color: #036ff4;
  background: #e5f0ff;
}

.cart_total_prices {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 10px;
}

.line-below-c {
  padding-bottom: 10px;
  border-bottom: 1px solid #dddddd;
}

.cart_total_prices > div {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart .card-header,
.cart .card-footer {
  background-color: #fff !important;
}

.cart_products {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cart_products .cart_product {
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

.cart_products .cart_product:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

#paymentForm {
  border: unset !important;
}

@media (max-width: 767.98px) {
  .cart_product .prd-name {
    font-size: 0.87rem;
  }

  .cart_product .prd-subtitle {
    font-size: 0.79rem;
  }

  #paymentForm {
    padding-top: 0 !important;
    box-shadow: none !important;
    background-color: unset !important;
    border-radius: 0 !important;
  }

  .cart {
    margin-top: 0 !important;
  }

  .cart > .row {
    --bs-gutter-y: 0 !important;
  }

  .cart .card:not(.payment_select) {
    margin: 10px 0;
  }
}

.cart_na {
  top: 0 !important;
  background: rgba(255, 255, 255, 0.85) !important;
  height: 100% !important;
}

.cart_na > p {
  margin-top: -45px;
}

.cart_na > p i {
  padding-top: 25px;
  font-size: 3rem;
}

/* account page */

.account-menus {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.account-menu-tab {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none !important;
  padding: 10px;
  border-top: 2px solid #eee;
}

.account-menu-tab:hover {
  background: #fafbff;
}

.account-menu-tab.active {
  background: #f4f6ff;
  pointer-events: none;
}

.account-menu-tab i {
  font-size: 25px;
  margin-right: 10px;
  color: #444;
}

.rtl .account-menu-tab i {
  margin-right: 0;
  margin-left: 10px;
}

.account-menu-tab p {
  margin: 0 !important;
  color: #222;
}

.account-menu-tab.active {
  border-right: 6px solid #3951bb;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  padding: 10px 6px;
}

.account-menu-tab.active i {
  color: #616fa7;
}

.account-menu-tab.active p {
  color: #707db3;
  font-weight: bold;
}

.account-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.account-info b {
  font-size: 1.2rem;
}

.account-info p {
  font-size: 0.98rem;
  color: #8d8d8d;
}

.account-info .btn-edit {
  text-decoration: none;
  color: #2196f3;
  font-size: 18px;
  cursor: pointer;
}

.account-balance-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-vp {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.18);
  margin: 0;
  background: #fbfbfb;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.account-menu-tab.ajaxLogout i {
  margin-left: 10px;
  color: #ff3e3e !important;
}

.account-menu-tab.ajaxLogout p {
  color: #ff3e3e !important;
}

.account-tab-content {
  min-height: 55vh;
}

@media (max-width: 991.98px) {
  .account-menus.home-v .account-menu-tab {
    border: 1px solid #eeedff;
  }

  .home-v.account-info {
    border-bottom: 2px solid #f1f1f1;
  }
  .home-v.account-info b {
    font-size: 0.95rem !important;
  }
  .home-v.account-info p {
    font-size: 0.87rem !important;
    padding-top: 3px;
    color: #757575;
    font-weight: normal;
  }

  .home-v.account-balance-info p {
    font-size: 0.87rem !important;
  }

  .account-cls {
    background: #fff;
    min-height: 100vh;
  }

  .account-cls .container-h {
    padding: 0 !important;
  }

  .account-cls .container-h > .row {
    margin-top: 0 !important;
  }

  .account-tab-content {
    border: none !important;
    border-radius: unset !important;
    box-shadow: unset !important;
  }

  .home-vp {
    background: #fff;
    box-shadow: unset;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom: 8px solid #f0f0f1;
  }

  .account-menus {
    padding: 0 !important;
  }

  .account-menu-tab {
    padding: 10px 25px;
  }

  .account-menu-tab i {
    font-size: 23px;
  }

  .account-menu-tab.ajaxLogout {
    padding: 10px 22px;
  }

  .account-menu-tab::after {
    content: "";
    display: inline-block;
    position: absolute;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #999;
    border-left: 2px solid #999;
    transform: rotate(135deg);
    margin-left: 6px;
    vertical-align: middle;
  }

  .rtl .account-menu-tab::after {
    right: unset;
    left: 20px;
    transform: rotate(-45deg);
  }
}

@media (min-width: 992px) {
  .home-vp > div:nth-child(2) {
    border-right: 5px solid #e9e9e9;
  }

  .account-menus.home-v {
    padding: 3rem 1.5rem !important;
    gap: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .account-menus:not(.home-v) {
    padding-bottom: 50px;
  }

  .account-menus.home-v .account-menu-tab {
    flex-direction: column;
    justify-content: center;
    padding: 25px 15px;
    border-top: none;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.18);
  }

  .account-menus.home-v .account-menu-tab i {
    font-size: 40px;
    margin-left: unset;
  }

  .account-menus.home-v .account-menu-tab:hover {
    background: #f4f6ff;
  }

  .account-menus.home-v .account-menu-tab:hover i {
    color: #3951bb;
  }

  .account-menus.home-v .account-menu-tab:hover p {
    color: #707db3;
    font-weight: bold;
  }

  .account-menus.home-v .account-menu-tab.ajaxLogout {
    display: none;
  }

  .account-note p {
    color: #858484;
    font-size: 0.95rem;
    line-height: 2;
    padding: 0 40px;
    text-align: justify;
  }

  .account-note i {
    font-size: 7rem;
    color: #d5d5d5;
  }
}

.btn-exists-in-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 1.8rem !important;
  padding-bottom: 3px !important;
}

.btn-exists-in-cart span {
  line-height: 1.2rem;
}

.btn-exists-in-cart small {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: #65a3fe;
  line-height: 1rem;
}

.prd-extra-icon {
  width: fit-content;
  position: absolute;
  z-index: 3;
  left: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.rtl .prd-extra-icon {
  left: unset;
  right: 10px;
}

.prd-extra-icon i {
  color: #424750 !important;
  font-size: 20px;
  cursor: pointer;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
}

.prd-extra-icon i.favorite {
  color: #ef4056 !important;
}

i.rotate-h {
  color: #3f51b5 !important;
}

.empty-order {
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 70%;
  width: 100%;
  position: absolute;
}

@media (max-width: 500px) {
  .prd-extra-icon {
    top: 0;
    right: 0;
  }

  .empty-order {
    height: 100%;
  }
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px;
}

.order-item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px;
}

.badge-in-img {
  position: absolute;
  left: 0;
  bottom: 2px;
  min-width: 88px;
}

.rtl .badge-in-img {
  left: unset;
  right: 0;
}

.order-item .prd-img {
  object-fit: contain;
  height: 100%;
  width: 100%;
  margin-top: -10px;
}

.order-item .badge {
  line-height: 15px !important;
}

.order-item .product-price {
  display: flex;
  gap: 50px;
  margin: 5px 0;
}

.order-item .product-price .v-hidden {
  display: none;
}

.order-item .prd-title {
  text-decoration: none !important;
  border-bottom: 1px solid #dddddd;
  padding-bottom: 10px;
  color: #222;
}

@media (max-width: 767.98px) {
  .badge-in-img {
    bottom: unset;
    top: 2px;
  }

  .order-item .prd-img {
    margin-top: unset;
    margin-bottom: -10px;
  }

  .order-item {
    flex-direction: column;
  }

  .order-item > .ms-3 {
    margin: 0 !important;
    margin-top: 1rem !important;
  }
}

@media (max-width: 500px) {
  .order-item > .ms-3 {
    width: 100%;
    padding: 0 2rem;
  }

  .data-empty .card {
    border: none !important;
  }
}

.licence-view {
  outline: none;
  resize: none;
  background: #fff;
  border: 2px dashed #777;
  margin-top: 20px;
  margin-bottom: 0;
  padding: 10px;
  padding-bottom: 30px;
  border-radius: 6px;
  width: 100%;
  font-family: sans-serif, Arial, Helvetica;
}

.licence-view:hover {
  outline: none;
}

.licence-view:focus {
  outline: none;
  box-shadow: none;
}
