.wardrobe-bundle {
  display: block;
  margin-block: 18px 24px;
  color: #31546a;
}

.wardrobe-bundle [hidden] { display: none !important; }

.wardrobe-bundle__heading { margin-block-end: 12px; }
.wardrobe-bundle__eyebrow {
  color: #a17b65;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
}
.wardrobe-bundle__heading h2 {
  margin: 3px 0;
  color: #286d98;
  font: 600 clamp(20px, 1.8vw, 27px)/1.2 Georgia, "Times New Roman", serif;
}
.wardrobe-bundle__heading p { margin: 0; color: #786b60; font-size: 13px; }

.wardrobe-bundle__tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.wardrobe-bundle__tier {
  --tier-edge: #b3d3e4;
  --tier-active-edge: #3e83aa;
  --tier-active-fill: #ecf6fa;
  --tier-badge-bg: #e6f2f8;
  --tier-badge-text: #285b7a;

  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 22px;
  color: #31546a;
  font: inherit;
  text-align: left;
  background: #fffdf8;
  border: 1px solid var(--tier-edge);
  border-radius: 12px;
  cursor: pointer;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}
.wardrobe-bundle__tier[data-quantity="3"] {
  --tier-edge: #e7b6a8;
  --tier-active-edge: #c77c68;
  --tier-active-fill: #fff1eb;
  --tier-badge-bg: #fbe5dd;
  --tier-badge-text: #a75643;
}
.wardrobe-bundle__tier[data-quantity="4"] {
  --tier-edge: #e2c99e;
  --tier-active-edge: #b98b49;
  --tier-active-fill: #fff6e6;
  --tier-badge-bg: #faedcd;
  --tier-badge-text: #8d682f;
}
.wardrobe-bundle__tier[data-quantity="6"] {
  --tier-edge: #b5d4c4;
  --tier-active-edge: #6a9a81;
  --tier-active-fill: #edf7f0;
  --tier-badge-bg: #e4f0e7;
  --tier-badge-text: #48755d;
}
.wardrobe-bundle__tier.is-active {
  background: var(--tier-active-fill);
  border-color: var(--tier-active-edge);
}
.wardrobe-bundle__tier-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}
.wardrobe-bundle__tier-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
}
.wardrobe-bundle__tier-badge {
  display: inline-block;
  padding: 3px 7px;
  color: var(--tier-badge-text);
  background: var(--tier-badge-bg);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .05em;
  white-space: nowrap;
}
.wardrobe-bundle__tier-note,
.wardrobe-bundle__tier-offer,
.wardrobe-bundle__tier-save {
  display: block;
  margin-top: 4px;
  color: #745f51;
  font-size: 11px;
  line-height: 1.25;
}
.wardrobe-bundle__tier-offer,
.wardrobe-bundle__tier-save { color: var(--tier-badge-text); font-weight: 700; }
.wardrobe-bundle__tier:focus-visible { outline: 2px solid #286d98; outline-offset: 3px; }

@media (hover: hover) {
  .wardrobe-bundle__tier:hover { transform: translateY(-2px) scale(1.025); }
}

.wardrobe-bundle__customizer {
  margin-top: 12px;
  padding: 17px;
  background: #f8eee3;
  border: 1px solid #ead9c7;
  border-radius: 22px;
}
.wardrobe-bundle__customizer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  color: #285b7a;
}
.wardrobe-bundle__customizer-head strong {
  font: 600 19px Georgia, "Times New Roman", serif;
}
.wardrobe-bundle__customizer-head span {
  padding: 5px 10px;
  background: #fffdf8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.wardrobe-bundle__rows { display: grid; gap: 8px; }
.wardrobe-bundle__piece {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 9px;
  padding: 10px 12px;
  background: #fffdf8;
  border: 1px solid #e6d6c6;
  border-radius: 16px;
}
.wardrobe-bundle__piece.is-unavailable { border-color: #bc6b5c; }
.wardrobe-bundle__piece-name { color: #725344; font-size: 13px; font-weight: 700; }
.wardrobe-bundle__piece-selects { display: flex; flex: 1; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.wardrobe-bundle__piece-selects label { display: grid; gap: 3px; color: #806e60; font-size: 10px; }
.wardrobe-bundle__piece-selects select {
  max-width: 150px;
  min-width: 87px;
  height: 34px;
  padding: 4px 9px;
  color: #285b7a;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  background: #eff7fa;
  border: 1px solid #a8c9d9;
  border-radius: 999px;
}
.wardrobe-bundle__piece-selects select:focus-visible { outline: 2px solid #286d98; outline-offset: 2px; }
.wardrobe-bundle__total { margin: 12px 0 4px; color: #285b7a; font-size: 14px; font-weight: 700; }
.wardrobe-bundle__message { margin: 8px 0; color: #a34036; font-size: 12px; }
.wardrobe-bundle__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.wardrobe-bundle__actions button {
  min-height: 44px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.wardrobe-bundle__add { color: #fff; background: #286d98; border: 1px solid #286d98; }
.wardrobe-bundle__checkout { color: #286d98; background: #fffdf8; border: 1px solid #9cc5da; }
.wardrobe-bundle__actions button:disabled { opacity: .5; cursor: not-allowed; }
@media (hover: hover) { .wardrobe-bundle__actions button:not(:disabled):hover { transform: translateY(-2px); } }
.wardrobe-bundle__customizer small { display: block; margin-top: 10px; color: #786b60; font-size: 11px; line-height: 1.4; }

.product-detail__info.wardrobe-bundle--multi .product-detail__buy-button-group { display: none; }

@media (max-width: 560px) {
  .wardrobe-bundle__tier { min-height: 110px; padding: 16px 18px; }
  .wardrobe-bundle__tier-name { font-size: 14px; }
  .wardrobe-bundle__tier-note { font-size: 10px; }
  .wardrobe-bundle__piece { align-items: stretch; }
  .wardrobe-bundle__piece-selects { justify-content: flex-start; }
}

@media (max-width: 520px) {
  .wardrobe-bundle__tiers { grid-template-columns: 1fr; }
  .wardrobe-bundle__tier { min-height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  .wardrobe-bundle__tier,
  .wardrobe-bundle__actions button { transition: none; }
}
