.ppx-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 130px;
  align-items: start;
}
.ppx-cart-header {
  margin: 16px 0 18px;
}
.ppx-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #294756;
  text-decoration: none;
  font-weight: 700;
}
.ppx-cart-title {
  margin: 8px 0 4px;
  font-size: 36px;
  color: #1f292e;
  font-weight: 800;
}
.ppx-cart-subtitle {
  margin: 0;
  color: #6b7a84;
  font-weight: 600;
}
.ppx-cart-form {
  background: transparent;
}
.ppx-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ppx-cart-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #e6e1da;
  border-radius: 16px;
  background: #fff;
  padding: 18px 20px;
}
.ppx-ci-left {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.ppx-ci-thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.ppx-ci-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ppx-ci-title {
  font-weight: 800;
  color: #1f292e;
}
.ppx-ci-meta {
  color: #6b7a84;
  font-weight: 600;
}
.ppx-ci-price {
  color: #1f292e;
  font-weight: 800;
}
.ppx-ci-price del {
  color: #7a8790;
  font-weight: 600;
  margin-right: 6px;
}
.ppx-ci-price ins {
  text-decoration: none;
}
.ppx-ci-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ppx-ci-qty {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px; /* equal spacing between +, qty, and − */
}
.ppx-ci-qty .quantity{ margin:0 !important; display:flex; align-items:center; }
.ppx-ci-qty .quantity .qty{ margin:0; }

/* Hide native number input (we use + / − buttons), keep accessible for SR and JS */
.ppx-ci-qty .quantity{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ppx-qty-badge{
  min-width: 34px;
  text-align: center;
  font-weight: 700;
  color: #1f292e;
}
.ppx-qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e6e1da;
  background: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.ppx-ci-qty .qty {
  width: 48px;
  text-align: center;
  border: 0;
  background: transparent;
  font-weight: 700;
}
.ppx-ci-subtotal {
  font-weight: 800;
  color: #1f292e;
}
.ppx-ci-remove .ppx-remove {
  display: inline-flex;
}
.ppx-cart-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.ppx-cart-actions .coupon{
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
}
.ppx-cart-actions .coupon input.input-text{
  flex: 1 1 auto;
  min-width: 0;
}
.ppx-cart-actions .coupon button.button{
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 16px;
}
.ppx-cart-actions button[name="update_cart"]{ display: none !important; }

.ppx-cart-summary {
  position: sticky;
  top: 150px;
  align-self: flex-start;
}

.ppx-cart-summary-card {
  border: 1px solid #e6e1da;
  border-radius: 20px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.ppx-cart-summary-card h2 {
  margin: 0 0 12px;
  color: #1f292e;
}

/* Summary inner table */
.ppx-summary__title {
  margin: 0 0 14px;
  color: #1f292e;
  font-weight: 800;
  text-align: left;
  padding: 0 !important;
  font-size: 1.5rem !important;
}
.ppx-summary__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: none;
}
.ppx-summary__table th {
  text-align: left;
  color: #465965;
  font-weight: 700;
  padding: 5px 0;
  border: none;
  font-size: 1.1rem;
}

.ppx-summary__table td {
  text-align: right;
  color: #1f292e;
  font-weight: 700;
  padding: 0px 0;
  border: none;
  font-size: 1.1rem;
}
.ppx-summary__table tfoot tr th {
  color: #1f292e;
  font-weight: 800;
  padding-top: 12px;
  border-top: 1px solid #e6e1da;
}
.ppx-summary__table tfoot tr td {
  font-weight: 800;
  padding-top: 12px;
  border-top: 1px solid #e6e1da;
}
.ppx-summary__table .order-total th,
.ppx-summary__table .order-total td {
  font-size: 1.2rem;
}
.ppx-summary__cta {
  margin-top: 16px;
}
.ppx-summary__cta a.checkout-button {
  display: block;
  width: 100%;
  border-radius: 20px !important;
  padding: 10px 10px !important;
  font-size: 1.1rem !important;
}

/* (removed) no-return badge styles */

.woocommerce-js .ppx-summary__cta a.checkout-button {
  background: linear-gradient(
    135deg,
    hsl(200 35% 25%),
    hsl(200 45% 35%)
  ) !important;
  color: #fff !important;
}

.woocommerce-js .ppx-summary__cta a.checkout-button:hover {
  opacity: 0.9;
  color: #fff !important;
}

/* Make shipping row greenish (like Free) */
.ppx-summary__table .shipping td {
  color: #2a8a3f;
  font-weight: 800;
}

.ppx-guarantees {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  color: #6b7a84;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1rem !important;
}
.ppx-guarantees li::before {
  content: "\2713";
  color: #6b7a84;
  margin-right: 8px;
}

@media (max-width: 980px) {
  .ppx-cart-grid {
    grid-template-columns: 1fr;
  }
}
