.pc-bundle-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
}

.pc-bundle-filters__label {
  color: #14213b;
  font-size: 0.92rem;
  font-weight: 800;
}
.pc-bundle-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 4px 8px 4px 10px;
  border: 1px solid #c5d0dc;
  border-radius: 999px;
  background: #e8eef5;
  color: #14213b;
  font-size: 0.82rem;
  font-weight: 750;
}
.pc-bundle-filter select {
  max-width: 180px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pc-bundle-filters__clear {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #c5d0dc;
  border-radius: 999px;
  background: #fff;
  color: #14213b;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 750;
  cursor: pointer;
}

.pc-active-filters,
.pc-filter-panel {
  display: none;
}

@media (min-width: 1024px) {
  .bundle-page.has-pc-filter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    column-gap: 16px;
    align-items: start;
    max-width: 1510px;
  }
  .has-pc-filter-panel > .hero {
    grid-column: 1;
    grid-row: 1;
  }
  .has-pc-filter-panel > .shop-section {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 20px;
    min-width: 0;
  }
  .pc-bundle-filters { display: none; }
  .pc-active-filters {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 2px 0;
    color: #142347;
    font-size: 12px;
  }
  .pc-active-filters strong { margin-right: 4px; }
  .pc-active-filters__empty { color: #61708f; }
  .pc-active-filters__chip {
    padding: 8px 10px;
    border: 1px solid #b9daf5;
    border-radius: 18px;
    background: #e5f3ff;
    color: #164a75;
    font-size: 11px;
    font-weight: 600;
  }
  .pc-active-filters__clear {
    padding: 6px;
    border: 0;
    background: transparent;
    color: #586886;
    font-size: 12px;
    font-weight: 600;
  }
  .pc-filter-panel {
    display: block;
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    position: relative;
    z-index: 20;
    min-height: 290px;
    margin-top: 28px;
    padding: 8px 12px;
    border: 1px solid #dce5f1;
    border-radius: 12px;
    background: #f8faff;
    box-shadow: 0 4px 18px #21386012;
    color: #142347;
  }
  .pc-filter-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .pc-filter-panel__heading h2 { font-size: 25px; }
  .pc-filter-panel__heading h2 span { color: #ff7900; }
  .bundle-page .pc-filter-panel__subtitle {
    margin: 2px 0 6px;
    color: #61708f;
    font-size: 13px;
    font-weight: 600;
  }
  .pc-filter-panel__section {
    position: relative;
    padding: 1px 0;
    border-top: 1px solid #e1e7f1;
  }
  .pc-filter-panel__section summary {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    list-style: none;
    font-size: 14px;
    font-weight: 800;
  }
  .pc-filter-panel__section summary::-webkit-details-marker { display: none; }
  .pc-filter-panel__section summary::before {
    width: 4px;
    height: 14px;
    border-radius: 4px;
    background: #ff7900;
    content: "";
  }
  .pc-filter-panel__section summary::after {
    margin-left: auto;
    content: "⌄";
  }
  .pc-filter-panel__section[open] summary::after { content: "⌃"; }
  .pc-filter-panel__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    position: absolute;
    z-index: 1;
    top: 100%;
    right: 0;
    width: 100%;
    max-height: 160px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #dce5f1;
    border-radius: 10px;
    background: #f8faff;
    box-shadow: 0 8px 22px #21386033;
  }
  .pc-filter-panel__options--team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pc-filter-panel__options button {
    min-width: 0;
    padding: 5px 4px;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    background: #fff;
    color: #142347;
    font-size: 10px;
    font-weight: 700;
    overflow-wrap: anywhere;
  }
  .pc-filter-panel__options--industry button {
    min-height: 42px;
    background: linear-gradient(#fff, #f4f7fc);
    box-shadow: 0 2px 5px #1e395418;
  }
  .pc-filter-panel__options--industry button span {
    display: block;
    margin-bottom: 3px;
    font-size: 16px;
  }
  .pc-filter-panel__options--team button { border-radius: 16px; }
  .pc-filter-panel__options button[aria-pressed="true"] {
    border-color: #008bff;
    background: #e2f2ff;
    color: #164a75;
  }
  .pc-filter-panel__options--team button[aria-pressed="true"] {
    background: #159cff;
    color: #fff;
  }
  .pc-filter-panel__actions { display: flex; gap: 8px; margin-top: 6px; }
  .pc-filter-panel__actions button,
  .bundle-page .pc-filter-panel__show {
    padding: 8px;
    border: 1px solid #d7e0ef;
    border-radius: 9px;
    background: #fff;
    color: #142347;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
  }
  .bundle-page .pc-filter-panel__show {
    flex: 1;
    border-color: #ff7900;
    background: #ff7900;
    color: #fff;
  }
  .bundle-page .pc-filter-panel__show[aria-disabled="true"] {
    opacity: .65;
    cursor: default;
  }
}

@media (min-width: 1024px) and (max-width: 1250px) {
  .pc-filter-panel {
    min-height: 220px;
    padding: 5px 12px;
  }
  .pc-filter-panel__heading h2 { line-height: 1; }
  .bundle-page .pc-filter-panel__subtitle {
    margin: 1px 0 4px;
    line-height: 1.1;
  }
  .pc-filter-panel__section { padding: 0; }
  .pc-filter-panel__section summary { line-height: 1.05; }
  .pc-filter-panel__actions { margin-top: 4px; }
  .pc-filter-panel__actions button,
  .bundle-page .pc-filter-panel__show { padding: 5px; }
}
