/* Inline cart controls share the existing selection and checkout model. */
.selection-edit {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  margin-top:3px;
  padding:8px 0;
  border:0;
  background:transparent;
  color:#00718f;
  font-size:13px;
  font-weight:600;
  text-decoration:underline;
  text-underline-offset:3px;
}
.selection-edit-chevron {display:inline-block;font-size:18px;text-decoration:none;line-height:1}
.selection-edit[aria-expanded=true] .selection-edit-chevron {transform:rotate(180deg)}
.selection-editor {
  grid-column:1 / -1;
  min-width:0;
  padding-top:21px;
  border-top:1px solid #cee4ee;
}
.selection-editor[hidden],.selection-editor-row[hidden],.selection-editor-empty[hidden] {display:none}
.selection-editor-header h4 {margin:0 0 7px;font-size:18px;line-height:1.3;letter-spacing:-.4px}
.selection-editor-header p {max-width:100%;margin:0}
.selection-editor-rows {display:grid;gap:12px;margin-top:19px;min-width:0}
.selection-editor-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) 148px 124px;
  align-items:center;
  gap:18px;
  min-width:0;
  padding:17px 18px;
  border:1px solid #d9e9f0;
  border-radius:18px;
  background:#fff;
}
.selection-editor-identity {min-width:0}
.selection-editor-name {display:block;font-size:15px;font-weight:650;line-height:1.4;overflow-wrap:anywhere}
.selection-editor-row .selection-editor-unit {margin:4px 0 0;color:#526d84;font-size:13px}
.selection-editor-quantity {display:grid;gap:5px;min-width:0;color:#4a6888;font-size:12px}
.selection-editor-stepper {
  display:grid;
  grid-template-columns:46px minmax(24px,1fr) 46px;
  align-items:center;
  gap:5px;
  width:100%;
  min-width:0;
}
.selection-editor-count {
  text-align:center;
  font-size:23px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  line-height:1;
  color:#002f87;
}
.selection-editor-step {width:46px;height:46px;min-height:44px;border-radius:50%;background:#e1f5fe;color:#002f87;font-size:29px;font-weight:500;transform:none;transition:background .2s}
.selection-editor-step:disabled {background:#f0f4f9;color:#a6b7d0;box-shadow:none}
.selection-editor-line {display:grid;gap:6px;min-width:0;text-align:right}
.selection-editor-line>span {font-size:12px;color:#4a6888}
.selection-editor-line>strong {font-size:20px;letter-spacing:-.5px;color:#006d91;white-space:nowrap}
.selection-editor .selection-editor-empty {margin:16px 0 0;color:#3c607a}
.selection-editor-actions {display:flex;justify-content:flex-end;margin-top:17px}
.selection-editor-done {min-height:44px;padding:11px 25px;border:1px solid #bddde9;border-radius:99px;background:#e3f6fd;color:#003c72;font-size:14px;font-weight:600}
@media(hover:hover) and (pointer:fine) {
  .selection-editor-done:hover {background:#d6f0fa}
  .selection-editor-step:not(:disabled):hover {background:#cbeefa;transform:none}
}
@media(max-width:600px) {
  .selection-editor {padding-top:19px}
  .selection-editor-row {grid-template-columns:minmax(0,1fr) auto;gap:14px 18px;padding:16px}
  .selection-editor-identity {grid-column:1 / -1}
  .selection-editor-quantity {width:148px;max-width:100%}
  .selection-editor-line {align-self:end;padding-bottom:3px}
  .selection-editor-name {font-size:15px}
  .selection-editor-actions {justify-content:stretch}
  .selection-editor-done {width:100%}
}
@media(max-width:400px) {
  .selection-editor-row {grid-template-columns:minmax(0,1fr)}
  .selection-editor-line {display:flex;align-items:baseline;justify-content:space-between;gap:12px;text-align:left;padding-bottom:0}
}
