
@font-face {
  font-family: DBNeoScreenHeadVF;
  src: url(https://marketingportal.extranet.deutschebahn.com/resource/blob/13386818/bbb9124411704c818e7cd67febfa12c2/DB_Neo_Head_VF_ttf-data.ttf) format("truetype");
  src: url(https://marketingportal.extranet.deutschebahn.com/resource/blob/13386828/29aee37086891314eec6dab6c0887c3a/DB_Neo_Head_VF_woff-data.woff) format("woff");
  src: url(https://marketingportal.extranet.deutschebahn.com/resource/blob/13386858/c749e958b12c2fb30d7175ae5d14de11/DB_Neo_Head_VF_woff2-data.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap
}

:root {
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  --color-black: #1a1c1f;
  --color-light-grey: #e1e2e6;
  --color-white: #ffffff;
}

body {
  font-family: "DBNeoScreenHeadVF", sans-serif;
  font-feature-settings: "liga" off, "clig" off;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 20px;
  background-color: #f0f3f5;
  color: var(--color-black);
  box-sizing: border-box;
}

.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.db-zmg-container {
  padding: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.image-container {
  margin: 95px 0;
}

.image-render {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0px 60px;
  height: auto;
}
.image-render svg {
  height: 200px;
  width: auto;

  max-width: 100%;
}

canvas {
  width: 100%;
  height: auto;
  display: block;
}

.input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

[data-approved="false"] [data-hidden="unapproved"] {
  display: none;
}

[data-approved="true"] [data-hidden="approved"] {
  display: none;
}

[data-approved="true"] [data-hidden="unapproved"] {
  display: block;
}

/* new styles */
.top-tabs-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.top-tab-button {
  font-family: inherit;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  padding: 8px 19px;
  color: var(--color-black);
  background-color: rgba(90, 94, 104, 0.08);
  border: none;
  border-radius: 0px;
  max-width: 210px;
  width: 100%;
  flex-shrink: 0;
  transition: background-color 0.3s ease-out;
}
.top-tab-button:first-child {
  border-radius: 12px 0px 0px 0px;
}
.top-tab-button:last-child {
  border-radius: 0px 12px 0px 0px;
}

.top-tab-button--active {
  background-color: var(--color-white);
  font-weight: 700;
  cursor: default;
}

.tabs-top-section {
  background-color: var(--color-white);
  border-radius: 0 12px 12px 12px;
  padding: 32px 16px 16px 16px;
  margin-bottom: 18px;
}

.tabs-top-section__content {
  gap: 32px;
  display: flex;
}

.input-wrap__note {
  color: #5a5e68;

  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding-top: 4px;
}

.input-wrap__note-wrapper {
  position: relative;
}

.input-wrap__tooltip {
  display: none;

  position: absolute;
  z-index: 3;
  width: 216px;
  background-color: var(--color-white);
  padding: 4px 8px;
  top: 32px;
  left: -108px;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(195, 199, 206, 0.6);
  text-align: center;
  color: var(--color-black);
  font-size: 14px;
  line-height: 20px;
}

.input-wrap__tooltip-arrow {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  z-index: 1;
}

.input-wrap__tooltip-arrow::before {
  content: "";
  position: absolute;
  top: 1px;
  left: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(0, 0, 0, 0.1);
  filter: blur(2px);
  z-index: 0;
}

.input-wrap__tooltip-arrow::after {
  content: "";
  position: absolute;
  top: 3px;
  left: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid var(--color-white);
  z-index: 1;
}

.input-wrap__note:hover + .input-wrap__tooltip {
  display: block;
}

.input-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.input-wrap__label,
.smart-select__label {
  display: block;
  color: #43474e;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 8px;
}

.input-wrap__input {
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 24px;
  background-color: #f0f3f5;
  border: none;
  border-radius: 4px;
  outline: none;
  font-family: inherit;
  min-width: 0;
  transition: opacity 0.3 ease-out;
}

.input-wrap__input:disabled {
  opacity: 0.4;
}

.input-wrap__wrapper {
  display: flex;
  width: 100%;
}

.workarea {
  background-color: var(--color-white);
  width: 100%;
  padding: 20px 0 24px;
  margin-bottom: 16px;
  border-radius: 12px;
}

[data-color="red"].workarea {
  background-color: red;
}

[data-color="black"].workarea {
  background-color: #131821;
}

[data-color="grey"].workarea {
  background-color: #d7dce1;
}

[data-color="white"].workarea {
  background-color: var(--color-white);
}

[data-color="full-white"].workarea {
  background-color: #131821;
}

.workarea__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.workarea__tab {
  padding: 8px 12px;
  font-size: 16px;
  font-family: inherit;
  font-weight: 400;
  line-height: 24px;
  cursor: pointer;
  background-color: transparent;
  border: none;
  color: var(--color-black);
  position: relative;
}

[data-color="red"] .workarea__tab {
  color: var(--color-white);
}

[data-color="black"] .workarea__tab {
  color: var(--color-white);
}

[data-color="grey"] .workarea__tab {
  color: var(--color-black);
}

[data-color="white"] .workarea__tab {
  color: var(--color-black);
}

[data-color="full-white"] .workarea__tab {
  color: var(--color-white);
}

.workarea__tab--active {
  cursor: default;
  font-weight: 700;
}

.workarea__tab::after {
  position: absolute;
  content: "";
  border-radius: 8px;
  background-color: transparent;
  width: 100%;
  height: 4px;
  bottom: -8px;
  transition: background-color 0.3s ease-out;
  left: 0;
}

.workarea__tab--active::after {
  background-color: #ec0016;
}

.position-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 6px;
  background-color: var(--color-white);
  margin: 0 auto;
  width: fit-content;
  margin-top: 25px;
  gap: 6px;
}

.position-buttons__button {
  cursor: pointer;
  border: none;
  display: flex;
  width: 32px;
  height: 32px;
  padding: 0;
  justify-content: center;
  align-items: center;
  background-color: var(--color-white);
  transition: color 0.3s ease-out, background-color 0.3s ease-out;
  flex-shrink: 0;
  border-radius: 4px;
}

.position-buttons__button {
  color: var(--color-black);
}

.position-buttons__button--active {
  color: var(--color-white);
  background-color: var(--color-black);
  cursor: default;
}

.position-buttons__button:disabled {
  opacity: 0.4;
  cursor: default;
}

.position-buttons__item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta {
  font-family: inherit;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  background-color: #ec0016;
  color: var(--color-white);
  transition: color 0.3s ease-out, background-color 0.3s ease-out,
    opacity 0.3 ease-out;
  flex-shrink: 0;
  gap: 8px;
}

.cta:disabled {
  opacity: 0.4;
  cursor: default;
}

.cta:hover:not(:disabled),
.cta:focus:not(:disabled) {
  background-color: #c50014;
}

.confirmation {
  padding: 25px 24px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  background-color: var(--color-white);
  border-radius: 12px;
}

.confirmation__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--color-black);
}

.confirmation__text {
  font-size: 14px;
  color: var(--color-black);
  line-height: 20px;
}

.error {
  padding: 16px;
  background-color: #ebf5fe;
  border-radius: 4px;
  border: 1px solid #89cffa;
  margin-bottom: 16px;
  gap: 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.error__title {
  font-size: 12px;
  font-weight: 700;
  line-height: 150%;
}

.error__text {
  font-size: 12px;
  line-height: 150%;
  margin: 0;
}

.error__wrap {
  flex-grow: 1;
}

.error__close {
  flex-shrink: 0;
}

.error__icon {
  flex-shrink: 0;
}

.error__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  cursor: pointer;
  padding: 0;
  border: none;
  background-color: transparent;
  color: #041e2b;
}

.question {
  font-family: inherit;
  border: none;
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  color: #8a919e;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: 16px;
  line-height: 120%;
  margin-bottom: 100px;
}

.tabs-top-section__current {
  flex: 1;
}

.styled-select {
  padding: 8px 12px;
  border: none;
  outline: none;
  font-size: 16px;
  line-height: 24px;
  font-family: inherit;
  background-color: #f0f3f5;
  border-radius: 4px;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.205.5a.998.998 0 0 0-.994.995c0 .266.133.53.298.697l5.006 5.01c.199.198.464.298.696.298a.936.936 0 0 0 .62-.22l5.082-5.088c.199-.166.298-.431.298-.697A.998.998 0 0 0 11.217.5c-.266 0-.53.1-.73.299L6.21 5.079 1.935.799a1.028 1.028 0 0 0-.73-.3Z' fill='%231A1C1F'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

[data-current-mode="product"] [data-mode-content="unit"] {
  display: none;
}

[data-current-mode="unit"] [data-mode-content="product"] {
  display: none;
}

[data-current-mode="product"] .input-wrap__input {
  font-weight: 700;
}

[data-current-mode="product"] [data-mode-content="product"],
[data-current-mode="unit"] [data-mode-content="unit"] {
  display: flex;
}

[data-current-variant="Nahvariante"] [data-variant-content="Fernvariante"] {
  display: none;
}

[data-current-variant="Fernvariante"] [data-variant-content="Nahvariante"] {
  display: none;
}

[data-current-variant="Nahvariante"] [data-variant-content="Nahvariante"],
[data-current-variant="Fernvariante"] [data-variant-content="Fernvariante"] {
  display: flex;
}

.export {
  background-color: var(--color-white);
  padding: 27px 24px;
  margin-bottom: 16px;
  border-radius: 12px;
}

.export__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: var(--color-black);
}

.export__text {
  font-size: 14px;
  color: var(--color-black);
  line-height: 20px;
  margin-bottom: 16px;
}

.export__container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.export__wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  flex-shrink: 0;
}

