.bag-choice-content:has(.bag-type-icon) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  align-items: center;
  align-content: start;
}

.bag-choice-content:has(.bag-type-icon) > span {
  grid-column: 1 / -1;
}

.bag-type-icon {
  display: block;
  width: 32px;
  height: 38px;
  object-fit: contain;
}

.bag-fixed-color:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 16px 8px 8px;
  border: 1px solid #ded8cc;
  border-radius: 13px;
  background: #fff;
}

.bag-fixed-color img {
  display: block;
  flex: none;
  width: 56px;
  height: 64px;
  padding: 6px;
  object-fit: contain;
  border-radius: 7px;
  background-color: #f1eee7;
  background-image: radial-gradient(#a59d8f88 1px, transparent 1px);
  background-size: 7px 7px;
}

@media (max-width: 360px) {
  .bag-choice-content:has(.bag-type-icon) { display: flex; }
  .bag-type-icon { display: none; }
}
