/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #FF7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #1E2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: hsl(var(--white));
  border-radius: 5px;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}


@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}




.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px !important;
  -webkit-border-radius: 5px !important;
  -moz-border-radius: 5px !important;
  -ms-border-radius: 5px !important;
  -o-border-radius: 5px !important;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}



.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}



.payment-card-title {
  padding: 15px 25px;
  text-align: center;
  background-color: hsl(var(--base));
  border-radius: 12px;
  border: 0;
  margin-bottom: 0px;
  color: #fff;
}

.payment-system-list {
  --thumb-width: 100px;
  --thumb-height: 40px;
  --radio-size: 12px;
  --border-color: #cccccf59;
  --hover-border-color: hsl(var(--base));
  background-color: hsl(var(--section-bg));
  border-radius: 12px;
}


.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
  min-height: 255px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;
}

.payment-system-list.is-scrollable::-webkit-scrollbar {
  width: 5px;

}

.payment-system-list.is-scrollable::-webkit-scrollbar-thumb {
  background-color: hsl(var(--base));
  border-radius: 10px;
}

.payment-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 18px;
  border: 1px solid #fff;
  border-top-color: var(--border-color);
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.payment-item:first-child {
  border-top-color: #fff;
  border-radius: 5px 5px 0 0;
}

.payment-item:has(.payment-item__radio:checked) {
  border-left: 3px solid var(--hover-border-color);
  border-radius: 0px;
}

.payment-item__check {
  border: 3px solid transparent;
}

.payment-item:has(.payment-item__radio:checked) .payment-item__check {
  border: 3px solid hsl(var(--base));
}

.payment-item__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: calc(100% - var(--thumb-width))
}

.payment-item__check {
  width: var(--radio-size);
  height: var(--radio-size);
  border: 1px solid hsl(var(--base));
  display: inline-block;
  border-radius: 100%;

}

.payment-item__name {
  padding-left: 10px;
  width: calc(100% - var(--radio-size));
  transition: all 0.3s;
}

.payment-item__thumb {
  width: var(--thumb-width);
  height: var(--thumb-height);
  text-align: right;
  padding-left: 10px;

  &:has(.text) {
    width: fit-content;
  }
}

.payment-item__thumb img {
  max-width: var(--thumb-width);
  max-height: var(--thumb-height);
  object-fit: cover;
}


.deposit-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 12px;
}

.deposit-info__title {
  max-width: 50%;
  margin-bottom: 0px;
  text-align: left;
}

.deposit-info__input {
  max-width: 50%;
  text-align: right;
  width: 100%;
}

.deposit-info__input-select {
  border: 1px solid var(--border-color);
  width: 100%;
  border-radius: 5px;
  padding-block: 6px;
}

.deposit-info__input-group {
  border: 1px solid var(--border-color);
  border-radius: 5px;

  .deposit-info__input-group-text {
    align-self: center;
    padding-left: 5px;
  }

}

.deposit-info__input-group .form--control {
  padding: 5px;
  border: 0;
  height: 35px;
  text-align: right;
  border-radius: 5px;
  background-color: hsl(var(--black) / 0.1);
  width: 100px;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.deposit-info__title .text.has-icon {
  display: flex;
  align-items: center;
  gap: 5px
}

.total-amount {
  border-top: 1px solid var(--border-color);
}

.total-amount .deposit-info__title {
  font-weight: 600;
}

.payment-item__btn {
  border: 0;
  border-block: 1px solid var(--border-color);
  border-bottom: 0;
  background: hsl(var(--section-bg));
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  font-weight: 500;
}

.payment-item:hover+.payment-item__btn {
  border-top-color: #fff;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

/* newly added */
label.required:after {
  content: '*';
  color: #dc3545 !important;
  margin-left: 2px;
}

.image--uploader {
  width: 150px;
  height: 150px;
}

.image-upload-wrapper {
  height: 100%;
  position: relative;
}

.image-upload-preview {
  width: 100%;
  height: 100%;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 10px;
  border: 1px solid #ced4da;
  box-shadow: none;
}

.image-upload-input-wrapper {
  position: absolute;
  display: inline-flex;
  bottom: -14px;
  right: -7px;
}

.image-upload-input-wrapper input {
  width: 0;
  opacity: 0;
}

.image-upload-input-wrapper label {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  border: 2px solid #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.image-upload-input-wrapper label::after {
  content: "";
}

.image-upload-input-wrapper .bg--primary {
  background: hsl(var(--base)) !important;
  color: hsl(var(--white));
}

.dashboard-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.dashboard-filter__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--heading-color) / 0.85);
  background-color: hsl(var(--white));
  border: 1px solid hsl(var(--black) / 0.1);
  padding: 4px 12px;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
}

