/* Shop floor — live-market-shops visual lift (VibeCart orbit language) */
body.live-market-shops-page.vc-shop-floor {
  --vc-shop-ink: #0f1a22;
  --vc-shop-gold: #0d7377;
  --vc-shop-ember: #c45c26;
  --vc-shop-leaf: #1f8a5b;
  --vc-shop-sand: #f3f8f6;
  --vc-shop-mist: rgba(243, 248, 246, 0.72);
  --vc-font-display: "Syne", system-ui, sans-serif;
  --vc-font-text: "DM Sans", system-ui, sans-serif;
  color: var(--vc-shop-ink);
  background:
    radial-gradient(90% 55% at 85% -5%, rgba(13, 115, 119, 0.14), transparent 55%),
    radial-gradient(70% 45% at 5% 15%, rgba(31, 138, 91, 0.1), transparent 50%),
    linear-gradient(165deg, #f3f8f6 0%, #e8f0ed 48%, #eef5f2 100%) !important;
}

body.live-market-shops-page.vc-shop-floor .vc-lp-bg-orbs,
body.live-market-shops-page.vc-shop-floor .vc-lp-float-glyphs {
  opacity: 0.7;
}

body.live-market-shops-page.vc-shop-floor .vc-lp-bg-wordmark {
  opacity: 0.18;
  font-family: var(--vc-font-display);
  letter-spacing: -0.04em;
}

body.live-market-shops-page.vc-shop-floor > .shops-lane-topbar {
  border-bottom-color: rgba(15, 26, 34, 0.1);
  background: linear-gradient(180deg, rgba(243, 248, 246, 0.96), rgba(243, 248, 246, 0.75));
  backdrop-filter: blur(12px);
  color: var(--vc-shop-ink);
}

/* Full-bleed shop hero */
.vc-shop-floor-hero {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  min-height: min(42vh, 380px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 1.15rem;
}

.vc-shop-floor-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(15, 26, 34, 0.92) 8%, rgba(15, 26, 34, 0.55) 48%, rgba(15, 26, 34, 0.78) 100%),
    url("https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=1800&q=80")
      center / cover no-repeat;
  transform: scale(1.04);
  animation: vcShopFloorDrift 22s ease-in-out infinite alternate;
}

.vc-shop-floor-hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image: radial-gradient(rgba(243, 248, 246, 0.12) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.vc-shop-floor-hero__glow {
  position: absolute;
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  border-radius: 50%;
  right: -8%;
  bottom: -20%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(13, 115, 119, 0.28), transparent 68%);
  animation: vcShopFloorPulse 5.5s ease-in-out infinite;
}

.vc-shop-floor-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding: clamp(2.4rem, 8vh, 4.2rem) 0 clamp(1.6rem, 4vh, 2.4rem);
  animation: vcShopFloorRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.live-market-shops-page.vc-shop-floor .vc-shop-floor-hero__brand + .vc-x-meridian {
  background: linear-gradient(90deg, #f3f8f6, rgba(13, 115, 119, 0.55));
  margin: 0.4rem 0 0.85rem;
}

.vc-shop-floor-hero__title {
  margin: 0 0 0.55rem;
  font-family: var(--vc-font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #f3f8f6;
}

.vc-shop-floor-hero__lead {
  margin: 0 0 1.1rem;
  max-width: 34rem;
  font-family: var(--vc-font-text);
  font-size: clamp(0.98rem, 2.4vw, 1.12rem);
  line-height: 1.45;
  color: rgba(243, 248, 246, 0.82);
}

.vc-shop-floor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.vc-shop-floor-hero__actions .btn-primary {
  background: #0d7377;
  color: #f3f8f6;
  border: none;
  border-radius: 12px;
  font-weight: 700;
}

.vc-shop-floor-hero__actions .btn-secondary {
  border-radius: 12px;
  border-color: rgba(243, 248, 246, 0.3);
  color: var(--vc-shop-ink);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

@keyframes vc-shop-floor-target-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 115, 119, 0.45);
    transform: translateY(0);
  }
  45% {
    box-shadow: 0 0 0 12px rgba(13, 115, 119, 0);
    transform: translateY(-2px);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 115, 119, 0);
    transform: translateY(0);
  }
}

.vc-shop-floor-target-pulse {
  outline: 2px solid rgba(13, 115, 119, 0.55);
  outline-offset: 4px;
  border-radius: 16px;
  animation: vc-shop-floor-target-pulse 1.15s ease-out 2;
}

body.vc-shop-floor-browse-pulse .vc-shop-floor-lanes {
  animation: vc-shop-floor-target-pulse 1.15s ease-out 1;
}

