/* Compact category buttons; the opened inventory has no enclosing panel. */
.women-categories {
  width: min(100%, 840px);
  margin: 1.25rem auto 3rem;
  display: grid;
  gap: 1.15rem;
}
.women-category {
  min-width: 0;
  border: 0;
  background: none;
  scroll-margin-top: 6rem;
}
.women-category > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  list-style: none;
  cursor: pointer;
}
.women-category > summary::-webkit-details-marker { display: none; }
.women-category > summary::before {
  content: "";
  flex: 0 0 .4rem;
  width: .4rem;
  height: .4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s ease;
}
.women-category[open] > summary::before { transform: rotate(45deg); }
.women-category > summary:hover { filter: brightness(1.035); }
.women-category > summary:focus-visible { outline: 3px solid #fff0dd; outline-offset: 5px; }
.women-category > summary h2 { margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
.women-category:not([open]) > .product-list { display: none; }
.women-category > .product-list { box-sizing: border-box; padding: 0; }
.women-category > .product-list > p { text-align: center; }
@media (prefers-reduced-motion: reduce) {
  .women-category > summary::before { transition: none; }
}

/* Bag types appear inside Bags, with the same accessible disclosure controls. */
.bag-categories { display: grid; gap: 1rem; width: min(100%, 840px); margin: 1.5rem auto; }
.bag-category { min-width: 0; scroll-margin-top: 1rem; }
.bag-category > summary {
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  width: fit-content; max-width: 100%; min-height: 48px; margin: 0 auto;
  padding: .7rem 1.35rem; box-sizing: border-box; cursor: pointer; list-style: none;
  border: 1px solid #ffffff80; border-radius: 15px;
  background: var(--raised-button-face); box-shadow: var(--raised-button-shadow);
  color: #244f59; font: 500 1.35rem/1.35 var(--brand-display); text-align: center;
}
.bag-category > summary::-webkit-details-marker { display: none; }
.bag-category > summary::before {
  content: ""; flex: 0 0 .4rem; width: .4rem; height: .4rem;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}
.bag-category[open] > summary::before { transform: rotate(45deg); }
.bag-category > summary h3 { margin: 0; color: inherit; font: inherit; }
.bag-category > summary:hover { filter: brightness(1.035); }
.bag-category > summary:focus-visible { outline: 3px solid #fff0dd; outline-offset: 5px; }
.women-category:not([open]) > .bag-categories,
.bag-category:not([open]) > .product-list { display: none; }
.bag-category > .product-list { margin-block: 1.5rem 1rem; }
.bag-category > .product-list > p { margin-inline: auto; text-align: center; }