.dashboard-filter__link.active,
.dashboard-filter__link:hover {
  color: hsl(var(--white));
  background-color: hsl(var(--base));
  border-color: hsl(var(--base));
}

del {
  color: hsl(var(--base)) !important;
}

/* cart sidebar start*/
.cart__sidebar {
  background-color: hsl(var(--white));
  max-width: 340px;
  width: 100%;
  height: 100vh;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99991;
  -webkit-transition: 0.3s linear all;
  transition: 0.3s linear all;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.cart__sidebar.show {
  visibility: visible;
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.cart__sidebar .cart__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 8px 20px;
  background-color: hsl(var(--base));
}

.cart__sidebar .cart__header .title {
  color: hsl(var(--white));
  font-size: 0.875rem;
  font-family: var(--body-font);
}

.cart__sidebar .cart__header .sidebar-close-btn {
  color: hsl(var(--white));
}

.cart__sidebar .cart__body {
  padding: 22px 0px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow-y: auto;
}

.cart__sidebar .cart__item {
  padding: 0px 16px 16px 16px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 14px;
  position: relative;
  font-size: 1.125rem;
}

.cart__sidebar .cart__item__remove {
  position: absolute;
  right: 16px;
  color: hsl(var(--text-color));
  font-size: 1.25rem;
  display: flex;
}

.cart__sidebar .cart__item__remove:hover {
  color: hsl(var(--base));
}

.cart__sidebar .cart__item__img {
  width: 54px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.cart__sidebar .cart__item__title {
  font-size: 0.875rem;
  margin-bottom: 0px;
  max-width: 150px;
  font-weight: 600;
  font-family: var(--body-font);
}

.cart__sidebar .cart__item__rating-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  flex-direction: row-reverse;
}

.cart__sidebar .cart__item__rating-price .cart__item__price {
  font-size: 0.875rem;
  font-weight: 700;
  color: hsl(var(--base));
}

.cart__sidebar .cart__item__content {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.cart__sidebar .cart-bottom {
  background: hsl(var(--black) / 0.03);
  padding: 13px 16px;
}

.cart__sidebar .cart__total__area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cart__sidebar .cart__discount__area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed hsl(var(--base) / 0.3);
}

.cart__sidebar :is(.discount-price, .discount-title) {
  font-weight: 400;
  color: hsl(var(--heading-color) / 0.75);
  font-size: 0.875rem;
}

.cart__sidebar .discount-price {
  font-weight: 500;
  color: hsl(var(--heading-color));
}

.cart__sidebar .cart-bottom .subtotal-title,
.cart__sidebar .cart-bottom .subtotal-price {
  font-weight: 700;
  color: hsl(var(--heading-color));
  font-size: 1rem;
}

.cart__sidebar .cart-bottom .subtotal-price {
  color: hsl(var(--base));
}

.cart__sidebar .cart-bottom .btn {
  padding: 12px 16px;
  font-size: 0.875rem;
}

.cart__header .cart__page__link {
  color: #f7f7f7;
  text-decoration: underline;
  font-size: 14px;
}

.cart__header {
  align-items: center;
}

/* cart sidebar end*/

/* quantity input end */

.product-details-info__header .wishlist-btn.active {
  color: hsl(var(--black));
}