.pl-checkout-title { margin: 20px 0 24px; }
.pl-checkout-title small { font-size: .55em; }
.pl-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  margin-bottom: 32px;
}
.pl-checkout-box {
  min-width: 0;
  padding: clamp(14px, 2vw, 28px);
  border: 1px solid #e6e6ea;
  border-radius: 18px;
  background: #fff;
}
.pl-store .pl-checkout-box h2 { margin: 0 0 16px; font-size: 20px; }
.pl-checkout-items { list-style: none; margin: 0; padding: 0; }
.pl-checkout-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #ededf0;
}
.pl-checkout-item:first-child { padding-top: 0; }
.pl-checkout-thumb {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  overflow: hidden;
  border: 1px solid #f0f0f2;
  border-radius: 10px;
}
.pl-checkout-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.pl-checkout-product { flex: 1 1 150px; min-width: 0; overflow-wrap: anywhere; }
.pl-checkout-product a { font-weight: 650; }
.pl-checkout-product small { display: block; color: #55555e; }
.pl-checkout-item-controls { display: flex; align-items: center; gap: 8px; }
.pl-checkout-item-controls { flex-wrap: wrap; }
.pl-checkout-item-controls strong { white-space: nowrap; }
.pl-checkout-remove {
  height: 36px;
  min-width: 36px;
  border: 1px solid #e1e1e6;
  border-radius: 9px;
  background: #fff;
  color: #202124;
}
.pl-checkout-item .pl-product-stepper input {
  width: 44px;
  height: 34px;
  padding: 0;
  border: 0;
  background: #fff;
  text-align: center;
  appearance: textfield;
}
.pl-checkout-item .pl-product-stepper input::-webkit-inner-spin-button,
.pl-checkout-item .pl-product-stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.pl-checkout-item .pl-product-stepper input:focus-visible { outline: 2px solid #111; outline-offset: -2px; }
.pl-checkout-item .pl-product-stepper button:disabled:hover { background: #fff; }
.pl-store .pl-checkout-remove { font-size: 20px; line-height: 1; }
.pl-checkout-extras { margin: 20px 0 0; }
.pl-checkout-continue { display: inline-block; margin-top: 16px; font-weight: 600; }
.pl-checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.pl-checkout-wide { grid-column: 1 / -1; }
.pl-checkout-field label { display: block; margin-bottom: 5px; font-weight: 600; }
.pl-checkout-field label span { color: #b6212d; }
.pl-checkout-field input, .pl-checkout-field select, .pl-checkout-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #d9d9df;
  border-radius: 9px;
  background: #fff;
  color: #202124;
}
.pl-checkout-field textarea { resize: vertical; }
.pl-checkout-field [aria-invalid="true"] { border-color: #b6212d; }
.pl-checkout-methods { margin-top: 16px; }
.pl-checkout-choices { margin: 0 0 14px; min-width: 0; }
.pl-checkout-choices legend { margin-bottom: 8px; padding: 0; border: 0; font-size: 15px; font-weight: 700; }
.pl-checkout-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  padding: 10px;
  border: 1px solid #e6e6ea;
  border-radius: 9px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.pl-checkout-choice input, .pl-checkout-terms input { margin: 0; accent-color: var(--pl-accent, #e52332); }
.pl-checkout-totals { margin: 12px 0; }
.pl-checkout-totals > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.pl-checkout-totals > div:last-child { border-top: 1px solid #e6e6ea; font-size: 16px; font-weight: 700; }
.pl-checkout-totals dd { text-align: end; }
.pl-checkout-terms label { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.pl-checkout-terms a { margin-inline-start: 21px; text-decoration: underline; }
.pl-checkout-error { color: #ae202c; overflow-wrap: anywhere; }
.pl-checkout-error:empty { display: none; }
.pl-checkout-alert { margin-top: 12px; }
.pl-checkout-submit, .pl-checkout-retry {
  width: 100%;
  min-height: 46px;
  margin-top: 12px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 24px;
  background: var(--pl-header, #e52332);
  color: var(--pl-header-ink, #fff);
  font-weight: 700 !important;
}
.pl-checkout-submit:disabled { opacity: .5; cursor: default; }
.pl-checkout-retry { border-color: #e1e1e6; background: #fff; color: #202124; }
.pl-checkout-payment { padding-bottom: 32px !important; }
.pl-checkout-payment .pl-checkout-box { max-width: 680px; }
@media (max-width: 991px) {
  .pl-checkout-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .pl-checkout-fields { grid-template-columns: minmax(0, 1fr); }
  .pl-checkout-item-controls { width: 100%; }
  .pl-checkout-item-controls .pl-checkout-remove { margin-inline-start: auto; }
}
