.checkoutWrap {
  max-width: 1360px;
}

.checkoutHeader {
  margin-bottom: 14px;
}

.checkoutHero {
  display: block;
  padding: 24px 28px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.07);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 6px;
  background: #eaf8fd;
  color: #087da8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.checkoutHero h1 {
  max-width: 720px;
  margin: 0 0 8px;
  color: #111827;
  font-size: 31px;
  line-height: 1.12;
}

.checkoutLead {
  max-width: 760px;
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.6;
}

.checkoutGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.82fr);
  gap: 16px;
  align-items: start;
}

.checkoutMain,
.checkoutSide {
  display: grid;
  gap: 16px;
}

.checkoutCard {
  padding: 22px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.stickyCard {
  position: sticky;
  top: 16px;
}

.sectionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.sectionHead.tight {
  margin-bottom: 13px;
}

.sectionKicker {
  color: #6b7280;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.sectionHead h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
}

.fieldGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.field {
  display: grid;
  gap: 7px;
}

.field span {
  color: #374151;
  font-size: 13px;
  font-weight: 760;
}

.fieldFull {
  grid-column: 1 / -1;
}

.textarea {
  min-height: 112px;
  resize: vertical;
}

.srOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.deliveryBlock,
.paymentSection {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.deliveryBlock[hidden] {
  display: none;
}

.choiceSwitch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.clientTypeSwitch {
  margin: 0 0 14px;
}

.businessField[hidden] {
  display: none;
}

.choicePill {
  appearance: none;
  border: 1px solid #d8e4ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #1f2937;
  min-height: 42px;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.choicePill:hover {
  border-color: #94dff8;
}

.choicePill.isSelected {
  border-color: #02b0f8;
  background: #eefaff;
  box-shadow: inset 0 0 0 1px rgba(2, 176, 248, 0.28);
}

.choicePill:disabled,
.selectCard:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.choicePill:disabled:hover,
.selectCard:disabled:hover {
  border-color: #d8e4ee;
  box-shadow: none;
}

.parcelLimitNotice {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #f7c56a;
  background: #fffbeb;
  color: #92400e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.parcelLimitNotice[hidden] {
  display: none;
}

.deliveryTitle {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #111827;
  font-size: 15px;
  font-weight: 900;
}

.deliveryTitle.secondary {
  margin-top: 6px;
}

.deliveryIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  background: #eef2f7;
  color: #111827;
}

.deliveryIcon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.deliveryCards {
  display: grid;
  gap: 9px;
}

.deliverySplit {
  display: grid;
  grid-template-columns: minmax(250px, 0.82fr) minmax(360px, 1.18fr);
  gap: 12px;
  align-items: start;
}

.deliveryCarrierColumn {
  align-content: start;
}

.selectCard,
.paymentCard {
  appearance: none;
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.selectCard:hover,
.paymentCard:hover {
  border-color: #94dff8;
  box-shadow: 0 10px 22px rgba(2, 176, 248, 0.09);
  transform: translateY(-1px);
}

.selectCard {
  display: grid;
  grid-template-columns: 18px 66px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 10px 12px;
}

.selectCard.parcelLogoCard {
  grid-template-columns: 18px minmax(96px, 1fr) auto;
}

.selectCard.courierLogoCard {
  grid-template-columns: 18px minmax(96px, 1fr) auto;
  justify-content: start;
}

.selectCard.isSelected,
.paymentCard.isSelected {
  border-color: #02b0f8;
  background: #f3fbff;
  box-shadow: inset 0 0 0 1px rgba(2, 176, 248, 0.35);
}

.radioDot {
  display: inline-flex;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #cfd6df;
  background: #ffffff;
  position: relative;
}

.isSelected .radioDot {
  border-color: #02b0f8;
}

.isSelected .radioDot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #02b0f8;
}

.selectCardMain {
  display: grid;
  gap: 2px;
}

.carrierLogo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 170px;
  height: 34px;
  overflow: hidden;
  background: transparent;
}

.carrierLogo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.selectCardMain strong,
.paymentCard strong {
  color: #111827;
  font-size: 14px;
  font-weight: 850;
}

.selectCardMain small {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.selectCardPrice {
  color: #111827;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  justify-self: end;
  text-align: right;
}

.lockerSearchPanel,
.courierAddressPanel {
  display: grid;
  gap: 9px;
  border: 1px solid #d8eaf5;
  border-radius: 8px;
  background: #f8fcff;
  padding: 12px;
}

.courierAddressGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.lockerSearchPanel.isRefreshing,
.courierAddressPanel.isRefreshing {
  animation: parcelPanelFade 240ms ease both;
}

@keyframes parcelPanelFade {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.parcelSuggestions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.parcelSuggestion {
  border: 1px solid #e0e7ef;
  border-radius: 8px;
  background: #ffffff;
  color: #1f2937;
  min-height: 38px;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
}

.parcelSuggestion:hover,
.parcelSuggestion.isSelected {
  border-color: #02b0f8;
  background: #eefaff;
}

.selectedParcel {
  width: fit-content;
  max-width: 100%;
  border: 1px solid #02b0f8;
  border-radius: 8px;
  background: #eefaff;
  color: #075985;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.selectedParcel[hidden] {
  display: none;
}

.parcelNoResults {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.4;
}

.deliveryFields {
  margin-top: 14px;
}

.checkboxLine {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.checkboxLine input {
  width: 17px;
  height: 17px;
  accent-color: #02b0f8;
}

.checkboxLine a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 850;
}

.checkboxLine a:hover {
  text-decoration: underline;
}

.notesWrap.isCollapsed {
  display: none;
}

.paymentGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.bankPaymentTitle {
  order: 1;
}

.paymentCountrySelect {
  order: 2;
}

.paymentCountry {
  order: 3;
}

.cardPaymentTitle {
  order: 4;
  margin-top: 8px;
}

.paymentGridCards {
  order: 5;
}

.deliveryTitle.secondary {
  order: 6;
}

.paymentGrid.compact {
  order: 7;
}

.paymentGrid.banks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.paymentGridCards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paymentGrid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.paymentCountry {
  display: grid;
  gap: 8px;
  padding-top: 5px;
}

.paymentCountry[hidden] {
  display: none;
}

.paymentCountrySelect {
  max-width: 280px;
  margin-top: 8px;
}

.paymentGroupTitle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.paymentGroupTitle::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #e5e7eb;
}

.paymentCard {
  display: grid;
  grid-template-columns: 18px 92px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px 12px;
}

.paymentCard[hidden] {
  display: none;
}

.paymentGrid.banks .paymentCard {
  grid-template-columns: 16px 74px minmax(0, 1fr);
  gap: 8px;
  min-height: 52px;
  padding: 8px 10px;
}

.paymentCard img {
  width: 86px;
  max-width: 86px;
  max-height: 30px;
  object-fit: contain;
}

.paymentGrid.banks .paymentCard img {
  width: 70px;
  max-width: 70px;
  max-height: 25px;
}

.paymentGridCards .paymentCard img {
  width: 94px;
  max-width: 94px;
  max-height: 34px;
}

.paymentGridCards .paymentCard[data-payment="card"] img {
  width: 86px;
  max-width: 86px;
  max-height: 26px;
}

.paymentGridCards .paymentCard[data-payment="apple_pay"] img,
.paymentGridCards .paymentCard[data-payment="google_pay"] img {
  max-height: 28px;
}

.paymentGridCards .paymentCard[data-payment="klix"] img {
  max-height: 26px;
}

.bankLogoText {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 30px;
  border-radius: 7px;
  background: #f3f4f6;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.paymentTextStack {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.paymentCard small {
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.checkoutLines {
  display: grid;
  gap: 12px;
}

.summaryOrderHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 900;
}

.summaryOrderHead a {
  color: #0284c7;
  text-decoration: none;
  font-size: 12px;
  font-weight: 850;
}

.summaryOrderHead a:hover {
  text-decoration: underline;
}

.summaryCheckoutLines {
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e7eb;
}

.checkoutLine {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 8px;
  background: #fbfdff;
  border: 1px solid #e5e7eb;
}

.summaryCheckoutLines .checkoutLine {
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 9px;
}

.checkoutThumb {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summaryCheckoutLines .checkoutThumb {
  width: 54px;
  height: 54px;
}

.checkoutThumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.checkoutThumbEmpty {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.checkoutLineTitle {
  font-size: 16px;
  font-weight: 880;
  color: #111827;
  margin-bottom: 5px;
}

.summaryCheckoutLines .checkoutLineTitle {
  display: -webkit-box;
  margin-bottom: 3px;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.checkoutLineMeta,
.checkoutLineDesc {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

.checkoutDetailChips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.checkoutDetailChips .chip {
  margin: 0;
  padding: 4px 7px;
  border-radius: 6px;
  background: #eef6fb;
  color: #374151;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 750;
}

.summaryCheckoutLines .checkoutLineMeta {
  margin-bottom: 0;
  font-size: 11px;
  line-height: 1.35;
}

.summaryCheckoutLines .checkoutLineDesc {
  display: none;
}

.summaryCheckoutLines .checkoutDetailChips {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.summaryCheckoutLines .checkoutDetailChips .chip {
  max-width: 100%;
  padding: 3px 6px;
  overflow-wrap: anywhere;
  background: #f3f7fa;
  color: #4b5563;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 760;
}

.checkoutLineMeta {
  margin-bottom: 7px;
}

.checkoutLinePrice {
  text-align: right;
  min-width: 125px;
}

.summaryCheckoutLines .checkoutLinePrice {
  grid-column: 2;
  text-align: left;
  min-width: 0;
}

.checkoutLinePrice strong {
  display: block;
  color: #111827;
  font-size: 17px;
  margin-bottom: 4px;
}

.summaryCheckoutLines .checkoutLinePrice strong {
  display: inline;
  margin: 0 8px 0 0;
  font-size: 13px;
}

.checkoutLinePrice span {
  display: block;
  color: #6b7280;
  font-size: 12px;
}

.summaryCheckoutLines .checkoutLinePrice span {
  display: inline;
  font-size: 11px;
}

.summaryCheckoutLines .checkoutLinePrice span:last-child {
  display: none;
}

.summaryRows {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.summaryRow {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #374151;
  font-size: 14px;
}

.summaryRow.total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid #e5e7eb;
  font-size: 17px;
}

.minimumOrderNotice {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #f7c56a;
  background: #fffbeb;
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.minimumOrderNotice[hidden] {
  display: none;
}

.paymentPanel {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
  padding: 14px;
  border-radius: 8px;
  background: #f3fbff;
  border: 1px solid #bcecff;
}

.paymentPanel[hidden] {
  display: none;
}

.paymentPanel.success {
  background: #f0fdf4;
  border-color: rgba(22, 163, 74, 0.25);
}

.paymentPanel.warning {
  background: #fffbeb;
  border-color: rgba(245, 158, 11, 0.32);
}

.paymentBadge {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 7px;
  background: #eaf8fd;
  color: #087da8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paymentPanel.success .paymentBadge {
  background: #dcfce7;
  color: #15803d;
}

.paymentPanel.warning .paymentBadge {
  background: #fef3c7;
  color: #b45309;
}

.paymentTitle {
  color: #111827;
  font-size: 17px;
  font-weight: 900;
}

.paymentText {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.5;
}

#paymentAction {
  justify-self: stretch;
  text-align: center;
}

.ctaStack {
  display: grid;
  gap: 9px;
}

@media (max-width: 1100px) {
  .checkoutGrid {
    grid-template-columns: 1fr;
  }

  .stickyCard {
    position: static;
  }

  .checkoutHero {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 720px) {
  .checkoutWrap {
    width: min(100vw - 16px, 100%);
  }

  .checkoutHero {
    padding: 18px;
  }

  .checkoutHero h1 {
    font-size: 26px;
  }

  .checkoutCard {
    padding: 16px;
  }

  .fieldGrid,
  .paymentGrid {
    grid-template-columns: 1fr;
  }

  .paymentGrid.banks,
  .paymentGrid.compact {
    grid-template-columns: 1fr;
  }

  .deliverySplit {
    grid-template-columns: 1fr;
  }

  .courierAddressGrid {
    grid-template-columns: 1fr;
  }

  .selectCard {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .selectCardPrice {
    grid-column: 2;
  }

  .paymentCard {
    grid-template-columns: 18px 82px minmax(0, 1fr);
  }

  .paymentCard img {
    width: 78px;
    max-width: 78px;
  }

  .paymentGridCards .paymentCard img {
    width: 96px;
    max-width: 96px;
  }

  .checkoutLine {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .checkoutLinePrice {
    grid-column: 1 / -1;
    text-align: left;
    min-width: 0;
  }

  .checkoutThumb {
    width: 72px;
    height: 72px;
  }
}
