#wardrobe-controls {
  margin: 8px 0;
  text-align: left;
}

#wardrobe-controls .wardrobe-details {
  border: 1px solid var(--line, #ead9c9);
  border-radius: 18px;
  background: var(--paper, #fffcf8);
  color: var(--ink, #44372f);
}

#wardrobe-controls .wardrobe-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  border-radius: 17px;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

#wardrobe-controls .wardrobe-details > summary::-webkit-details-marker {
  display: none;
}

#wardrobe-controls .wardrobe-details > summary::marker {
  content: '';
}

#wardrobe-controls .wardrobe-details > summary::after {
  content: '⌄';
  flex-shrink: 0;
  font-size: 23px;
  line-height: 1;
  color: var(--accent, #bc573b);
}

#wardrobe-controls .wardrobe-details[open] > summary::after {
  transform: rotate(180deg);
}

#wardrobe-controls .wardrobe-body {
  padding: 0 14px 16px;
}

#wardrobe-controls .wardrobe-description,
#wardrobe-controls .wardrobe-note {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

#wardrobe-controls .wardrobe-description {
  margin-bottom: 14px;
  color: var(--muted, #785d4d);
}

#wardrobe-controls .wardrobe-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

#wardrobe-controls .wardrobe-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  width: 100%;
  min-width: 0;
  min-height: 148px;
  padding: 12px 6px;
  border: 2px solid var(--line, #ead9c9);
  border-radius: 16px;
  background: var(--white, #fff);
  color: var(--ink, #44372f);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  text-align: center;
  cursor: pointer;
}

#wardrobe-controls .wardrobe-choice[aria-checked='true'] {
  border-color: var(--accent, #bc573b);
  background: #fff2e8;
}

#wardrobe-controls .wardrobe-choice:hover {
  background: #fff6ed;
}

#wardrobe-controls .wardrobe-choice:focus-visible,
#wardrobe-controls .wardrobe-details > summary:focus-visible {
  outline: 3px solid var(--accent, #bc573b);
  outline-offset: 3px;
}

#wardrobe-controls .wardrobe-preview {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  max-width: 100%;
  flex-shrink: 0;
}

#wardrobe-controls .wardrobe-preview .pet-art {
  width: 100%;
  height: 100%;
}

#wardrobe-controls .wardrobe-choice-name {
  display: block;
  max-width: 100%;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

#wardrobe-controls .wardrobe-choice-mark {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent, #bc573b);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  visibility: hidden;
}

#wardrobe-controls [aria-checked='true'] .wardrobe-choice-mark {
  visibility: visible;
}

#wardrobe-controls .wardrobe-note {
  margin-top: 16px;
  padding: 12px;
  border-radius: 12px;
  background: #fff2e8;
}

@media (max-width: 360px) {
  #wardrobe-controls .wardrobe-body {
    padding-right: 10px;
    padding-left: 10px;
  }

  #wardrobe-controls .wardrobe-options {
    gap: 9px;
  }
}