.export__buttons {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 4px;
}

.export__size-button {
  cursor: pointer;
  padding: 0;
  border: none;
  width: 40px;
  height: 40px;
  background-color: var(--color-white);
  font-family: inherit;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: rgba(90, 94, 104, 0.08);
  color: var(--color-black);
  transition: color 0.3s ease-out, background-color 0.3s ease-out;
}

.export__size-button--active {
  color: var(--color-white);
  background-color: #131821;
  cursor: default;
}

.input-wrap--color {
  width: 170px;
  flex-shrink: 0;
}

.input-wrap--format {
  width: 99px;
  flex-shrink: 0;
}

[data-error="visible"] {
  display: flex;
}

[data-error="hidden"] {
  display: none;
}

[data-confirmation="visible"] {
  display: flex;
}

[data-confirmation="hidden"] {
  display: none;
}

[data-export="visible"] {
  display: block;
}

[data-export="hidden"] {
  display: none;
}

.smart-select__input-wrap {
  position: relative;
}

.smart-select--color-fern .smart-select__input-wrap,
.smart-select--color .smart-select__input-wrap {
  width: 145px;
}

.smart-select--color .smart-select__input {
  font-size: 0;
}

.smart-select--color-fern .smart-select__input {
  font-size: 0;
}

.smart-select--format .smart-select__input-wrap {
  width: 99px;
}

