{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "store-navigation",
  "title": "Store Navigation",
  "description": "A complete store header: a dismissible announcement bar, a mega menu with link columns and a featured product per category, an expanding search with trending terms and live product suggestions, wishlist and bag counts, and a slide-in mobile menu with accordion sections.",
  "dependencies": [
    "motion",
    "clsx",
    "tailwind-merge"
  ],
  "files": [
    {
      "path": "registry/new-york/store-navigation/store-navigation.tsx",
      "content": "\"use client\";\n\nimport * as React from \"react\";\nimport { AnimatePresence, motion, useReducedMotion } from \"motion/react\";\nimport { clsx, type ClassValue } from \"clsx\";\nimport { twMerge } from \"tailwind-merge\";\n\nfunction cn(...inputs: ClassValue[]) {\n  return twMerge(clsx(inputs));\n}\n\nexport interface NavMenu {\n  id: string;\n  label: string;\n  columns: { title: string; links: string[] }[];\n  feature?: { title: string; price: string; image: string; tag?: string };\n}\n\nexport interface StoreNavigationProps {\n  store?: string;\n  announcement?: string;\n  menus?: NavMenu[];\n  searchSuggestions?: { title: string; price: string; image?: string }[];\n  bagCount?: number;\n  wishlistCount?: number;\n  theme?: \"dark\" | \"light\";\n  className?: string;\n}\n\nconst PALETTES = {\n  dark: { bg: \"#0A0A0A\", bar: \"#7CDE6A\", barText: \"#0A0A0A\", title: \"#FFFFFF\", muted: \"rgba(255,255,255,0.45)\", body: \"rgba(255,255,255,0.68)\", line: \"rgba(255,255,255,0.12)\", panel: \"#121212\", hover: \"rgba(255,255,255,0.06)\", photo: \"#F1F1F1\", input: \"#141414\", buttonBg: \"#FFFFFF\", buttonText: \"#111111\", scrim: \"rgba(0,0,0,0.55)\", ring: \"rgba(255,255,255,0.5)\" },\n  light: { bg: \"#FFFFFF\", bar: \"#111111\", barText: \"#FFFFFF\", title: \"#111111\", muted: \"rgba(0,0,0,0.45)\", body: \"rgba(0,0,0,0.68)\", line: \"rgba(0,0,0,0.1)\", panel: \"#FFFFFF\", hover: \"rgba(0,0,0,0.04)\", photo: \"#F1F1F1\", input: \"#F5F5F4\", buttonBg: \"#111111\", buttonText: \"#FFFFFF\", scrim: \"rgba(10,10,10,0.3)\", ring: \"rgba(0,0,0,0.45)\" },\n};\nconst MENUS: NavMenu[] = [\n  { id: \"audio\", label: \"Audio\", columns: [{ title: \"Listen\", links: [\"Wireless earbuds\", \"Headphones\", \"Speakers\", \"Kids' headphones\"] }, { title: \"Accessories\", links: [\"Cases & covers\", \"Ear tips\", \"Cables\", \"Chargers\"] }], feature: { title: \"Wireless Earbuds\", price: \"$129\", image: \"/demo/wireless-earbuds.webp\", tag: \"New\" } },\n  { id: \"desk\", label: \"Desk\", columns: [{ title: \"Setup\", links: [\"Laptop stands\", \"Desk lamps\", \"Monitor arms\", \"Organizers\"] }, { title: \"Write\", links: [\"Notebooks\", \"Pens\", \"Planners\", \"Sticky notes\"] }], feature: { title: \"Laptop Stand\", price: \"$49\", image: \"/demo/laptop-stand.webp\", tag: \"−45%\" } },\n  { id: \"outdoor\", label: \"Outdoor\", columns: [{ title: \"Move\", links: [\"Running shoes\", \"Trail gear\", \"Socks\", \"Belts\"] }, { title: \"Carry\", links: [\"Bottles\", \"Backpacks\", \"Tote bags\", \"Pouches\"] }], feature: { title: \"Insulated Water Bottle\", price: \"$39\", image: \"/demo/insulated-water-bottle.webp\" } },\n  { id: \"watches\", label: \"Watches\", columns: [{ title: \"Watches\", links: [\"Minimal\", \"Field\", \"Chronograph\"] }, { title: \"Straps\", links: [\"Leather\", \"Mesh\", \"Nylon\"] }], feature: { title: \"Minimal Watch\", price: \"$79\", image: \"/demo/minimal-watch.webp\", tag: \"Best seller\" } },\n];\nconst SUGGESTIONS = [\n  { title: \"Wireless Earbuds\", price: \"$129\", image: \"/demo/wireless-earbuds.webp\" },\n  { title: \"Minimal Watch\", price: \"$79\", image: \"/demo/minimal-watch.webp\" },\n  { title: \"Running Shoes\", price: \"$99\", image: \"/demo/running-shoes.webp\" },\n  { title: \"Laptop Stand\", price: \"$49\", image: \"/demo/laptop-stand.webp\" },\n  { title: \"Premium Notebook\", price: \"$24\", image: \"/demo/notebook.webp\" },\n  { title: \"Insulated Water Bottle\", price: \"$39\", image: \"/demo/insulated-water-bottle.webp\" },\n];\nconst TRENDING = [\"earbuds\", \"gift ideas\", \"desk setup\", \"sale\"];\n\nfunction Icon({ d, size = 18 }: { d: string; size?: number }) {\n  return (\n    <svg width={size} height={size} viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"1.8\" strokeLinecap=\"round\" strokeLinejoin=\"round\" aria-hidden=\"true\">\n      <path d={d} />\n    </svg>\n  );\n}\nconst I = {\n  search: \"M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14zM21 21l-4.3-4.3\",\n  user: \"M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8zM4 21c1.5-4 4.5-6 8-6s6.5 2 8 6\",\n  heart: \"M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z\",\n  bag: \"M6 7h12l-1 13H7zM9 7a3 3 0 0 1 6 0\",\n  menu: \"M4 7h16M4 12h16M4 17h16\",\n  x: \"M6 6l12 12M18 6 6 18\",\n};\n\nexport function StoreNavigation({ store = \"Northline\", announcement = \"Free shipping on orders over $50 · 30-day returns\", menus = MENUS, searchSuggestions = SUGGESTIONS, bagCount = 2, wishlistCount = 3, theme = \"dark\", className }: StoreNavigationProps) {\n  const p = PALETTES[theme];\n  const reduce = !!useReducedMotion();\n  const uid = React.useId();\n  const [open, setOpen] = React.useState<string | null>(null);\n  const [searching, setSearching] = React.useState(false);\n  const [query, setQuery] = React.useState(\"\");\n  const [drawer, setDrawer] = React.useState(false);\n  const [section, setSection] = React.useState<string | null>(null);\n  const [barOpen, setBarOpen] = React.useState(true);\n  const closeTimer = React.useRef<ReturnType<typeof setTimeout> | null>(null);\n  const searchRef = React.useRef<HTMLInputElement>(null);\n  const focusOnce = React.useCallback((el: HTMLButtonElement | null) => el?.focus({ preventScroll: true }), []);\n\n  React.useEffect(() => {\n    const onKey = (e: KeyboardEvent) => {\n      if (e.key !== \"Escape\") return;\n      setOpen(null);\n      setSearching(false);\n      setDrawer(false);\n    };\n    window.addEventListener(\"keydown\", onKey);\n    return () => window.removeEventListener(\"keydown\", onKey);\n  }, []);\n  React.useEffect(() => () => void (closeTimer.current && clearTimeout(closeTimer.current)), []);\n\n  const enter = (id: string) => {\n    if (closeTimer.current) clearTimeout(closeTimer.current);\n    setOpen(id);\n    setSearching(false);\n  };\n  const leave = () => {\n    closeTimer.current = setTimeout(() => setOpen(null), 160);\n  };\n  const q = query.trim().toLowerCase();\n  const results = q ? searchSuggestions.filter((s) => s.title.toLowerCase().includes(q)) : searchSuggestions.slice(0, 3);\n  const menu = menus.find((m) => m.id === open);\n\n  const ring = { [\"--tw-ring-color\" as string]: p.ring, [\"--tw-ring-offset-color\" as string]: p.bg } as React.CSSProperties;\n  const focus = \"outline-none focus-visible:ring-2 focus-visible:ring-offset-2\";\n  const iconBtn = cn(\"relative grid h-10 w-10 cursor-pointer place-items-center rounded-full border-0 bg-transparent transition-colors\", focus);\n  const badge = (n: number) =>\n    n > 0 && (\n      <span className=\"absolute top-1 right-1 grid h-4 min-w-4 place-items-center rounded-full px-1 text-[10px] font-semibold tabular-nums\" style={{ background: p.buttonBg, color: p.buttonText }}>\n        {n}\n      </span>\n    );\n\n  return (\n    <section className={cn(\"@container relative min-h-[560px] w-full overflow-hidden\", className)} style={{ background: p.bg, color: p.title }}>\n      <AnimatePresence initial={false}>\n        {barOpen && (\n          <motion.div key=\"bar\" initial={reduce ? false : { height: 0 }} animate={{ height: \"auto\" }} exit={reduce ? undefined : { height: 0 }} className=\"overflow-hidden\" style={{ background: p.bar, color: p.barText }}>\n            <div className=\"relative flex h-9 items-center justify-center px-10 text-[12.5px] font-medium\">\n              <span className=\"truncate\">{announcement}</span>\n              <button type=\"button\" onClick={() => setBarOpen(false)} aria-label=\"Dismiss announcement\" className={cn(\"absolute right-3 grid h-6 w-6 cursor-pointer place-items-center rounded-full border-0 bg-transparent\", focus)} style={{ color: p.barText, ...ring }}>\n                <Icon d={I.x} size={13} />\n              </button>\n            </div>\n          </motion.div>\n        )}\n      </AnimatePresence>\n\n      <header className=\"relative z-30 border-b\" style={{ borderColor: p.line, background: p.bg }} onMouseLeave={leave}>\n        <div className=\"mx-auto flex h-16 max-w-6xl items-center gap-4 px-4 @[640px]:px-8\">\n          <button type=\"button\" onClick={() => setDrawer(true)} aria-label=\"Open menu\" className={cn(iconBtn, \"-ml-2 @[900px]:hidden\")} style={{ color: p.title, ...ring }}>\n            <Icon d={I.menu} />\n          </button>\n          <a href=\"#\" className={cn(\"rounded text-[18px] font-semibold tracking-[-0.02em] no-underline\", focus)} style={{ color: p.title, ...ring }}>\n            {store}\n          </a>\n          <nav aria-label=\"Main\" className=\"ml-6 hidden h-full items-stretch @[900px]:flex\">\n            {menus.map((m) => (\n              <button\n                key={m.id}\n                type=\"button\"\n                aria-expanded={open === m.id}\n                aria-controls={`${uid}-mega`}\n                onMouseEnter={() => enter(m.id)}\n                onFocus={() => enter(m.id)}\n                onClick={() => setOpen((o) => (o === m.id ? null : m.id))}\n                className={cn(\"relative flex cursor-pointer items-center border-0 bg-transparent px-3.5 text-[14px] font-medium\", focus)}\n                style={{ color: open === m.id ? p.title : p.body, ...ring }}\n              >\n                {m.label}\n                {open === m.id && <motion.span layoutId={reduce ? undefined : `${uid}-u`} className=\"absolute inset-x-3 bottom-0 h-0.5 rounded-full\" style={{ background: p.title }} transition={{ type: \"spring\", stiffness: 500, damping: 38 }} />}\n              </button>\n            ))}\n            <a href=\"#\" className={cn(\"flex items-center px-3.5 text-[14px] font-medium no-underline\", focus)} style={{ color: \"#FF6B57\", ...ring }} onMouseEnter={leave}>\n              Sale\n            </a>\n          </nav>\n          <div className=\"ml-auto flex items-center gap-1\">\n            <motion.div className=\"relative hidden @[640px]:block\" animate={{ width: searching ? 280 : 200 }} transition={{ type: \"spring\", stiffness: 400, damping: 36 }}>\n              <label className=\"flex h-10 items-center gap-2 rounded-full border px-3.5 focus-within:ring-2\" style={{ borderColor: searching ? p.title : p.line, background: p.input, color: p.muted, ...ring }}>\n                <Icon d={I.search} size={15} />\n                <input ref={searchRef} value={query} onChange={(e) => setQuery(e.target.value)} onFocus={() => (setSearching(true), setOpen(null))} placeholder=\"Search products\" aria-label=\"Search products\" aria-controls={`${uid}-search`} className=\"h-full min-w-0 flex-1 border-0 bg-transparent text-[13.5px] outline-none\" style={{ color: p.title }} />\n              </label>\n            </motion.div>\n            <button type=\"button\" onClick={() => (setSearching(true), setTimeout(() => searchRef.current?.focus(), 0))} aria-label=\"Search\" className={cn(iconBtn, \"@[640px]:hidden\")} style={{ color: p.title, ...ring }}>\n              <Icon d={I.search} />\n            </button>\n            <button type=\"button\" aria-label=\"Account\" className={cn(iconBtn, \"hidden @[480px]:grid\")} style={{ color: p.title, ...ring }}>\n              <Icon d={I.user} />\n            </button>\n            <button type=\"button\" aria-label={`Wishlist, ${wishlistCount} items`} className={cn(iconBtn, \"hidden @[480px]:grid\")} style={{ color: p.title, ...ring }}>\n              <Icon d={I.heart} />\n              {badge(wishlistCount)}\n            </button>\n            <button type=\"button\" aria-label={`Bag, ${bagCount} items`} className={iconBtn} style={{ color: p.title, ...ring }}>\n              <Icon d={I.bag} />\n              {badge(bagCount)}\n            </button>\n          </div>\n        </div>\n\n        {/* Mega menu */}\n        <AnimatePresence>\n          {menu && (\n            <motion.div key=\"mega\" id={`${uid}-mega`} onMouseEnter={() => enter(menu.id)} initial={reduce ? false : { opacity: 0, y: -8 }} animate={{ opacity: 1, y: 0 }} exit={reduce ? undefined : { opacity: 0, y: -6 }} transition={{ duration: 0.2 }} className=\"absolute inset-x-0 top-full border-b shadow-[0_30px_60px_-30px_rgba(0,0,0,0.6)]\" style={{ background: p.panel, borderColor: p.line }}>\n              <AnimatePresence mode=\"popLayout\" initial={false}>\n                <motion.div key={menu.id} initial={reduce ? false : { opacity: 0, x: 12 }} animate={{ opacity: 1, x: 0 }} exit={reduce ? undefined : { opacity: 0 }} transition={{ duration: 0.2 }} className=\"mx-auto grid max-w-6xl grid-cols-[1fr_1fr_280px] gap-8 px-8 py-8\">\n                  {menu.columns.map((c) => (\n                    <div key={c.title}>\n                      <p className=\"m-0 text-[11.5px] font-semibold tracking-[0.1em] uppercase\" style={{ color: p.muted }}>\n                        {c.title}\n                      </p>\n                      <ul className=\"m-0 mt-3 flex list-none flex-col gap-1 p-0\">\n                        {c.links.map((l) => (\n                          <li key={l}>\n                            <a href=\"#\" className={cn(\"-ml-2 block rounded-lg px-2 py-1.5 text-[14px] no-underline transition-colors\", focus)} style={{ color: p.body, ...ring }} onMouseEnter={(e) => (e.currentTarget.style.background = p.hover)} onMouseLeave={(e) => (e.currentTarget.style.background = \"transparent\")}>\n                              {l}\n                            </a>\n                          </li>\n                        ))}\n                      </ul>\n                    </div>\n                  ))}\n                  {menu.feature && (\n                    <a href=\"#\" className={cn(\"group block overflow-hidden rounded-2xl no-underline\", focus)} style={{ background: p.photo, color: \"#111\", ...ring }}>\n                      <span className=\"relative block aspect-[4/3] overflow-hidden\">\n                        {/* eslint-disable-next-line @next/next/no-img-element */}\n                        <img src={menu.feature.image} alt=\"\" className=\"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105\" />\n                        {menu.feature.tag && <span className=\"absolute top-3 left-3 rounded-full bg-[#111] px-2.5 py-1 text-[11px] font-semibold text-white\">{menu.feature.tag}</span>}\n                      </span>\n                      <span className=\"flex items-center justify-between px-4 py-3 text-[13.5px]\">\n                        <span className=\"font-medium\">{menu.feature.title}</span>\n                        <span className=\"text-black/60 tabular-nums\">{menu.feature.price}</span>\n                      </span>\n                    </a>\n                  )}\n                </motion.div>\n              </AnimatePresence>\n            </motion.div>\n          )}\n        </AnimatePresence>\n\n        {/* Search panel */}\n        <AnimatePresence>\n          {searching && (\n            <motion.div key=\"search\" id={`${uid}-search`} initial={reduce ? false : { opacity: 0, y: -8 }} animate={{ opacity: 1, y: 0 }} exit={reduce ? undefined : { opacity: 0, y: -6 }} transition={{ duration: 0.2 }} className=\"absolute inset-x-0 top-full border-b\" style={{ background: p.panel, borderColor: p.line }}>\n              <div className=\"mx-auto max-w-6xl px-4 py-6 @[640px]:px-8\">\n                <label className=\"flex h-11 items-center gap-2 rounded-full border px-4 focus-within:ring-2 @[640px]:hidden\" style={{ borderColor: p.line, background: p.input, color: p.muted, ...ring }}>\n                  <Icon d={I.search} size={15} />\n                  <input value={query} onChange={(e) => setQuery(e.target.value)} placeholder=\"Search products\" aria-label=\"Search products (mobile)\" className=\"h-full min-w-0 flex-1 border-0 bg-transparent text-[14px] outline-none\" style={{ color: p.title }} />\n                </label>\n                <div className=\"mt-4 flex flex-wrap items-center gap-2 @[640px]:mt-0\">\n                  <span className=\"text-[12px]\" style={{ color: p.muted }}>\n                    Trending\n                  </span>\n                  {TRENDING.map((t) => (\n                    <button key={t} type=\"button\" onClick={() => setQuery(t === \"earbuds\" ? \"earbuds\" : t.split(\" \")[0])} className={cn(\"h-8 cursor-pointer rounded-full border px-3 text-[12.5px]\", focus)} style={{ borderColor: p.line, background: \"transparent\", color: p.title, ...ring }}>\n                      {t}\n                    </button>\n                  ))}\n                  <button type=\"button\" onClick={() => setSearching(false)} className={cn(\"ml-auto h-8 cursor-pointer rounded-full border-0 bg-transparent px-3 text-[12.5px]\", focus)} style={{ color: p.body, ...ring }}>\n                    Close\n                  </button>\n                </div>\n                <p className=\"m-0 mt-5 text-[12px]\" style={{ color: p.muted }} aria-live=\"polite\">\n                  {q ? `${results.length} ${results.length === 1 ? \"result\" : \"results\"} for “${query}”` : \"Popular right now\"}\n                </p>\n                <ul className=\"m-0 mt-2 grid list-none grid-cols-1 gap-2 p-0 @[640px]:grid-cols-3\">\n                  {results.map((r) => (\n                    <motion.li key={r.title} initial={reduce ? false : { opacity: 0, y: 6 }} animate={{ opacity: 1, y: 0 }}>\n                      <a href=\"#\" className={cn(\"flex items-center gap-3 rounded-xl p-2 no-underline transition-colors\", focus)} style={{ color: p.title, ...ring }} onMouseEnter={(e) => (e.currentTarget.style.background = p.hover)} onMouseLeave={(e) => (e.currentTarget.style.background = \"transparent\")}>\n                        <span className=\"h-12 w-12 shrink-0 overflow-hidden rounded-lg\" style={{ background: p.photo }}>\n                          {/* eslint-disable-next-line @next/next/no-img-element */}\n                          {r.image && <img src={r.image} alt=\"\" className=\"h-full w-full object-cover\" />}\n                        </span>\n                        <span className=\"min-w-0 flex-1 truncate text-[13.5px]\">\n                          {q\n                            ? r.title.split(new RegExp(`(${q.replace(/[.*+?^${}()|[\\]\\\\]/g, \"\\\\$&\")})`, \"i\")).map((part, i) =>\n                                part.toLowerCase() === q ? (\n                                  <mark key={i} className=\"rounded bg-transparent font-semibold\" style={{ color: p.title, textDecoration: \"underline\" }}>\n                                    {part}\n                                  </mark>\n                                ) : (\n                                  <span key={i} style={{ color: p.body }}>\n                                    {part}\n                                  </span>\n                                ),\n                              )\n                            : r.title}\n                        </span>\n                        <span className=\"text-[13px] tabular-nums\" style={{ color: p.muted }}>\n                          {r.price}\n                        </span>\n                      </a>\n                    </motion.li>\n                  ))}\n                  {q && results.length === 0 && (\n                    <li className=\"text-[13.5px]\" style={{ color: p.body }}>\n                      Nothing found. Try “earbuds” or “desk”.\n                    </li>\n                  )}\n                </ul>\n              </div>\n            </motion.div>\n          )}\n        </AnimatePresence>\n      </header>\n\n      {/* Page content behind the menu */}\n      <AnimatePresence>{(menu || searching) && <motion.div key=\"scrim\" className=\"absolute inset-0 z-20\" style={{ background: p.scrim, top: 0 }} initial={reduce ? false : { opacity: 0 }} animate={{ opacity: 1 }} exit={reduce ? undefined : { opacity: 0 }} onClick={() => (setOpen(null), setSearching(false))} aria-hidden=\"true\" />}</AnimatePresence>\n      <div className=\"mx-auto grid max-w-6xl grid-cols-1 items-center gap-6 px-4 py-12 @[640px]:px-8 @[760px]:grid-cols-2\">\n        <div>\n          <p className=\"m-0 text-[12px] font-semibold tracking-[0.12em] uppercase\" style={{ color: theme === \"dark\" ? \"#7CDE6A\" : \"#2F9E44\" }}>\n            New season\n          </p>\n          <h2 className=\"m-0 mt-3 text-[38px] leading-[1] font-semibold tracking-[-0.04em] @[640px]:text-[52px]\">Gear for everyday focus</h2>\n          <p className=\"m-0 mt-3 max-w-[36ch] text-[15px]\" style={{ color: p.body }}>\n            Hover a category above to explore, or search for anything.\n          </p>\n        </div>\n        <div className=\"aspect-[4/3] overflow-hidden rounded-3xl\" style={{ background: p.photo }}>\n          {/* eslint-disable-next-line @next/next/no-img-element */}\n          <img src=\"/demo/minimal-watch.webp\" alt=\"\" className=\"h-full w-full object-cover\" />\n        </div>\n      </div>\n\n      {/* Mobile drawer */}\n      <AnimatePresence>\n        {drawer && (\n          <>\n            <motion.div key=\"dscrim\" className=\"absolute inset-0 z-40\" style={{ background: p.scrim }} initial={reduce ? false : { opacity: 0 }} animate={{ opacity: 1 }} exit={reduce ? undefined : { opacity: 0 }} onClick={() => setDrawer(false)} aria-hidden=\"true\" />\n            <motion.nav key=\"drawer\" aria-label=\"Menu\" className=\"absolute top-0 bottom-0 left-0 z-50 flex w-[86%] max-w-[360px] flex-col border-r\" style={{ background: p.panel, borderColor: p.line }} initial={reduce ? false : { x: \"-100%\" }} animate={{ x: 0 }} exit={reduce ? undefined : { x: \"-100%\" }} transition={{ type: \"spring\", stiffness: 380, damping: 38 }}>\n              <div className=\"flex h-16 items-center justify-between border-b px-4\" style={{ borderColor: p.line }}>\n                <span className=\"text-[17px] font-semibold\">{store}</span>\n                <button type=\"button\" ref={focusOnce} onClick={() => setDrawer(false)} aria-label=\"Close menu\" className={iconBtn} style={{ color: p.title, ...ring }}>\n                  <Icon d={I.x} />\n                </button>\n              </div>\n              <ul className=\"m-0 flex-1 list-none overflow-y-auto p-2\">\n                {menus.map((m) => {\n                  const on = section === m.id;\n                  return (\n                    <li key={m.id} className=\"border-b\" style={{ borderColor: p.line }}>\n                      <button type=\"button\" onClick={() => setSection(on ? null : m.id)} aria-expanded={on} className={cn(\"flex w-full cursor-pointer items-center justify-between border-0 bg-transparent px-3 py-3.5 text-[16px] font-medium\", focus)} style={{ color: p.title, ...ring }}>\n                        {m.label}\n                        <motion.span animate={{ rotate: on ? 45 : 0 }} aria-hidden=\"true\" className=\"text-[18px] leading-none\" style={{ color: p.muted }}>\n                          +\n                        </motion.span>\n                      </button>\n                      <AnimatePresence initial={false}>\n                        {on && (\n                          <motion.div key=\"s\" initial={reduce ? false : { height: 0, opacity: 0 }} animate={{ height: \"auto\", opacity: 1 }} exit={reduce ? undefined : { height: 0, opacity: 0 }} className=\"overflow-hidden\">\n                            <ul className=\"m-0 list-none px-3 pb-3\">\n                              {m.columns.flatMap((c) => c.links).map((l) => (\n                                <li key={l}>\n                                  <a href=\"#\" className={cn(\"block rounded-lg px-2 py-2 text-[14px] no-underline\", focus)} style={{ color: p.body, ...ring }}>\n                                    {l}\n                                  </a>\n                                </li>\n                              ))}\n                            </ul>\n                          </motion.div>\n                        )}\n                      </AnimatePresence>\n                    </li>\n                  );\n                })}\n                <li>\n                  <a href=\"#\" className={cn(\"block px-3 py-3.5 text-[16px] font-medium no-underline\", focus)} style={{ color: \"#FF6B57\", ...ring }}>\n                    Sale\n                  </a>\n                </li>\n              </ul>\n              <div className=\"flex gap-2 border-t p-4\" style={{ borderColor: p.line }}>\n                <a href=\"#\" className={cn(\"flex h-11 flex-1 items-center justify-center gap-2 rounded-full border text-[13.5px] no-underline\", focus)} style={{ borderColor: p.line, color: p.title, ...ring }}>\n                  <Icon d={I.user} size={16} /> Account\n                </a>\n                <a href=\"#\" className={cn(\"flex h-11 flex-1 items-center justify-center gap-2 rounded-full border text-[13.5px] no-underline\", focus)} style={{ borderColor: p.line, color: p.title, ...ring }}>\n                  <Icon d={I.heart} size={16} /> Wishlist · {wishlistCount}\n                </a>\n              </div>\n            </motion.nav>\n          </>\n        )}\n      </AnimatePresence>\n    </section>\n  );\n}\n\nexport default StoreNavigation;\n",
      "type": "registry:component"
    }
  ],
  "type": "registry:component"
}