/* V15 — visual projects stay close to the product and its purchase actions. */
.commerce-design-selection {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin: 14px 0;
  border: 1px solid #cad9e4;
  border-radius: 14px;
  background: #f5f8fa;
}
.commerce-design-selection[hidden] {
  display: none;
}
.commerce-design-selection > img {
  width: 96px;
  height: 112px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.commerce-design-selection > p {
  grid-column: 1 / -1;
}
.commerce-design-summary {
  display: grid;
  gap: 5px;
  margin-block: 6px 10px;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.commerce-design-summary > span {
  color: #36546d;
}
.commerce-design-summary > small {
  color: #536979;
  font-size: 13px;
}
.commerce-design-edit {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.shop-mini-item .commerce-design-summary {
  font-size: 13px;
}
.shop-mini-item:has(.commerce-design-summary) > img {
  width: 62px;
  height: 76px;
  object-fit: contain;
}
.commerce-account-shortcuts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 24px;
}
.commerce-account-shortcuts > button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  min-height: 100px;
  padding: 18px 20px;
  border: 1px solid #d4e0e9;
  border-radius: 14px;
  background: #fff;
  color: #15324b;
  text-align: left;
  cursor: pointer;
}
.commerce-account-shortcuts > button[aria-current='page'] {
  background: #edf4f8;
  border-color: #193b56;
}
.commerce-account-shortcuts strong {
  font-size: 17px;
}
.commerce-account-shortcuts span {
  grid-column: 1;
  font-size: 14px;
  color: #536979;
}
.commerce-account-shortcuts i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-style: normal;
  font-size: 22px;
}
.commerce-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.commerce-project-card {
  min-width: 0;
  border: 1px solid #d4e0e9;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.commerce-project-card > a {
  display: block;
  background: #f3f6f8;
}
.commerce-project-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: contain;
}
.commerce-project-card > div {
  padding: 18px;
}
.commerce-project-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.commerce-project-card p {
  margin: 6px 0;
}
.commerce-project-card .pc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.commerce-project-card .pc-actions > * {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.commerce-account-shortcuts button:focus-visible,
.commerce-project-card a:focus-visible,
.commerce-project-card button:focus-visible {
  outline: 3px solid #e36d24;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .commerce-account-shortcuts {
    gap: 8px;
    grid-template-columns: 1fr;
  }
  .commerce-account-shortcuts > button {
    min-height: 74px;
    padding: 12px 16px;
  }
  .commerce-project-grid {
    grid-template-columns: 1fr;
  }
  .commerce-project-card {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
  }
  .commerce-project-card img {
    height: 100%;
    min-height: 150px;
  }
  .commerce-project-card > div {
    padding: 13px;
  }
  .commerce-design-selection {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 11px;
    gap: 11px;
  }
  .commerce-design-selection > img {
    width: 76px;
    height: 96px;
  }
}
