.cart-vin-table > .p-cart-table__th,
.cart-vin-table > .p-cart-table__th .media-body,
.cart-vin-table > .p-cart-table__th .p-cart-table__data > li {
  font-size: 11px !important;
  line-height: 16px;
}

.cart-vin-product {
  display: grid;
  gap: 4px;
}

.cart-vin-product .title {
  margin: 0;
  font-size: 14px;
  line-height: 17px;
}

.cart-vin-product .title a {
  font-size: inherit;
  line-height: inherit;
}

.cart-vin-model {
  color: #333333;
  font-size: 12px;
  line-height: 16px;
}

.cart-vin-row {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  line-height: 18px;
}

.cart-vin-code {
  position: relative;
  top: -2px;
  color: #333333;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 0.02em;
}

.cart-vin-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d6e6f7;
  border-radius: 999px;
  background: #eaf4ff;
  padding: 1px 10px;
  color: #0d61ab;
  cursor: default;
  font: 400 13px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  white-space: nowrap;
  text-decoration: none;
}

.cart-vin-status-icon {
  display: block;
  width: 14px;
  height: 14px;
  color: currentColor;
  flex: 0 0 14px;
}

.cart-vin-status--with-code {
  gap: 5px;
  padding-right: 9px;
}

.cart-vin-status--editable {
  padding-right: 4px;
}

.cart-vin-status__code {
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cart-vin-status__label {
  white-space: nowrap;
}

.cart-vin-status__code-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.cart-vin-status--with-resolution {
  display: inline-grid;
  width: max-content;
  max-width: 100%;
  grid-template-columns: max-content;
  justify-items: start;
  align-items: center;
  gap: 1px;
  border-radius: 14px;
  padding: 5px 10px 6px;
  white-space: normal;
  text-align: left;
}

.cart-vin-status--with-resolution .cart-vin-status__label {
  font-size: 14px;
  line-height: 20px;
}

.cart-vin-status--with-resolution .cart-vin-status__resolution {
  color: #335f86;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.cart-vin-status--v4-saved {
  width: 100%;
  justify-content: flex-start;
  border-radius: 8px;
  padding: 7px 10px 8px;
  font-size: 14px;
  line-height: 20px;
}

.cart-vin-status--v4-saved .cart-vin-status__resolution {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.cart-vin-edit-icon,
.cart-vin-edit-icon:link,
.cart-vin-edit-icon:visited {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-bottom: 0;
  color: #0d61ab;
  text-decoration: none;
}

.cart-vin-edit-icon:hover,
.cart-vin-edit-icon:focus-visible {
  border-bottom: 0;
  color: #084f8f;
  text-decoration: none;
}

.cart-vin-edit-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.cart-vin-edit,
.cart-vin-edit:link,
.cart-vin-edit:visited {
  width: fit-content;
  color: #0d61ab;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  line-height: 18px;
  text-decoration: none;
}

.cart-vin-edit:hover,
.cart-vin-edit:focus-visible {
  color: #084f8f;
  border-bottom-color: currentColor;
  text-decoration: none;
}

.cart-vin-flow {
  display: grid;
  max-width: min(100%, 640px);
  gap: 8px;
  margin-top: 2px;
}

.cart-vin-flow [hidden] {
  display: none !important;
}

.cart-vin-flow-trigger {
  display: inline;
  width: fit-content;
  border: 0;
  background: transparent;
  padding: 0;
  color: #808080;
  cursor: pointer;
  font: 400 14px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  text-align: left;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.cart-vin-flow-trigger:hover,
.cart-vin-flow-trigger:focus-visible {
  color: #0d61ab;
  outline: none;
}

.cart-vin-flow-editor {
  display: grid;
  gap: 8px;
  border: 1px solid #d6e6f7;
  border-radius: 8px;
  background: #eaf4ff;
  padding: 12px 14px 13px;
  color: #333333;
  font: 400 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
}

.cart-vin-flow-editor-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px 12px;
}

.cart-vin-flow-help {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  font-size: 14px;
  line-height: 20px;
}

.cart-vin-flow-help a,
.cart-vin-flow-help a:link,
.cart-vin-flow-help a:visited {
  border-bottom: 1px solid rgba(13, 97, 171, 0.25);
  color: #0d61ab;
  text-decoration: none;
  white-space: nowrap;
}

.cart-vin-flow-delete {
  display: none;
  grid-column: 2;
  justify-self: end;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #d70a0a;
  cursor: pointer;
  font: 500 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  white-space: nowrap;
}

.cart-vin-flow-delete svg,
.cart-vin-flow-history-remove svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cart-vin-flow-editor--edit .cart-vin-flow-delete {
  display: inline-flex;
}

.cart-vin-flow-field {
  display: grid;
  gap: 6px;
}

.cart-vin-flow-input {
  display: block;
  width: 100%;
  height: 34px;
  border: 1px solid #b8c6d6;
  border-radius: 4px;
  background: #ffffff;
  padding: 6px 10px;
  color: #333333;
  font: 500 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.03em;
}

.cart-vin-flow-input:focus {
  border-color: #0d61ab;
  box-shadow: 0 0 0 3px rgba(13, 97, 171, 0.12);
  outline: none;
}

.cart-vin-flow-editor.is-error .cart-vin-flow-input {
  border-color: #d70a0a;
  color: #d70a0a;
  box-shadow: 0 0 0 3px rgba(215, 10, 10, 0.08);
}

.cart-vin-flow-error {
  display: none;
  margin-top: -2px;
  color: #d70a0a;
  font: 500 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
}

.cart-vin-flow-editor.is-error .cart-vin-flow-error {
  display: block;
}

.cart-vin-flow-history {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 1px;
  min-height: 18px;
}

.cart-vin-flow-editor--edit .cart-vin-flow-history {
  display: flex;
}

.cart-vin-flow-history--v4 {
  display: flex;
  max-width: 100%;
  column-gap: 5px;
  row-gap: 3px;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  margin-top: -1px;
  padding-bottom: 1px;
  scrollbar-width: thin;
}

.cart-vin-flow-history--v4.is-expanded {
  display: grid;
  width: max-content;
  max-width: 100%;
  grid-template-columns: minmax(0, max-content);
  align-items: start;
  justify-items: start;
  row-gap: 3px;
  overflow: visible;
  padding-bottom: 0;
}

.cart-vin-flow-history-entry {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 1px;
}

.cart-vin-flow-history-entry[hidden] {
  display: none;
}

.cart-vin-flow-history-all {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: #0d61ab;
  cursor: pointer;
  font: 500 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
}

.cart-vin-flow-history-all:hover,
.cart-vin-flow-history-all:focus-visible {
  color: #064d8c;
  outline: none;
}

.cart-vin-flow-history-all svg {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: currentColor;
}

.cart-vin-flow-resolution {
  display: grid;
  gap: 6px;
  margin-top: 2px;
  color: #333333;
  font: 400 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
}

.cart-vin-flow-resolution-title {
  margin: 0;
  font-weight: 500;
}

.cart-vin-flow-resolution-list {
  display: grid;
  gap: 4px;
  margin: 0;
}

.cart-vin-flow-resolution-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  margin: 0;
  color: #333333;
  cursor: default;
}

.cart-vin-flow-resolution-option input {
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  accent-color: #0d61ab;
}

.cart-vin-flow-resolution-note {
  color: #666666;
}

.cart-vin-flow-history-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-bottom: 1px dashed rgba(128, 128, 128, 0.8);
  background: transparent;
  padding: 0;
  color: #808080;
  cursor: pointer;
  font: 500 14px/20px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.03em;
}

