/* Cart page scoped fixes */
.tf-table-page-cart {
  width: 100%;
}

.tf-cart-item_product .img-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 4px;
  background: #f7f8fa;
}

.tf-cart-item_product .img-product {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.wg-quantity {
  display: inline-flex;
  align-items: center;
  min-width: 118px;
  border: 1px solid rgba(17, 28, 45, .12);
  border-radius: 4px;
  overflow: hidden;
}

.wg-quantity .btn-quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 38px;
  color: #071c34;
  cursor: pointer;
  user-select: none;
}

.wg-quantity .quantity-product {
  width: 48px;
  height: 38px;
  border: 0;
  border-inline: 1px solid rgba(17, 28, 45, .12);
  text-align: center;
}

.remove-cart {
  cursor: pointer;
}

.box-order {
  position: sticky;
  top: 108px;
  padding: 24px;
  border: 1px solid rgba(17, 28, 45, .08);
  border-radius: 4px;
  background: #fff;
}

.ip-discount-code {
  gap: 10px;
}

.ip-discount-code input {
  min-width: 0;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(17, 28, 45, .12);
  border-radius: 4px;
}

.payment-box {
  display: grid;
  gap: 12px;
}

.payment-item {
  border: 1px solid rgba(17, 28, 45, .10);
  border-radius: 4px;
  background: #fff;
}

.payment-header {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 16px;
  cursor: pointer;
}

.payment-header input[type="radio"],
.ship-item input[type="radio"],
.sozlesme-kutu input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  opacity: 1;
  visibility: visible;
  position: static;
  accent-color: var(--pbmit-global-color, #de7436);
}

.payment-item .collapse {
  padding: 0 16px 16px;
}

.sozlesme-wrapper {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.sozlesme-item {
  border: 1px solid rgba(17, 28, 45, .10);
  border-radius: 4px;
  background: #fff;
}

.sozlesme-metin {
  max-height: 180px;
  overflow: auto;
  padding: 14px;
  color: #526071;
  font-size: 14px;
  line-height: 1.55;
}

.sozlesme-kutu {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-top: 1px solid rgba(17, 28, 45, .08);
}

.sozlesme-kutu label {
  margin: 0;
  cursor: pointer;
}

.kart-logo-secim {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
}

.kart-logo {
  margin: 0;
  color: #071c34;
  font-size: 28px;
}

.kart-logo input {
  position: absolute;
  opacity: 0;
}

@media (max-width: 991px) {
  .box-order {
    position: static;
    margin-top: 24px;
  }
}

@media (max-width: 767px) {
  .tf-table-page-cart,
  .tf-table-page-cart thead,
  .tf-table-page-cart tbody,
  .tf-table-page-cart tr,
  .tf-table-page-cart th,
  .tf-table-page-cart td {
    display: block;
    width: 100%;
  }

  .tf-table-page-cart thead {
    display: none;
  }

  .tf-cart-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(17, 28, 45, .10);
  }

  .tf-cart-item td {
    padding: 8px 0;
  }

  .tf-cart-item td[data-cart-title]::before {
    content: attr(data-cart-title);
    display: block;
    margin-bottom: 4px;
    color: #071c34;
    font-weight: 700;
  }

  .ip-discount-code {
    flex-direction: column;
    align-items: stretch !important;
  }

  .ip-discount-code button {
    width: 100%;
  }
}

.ep-cart-hidden-slot {
  height: 0;
  visibility: hidden;
}

.ep-cart-note {
  font-size: .8rem !important;
}

.ep-cart-required {
  color: #d00;
}

.ep-cart-coupon-btn {
  min-height: 46px;
  padding: 12px 18px;
  white-space: nowrap;
}

.ep-cart-coupon-btn i,
.ep-cart-action i,
.ep-cart-empty-btn i {
  margin-right: 8px;
}

.ep-cart-action {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
  border: 0;
}

.ep-cart-empty-btn {
  justify-content: center;
}

.sepet-bos-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--pbmit-global-color, #de7436);
  background: rgba(222, 116, 54, .12);
  font-size: 30px;
}