.smart-select--format .smart-select__input {
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  font-weight: 400;
}

.smart-select--color-fern .smart-select__input {
  background-color: var(--color-light-grey);
}

.smart-select__wrap {
  position: relative;
}

.smart-select__input {
  padding: 8px 30px 8px 12px;
  border: none;
  outline: none;
  font-size: 16.113px;
  font-weight: 780;
  line-height: 24px;
  font-family: inherit;
  background-color: var(--color-light-grey);
  border-radius: 4px;
  width: 100%;
  display: flex;
  min-width: 0;
  outline: none;
  font-family: inherit;
  transition: background-color 0.3s ease-out, border-radius 0.3s ease-out;
}

.smart-select__input-button {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.205.5a.998.998 0 0 0-.994.995c0 .266.133.53.298.697l5.006 5.01c.199.198.464.298.696.298a.936.936 0 0 0 .62-.22l5.082-5.088c.199-.166.298-.431.298-.697A.998.998 0 0 0 11.217.5c-.266 0-.53.1-.73.299L6.21 5.079 1.935.799a1.028 1.028 0 0 0-.73-.3Z' fill='%231A1C1F'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  border: none;
  padding: 0;
  background-color: transparent;
}

.smart-select__background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.smart-select__dropdown {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 64px;
  background-color: var(--color-light-grey);
  width: 100%;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  transition: height 0.3s ease-out;
  height: 0;
}

.smart-select__input-container {
  display: flex;
  width: 100%;
  height: 40px;
  position: relative;
}

.smart-select__modal-button {
  cursor: pointer;
  border: none;
  background-color: transparent;
  padding: 0;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 780;
  line-height: 16px;
  letter-spacing: -0.161px;
  transition: background-color 0.3s ease-out;
  width: 100%;
}