.cart-vin-flow-history-item:hover,
.cart-vin-flow-history-item:focus-visible {
  color: #0d61ab;
  outline: none;
}

.cart-vin-flow-history-remove {
  display: inline-flex;
  width: 16px;
  height: 16px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  color: #d70a0a;
  cursor: pointer;
}

.cart-vin-flow-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.cart-vin-flow-button {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  font: 600 13px/18px -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
}

.cart-vin-flow-button--save {
  border: 1px solid #0d61ab;
  background: linear-gradient(180deg, #2d74c9 0%, #0d61ab 100%);
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(13, 97, 171, 0.14);
}

.cart-vin-flow-button--save:hover,
.cart-vin-flow-button--save:focus-visible {
  border-color: #084f8f;
  background: linear-gradient(180deg, #2269bd 0%, #084f8f 100%);
  outline: none;
}

.cart-vin-flow-button--cancel {
  border: 1px solid #d6e6f7;
  background: #ffffff;
  color: #0d61ab;
}

.cart-vin-flow-button--cancel:hover,
.cart-vin-flow-button--cancel:focus-visible {
  border-color: #b7d2ef;
  background: #f7fbff;
  outline: none;
}

@media (max-width: 900px) {
  .cart-vin-product {
    gap: 2px;
  }

  .cart-vin-model {
    font-size: 12px;
    line-height: 16px;
  }

  .cart-vin-code {
    font-size: 14px;
    line-height: 18px;
  }

  .cart-vin-row {
    margin-top: 2px;
    column-gap: 6px;
    row-gap: 1px;
  }

  .cart-vin-edit,
  .cart-vin-edit:link,
  .cart-vin-edit:visited {
    font-size: 14px;
    line-height: 18px;
  }

  .cart-vin-status {
    min-height: 24px;
    font-size: 13px;
    line-height: 18px;
  }

  .cart-vin-flow-saved {
    max-width: 100%;
    min-width: 0;
  }

  .cart-vin-flow-saved .cart-vin-status--with-code {
    display: inline-grid;
    width: max-content;
    max-width: 100%;
    max-inline-size: 100%;
    grid-template-columns: max-content;
    justify-items: start;
    align-items: center;
    gap: 0;
    row-gap: 1px;
    white-space: normal;
    text-align: left;
    padding: 4px 14px;
  }

  .cart-vin-flow-saved .cart-vin-status--v4-saved {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    border-radius: 8px;
    padding: 7px 10px 8px;
    font-size: 14px;
    line-height: 20px;
  }

  .cart-vin-flow {
    max-width: 100%;
  }

  .cart-vin-flow-editor {
    padding: 10px;
  }

  .cart-vin-flow-editor-head {
    display: grid;
    gap: 8px;
  }
}
