/* My Products — main content (12A) */

.my-products {
  box-sizing: border-box;
  padding: 0 0 24px;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #26313a;
}

.centercontent .breadcrumb {
  padding: 0 !important;
  margin: 0 0 0 !important;
  background: transparent !important;
  font-size: 12.5px;
  font-weight: 400;
  border-radius: 0;
}

.centercontent .breadcrumb > li + li:before {
  color: #c9ced3;
  padding: 0 8px;
}

.centercontent .breadcrumb a {
  color: #204e75;
  text-decoration: none;
}

.centercontent .breadcrumb a:hover,
.centercontent .breadcrumb a:focus {
  text-decoration: underline;
}

.centercontent .breadcrumb > .active {
  color: #6a747d;
}

.my-products *,
.my-products *::before,
.my-products *::after {
  box-sizing: border-box;
}

.my-products-title {
  margin: 14px 0 4px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  color: #204e75;
}

.my-products-sub {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: #55606a;
}

.my-products-sub a {
  color: #204e75;
  font-weight: 700;
  text-decoration: none;
}

.my-products-sub a:hover,
.my-products-sub a:focus {
  text-decoration: underline;
}

.my-products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid #eef0f2;
}

.my-products-count {
  font-size: 12.5px;
  font-weight: 700;
  color: #26313a;
}

.my-products-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #fff;
  border: 1px solid #c9ced3;
  color: #204e75;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 10px 18px;
  line-height: 1;
}

.my-products-new-btn:hover,
.my-products-new-btn:focus {
  background: #204e75;
  border-color: #204e75;
  color: #fff;
  text-decoration: none;
}

.my-products-new-btn.is-primary {
  background: #c4470c;
  border-color: #c4470c;
  color: #fff;
}

.my-products-new-btn.is-primary:hover,
.my-products-new-btn.is-primary:focus {
  background: #a83c0a;
  border-color: #a83c0a;
  color: #fff;
}

.my-products-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.my-products-card {
  border: 1px solid #dfe4e8;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.my-products-card-head {
  background: #204e75;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #fff;
}

.my-products-card-head-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
  color: #fff;
  text-decoration: none;
}

.my-products-card-head-link:hover,
.my-products-card-head-link:focus {
  color: #fff;
  text-decoration: none;
}

.my-products-card-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.my-products-name-edit {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.my-products-name-edit:hover,
.my-products-name-edit:focus {
  color: #fff;
}

.my-products-name-form {
  display: none;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.my-products-card-head.is-editing .my-products-card-head-link,
.my-products-card-head.is-editing .my-products-name-edit {
  display: none;
}

.my-products-card-head.is-editing .my-products-name-form {
  display: flex;
}

.my-products-name-input {
  flex: 1;
  min-width: 0;
  height: 26px;
  margin: 0;
  padding: 0 8px;
  border: 0;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  color: #1d2429;
}

.my-products-name-save,
.my-products-name-cancel {
  flex: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.my-products-name-save {
  height: 26px;
  padding: 0 8px;
  background: #fff;
  color: #204e75;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.my-products-name-cancel {
  width: 22px;
  height: 22px;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}

.my-products-name-note {
  flex: none;
  color: #ffe08a;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.my-products-name-note:empty {
  display: none;
}

.my-products-proof {
  position: relative;
  height: 148px;
  padding: 16px;
  border-bottom: 1px solid #dfe4e8;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  background-image:
    linear-gradient(#eef1f4 1px, transparent 1px),
    linear-gradient(90deg, #eef1f4 1px, transparent 1px);
  background-size: 14px 14px;
}

.my-products-proof-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #fff;
  border: 1px solid #e6e9ec;
  padding: 9px;
  text-decoration: none;
}

.my-products-proof-link:hover,
.my-products-proof-link:focus {
  text-decoration: none;
}

.my-products-proof-link img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.my-products-approved {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: #eaf5ec;
  padding: 3px 7px;
  pointer-events: none;
}

.my-products-approved-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1f6b2f;
}

.my-products-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.my-products-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  font-size: 12px;
}

.my-products-meta-label {
  color: #8a9199;
}

.my-products-meta-value {
  color: #26313a;
  text-align: right;
}

.my-products-reorder {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  background: #c4470c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 11px;
  border: 0;
  width: 100%;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
}

.my-products-reorder:hover,
.my-products-reorder:focus {
  background: #a83c0a;
  color: #fff;
  text-decoration: none;
}

.my-products-empty {
  margin-top: 22px;
  border: 1px solid #dfe4e8;
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.my-products-empty-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #55606a;
  max-width: 520px;
}

.my-products-divider {
  margin: 34px 0 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.my-products-divider-line {
  flex: 1;
  height: 1px;
  background: #dfe4e8;
}

.my-products-divider-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #9aa3ab;
}

.my-products-promo {
  border: 1px solid #dfe4e8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}

.my-products-promo-band {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  background: #f7f9fb;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(32, 78, 117, 0.03) 0 14px,
    rgba(32, 78, 117, 0) 14px 34px
  );
  border-bottom: 3px solid #7eb12c;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.my-products-promo-band-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid #dfe4e8;
  background: #fff;
}

.my-products-promo-band-title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: #204e75;
}

.my-products-promo-pitch {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-right: 1px solid #dfe4e8;
}

.my-products-promo-heading {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: #1d2429;
}

.my-products-promo-copy {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #55606a;
}

.my-products-value-block {
  background: #f7f9fb;
  border: 1px solid #eef0f2;
  padding: 15px 16px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.my-products-value-row {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.my-products-value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border: 1px solid #dfe4e8;
  background: #fff;
}

.my-products-value-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.my-products-value-title {
  font-size: 13px;
  font-weight: 700;
  color: #1d2429;
}

.my-products-value-sub {
  font-size: 12px;
  line-height: 1.45;
  color: #6a747d;
}

.my-products-value-sub a {
  color: #204e75;
  font-weight: 700;
  text-decoration: none;
}

.my-products-value-sub a:hover,
.my-products-value-sub a:focus {
  text-decoration: underline;
}

.my-products-search-row {
  margin-top: 4px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}

.my-products-search-group {
  display: flex;
  flex: 1;
  min-width: 260px;
  max-width: 100%;
  align-items: stretch;
  position: relative;
}

.my-products-search-input {
  flex: 1;
  min-width: 0;
  width: 0;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #c9ced3;
  border-right: 0;
  border-radius: 0;
  font-size: 13px;
  color: #26313a;
  font-family: inherit;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
}

.my-products-search-input:focus {
  outline: none;
  border-color: #204e75;
  box-shadow: 0 0 0 2px #eef3f8;
  z-index: 1;
}

.my-products-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: none;
  height: 42px;
  background: #204e75;
  color: #fff;
  border: 0;
  border-radius: 0;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 0 16px;
  cursor: pointer;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
}

.my-products-search-btn:hover,
.my-products-search-btn:focus {
  background: #163854;
  outline: none;
}

.my-products-search-btn:focus-visible {
  box-shadow: inset 0 0 0 2px #eef3f8;
}

.my-products-search-input:focus-visible {
  outline: none;
}

.my-products-promo .ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 280px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #c9ced3;
  border-top: 0;
  box-shadow: 0 8px 18px rgba(20, 40, 60, 0.14);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 13px;
}