.smart-select--format .smart-select__modal-button:hover {
  background-color: #c3c7ce;
}

.smart-select__button-inside {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 8px 12px;
  width: 100%;
}

.smart-select__button-inside--format {
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
  font-weight: 400;
}

.smart-select__modal-button-icon {
  flex-shrink: 0;
  display: block;
  width: 31px;
  height: 22px;
  border-radius: 4px;
}

.smart-select__button-inside--nah-color-black {
  background-color: var(--color-black);
  color: var(--color-white);
}

.smart-select__button-inside--nah-color-white {
  background-color: var(--color-white);
  color: var(--color-black);
}

.smart-select__button-inside--nah-color-full-white {
  background-color: var(--color-black);
  color: var(--color-white);
}

.smart-select__button-inside--nah-color-grey {
  background-color: var(--color-light-grey);
  color: var(--color-black);
}

.smart-select__button-inside--nah-color-grey .smart-select__modal-button-icon {
  background-color: var(--color-white);
}

.smart-select__button-inside--nah-color-black .smart-select__modal-button-icon {
  background-color: var(--color-white);
}

.smart-select__current-value {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 780;
  border-radius: 4px;
  transition: color 0.3s ease-out, background-color 0.3s ease-out;
}

[data-open="open"].styled-select,
[data-open="open"] .smart-select__input {
  border-radius: 4px 4px 0 0;
}

[data-open="close"] .smart-select__background {
  display: block;
}

[data-open="close"] .smart-select__background {
  display: none;
}

[data-value="white"].smart-select--color .smart-select__current-value--white {
  display: flex;
}

[data-value="full-white"].smart-select--color
  .smart-select__current-value--full-white {
  display: flex;

  background-color: var(--color-black);
  color: var(--color-white);
}

[data-value="white"].smart-select--color-fern
  .smart-select__current-value--white {
  display: flex;

  background-color: var(--color-white);
  color: var(--color-black);
}

[data-value="black"].smart-select--color-fern
  .smart-select__current-value--black {
  display: flex;
  background-color: var(--color-black);
  color: var(--color-white);
}

.smart-select__current-value--grey .smart-select__modal-button-icon {
  background-color: var(--color-white);
}

.smart-select__current-value--black .smart-select__modal-button-icon {
  background-color: var(--color-white);
}

[data-value="white"].smart-select--color .smart-select__input {
  background-color: var(--color-white);
}

[data-value="black"].smart-select--color .smart-select__current-value--black {
  display: flex;
  color: var(--color-white);
}

[data-value="black"].smart-select--color .smart-select__input-button {
  background-image: url("data:image/svg+xml,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.16587 0.499952C0.902401 0.501007 0.650035 0.606208 0.463823 0.792607C0.277612 0.979006 0.172665 1.23148 0.171875 1.49495C0.171875 1.76095 0.304875 2.02595 0.469875 2.19195L5.47587 7.20195C5.67487 7.39995 5.93988 7.49995 6.17188 7.49995C6.39835 7.50406 6.61864 7.42589 6.79187 7.27995L11.8739 2.19195C12.0729 2.02595 12.1719 1.76095 12.1719 1.49495C12.1711 1.23148 12.0661 0.979006 11.8799 0.792607C11.6937 0.606208 11.4413 0.501007 11.1779 0.499952C10.9119 0.499952 10.6479 0.599952 10.4479 0.798952L6.17188 5.07895L1.89587 0.798952C1.79988 0.703502 1.68597 0.627953 1.5607 0.576643C1.43542 0.525332 1.30125 0.49927 1.16587 0.499952Z' fill='white'/%3E%3C/svg%3E%0A");
}

[data-value="black"].smart-select--color .smart-select__input {
  background-color: var(--color-black);
}

[data-value="grey"].smart-select--color .smart-select__current-value--grey {
  display: flex;
}

[data-value="grey"].smart-select--color .smart-select__input {
  background-color: var(--color-light-grey);
}

.smart-select--color-fern .smart-select__modal-button:hover {
  background-color: #c3c7ce;
}

.smart-select--color-fern .smart-select__button-inside {
  padding: 12px 14px;
  display: block;
}

.smart-select--color-fern .smart-select__button-inside--white {
  color: var(--color-black);
  background-color: var(--color-white);
}

