/* Preset cards: model on the cover, author, title with instrument, then price. */
body.lt-home-hardware .lt-featured .lt-cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
.lt-preset-title { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
body.lt-material-system .lt-card--preset .lt-preset-title h3 { flex: 1; min-width: 0; }
.lt-preset-instruments { display: flex; gap: 4px; flex: none; }
.lt-preset-icon {
  display: block; flex: none; width: 25px; height: 25px;
  background-color: currentColor;
  -webkit-mask: var(--lt-preset-icon-url) center / contain no-repeat;
  mask: var(--lt-preset-icon-url) center / contain no-repeat;
}
.lt-preset-instrument { display: grid; place-items: center; width: 30px; height: 32px; color: #f4d1a4; }
.lt-card--preset .lt-preset-model { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 16px); min-width: 0; color: #f4f4f4; border: 0; border-radius: 3px; background: rgba(0,0,0,.72); padding: 5px 7px; font-size: 12px; line-height: 1.4; }
.lt-preset-model .lt-preset-icon { width: 18px; height: 22px; }
.lt-preset-model__name { min-width: 0; overflow-wrap: anywhere; }
.lt-preset-author { display: flex; align-items: center; gap: 6px; min-width: 0; color: #c5ccce; font-size: 12px; line-height: 1.4; }
.lt-preset-author__avatar { display: block; flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: #252e32 url('../img/avatar-default.png') center / cover no-repeat; }
.lt-preset-author__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lt-preset-author__verified { display: inline-flex; align-items: center; flex: none; color: #ff982f; }
.lt-preset-author__verified .ti { font-size: 17px; line-height: 1; }
body.lt-material-system .lt-card--preset .lt-card__body { gap: 10px; }
body.lt-material-system .lt-card--preset h3 { margin: 0; min-height: 0; }
body.lt-material-system .lt-card--preset .lt-card__foot { padding-top: 4px; gap: 8px; }
body.lt-material-system .lt-card--preset .lt-card__buy { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; margin: 0; padding-top: 10px; }
body.lt-material-system .lt-card--preset .lt-card__buy .lt-price { display: flex; flex: 1; flex-wrap: wrap; gap: 3px 6px; overflow: visible; font-size: 16px; }
.lt-preset-actions { display: flex; gap: 6px; flex: none; }
.lt-preset-favorite { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex: none; border: 1px solid #647176; border-radius: 10px; background: #242e32; color: #d9e0e2; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.lt-preset-favorite .ti { font-size: 20px; line-height: 1; }
.lt-preset-favorite:hover { border-color: #ffb05c; color: #ffbf79; }
.lt-preset-favorite[aria-pressed="true"] { color: #ffb05c; border-color: #c58e54; background: #382c24; }
.lt-preset-favorite:focus-visible { outline: 2px solid #ffb05c; outline-offset: 3px; }
body.lt-material-system .lt-card--preset .lt-off { font-size: 11px; }
@media (max-width: 1100px) and (min-width: 601px) {
  body.lt-home-hardware .lt-featured .lt-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  body.lt-home-hardware .lt-featured .lt-cards { grid-template-columns: minmax(0,1fr); }
  body.lt-material-system .lt-card--preset .lt-card__body { padding: 12px 10px; gap: 8px; }
  .lt-preset-title { gap: 5px; }
  .lt-preset-instrument { width: 24px; }
  .lt-preset-instrument .lt-preset-icon { width: 21px; height: 21px; }
  .lt-card--preset .lt-preset-model { right: 4px; bottom: 4px; max-width: calc(100% - 8px); padding: 4px 5px; font-size: 10px; gap: 4px; }
  .lt-preset-model .lt-preset-icon { width: 13px; height: 18px; }
  .lt-preset-author { font-size: 11px; }
  .lt-preset-author__avatar { width: 23px; height: 23px; }
  body.lt-material-system .lt-card--preset .lt-card__buy { flex-wrap: wrap; gap: 6px; }
  body.lt-material-system .lt-card--preset .lt-card__buy .lt-price { font-size: 14px; }
  .lt-preset-actions { margin-left: auto; }
}
@media (max-width: 380px) {
  body.lt-material-system .lt-card--preset .lt-card__buy .lt-price { flex: 1 0 100%; }
}
