.clmp {
  --clmp-ink: #182231;
  --clmp-muted: #4b596b;
  --clmp-line: #dfe5ec;
  --clmp-orange: #fd5c05;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  color: var(--clmp-ink);
}

.clmp-header {
  display: grid;
  gap: 5px;
  padding: 2px 2px 4px;
}

.clmp-header > p,
.clmp-stage > p {
  margin: 0;
  color: var(--clmp-muted);
  font-size: 14px;
  line-height: 1.4;
}

.clmp-header h1 {
  margin: 0;
  font-size: 23px;
  line-height: 1.2;
}

.clmp-header h1:focus {
  outline: none;
}

.clmp-header progress {
  width: 100%;
  height: 5px;
  margin-top: 4px;
  accent-color: var(--clmp-orange);
}

.clmp-stage {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 10px;
}

.clmp-stage[data-ceplink-purchase-step="type"],
.clmp-stage[data-ceplink-purchase-step="review"] {
  background: #fff;
  border: 1px solid var(--clmp-line);
  border-radius: 16px;
  padding: 14px;
}

.clmp-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.clmp .clmp-type,
.clmp .clmp-footer > button {
  min-height: 48px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--clmp-ink);
  border: 1px solid var(--clmp-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.clmp .clmp-type:focus-visible,
.clmp .clmp-footer > button:focus-visible {
  outline: 2px solid #953704;
  outline-offset: 2px;
}

.clmp .clmp-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 4px;
}

.clmp-stage > .clmp-type {
  flex-direction: row;
  gap: 8px;
}

.clmp-type[aria-pressed="true"] {
  border-color: var(--clmp-orange);
  background: #fff1e8;
  color: #843305;
}

.clmp-summary,
.clmp-issues {
  margin: 0;
}

.clmp-summary > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
}

.clmp-summary > div + div {
  border-top: 1px solid var(--clmp-line);
}

.clmp-summary dt {
  color: var(--clmp-muted);
  font-size: 13px;
}

.clmp-summary dd {
  min-width: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 650;
  text-align: right;
  overflow-wrap: anywhere;
}

.clmp-issues {
  padding: 10px 10px 10px 30px;
  border: 1px solid #ffd6c2;
  border-radius: 12px;
  background: #fff4ed;
  color: #7c2d12;
  font-size: 14px;
  line-height: 1.45;
}

.clmp-footer {
  position: sticky;
  z-index: 2;
  bottom: 0;
  display: flex;
  gap: 8px;
  margin-top: 2px;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--clmp-line);
}

.clmp:not(.clmp-stock) {
  padding-bottom: 82px;
}

.clmp:not(.clmp-stock) .clmp-footer {
  position: fixed;
  z-index: 7000;
  inset-inline: 14px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  padding: 8px;
  border: 1px solid var(--clmp-line);
  border-radius: 16px;
  box-shadow: 0 7px 24px #202d3a25;
}

.clmp-footer .clmp-back,
.clmp-footer .clmp-next {
  padding: 0 14px;
}

.clmp .clmp-footer > .clmp-next {
  flex: 1;
  background: var(--clmp-orange);
  border-color: var(--clmp-orange);
}

.clmp-footer button:disabled {
  opacity: .6;
  cursor: default;
}

.clmp :is(input, select, textarea),
[data-ceplink-mobile-purchase-customer-dialog] input {
  min-width: 0;
  font-size: 16px;
}

[data-ceplink-mobile-purchase-customer-dialog] {
  width: min(440px, calc(100vw - 24px));
}

[data-ceplink-mobile-purchase-quick-fields] {
  flex-direction: column;
}