/* Keep category titles visually clear of the global header at every desktop width. */
.page-category .wf-cat-heading{
  box-sizing:border-box!important;
  width:100%!important;
  height:auto!important;
  min-height:104px!important;
  margin:0!important;
  padding:30px 60px 22px!important;
  display:flex!important;
  align-items:flex-end!important;
  position:relative!important;
  z-index:1!important;
  background:#fff!important;
}
.page-category .wf-cat-heading h1{display:block!important;position:static!important;margin:0!important;line-height:1.15!important}

/* Marc Jacobs uses compact horizontal size tiles, not a vertical option stack. */
.page-products .dk-purchase-form .prod-option.mj-size-option{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:18px 0 12px!important;
}
.page-products .prod-option.mj-size-option legend{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0 0 12px!important;
  padding:0!important;
}
.page-products .mj-size-values{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(58px,1fr))!important;
  gap:8px!important;
  width:100%!important;
  height:auto!important;
  max-width:none!important;
  margin:0!important;
}
.page-products .mj-size-values label{display:block!important;width:auto!important;min-width:0!important;margin:0!important}
.page-products .mj-size-values span{width:100%!important;min-width:0!important;height:44px!important;padding:0 8px!important}

/* Color selector follows the reference: label, selected name, then swatches. */
.page-products .dk-purchase-form .prod-option.mj-color-option{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:18px 0 20px!important;
}
.page-products .prod-option.mj-color-option legend{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0 0 10px!important;
  padding:0!important;
}
.page-products .mj-selected-color{
  display:block!important;
  width:100%!important;
  height:auto!important;
  margin:0 0 10px!important;
  line-height:1.35!important;
}
.page-products .mj-color-swatches{
  display:flex!important;
  width:100%!important;
  height:auto!important;
  min-height:27px!important;
  margin:0!important;
  padding:1px!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}
.page-products .mj-color-swatch{
  flex:0 0 25px!important;
  width:25px!important;
  min-width:25px!important;
  height:25px!important;
  margin:0!important;
}
@media(max-width:767px){
  .page-category .wf-cat-heading{min-height:86px!important;padding:22px 16px 18px!important}
  .page-products .mj-size-values{grid-template-columns:repeat(auto-fit,minmax(52px,1fr))!important}
}
