.cm-outfit {
  --cm-outfit-accent: var(--global-palette1, #5f3e79);
  --cm-outfit-ink: var(--global-palette3, #302b3e);
  clear: both;
  margin-block: 40px 16px;
  padding: 24px;
  border: 1px solid #e8e3ec;
  border-radius: 16px;
  background: #faf8fb;
  color: var(--cm-outfit-ink);
}
.cm-outfit-heading { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.cm-outfit-heading h2 { margin: 0; font-size: clamp(22px, 2.2vw, 30px); }
.cm-outfit-heading p { margin: 0; font-size: 14px; color: #62596d; }
.cm-outfit-status { margin: 12px 0 20px; font-size: 14px; line-height: 1.6; }
html body .cm-outfit .cm-outfit-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px;
  margin: 0; padding: 0; list-style: none;
}
.cm-outfit-grid[hidden], .cm-outfit-retry[hidden] { display: none !important; }
.cm-outfit-card { min-width: 0; overflow: hidden; border-radius: 12px; background: #fff; border: 1px solid #e8e3ec; display: flex; flex-direction: column; }
.cm-outfit-image { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: #f4f1f5; }
.cm-outfit .cm-outfit-image img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0; }
.cm-outfit-details { display: flex; flex-direction: column; flex: 1; padding: 16px; gap: 12px; }
.cm-outfit .cm-outfit-details h3 { font-size: 16px; line-height: 1.4; margin: 0; }
.cm-outfit-details h3 a { color: inherit; text-decoration: none; }
.cm-outfit-match { margin: 0; font-size: 13px; line-height: 1.45; color: #62596d; overflow-wrap: anywhere; }
.cm-outfit-price { margin-top: auto; color: var(--cm-outfit-accent); font-size: 17px; font-weight: 700; line-height: 1.6; }
.cm-outfit-price-label { display: block; color: #62596d; font-size: 11px; font-weight: 400; }
.cm-outfit-price .woocommerce-Price-amount { white-space: nowrap; }
.cm-outfit-price del { opacity: .65; font-size: 13px; }
.cm-outfit-price ins { background: transparent; }
.cm-outfit-button { display: flex; justify-content: center; align-items: center; min-height: 44px; padding: 9px 12px; border-radius: 8px; background: var(--cm-outfit-accent); color: #fff !important; font-size: 14px; line-height: 1.35; font-weight: 600; text-decoration: none; text-align: center; }
.cm-outfit-button:hover { filter: brightness(.92); }
.cm-outfit a:focus-visible, .cm-outfit button:focus-visible { outline: 3px solid #b91b62; outline-offset: 3px; }
.cm-outfit-footer { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; margin-top: 20px; font-size: 13px; line-height: 1.6; color: #62596d; }
.cm-outfit-footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.cm-outfit-footer a { text-underline-offset: 3px; }
.cm-outfit-retry { min-height: 44px; margin-bottom: 12px; }
.cm-outfit[data-count="1"] { max-width: 780px; }
.cm-outfit[data-count="2"] { max-width: 980px; }
.cm-outfit[data-count="1"] .cm-outfit-grid { grid-template-columns: minmax(0, 1fr); }
.cm-outfit[data-count="2"] .cm-outfit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cm-outfit[data-count="1"] .cm-outfit-card { display: grid; grid-template-columns: minmax(0, min(180px, 32%)) minmax(0, 1fr); }
.cm-outfit[data-count="1"] .cm-outfit-button { max-width: 280px; }
@media (max-width: 1024px) {
  html body .cm-outfit .cm-outfit-grid { gap: 16px; }
  .cm-outfit .cm-outfit-details h3 { font-size: 14px; }
}
@media (max-width: 700px) {
  .cm-outfit { padding: 16px; margin-top: 28px; }
  html body .cm-outfit .cm-outfit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cm-outfit-details { padding: 12px; gap: 10px; }
  .cm-outfit .cm-outfit-details h3 { font-size: 14px; }
  .cm-outfit-price { font-size: 15px; }
  .cm-outfit-button { font-size: 13px; padding-inline: 8px; }
}
@media (max-width: 360px) {
  .cm-outfit { padding: 12px; }
  html body .cm-outfit .cm-outfit-grid { gap: 8px; }
  .cm-outfit-details { padding: 10px; }
  .cm-outfit-button { font-size: 12px; }
}