.vc-shop-floor-browse-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--vc-mobile-tab-h, 62px) + env(safe-area-inset-bottom, 0px) + 18px);
  transform: translateX(-50%) translateY(12px);
  z-index: 120;
  max-width: min(92vw, 22rem);
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: rgba(15, 26, 34, 0.92);
  color: #f3f8f6;
  font-family: var(--vc-font-text, "DM Sans", sans-serif);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 12px 28px rgba(15, 26, 34, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.vc-shop-floor-browse-toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Category lanes */
.vc-shop-floor-lanes {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0.1rem 0.65rem;
  margin: 0 0 0.85rem;
  scrollbar-width: thin;
}

.vc-shop-floor-lane {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(243, 248, 246, 0.18);
  background: rgba(255, 255, 255, 0.94);
  color: var(--vc-shop-ink);
  text-decoration: none;
  font-family: var(--vc-font-text);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.vc-shop-floor-lane:hover,
.vc-shop-floor-lane:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(13, 115, 119, 0.5);
  background: rgba(13, 115, 119, 0.12);
  outline: none;
}

.vc-shop-floor-lane.is-active {
  border-color: rgba(13, 115, 119, 0.65);
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.28), rgba(212, 98, 43, 0.18));
  color: var(--vc-shop-ink);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.vc-shop-floor-lane__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--vc-shop-gold);
  box-shadow: 0 0 10px rgba(13, 115, 119, 0.55);
}

/* Floor panels */
body.live-market-shops-page.vc-shop-floor main.shops-lane-main > .vc-shop-floor-panel,
body.live-market-shops-page.vc-shop-floor .vc-shop-floor-panel {
  margin-top: 0.75rem;
  padding: 1rem 1rem 1.05rem !important;
  border-radius: 18px;
  border: 1px solid rgba(243, 248, 246, 0.12);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(238, 245, 242, 0.94));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

body.live-market-shops-page.vc-shop-floor .shops-lane-title {
  font-family: var(--vc-font-display);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--vc-shop-ink);
  border-bottom-color: rgba(13, 115, 119, 0.35);
}

/* Default shop tiles (VC listings / other grids) */
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid:not(.shop-bubble-grid--aisle) .shop {
  border-radius: 18px;
  border: 1px solid rgba(15, 26, 34, 0.1);
  background: linear-gradient(160deg, #ffffff, #eef5f2);
  box-shadow: 0 10px 28px rgba(15, 26, 34, 0.1);
  color: var(--vc-shop-ink);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  min-height: 132px;
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid:not(.shop-bubble-grid--aisle) .shop:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 115, 119, 0.42);
  box-shadow: 0 16px 36px rgba(15, 26, 34, 0.14);
}

