.dress-code {
  padding-top: 32px;
  padding-bottom: 34px;
}
.dress-heading h2 {
  font-size: 34px;
  margin-bottom: 8px;
}
.dress-intro {
  max-width: 480px;
  font-size: 11px;
  line-height: 1.7;
}
.dress-palettes {
  max-width: 660px;
  gap: 42px;
  margin-top: 22px;
}
.dress-palette {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.dress-palette h3 {
  font-size: 22px;
  margin-bottom: 13px;
}
.dress-swatches {
  flex: initial;
  min-height: 0;
  gap: 9px 8px;
  max-width: 210px;
  width: 100%;
  margin: 0 auto;
}
.dress-palette:last-child .dress-swatches {
  grid-template-columns: repeat(12,minmax(0,1fr));
  max-width: 300px;
  gap: 9px 7px;
}
.dress-swatch span {
  width: 16px;
  outline: 0;
  box-shadow: inset 0 0 0 1px #e8dcf540;
}
@media(max-width:600px) {
  .dress-code { padding: 28px 7% 32px; }
  .dress-heading h2 { font-size: 30px; margin-bottom: 8px; }
  .dress-intro { max-width: 290px; font-size: 10px; }
  .dress-palettes { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
  .dress-palette { padding: 0; }
  .dress-palette h3 { font-size: 20px; margin-bottom: 12px; }
  .dress-swatches, .dress-palette:last-child .dress-swatches {
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px 6px;
    width: 100%;
    max-width: 135px;
    min-height: 0;
  }
  .dress-swatch span { width: 14px; outline: 0; }
}
