:root{--navy:#071525;--deep:#031221;--blue:#2b64e8;--ink:#172033;--muted:#667085;--line:#dfe6ef;--soft:#f5f8fc;--green:#16a36a}
.checkout-main{min-height:700px;padding:48px 0 85px;background:radial-gradient(circle at 85% 8%,rgba(43,100,232,.11),transparent 30%),#f5f8fc}
.checkout-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:28px;align-items:start}
.checkout-panel,.order-summary{padding:27px;border:1px solid var(--line);border-radius:19px;background:#fff;box-shadow:0 16px 45px rgba(7,21,37,.06)}
.checkout-heading span{color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.checkout-heading h1{margin:8px 0 10px;font-family:var(--display);font-size:38px;line-height:1.15}.checkout-heading p{margin:0 0 25px;color:var(--muted);font-size:13px}
.checkout-product{padding:18px;border:1px solid var(--line);border-radius:14px;display:grid;grid-template-columns:115px 1fr;gap:18px}.checkout-product img{width:115px;height:90px;object-fit:contain;border-radius:10px;background:#fff}.checkout-product h2{margin:3px 0 8px;font-family:var(--display);font-size:18px}.checkout-product p{margin:0;color:var(--muted);font-size:11px}
.coupon-form{margin-top:22px;padding-top:22px;border-top:1px solid var(--line);display:flex;gap:9px}.coupon-form input{flex:1;min-height:46px;padding:10px 12px;border:1px solid #d4deea;border-radius:9px}.coupon-message{margin-top:9px;color:var(--green);font-size:10px}.coupon-error{color:#b02f2f}
.checkout-terms{margin:23px 0;display:flex;align-items:flex-start;gap:9px;color:#667085;font-size:11px}.checkout-terms a{color:var(--blue);font-weight:700}
.payment-section{padding-top:21px;border-top:1px solid var(--line)}.payment-section h3{margin:0 0 12px;font-family:var(--display);font-size:16px}.test-payment{padding:15px;border:1px solid #f0d89b;border-radius:12px;background:#fff9e7}.test-payment p{margin:0 0 12px;color:#7c5a14;font-size:10px}.test-payment .primary-button{width:100%}
.order-summary{position:sticky;top:115px}.order-summary h2{margin:0 0 19px;font-family:var(--display);font-size:20px}.summary-row{padding:11px 0;border-bottom:1px solid #edf1f5;display:flex;justify-content:space-between;gap:20px;color:#526173;font-size:11px}.summary-row strong{color:#263247}.summary-row.total{padding-top:17px;border-bottom:0;font-size:14px}.summary-row.total strong{font-family:var(--display);font-size:24px}.offer-chip{display:inline-flex;margin-bottom:13px;padding:6px 9px;border-radius:999px;color:#0b704b;background:#e4f8ef;font-size:9px;font-weight:800;text-transform:uppercase}
.success-card{max-width:780px;margin:auto;padding:42px;border:1px solid var(--line);border-radius:21px;text-align:center;background:#fff;box-shadow:0 18px 55px rgba(7,21,37,.08)}.success-icon{width:62px;height:62px;margin:0 auto 17px;border-radius:50%;display:grid;place-items:center;color:#fff;background:var(--green);font-size:27px}.success-card h1{font-family:var(--display);font-size:38px}.success-card p{color:var(--muted)}.success-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.commerce-price-wrap{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.commerce-regular-price{text-decoration:line-through;color:#98a2b3;font-size:15px}.commerce-offer-label{display:inline-flex;padding:5px 8px;border-radius:999px;color:#08734e;background:#dcfce7;font-size:8px;font-weight:800;text-transform:uppercase}
@media(max-width:900px){.checkout-grid{grid-template-columns:1fr}.order-summary{position:static}}@media(max-width:640px){.checkout-main{padding:22px 0 60px}.checkout-panel,.order-summary{padding:20px}.checkout-product{grid-template-columns:80px 1fr}.checkout-product img{width:80px;height:68px}.coupon-form{flex-direction:column}}


/* Consolidated checkout repair */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.checkout-main,
.checkout-grid,
.checkout-panel,
.order-summary {
  min-width: 0;
}
.checkout-product > div {
  min-width: 0;
}
.checkout-product h2 {
  overflow-wrap: anywhere;
}
#paypal-button-container {
  min-height: 55px;
}

@media (max-width: 1100px) {
  .checkout-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .order-summary {
    position: static;
  }
}

/* V11.1 multi-product checkout */
.checkout-products {
  display: grid;
  gap: 12px;
}
.checkout-products .checkout-product {
  grid-template-columns: 94px minmax(0,1fr) auto;
  align-items: center;
}
.checkout-products .checkout-product img {
  width: 94px;
  height: 76px;
}
.checkout-product-copy {
  min-width: 0;
}
.checkout-product-price {
  color: #172033;
  font-family: var(--display);
  font-size: 18px;
  white-space: nowrap;
}
.checkout-cart-actions {
  margin-top: 13px;
  text-align: right;
}
.checkout-cart-actions a {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}
.summary-product-row {
  padding: 9px 0;
  border-bottom: 1px solid #edf1f5;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 14px;
  align-items: start;
  color: #526173;
  font-size: 10px;
}
.summary-product-row span {
  overflow-wrap: anywhere;
}
.summary-product-row strong {
  color: #263247;
  white-space: nowrap;
}
.success-products {
  max-width: 620px;
  margin: 20px auto;
  display: grid;
  gap: 8px;
  text-align: left;
}
.success-products span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #344054;
  background: #f8fafc;
  font-size: 11px;
}
@media(max-width:640px){
  .checkout-products .checkout-product {
    grid-template-columns: 70px minmax(0,1fr);
  }
  .checkout-products .checkout-product img {
    width: 70px;
    height: 60px;
  }
  .checkout-product-price {
    grid-column: 2;
    font-size: 16px;
  }
}