.my-products-promo .ui-menu-item {
  margin: 0;
  padding: 0;
}

.my-products-promo .ui-menu-item-wrapper {
  display: block;
  padding: 9px 12px;
  color: #26313a;
  border: 0;
  cursor: pointer;
}

.my-products-promo .ui-menu-item-wrapper.ui-state-active,
.my-products-promo .ui-menu-item-wrapper:hover {
  margin: 0;
  background: #eef3f8;
  color: #204e75;
  border: 0;
}

.my-products-browse-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  height: 42px;
  padding: 0 20px;
  background: #c4470c;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 0;
}

.my-products-browse-btn:hover,
.my-products-browse-btn:focus {
  background: #a83c0a;
  color: #fff;
  text-decoration: none;
}

.my-products-categories {
  background: #f7f9fb;
  padding: 22px 24px 24px;
}

.my-products-categories-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #8a9199;
}

.my-products-categories-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.my-products-category-tile {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid #e6e9ec;
  background: #fff;
  color: inherit;
}

.my-products-category-tile:hover,
.my-products-category-tile:focus {
  border-color: #a83c0a;
  text-decoration: none;
  color: inherit;
}

.my-products-category-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  padding: 8px 8px 4px;
}

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

.my-products-category-label {
  padding: 0 8px 9px;
  font-size: 11.5px;
  font-weight: 700;
  color: #26313a;
  text-align: center;
}

.my-products-category-all {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  border: 1px dashed #c9ced3;
  background: #fff;
  padding: 12px;
  min-height: 100%;
}

.my-products-category-all:hover,
.my-products-category-all:focus {
  border-color: #a83c0a;
  background: #fdf1ea;
  text-decoration: none;
}

.my-products-category-all-label {
  font-size: 11.5px;
  font-weight: 700;
  color: #204e75;
  text-align: center;
  line-height: 1.3;
}

.my-products a:focus-visible,
.my-products button:focus-visible {
  outline: 2px solid #204e75;
  outline-offset: 2px;
}

.my-products-search-input:focus-visible,
.my-products-search-btn:focus-visible {
  outline: none;
}

@media (max-width: 1000px) {
  .my-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .my-products-promo {
    grid-template-columns: 1fr;
  }

  .my-products-promo-pitch {
    border-right: 0;
    border-bottom: 1px solid #dfe4e8;
  }
}

@media (max-width: 560px) {
  .my-products-grid {
    grid-template-columns: 1fr;
  }

  .my-products-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .my-products-search-group {
    min-width: 100%;
  }

  .my-products-browse-btn {
    width: 100%;
  }

  .my-products-promo-band {
    padding: 16px 18px;
  }

  .my-products-promo-band-title {
    font-size: 18px;
  }

  .my-products-promo-pitch {
    padding: 22px 18px 24px;
  }

  .my-products-categories {
    padding: 18px 16px 20px;
  }
}
