/* 2D ironing preview: compact help icon and larger effect labels. */
.ironing-style-heading small.local-ironing-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  border: 1px solid #cbd3dd;
  border-radius: 50%;
  background: #f6f8fa;
  color: #4c5a6b;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  cursor: help;
  vertical-align: 2px;
}

.ironing-style-heading small.local-ironing-help:hover,
.ironing-style-heading small.local-ironing-help:focus-visible {
  border-color: #8f9bab;
  background: #eef2f6;
  outline: none;
}

.ironing-style-heading small.local-ironing-help:focus-visible {
  box-shadow: 0 0 0 2px rgba(245, 10, 108, .16);
}

.ironing-style-options strong {
  font-size: 13px !important;
  line-height: 1.25;
}

.ironing-style-options small {
  font-size: 9px !important;
  line-height: 1.3;
}

.ironing-style-options button {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  align-content: start;
  min-height: 86px !important;
  padding: 8px 6px !important;
  gap: 5px !important;
  text-align: center;
}

.ironing-style-options button > span:last-child {
  justify-items: center;
  gap: 2px;
  text-align: center;
}

.ironing-style-options {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

.ironing-texture-preview {
  width: 38px !important;
  height: 38px !important;
}

@media (max-width: 1100px) {
  .ironing-style-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ironing-style-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
