.clothing-settings-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.clothing-settings-kicker {
  display: block;
  margin-bottom: 7px;
  color: #147353;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.clothing-settings-limit {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 370px;
  padding: 13px 15px;
  border: 1px solid #cfe4db;
  border-radius: 12px;
  background: #f2f9f6;
  color: #315b4c;
  font-size: 13px;
  line-height: 1.4;
}

.clothing-settings-limit svg { width: 18px; min-width: 18px; color: #147353; }

.clothing-settings-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.clothing-settings-card {
  overflow: hidden;
  border: 1px solid #dce5e1;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(20, 52, 41, .035);
}

.clothing-settings-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.clothing-settings-card summary::-webkit-details-marker { display: none; }
.clothing-settings-card[open] summary { border-bottom: 1px solid #e4ebe8; background: #fbfdfc; }
.clothing-settings-card summary > span:first-child { display: flex; align-items: center; gap: 10px; }
.clothing-settings-card summary svg { width: 18px; color: #147353; }
.clothing-settings-card summary b { font-size: 15px; }

.clothing-settings-count {
  padding: 5px 9px;
  border-radius: 999px;
  background: #e8f4ef;
  color: #147353;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.clothing-measurement-options {
  display: grid;
  gap: 7px;
  max-height: 330px;
  padding: 13px;
  overflow-y: auto;
}

.clothing-measurement-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #e4ebe8;
  border-radius: 10px;
  color: #53645d;
  cursor: pointer;
}

.clothing-measurement-option:hover { border-color: #9cc9b7; background: #f6fbf9; }
.clothing-measurement-option:has(input:checked) { border-color: #80bda5; background: #eef8f4; color: #143e30; font-weight: 700; }
.clothing-measurement-option input { width: 17px; height: 17px; accent-color: #147353; }
.clothing-measurement-option span { font-size: 12px; line-height: 1.3; }

.clothing-settings-savebar {
  position: sticky;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid #d7e4de;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 12px 32px rgba(22, 52, 42, .12);
  backdrop-filter: blur(8px);
}

.clothing-settings-savebar > span,
.clothing-settings-savebar > div { display: flex; align-items: center; gap: 10px; }
.clothing-settings-savebar > span { color: #66766f; font-size: 12px; }
.clothing-settings-savebar > span svg { width: 17px; color: #147353; }

@media (max-width: 1180px) {
  .clothing-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .clothing-settings-hero, .clothing-settings-savebar { align-items: stretch; flex-direction: column; }
  .clothing-settings-grid { grid-template-columns: 1fr; }
  .clothing-settings-limit { max-width: none; }
  .clothing-settings-savebar > div { display: grid; grid-template-columns: 1fr; }
}
