/* 5gonline – Sepet sayfası stilleri (en son yüklensin diye ayrı dosya) */
.cart-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}
.cart-page__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  color: var(--text-primary, #161921);
  margin-bottom: 1.5rem;
}
.cart-page__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .cart-page__layout {
    grid-template-columns: 1fr;
  }
}
.cart-page__table {
  width: 100%;
  border-collapse: collapse;
}
.cart-page__table thead {
  border-bottom: 1px solid #e5e5e5;
}
.cart-page__table th {
  padding: 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-inverse, #898989);
  text-align: left;
}
.cart-page__table th.product-quantity {
  text-align: center;
}
.cart-page__table th.product-price,
.cart-page__table td.product-price {
  text-align: right;
}
.cart-page__table tbody tr {
  border-bottom: 1px solid #eee;
}
.cart-page__table td {
  padding: 1.25rem 0;
  vertical-align: middle;
}
.cart-page__product {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.cart-page__product-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
  background: #f9f9f9;
}
.cart-page__product-thumb a,
.cart-page__product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-page__product-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary, #161921);
  text-decoration: none;
  margin-bottom: 0.25rem;
}
.cart-page__product-name:hover {
  color: var(--text-accent, #105af6);
}
.cart-page__product-desc {
  font-size: 0.8125rem;
  color: var(--text-inverse, #898989);
  line-height: 1.4;
  margin: 0;
}
.cart-page__table .product-price {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary, #161921);
}
.cart-page__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  color: #666;
  font-size: 1.25rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.cart-page__remove:hover {
  border-color: #ccc;
  color: var(--text-primary);
  background: #f5f5f5;
}
.quantity--stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  overflow: hidden;
}
.quantity__btn {
  width: 36px;
  height: 36px;
  border: none;
  background: #f9f9f9;
  color: var(--text-primary, #161921);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.quantity__btn:hover {
  background: #eee;
}
.quantity__input {
  width: 44px;
  height: 36px;
  border: none;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  -moz-appearance: textfield;
}
.quantity__input::-webkit-outer-spin-button,
.quantity__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-page__actions {
  margin-top: 1rem;
}
.cart-page__update {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  background: #f0f0f0;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.cart-page__update:hover {
  background: #e8e8e8;
  border-color: #ddd;
}
.cart-page__totals {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}
.cart-page__totals-table {
  width: 100%;
  border: none;
}
.cart-page__totals-table tr {
  border: none;
}
.cart-page__totals-table th,
.cart-page__totals-table td {
  padding: 0.5rem 0;
  border: none;
  font-size: 0.9375rem;
  color: var(--text-primary, #161921);
}
.cart-page__totals-table th {
  font-weight: 400;
  text-align: left;
}
.cart-page__totals-table td {
  text-align: right;
  font-weight: 500;
}
.cart-page__totals-table .order-total th,
.cart-page__totals-table .order-total td {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-top: 1px solid #e5e5e5;
}
.cart-page__coupon {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.cart-page__coupon-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  border: 1px solid var(--text-accent, #105af6);
  border-radius: 6px;
  min-width: 0;
}
.cart-page__coupon-input::placeholder {
  color: #999;
}
.cart-page__coupon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: var(--text-accent, #105af6);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.cart-page__coupon-btn:hover {
  opacity: 0.9;
}
.cart-page__checkout {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.cart-page__checkout .checkout-button,
.cart-page__checkout a.button {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: var(--text-accent, #105af6);
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cart-page__checkout .checkout-button:hover,
.cart-page__checkout a.button:hover {
  opacity: 0.9;
  color: #fff;
}
.cart-page__payments-title {
  font-size: 0.8125rem;
  color: var(--text-inverse, #898989);
  margin: 0 0 0.5rem 0;
}
.cart-page__payments-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.cart-page__pay-icon {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #666;
  background: #f5f5f5;
  border-radius: 4px;
}
.woocommerce-cart-form + .cart-collaterals {
  margin-top: 0;
}
.cart-collaterals .cross-sells {
  margin-top: 2rem;
}
