NEW YORK (AP) — Shares of Martha Stewart Living and J.C. Penney Co. slid Monday, the first day of trading after a court signaled it would block a deal meant to revive sales at the storied but ailing retailer.

THE SPARK: Macy's filed suit to block an agreement that would allow J.C. Penney to sell some of the popular products made by Martha Stewart Living, saying it had exclusive rights to those goods until 2018. On Friday New York State Supreme Court sided with Macy's Inc. and issued the preliminary injunction to block the deal. The complaint was filed after J.C. Penney acquired a 16.6 percent stake in Martha Stewart Living, saying it planned to begin sales of Martha Stewart products in stores built for the company within J.C. Penney.

Martha Stewart Living spokeswoman Jeanne Meyer said Friday that the company still plans to move forward with sales of the products for J.C. Penney, but that it will comply with whatever restrictions are placed upon it at that time.

Much of the retail sector took a hit Monday after the Commerce Department reported that retail sales fell for the third straight month, the first time that has happened since the fall of 2008, during the depths of the financial crisis.

THE BIG PICTURE: J.C. Penney needs to find a way to stem declining sales. Under a new CEO, former Apple Inc. executive Ron Johnson, J.C. Penney is overhauling every aspect of its business from its pricing to the brands it carries. But concerns are growing about the company's ability to turn its business around. It posted a bigger-than-expected loss and a 20 percent drop in revenue in the first quarter. Earlier this month, Standard & Poor's Ratings Services lowered the retailer's credit rating further into junk status, saying changes have yet to take hold.

THE ANALYSIS: Paul Lejuez of Nomura Equity Research said the court's decision is not final, however it seems more likely now that J.C. Penney will not be selling Martha Stewart products until Macy's exclusive agreement expires years from now.

"This is another blow to J.C. Penney, which was likely assuming that the shop-in-shop format within J.C. Penney would allow them to carry whatever they wanted (since the Martha agreement with Macy's did allow for Martha to open standalone stores)," he wrote.

J.C. Penney could still sell Martha Stewart products not covered by the Macy's agreement, but Lejuez said many home products are off the table.

The analyst reaffirmed a "Neutral" rating for J.C. Penney and kept a $26 price target.

SHARE ACTION: Martha Stewart Living Omnimedia Inc. shed 7 cents, or 2 percent, to $3.46 in midday trading. Over the past year, the stock has traded between $2.77 and $5.19. It is off 21 percent for the year to date.

Shares of J.C. Penney Co. dropped 47 cents, or 2.4 percent, to $19.55 The stock has traded in a 52-week range of $19.43 and $43.18. For the year to date, the retailer's stock is down 44 percent.

Macy's stock added 6 cents to $33.70. The shares are up 2 percent for the year to date.

Also on HuffPost:

Loading Slideshow...
  • Charlie Rose

    An intern <a href="http://www.huffingtonpost.com/2012/03/14/charlie-rose-intern-sues-host-show-wage-allegations_n_1344970.html?ref=media" target="_hplink">sued Charlie Ros</a>e and his show over fair wage allegations.

  • Rachel Maddow

    Radio host and conservative preacher Bradlee Dean <a href="http://www.huffingtonpost.com/2011/07/27/rachel-maddow-sued-by-chr_n_911407.html" target="_hplink">sued Maddow and MSNBC</a>, claiming that the host defamed him in a segment.

  • Anderson Cooper

    Remember Anderson Cooper's swanky converted New York City firehouse? The CNN anchor was sued over it. Brooklyn-based interior designer Killian O'Brien was working on the home, and <a href="http://www.examiner.com/celebrity-headlines-in-providence/cnn-anchor-anderson-cooper-being-sued-by-injured-woman" target="_hplink">filed a lawsuit </a>claiming that she was injured on the job. She said she fell 17 feet through a hole that once held the station's fire pole.

  • Nancy Grace

    Grace <a href="http://www.cbsnews.com/8301-504083_162-20045478-504083.html" target="_hplink">was sued</a> after the suicide of a woman who she had interviewed the previous day. The CNN host had questioned the woman about the disappearance of her son, and the woman's family members alleged that the interview caused severe emotional distress.

  • Alex Witt

    Witt <a href="http://www.cbsnews.com/8301-504083_162-20045478-504083.html" target="_hplink">was sued by a former friend</a> who alleged that the MSNBC host owed her $65,000.

  • Ed Schultz

    Schultz <a href="http://www.huffingtonpost.com/2011/05/11/ed-schultz-sued-by-nbc-em_n_860455.html" target="_hplink">was sued</a> for by an NBC employee who claimed that he helped the MSNBC host break into TV and never got the cut he was promised.

  • Ryan Seacrest

    Seacrest <a href="http://insidetv.ew.com/2011/11/18/ryan-seacrest-lawsuit-shahs-of-sunset/" target="_hplink">was sued by a woman</a> who claimed she was demeaned and humiliated during the filming of his reality show "Shahs of Sunset."

  • Ann Curry

    Ann Curry and her husband Brian Ross faced a 2006 lawsuit over <a href="http://www.huffingtonpost.com/2011/08/15/ann-curry-homeless-house_n_926933.html" target="_hplink">their Upper West Side home</a>. Neighbors complained about noise and safety issues from construction on the house, and expressed concern that homeless squatters would start fires.

  • Keith Olbermann

    Keith Olbermann <a href="http://www.foxnews.com/us/2012/03/01/keith-olbermann-sued-by-video-blogger/" target="_hplink">was sued</a> by conservative filmmaker James O'Keefe after David Schuster described him as "a convicted felon" and a suspect in a rape allegation made by a former co-worker.

  • Barbara Walters

    Barbara Walters <a href="http://www.hollywoodreporter.com/thr-esq/barbara-walters-fights-defamation-lawsuit-215585" target="_hplink">was sued by a woman</a> who claimed that she was defamed in Walters' 2008 autobiography.

  • Oprah Winfrey

    The daytime diva has been sued at least <a href="http://articles.cnn.com/2010-03-16/entertainment/oprah.school.lawsuit_1_defamation-suit-oprah-winfrey-abuse-scandal?_s=PM:SHOWBIZ" target="_hplink">one</a>, <a href="http://www.huffingtonpost.com/2009/10/12/oprah-sued-by-flight-atte_n_317517.html" target="_hplink">two</a>, <a href="http://www.nytimes.com/1998/01/21/us/talk-of-the-town-burgers-v-oprah.html?pagewanted=all&src=pm" target="_hplink">three</a> and <a href="http://www.huffingtonpost.com/2011/07/30/oprah-winfrey-sued-own-slogan_n_914011.html" target="_hplink">four</a> times.