/* The garment pages (docs/garment/, written by tools/pages.mjs): the picture beside the text, each fabric's loop beside
   what it is. On a narrow screen they stack. */
.sf-garment { display: flow-root; }
.sf-garment .sf-pic { float: right; width: 42%; max-width: 450px; height: auto; margin: 0 0 1em 1.5em; border-radius: 8px; }
.sf-fabric { display: flex; gap: 1.2em; align-items: flex-start; margin: 0 0 1.4em; }
.sf-fabric .sf-loop { flex: none; width: 200px; height: 200px; border-radius: 6px; background: #4c515b; }
.sf-fabric > div { min-width: 0; }
.sf-fabric > div > p { margin-top: 0; }
@media (max-width: 600px) {
  .sf-garment .sf-pic { float: none; display: block; width: 100%; margin: 0 auto 1em; }
  .sf-fabric { flex-direction: column; }
  .sf-fabric .sf-loop { width: 100%; max-width: 320px; height: auto; aspect-ratio: 1; }
}
.sf-garment .md-button { margin: 0 .5em .6em 0; }