/* Storefront aisle — horizontal brand rows (not a book-shelf grid) */
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1rem;
  min-height: 0;
  padding: 0.75rem 0.95rem;
  border-radius: 16px;
  border: 1px solid rgba(15, 26, 34, 0.1);
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.98), rgba(238, 245, 242, 0.92));
  box-shadow: 0 8px 22px rgba(15, 26, 34, 0.07);
  color: var(--vc-shop-ink);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  animation: vcShopFloorRise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(1) {
  animation-delay: 0.02s;
}
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(2) {
  animation-delay: 0.05s;
}
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(3) {
  animation-delay: 0.08s;
}
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(4) {
  animation-delay: 0.11s;
}
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(5) {
  animation-delay: 0.14s;
}
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(6) {
  animation-delay: 0.17s;
}
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(n + 7) {
  animation-delay: 0.2s;
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:nth-child(even):not(.shop--partner) {
  background:
    linear-gradient(105deg, rgba(243, 248, 246, 0.95), rgba(255, 255, 255, 0.98));
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid .shop h3,
body.live-market-shops-page.vc-shop-floor .shop-bubble-grid .shop p {
  color: var(--vc-shop-ink);
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid .shop p {
  color: rgba(15, 26, 34, 0.68);
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:hover {
  transform: translateY(-3px) translateX(2px);
  border-color: rgba(13, 115, 119, 0.42);
  box-shadow: 0 14px 32px rgba(15, 26, 34, 0.12);
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle:hover .shop-aisle__go {
  transform: translateX(3px);
  color: var(--vc-shop-gold);
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--partner {
  order: -1;
  border-color: rgba(13, 115, 119, 0.38);
  background:
    linear-gradient(90deg, rgba(13, 115, 119, 0.16), transparent 12px),
    linear-gradient(105deg, #ffffff, #e8f4f2);
  box-shadow: 0 10px 28px rgba(13, 115, 119, 0.12);
  color: var(--vc-shop-ink);
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--partner.shop--aisle:nth-child(1) {
  min-height: 5.5rem;
  padding: 0.95rem 1.05rem;
}

body.live-market-shops-page.vc-shop-floor .shop-aisle__logo-plate {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  flex-shrink: 0;
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 1), rgba(238, 245, 242, 0.95)),
    #fff;
  border: 1px solid rgba(15, 26, 34, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

body.live-market-shops-page.vc-shop-floor .shop--partner .shop-aisle__logo-plate {
  width: 4.75rem;
  height: 4.75rem;
  border-color: rgba(13, 115, 119, 0.22);
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop .shop-logo {
  width: 2.75rem !important;
  height: 2.75rem !important;
  min-width: 2.75rem !important;
  min-height: 2.75rem !important;
  margin: 0 !important;
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  object-fit: contain !important;
  opacity: 1 !important;
}

body.live-market-shops-page.vc-shop-floor .shop--partner .shop-logo {
  width: 3.1rem !important;
  height: 3.1rem !important;
  min-width: 3.1rem !important;
  min-height: 3.1rem !important;
}

body.live-market-shops-page.vc-shop-floor .shop-aisle__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.live-market-shops-page.vc-shop-floor .shop-aisle__meta {
  margin-top: 0.15rem;
  font-family: var(--vc-font-text);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: rgba(15, 26, 34, 0.55);
}

body.live-market-shops-page.vc-shop-floor .shop--partner .shop-aisle__meta {
  color: rgba(13, 115, 119, 0.85);
}

body.live-market-shops-page.vc-shop-floor .shop-aisle__go {
  font-family: var(--vc-font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(15, 26, 34, 0.35);
  transition: transform 0.2s ease, color 0.2s ease;
  padding-right: 0.15rem;
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid .shop .shop-partner-badge {
  display: inline-block;
  margin: 0 0 0.2rem;
  padding: 0.15rem 0.45rem;
  font-family: var(--vc-font-text);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--vc-shop-gold), var(--vc-shop-ember));
  border-radius: 4px;
}

@media (max-width: 520px) {
  body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle {
    gap: 0.7rem;
    padding: 0.7rem 0.75rem;
  }
  body.live-market-shops-page.vc-shop-floor .shop-aisle__logo-plate {
    width: 3.65rem;
    height: 3.65rem;
  }
  body.live-market-shops-page.vc-shop-floor .shop--partner .shop-aisle__logo-plate {
    width: 4rem;
    height: 4rem;
  }
  body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop h3 {
    font-size: 0.98rem;
  }
}

.vc-shop-partner-strip {
  margin: 0.35rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(13, 115, 119, 0.28);
  background:
    linear-gradient(120deg, rgba(13, 115, 119, 0.1), rgba(31, 138, 91, 0.06)),
    rgba(255, 255, 255, 0.94);
  color: var(--vc-shop-ink);
  animation: vcShopFloorRise 0.7s ease both;
}

.vc-shop-partner-strip__label {
  margin: 0 0 0.65rem;
  font-family: var(--vc-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--vc-shop-ink);
}

.vc-shop-partner-strip__rail {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.vc-shop-partner-chip {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 7.5rem;
  max-width: 10.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(13, 115, 119, 0.4);
  background: rgba(255, 255, 255, 0.94);
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.vc-shop-partner-chip__logo-wrap {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.15rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(15, 26, 34, 0.08);
}

.vc-shop-partner-chip__logo {
  width: 1.75rem !important;
  height: 1.75rem !important;
  min-width: 1.75rem !important;
  min-height: 1.75rem !important;
  object-fit: contain !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  border-radius: 6px !important;
}

.vc-shop-partner-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(13, 115, 119, 0.75);
  background: rgba(13, 115, 119, 0.12);
}

.vc-shop-partner-chip__badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--vc-shop-gold);
}

.vc-shop-partner-chip__name {
  font-family: var(--vc-font-display);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.vc-shop-floor-panel--partners {
  margin-top: 0.55rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(13, 115, 119, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(13, 115, 119, 0.1), transparent 55%),
    rgba(12, 16, 26, 0.82);
  animation: vcShopFloorRise 0.85s ease 0.08s both;
}

.vc-shop-external-lead {
  margin: 0 0 0.55rem;
  color: rgba(15, 26, 34, 0.72);
}

body.live-market-shops-page.vc-shop-floor .shop-bubble-grid .shop h3 {
  font-family: var(--vc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.live-market-shops-page.vc-shop-floor .vc-ux-context-strip {
  border-radius: 14px;
  border-color: rgba(13, 115, 119, 0.22);
  background: rgba(13, 115, 119, 0.08);
}

body.live-market-shops-page.vc-shop-floor .vc-shop-floor-legacy-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

@keyframes vcShopFloorRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes vcShopFloorDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 1%, 0);
  }
}

@keyframes vcShopFloorPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-shop-floor-hero__media,
  .vc-shop-floor-hero__glow,
  .vc-shop-floor-hero__copy,
  body.live-market-shops-page.vc-shop-floor .shop-bubble-grid--aisle .shop.shop--aisle {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .vc-shop-floor-hero {
    min-height: min(52vh, 440px);
  }
  .vc-shop-floor-hero__copy {
    padding-top: 3.2rem;
  }
}
