/* 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;
}

.ep-cart-banner {
  padding-top: 46px;
  padding-bottom: 42px;
}

.ep-cart-page {
  padding: 58px 0 72px;
  background: #f6f9fb;
}

.ep-cart-page .alert {
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid rgba(222, 116, 54, .18);
  border-radius: 4px;
  background: #fff;
  color: #394555;
  box-shadow: 0 12px 34px rgba(17, 28, 45, .06);
}

.ep-cart-page .alert-heading {
  color: #071c34;
  font-weight: 500;
}

.tf-cart-sold,
.mild-bg,
.sepet-kart,
.box-order,
.sepet-bos-kart {
  border: 1px solid rgba(17, 28, 45, .08);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(17, 28, 45, .07);
}

.tf-cart-sold {
  padding: 26px;
}

.tf-table-page-cart {
  border-collapse: separate;
  border-spacing: 0;
  color: #394555;
  font-size: 15px;
}

.tf-table-page-cart thead th {
  padding: 0 18px 16px;
  border-bottom: 1px solid rgba(17, 28, 45, .10);
  color: #071c34;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.tf-table-page-cart tbody td {
  padding: 20px 18px;
  border-bottom: 1px solid rgba(17, 28, 45, .08);
  vertical-align: middle;
}

.tf-table-page-cart tbody tr:last-child td {
  border-bottom: 0;
}

.tf-cart-item_product {
  display: flex;
  gap: 16px;
  align-items: center;
}

.tf-cart-item_product .img-box {
  flex: 0 0 84px;
  border: 1px solid rgba(17, 28, 45, .08);
  background: #f6f9fb;
}

.tf-cart-item_product .cart-title {
  color: #071c34;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.45;
  text-decoration: none;
}

.cart-price,
.cart-total,
.box-order .total,
.box-order .price {
  color: #071c34;
  font-weight: 500;
}

.wg-quantity {
  background: #fff;
}

.wg-quantity .btn-quantity {
  font-size: 17px;
  font-weight: 400;
  transition: color .2s ease, background .2s ease;
}

.wg-quantity .btn-quantity:hover {
  background: rgba(222, 116, 54, .10);
  color: var(--pbmit-global-color, #de7436);
}

.remove-cart {
  color: #9aa3af;
  transition: color .2s ease;
}

.remove-cart:hover {
  color: var(--pbmit-global-color, #de7436);
}

.mild-bg,
.sepet-kart {
  padding: 24px;
}

.sepet-kart {
  margin-bottom: 18px;
  box-shadow: none;
}

.sepet-kart-baslik,
.baslik.baslik--kucuk {
  display: block;
  margin-bottom: 16px;
  color: #071c34;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.ep-cart-page label,
.ep-cart-page .inputinfo {
  color: #394555;
  font-size: 14.5px;
  font-weight: 400;
}

.ep-cart-page input[type="text"],
.ep-cart-page input[type="email"],
.ep-cart-page input[type="tel"],
.ep-cart-page input[type="number"],
.ep-cart-page textarea,
.ep-cart-page select,
.ep-cart-page .select2-container .select2-selection--single {
  min-height: 48px;
  border: 1px solid rgba(17, 28, 45, .12);
  border-radius: 4px;
  background: #fff;
  color: #071c34;
  font-size: 15px;
  box-shadow: none;
}

.ep-cart-page textarea {
  min-height: 118px;
}

.box-order {
  padding: 28px;
}

.box-order .title,
.box-order .title a {
  margin-bottom: 20px;
  color: #071c34;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
}

.box-order .subtotal,
.box-order .discount,
.box-order .ship,
.box-order .total-order {
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17, 28, 45, .08);
  color: #526071;
  font-size: 15px;
  font-weight: 400;
}

.box-order .total-order {
  margin-top: 8px;
  border-bottom: 0;
  color: #071c34;
  font-size: 20px;
  font-weight: 500;
}

.ip-discount-code {
  padding: 18px 0;
}

.box-progress-checkout .link {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  color: #526071;
  font-size: 14.5px;
  font-weight: 400;
  text-decoration: none;
}

.box-progress-checkout .link:hover {
  color: var(--pbmit-global-color, #de7436);
}

.sepet-bos-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.sepet-bos-kart {
  width: min(100%, 560px);
  padding: 54px 34px;
  text-align: center;
}

.sepet-bos-kart h2 {
  margin: 0 0 10px;
  color: #071c34;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
}

.sepet-bos-kart p {
  margin-bottom: 24px;
  color: #526071;
  font-size: 17px;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .ep-cart-banner {
    padding-top: 38px;
    padding-bottom: 36px;
  }

  .ep-cart-page {
    padding: 38px 0 54px;
  }

  .tf-cart-sold,
  .mild-bg,
  .box-order,
  .sepet-bos-kart {
    padding: 20px;
  }

  .tf-cart-item_product {
    align-items: flex-start;
  }

  .tf-cart-item td[data-cart-title]::before {
    font-weight: 500;
  }
}
