/* 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 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.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 0.5s;
  background: #d1d1d1;
  border-radius: 5px;
}

.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;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -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;
  }
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05),
    6px 4px 19px rgb(115 103 240 / 20%);
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  display: none;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 4px;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem !important;
  height: 100% !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  border-color: #dbe0eb !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: #115eecb3 !important;
  border-radius: 0.375rem !important;
}

.gateway-card {
  padding: 15px;
  background-color: #e1e2e66e;
  border-radius: 8px;
}

.payment-card-title {
  padding: 13px 25px;
  text-align: center;
  background-color: rgb(var(--main));
  border-radius: 5px;
  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: rgb(var(--main));
  background-color: #fff;
  border-radius: 5px;
  height: 100%;
}

.payment-system-list.is-scrollable {
  max-height: min(388px, 70vh);
  overflow-x: auto;
  padding-block: 4px;
}

.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: rgb(var(--main));
  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 rgb(var(--main));
}
.form-control[readonly] {
  background-color: #1a27bf1c;
  opacity: .6;
}
.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 rgb(var(--main));
  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: 5px;
}

.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;
}

.deposit-info__input-group .form--control:focus {
  box-shadow: unset;
}

.info-text .text,
.deposit-info__input .text {
  font-size: 14px;
}

.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: #fff;
  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;
}

.selection {
  display: block;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #e5e5e5 !important;
  height: 50px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #444;
  line-height: 36px !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 50px !important;
}

.select2 .dropdown-wrapper {
  display: none;
}

.menu > li:not(.close-trigger):hover,
.bg--base,
.hot-item .thumb .discount-wrapper,
.overview-item,
.cmn--btn:hover,
.checkout-button,
.social-links li a:hover,
.mobile-code,
.scrollToTop,
.menu li.has-sub-menu li {
  color: white !important;
}

button.payment-item__btn.more-gateway-option:hover {
  color: #fff !important;
}

/* ============================================ */
/* PRODUCT CARD STYLES - UPDATED WITH MOBILE RESPONSIVE */
/* ============================================ */

