[data-collections][hidden],
[data-cms="home-features"][hidden],
[data-cms="home-features-desktop"][hidden],
.collection-product[hidden],
.product-reviews[hidden] {
  display: none !important;
}
.product-reviews {
  margin-block: 24px;
}
.collection-shelf {
  margin-block: 14px 18px;
}
.collection-shelf-home {
  box-sizing: border-box;
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 18px;
}
.collection-shelf-title {
  margin: 0 0 8px;
  font-size: 1rem;
}
.collection-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.collection-tile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(300px, 100%);
  min-height: 44px;
  padding: 4px 10px 4px 4px;
  box-sizing: border-box;
  border: 1px solid #e8e3df;
  border-radius: 10px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.collection-tile:not(:has(img)) {
  padding-inline-start: 10px;
}
.collection-tile:hover,
.collection-tile:focus-visible {
  border-color: #f25b20;
}
.collection-tile img {
  display: block;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
}
.collection-tile span {
  min-width: 0;
  font-size: .9rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.collection-heading {
  overflow-wrap: anywhere;
}
.collection-delete summary {
  color: #a62c15;
  cursor: pointer;
  padding: 10px 0;
}
.collection-delete button {
  background: #a62c15;
}
.collection-intro {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.project-head .subtitle,
.product-reviews .review-card,
.print-work-facts dd {
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.project-head .subtitle {
  line-height: 1.55;
}
.project-price-item small,
.shop-production-time {
  line-height: 1.5;
}
.print-work-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 12px;
  margin-block: 18px 8px;
}
.print-work-facts div {
  padding: 12px;
  border: 1px solid #e8e3df;
  border-radius: 12px;
}
.print-work-facts dt {
  font-weight: 700;
}
.print-work-facts dd {
  margin: 5px 0 0;
}
.print-work-price-note {
  font-size: .93rem;
}
.collection-admin {
  margin: 0;
  font: 16px/1.45 Arial, sans-serif;
  color: #212832;
  background: #f5f6f8;
}
.collection-admin main {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px;
}
.collection-admin a {
  color: #974019;
}
.collection-admin form,
.collection-admin section {
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: #fff;
}
.collection-admin label {
  display: block;
  margin-block: 8px;
}
.collection-admin input:not([type="checkbox"]),
.collection-admin select,
.collection-admin textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font: inherit;
  padding: 8px;
  border: 1px solid #b8bec5;
  border-radius: 8px;
}
.collection-admin button {
  font: inherit;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: #b84312;
  color: #fff;
  cursor: pointer;
}
.collection-admin-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(185px, 100%), 1fr));
  gap: 12px;
}
.collection-product-picker {
  max-height: 400px;
  overflow: auto;
}
.collection-product-picker .collection-product {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding-right: 8px;
  overflow-wrap: anywhere;
}
.collection-product img,
.collection-cover-preview {
  border-radius: 8px;
  object-fit: cover;
}
.collection-product img {
  width: 48px;
  height: 48px;
}
.collection-cover-preview {
  width: min(220px, 100%);
}

@media (max-width: 600px) {
  .collection-list {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .collection-tile {
    flex: 0 0 auto;
    max-width: min(235px, 90%);
  }
}