.smart-select--color-fern .smart-select__button-inside--black {
  color: var(--color-white);
  background-color: var(--color-black);
}

[data-current-variant="Nahvariante"]
  [data-variant-export-content="Fernvariante"] {
  display: none;
}

[data-current-variant="Nahvariante"]
  [data-variant-export-content="Nahvariante"] {
  display: block;
}

[data-current-variant="Fernvariante"]
  [data-variant-export-content="Nahvariante"] {
  display: none;
}

[data-current-variant="Fernvariante"]
  [data-variant-export-content="Fernvariante"] {
  display: block;
}

[data-value="black"] [data-option-variant="black"],
[data-value="white"] [data-option-variant="white"],
[data-value="full-white"] [data-option-variant="full-white"],
[data-value="grey"] [data-option-variant="grey"] {
  display: none;
}

[data-value="png"] [data-option-variant="png"],
[data-value="svg"] [data-option-variant="svg"] {
  display: none;
}

.smart-select--units {
  width: 100%;
}

.smart-select__units {
  padding: 12px;
}

.smart-select__units-wrap {
  height: 250px;
  overflow-y: scroll;
  margin-bottom: 12px;
}

.smart-select--units .smart-select__dropdown {
  background-color: var(--color-white);

  border-radius: 8px;
  box-shadow: 0 0 2px -1px rgba(0, 0, 0, 0.2), 0 0 8px 1px rgba(0, 0, 0, 0.12),
    0 0 4px 0 rgba(0, 0, 0, 0.14);
}

.smart-select--units .smart-select__input {
  background-color: #f0f3f5;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.smart-select--units .smart-select__modal-button {
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  width: 100%;
}

.smart-select--units .smart-select__modal-button--active {
  font-weight: 700;
}

.add-unit {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 12px;
  border-top: 1px solid #c3c7ce;
}

.add-unit__icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #282d37;
}

.add-unit__input-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.add-unit__value-wrap {
  width: 100%;
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.add-unit__value {
  white-space: nowrap;
}

.add-unit__input::placeholder {
  color: #5a5e68;
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
}

.add-unit__input {
  font-family: inherit;
  font-size: 16px;
  line-height: 20px;
  padding: 10px 12px;
  border: none;
  background-color: transparent;
  width: 100%;
  color: var(--color-black);
  outline: none;
}

.add-unit__button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  border: none;
  background-color: transparent;
  flex-shrink: 0;
}

.add-unit__button--submit {
  border-radius: 4px;
  background-color: rgba(90, 94, 104, 0.08);
  width: 40px;
  height: 40px;
  color: #1a1c1f;
}

.add-unit__button--delete {
  color: #1a1c1f;
  border-radius: 4px;
  background-color: rgba(90, 94, 104, 0.08);
  width: 40px;
  height: 40px;
}

.add-unit__button--edit {
  width: 24px;
  height: 24px;
  color: #282d37;
}

[data-has-value="false"] [data-visible="hidden"].add-unit__button--submit {
  display: none;
}

[data-has-value="false"] [data-visible="visible"].add-unit__button--submit {
  display: flex;
}

[data-has-value="true"] [data-visible="visible"].add-unit__button--submit {
  display: none;
}

[data-has-value="true"] .add-unit__input-wrap {
  display: none;
}

[data-has-value="false"] .add-unit__button--edit {
  display: none;
}

[data-has-value="true"] .add-unit__button--edit {
  display: flex;
}

[data-has-value="false"] .add-unit__button--delete {
  display: none;
}

[data-has-value="true"] .add-unit__button--delete {
  display: flex;
}

[data-has-value="false"] .add-unit__icon {
  display: block;
}

[data-has-value="true"] .add-unit__icon {
  display: none;
}

[data-has-value="false"] .add-unit__value-wrap {
  display: none;
}

[data-has-value="true"] .add-unit__value-wrap {
  display: flex;
}

[data-current-mode-optional="unit"] .input-wrap__text--unit {
  display: block;
}

[data-current-mode-optional="unit"] .input-wrap__text--product {
  display: none;
}

[data-current-mode-optional="product"] .input-wrap__text--product {
  display: block;
}

[data-current-mode-optional="product"] .input-wrap__text--unit {
  display: none;
}
