/* Product-only return to the original compact colour selectors.
   Preserve the canonical data-* buttons, state subscriptions and checkout dimensions. */
html body.productPage[data-product-page].luxuryMotion #products .referenceSizePresets,
html body.productPage[data-product-page].luxuryMotion #products .referenceDimensions{
  display:none!important;
}

/* Only the actual desk and coffee-corner product pages are targeted. */
html body.productPage[data-product-page].luxuryMotion #products .customizer .swatches,
html body.productPage[data-product-page="coffee"].luxuryMotion #products .customizer .swatches{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  justify-items:center!important;
  align-items:start!important;
  gap:12px!important;
  overflow:visible!important;
  min-height:0!important;
  margin:0 0 20px!important;
  padding:8px 0 36px!important;
}
html body.productPage[data-product-page="coffee"].luxuryMotion #products #coffee .customizer .swatches{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatches .swatch{
  box-sizing:border-box!important;
  appearance:none!important;
  display:block!important;
  position:relative!important;
  justify-self:center!important;
  flex:none!important;
  width:48px!important;
  height:48px!important;
  min-width:48px!important;
  min-height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  margin:0!important;
  padding:0!important;
  border:2px solid #d4b18a!important;
  border-radius:50%!important;
  background:var(--swatch)!important;
  box-shadow:0 0 0 3px #27170f,0 0 0 4px #ad865868!important;
  overflow:visible!important;
  transform:none!important;
  cursor:pointer!important;
  transition:box-shadow .2s ease,transform .2s ease!important;
}
html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatch:is(.on,[aria-pressed="true"]){
  padding:0!important;
  border-color:#fff0d8!important;
  box-shadow:0 0 0 3px #24160e,0 0 0 6px #e2b67c!important;
}
html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatch:hover{
  transform:translateY(-2px)!important;
  background:var(--swatch)!important;
}
html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatch:before{
  display:none!important;
  content:none!important;
}
html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatch:after{
  display:block!important;
  content:attr(aria-label)!important;
  position:absolute!important;
  inset:auto auto auto 50%!important;
  top:calc(100% + 11px)!important;
  right:auto!important;
  bottom:auto!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:88px!important;
  min-width:0!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  color:#f3dfbf!important;
  background:transparent!important;
  font:inherit!important;
  font-size:10px!important;
  line-height:1.45!important;
  font-weight:700!important;
  text-align:center!important;
  white-space:normal!important;
  pointer-events:none!important;
}
html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatch :is(.dkFinishVisual,.dkFinishName,.dkFinishCheck){
  display:none!important;
}
/* Accessibility: the original button remains keyboard-selectable with visible focus. */
html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatch:focus-visible{
  outline:3px solid #f2d39f!important;
  outline-offset:7px!important;
}
@media(max-width:390px){
  html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatches .swatch{
    width:42px!important;height:42px!important;
    min-width:42px!important;min-height:42px!important;
    max-width:42px!important;max-height:42px!important;
  }
  html body.productPage[data-product-page].luxuryMotion #products :is(#desk,#coffee) .customizer .swatch:after{
    width:68px!important;font-size:9px!important;
  }
}

/* Final mobile navigation adjustment, loaded after product-specific theme layers. */
@media(max-width:750px){
  html body.productPage[data-product-page].luxuryMotion .productSectionNav{
    top:76px!important;display:flex!important;flex-wrap:nowrap!important;
    max-height:62px!important;overflow-x:auto!important;overflow-y:hidden!important;
  }
  html body.productPage[data-product-page].luxuryMotion .productSectionNav a{
    flex:0 0 auto!important;display:inline-flex!important;
    align-items:center!important;justify-content:center!important;
    min-height:42px!important;padding:10px 13px!important;
    font-size:13px!important;line-height:1.4!important;
    white-space:nowrap!important;
  }
}
