/* Sepet: tam genişlik, tablo taşması düzgün kayar */
.route-checkout-cart #checkout-cart.container {
  width: 100%;
  max-width: 1400px;
}
.route-checkout-cart #content.col-sm-9,
.route-checkout-cart #content.col-sm-12 {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}
/* Journal side summary (cart-bottom sağda): flex düzenini bozma */
.route-checkout-cart #content .cart-page > .cart-table {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.route-checkout-cart #content .cart-bottom {
  flex: 0 0 440px;
  width: 440px;
  max-width: 440px !important;
  margin-left: 24px !important;
  box-sizing: border-box;
}
.route-checkout-cart #content .panels-total .cart-total table {
  max-width: none !important;
  width: 100%;
}
.route-checkout-cart #content .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 12px;
}
.route-checkout-cart #content .cart-table table.table-bordered {
  width: 100%;
  min-width: 640px;
  table-layout: auto;
}
.route-checkout-cart #content .cart-table .td-image {
  width: 84px !important;
  max-width: 96px !important;
  min-width: 72px !important;
  vertical-align: top;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
.route-checkout-cart #content .cart-table .td-image > div,
.route-checkout-cart #content .cart-table .td-image .pcb-imgswap {
  max-width: 72px;
  width: 72px;
  margin-left: auto;
  margin-right: auto;
}
.route-checkout-cart #content .cart-table .td-image img {
  max-width: 72px !important;
  width: 72px !important;
  height: auto !important;
}
.route-checkout-cart #content .cart-table .td-name,
.route-checkout-cart #content .cart-table .td-product {
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 180px;
}
.route-checkout-cart #content .cart-table .td-model {
  width: 88px !important;
  max-width: 100px !important;
  font-size: 12px;
  word-break: break-all;
  vertical-align: top;
}
/* Süre kutusu: "Kaldı" tek satırda kalsın */
.route-checkout-cart .pcb-cart-expiry {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35em;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 12px !important;
  line-height: 1.35 !important;
  padding: 6px 10px !important;
}
.route-checkout-cart .pcb-cart-expiry .fa-clock-o {
  flex-shrink: 0;
}
.route-checkout-cart .pcb-cart-expiry [data-pcb-expires-text] {
  white-space: nowrap !important;
}
@media (max-width: 1024px) {
  .route-checkout-cart #content .cart-bottom {
    flex: 1 1 100%;
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
  }
}

/* LCSC / sepet: güncelle butonu gizle, adet yazınca kaydet */
.cart-table .btn-update,
.cart-section .td-qty .btn-primary .fa-refresh,
.cart-section .td-qty button.btn-primary {
  display: none !important;
}

/*
 * Sabit sütunlar: adet/fiyat/toplam büyüyünce tablo kaymasın.
 * Çarpı son kolonda (td-remove) — adetten ayrı.
 */
.route-checkout-cart #content .cart-table .td-qty,
.route-checkout-cart #content .table-responsive .cart-table .td-qty,
.quick-checkout-wrapper .td-qty {
  width: 110px !important;
  min-width: 100px !important;
  max-width: 120px;
  vertical-align: middle !important;
}

.route-checkout-cart #content .cart-table .td-price,
.route-checkout-cart #content .table-responsive .cart-table .td-price,
.quick-checkout-wrapper .td-price {
  width: 120px !important;
  min-width: 112px !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  vertical-align: middle !important;
}

.route-checkout-cart #content .cart-table .td-total,
.route-checkout-cart #content .table-responsive .cart-table .td-total,
.quick-checkout-wrapper .td-total {
  width: 112px !important;
  min-width: 104px !important;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  vertical-align: middle !important;
}

.route-checkout-cart #content .cart-table .td-remove,
.route-checkout-cart #content .table-responsive .cart-table .td-remove,
.quick-checkout-wrapper .td-remove {
  width: 52px !important;
  min-width: 48px !important;
  max-width: 56px;
  vertical-align: middle !important;
  text-align: center !important;
  padding-left: 6px !important;
  padding-right: 6px !important;
}

/* Adet stepper: sadece adet */
.cart-section .td-qty .input-group.btn-block,
.cart-table .td-qty .input-group.btn-block,
.quick-checkout-wrapper .td-qty .input-group.btn-block {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 110px !important;
  min-width: 96px !important;
  margin: 0 auto;
}

.cart-section .td-qty .stepper,
.cart-table .td-qty .stepper,
.quick-checkout-wrapper .td-qty .stepper,
.checkout-cart .td-qty .stepper {
  flex: 0 0 96px !important;
  width: 96px !important;
  min-width: 96px !important;
  max-width: 96px !important;
  box-sizing: border-box;
}

.cart-section .td-qty .stepper .form-control,
.cart-table .td-qty .stepper .form-control,
.quick-checkout-wrapper .td-qty .stepper .form-control,
.checkout-cart .td-qty .stepper .form-control {
  min-width: 0 !important;
  width: 100% !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.cart-section .td-remove .btn-remove,
.cart-table .td-remove .btn-remove,
.quick-checkout-wrapper .td-remove .btn-danger,
.quick-checkout-wrapper .td-remove .btn-remove {
  width: 36px !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.cart-section .td-qty .pcb-qty-only,
.cart-table .td-qty .pcb-qty-only {
  text-align: center;
}

/* Ok hit alanı biraz daha rahat */
.cart-section .td-qty .stepper span i,
.cart-table .td-qty .stepper span i,
.quick-checkout-wrapper .td-qty .stepper span i {
  min-width: 22px !important;
}