/* Smaller Product Cards */
.product-item-sm {
  padding: 12px !important;
  border-radius: 8px !important;
  background: #fff;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-item-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-item-sm .thumb {
  height: 180px;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.product-item-sm .thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.product-item-sm:hover .thumb img {
  transform: scale(1.05);
}

.product-item-sm .stock-status {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.7rem;
  padding: 2px 6px;
}

.product-item-sm .product-name {
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.3;
  height: 2.4rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-item-sm .product-name a {
  font-size: 0.85rem;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.product-item-sm .product-name a:hover {
  color: #e67e22;
}

.product-item-sm .price {
  font-size: 1rem;
  font-weight: 600;
  color: #e67e22;
}

.product-item-sm .discounted {
  font-size: 0.75rem;
  color: #999;
}

.product-item-sm .button-wrapper {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.product-item-sm .btn-sm {
  padding: 5px 12px;
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.product-item-sm .btn-sm.bg--primary {
  background-color: #e67e22;
}

.product-item-sm .btn-sm.bg--base {
  background-color: #34495e;
}

.product-item-sm .btn-sm:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Smaller Hot Deal Cards */
.hot-item-sm {
  padding: 10px !important;
  margin: 0 !important;
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hot-item-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hot-item-sm .thumb {
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.hot-item-sm .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hot-item-sm .product-name {
  font-size: 0.85rem !important;
  margin-top: 8px !important;
  margin-bottom: 5px !important;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hot-item-sm .current-price {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: #e67e22;
}

.hot-item-sm .past-price {
  font-size: 0.7rem !important;
  color: #999;
  text-decoration: line-through;
}

.hot-item-sm .button-wrapper {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.hot-item-sm .btn-sm {
  padding: 5px 12px;
  font-size: 0.75rem;
  border-radius: 4px;
  flex: 1;
  text-align: center;
}

/* Discount badge */
.discount-wrapper {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #e67e22;
  padding: 4px 8px;
  border-radius: 4px;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
}

/* Grid spacing */
.g-3 {
  --bs-gutter-y: 0.75rem;
  --bs-gutter-x: 0.75rem;
}

/* ============================================ */
/* PRODUCT CARD STYLES - FIXED HEIGHT & CONSISTENT */
/* ============================================ */

/* Ensure all product cards have consistent dimensions */
.product-item-sm {
    padding: 12px !important;
    border-radius: 8px !important;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 380px;
    max-height: 380px;
    overflow: hidden;
}

/* Fixed thumbnail container */
.product-item-sm .thumb {
    height: 180px !important;
    min-height: 180px;
    max-height: 180px;
    margin-bottom: 12px !important;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    background: #f5f5f5;
}

.product-item-sm .thumb img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

/* Content area with fixed height */
.product-item-sm .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Fixed product name area */
.product-item-sm .product-name {
    font-size: 0.9rem;
    margin-bottom: 6px;
    line-height: 1.3;
    height: 2.4rem;
    min-height: 2.4rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-item-sm .product-name a {
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    display: block;
    word-break: break-word;
}

/* Fixed price area */
.price-section {
    min-height: 40px;
    margin-bottom: auto;
}

.product-item-sm .price {
    font-size: 1rem;
    font-weight: 600;
    color: #e67e22;
    display: inline-block;
}

.product-item-sm .discounted {
    font-size: 0.75rem;
    color: #999;
    display: inline-block;
}

/* Button wrapper always at bottom */
.product-item-sm .button-wrapper {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.product-item-sm .btn-sm {
    padding: 5px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

/* Hot Deals Cards - Consistent sizes */
.hot-item-sm {
    padding: 12px !important;
    margin: 0 !important;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    max-height: 350px;
    overflow: hidden;
}

.hot-item-sm .thumb {
    height: 160px !important;
    min-height: 160px;
    max-height: 160px;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
    background: #f5f5f5;
}

.hot-item-sm .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hot-item-sm .content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hot-item-sm .product-name {
    font-size: 0.85rem !important;
    margin: 8px 0 5px 0 !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 2.4rem;
    min-height: 2.4rem;
    line-height: 1.2;
}

.hot-item-sm .price-wrapper {
    min-height: 40px;
    margin-bottom: auto;
}

.hot-item-sm .current-price {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #e67e22;
}

.hot-item-sm .past-price {
    font-size: 0.7rem !important;
    color: #999;
    text-decoration: line-through;
}

.hot-item-sm .button-wrapper {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.hot-item-sm .btn-sm {
    padding: 5px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

/* Mobile Responsive - Adjusted heights */
@media (max-width: 575px) {
    .product-item-sm {
        min-height: 320px;
        max-height: 320px;
        padding: 8px !important;
    }
    
    .product-item-sm .thumb {
        height: 130px !important;
        min-height: 130px;
        max-height: 130px;
        margin-bottom: 8px !important;
    }
    
    .product-item-sm .product-name {
        font-size: 0.8rem !important;
        height: 2rem !important;
        min-height: 2rem;
        margin-bottom: 4px !important;
    }
    
    .product-item-sm .price {
        font-size: 0.85rem !important;
    }
    
    .product-item-sm .btn-sm {
        padding: 4px 6px !important;
        font-size: 0.7rem !important;
        white-space: normal;
    }
    
    .hot-item-sm {
        min-height: 300px;
        max-height: 300px;
        padding: 8px !important;
    }
    
    .hot-item-sm .thumb {
        height: 130px !important;
        min-height: 130px;
        max-height: 130px;
    }
    
    .hot-item-sm .product-name {
        font-size: 0.8rem !important;
        height: 2rem;
        min-height: 2rem;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .product-item-sm {
        min-height: 350px;
        max-height: 350px;
    }
    
    .product-item-sm .thumb {
        height: 150px !important;
        min-height: 150px;
        max-height: 150px;
    }
    
    .hot-item-sm {
        min-height: 320px;
        max-height: 320px;
    }
    
    .hot-item-sm .thumb {
        height: 150px !important;
        min-height: 150px;
        max-height: 150px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .product-item-sm {
        min-height: 370px;
        max-height: 370px;
    }
    
    .product-item-sm .thumb {
        height: 170px !important;
        min-height: 170px;
        max-height: 170px;
    }
    
    .hot-item-sm {
        min-height: 340px;
        max-height: 340px;
    }
    
    .hot-item-sm .thumb {
        height: 160px !important;
        min-height: 160px;
        max-height: 160px;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .product-item-sm {
        min-height: 290px;
        max-height: 290px;
    }
    
    .product-item-sm .thumb {
        height: 110px !important;
        min-height: 110px;
        max-height: 110px;
    }
    
    .hot-item-sm {
        min-height: 270px;
        max-height: 270px;
    }
    
    .hot-item-sm .thumb {
        height: 110px !important;
        min-height: 110px;
        max-height: 110px;
    }
}

/* Ensure buttons don't overflow */
.btn-sm {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fix for long product names */
.product-name a {
    word-wrap: break-word;
    word-break: break-word;
}

/* Ensure consistent card heights in the same row */
.row.g-3 {
    display: flex;
    flex-wrap: wrap;
}

.row.g-3 > [class*="col-"] {
    display: flex;
    margin-bottom: 15px;
}

.product-item-sm, .hot-item-sm {
    width: 100%;
}

/* Discount badge positioning */
.discount-wrapper {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e67e22;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

/* Stock badge */
.stock-status {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.7rem;
    padding: 2px 6px;
    z-index: 2;
}