/* NeixPay vendor storefront — YouTube banner + profile thumb + theme contrast */

/* YouTube channel banner: 2560×423 — aspect preserved, center crop, no stretch */
.lx-vendor-store-page .lx-vendor-store-banner,
.vsf-root .kei-hero.lx-vs-hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: 423px;
  aspect-ratio: 2560 / 423;
  margin: 0 0 0.75rem;
  overflow: hidden;
  background: #080614;
  padding: 0;
}

.lx-vendor-store-page .lx-vs-banner--desktop {
  display: block;
}

.lx-vendor-store-page .lx-vs-banner--mobile {
  display: none;
}

/* Soft left wash so frosted hero card stays readable over busy banners */
.lx-vendor-store-page .lx-vs-hero-left-shadow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.12) 40%, transparent 65%);
}

/* Frosted glass hero card (revived from storefront design) */
.lx-vendor-store-page .lx-vs-hero-card {
  position: absolute;
  left: clamp(1rem, 3vw, 1.5rem);
  bottom: clamp(0.85rem, 2.5vw, 1.25rem);
  z-index: 2;
  margin: 0;
  width: min(420px, 42vw);
  max-width: min(420px, calc(100% - 2.5rem));
  min-width: 0;
  background: rgba(8, 12, 20, 0.76);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px;
  padding: 1.5rem 1.35rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  pointer-events: auto;
}

.lx-vendor-store-page .lx-vs-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #facc15;
  margin-bottom: 8px;
}

.lx-vendor-store-page .lx-vs-hero-title {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.lx-vendor-store-page .lx-vs-typed-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  margin-left: 3px;
  vertical-align: middle;
  background: currentColor;
  animation: lx-vs-blink 1s step-end infinite;
}

@keyframes lx-vs-blink {
  50% { opacity: 0; }
}

.lx-vendor-store-page .lx-vs-hero-subtitle {
  margin: 0 0 12px;
  max-width: 340px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(248, 250, 252, 0.86);
}

.lx-vendor-store-page .lx-vs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.lx-vendor-store-page .lx-vs-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12.5px;
  color: #fff !important;
  background: var(--kei-accent, #16a34a);
  border: none;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.32);
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
}

.lx-vendor-store-page .lx-vs-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff !important;
}

.lx-vendor-store-page .lx-vs-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.92) !important;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.lx-vendor-store-page .lx-vs-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(248, 250, 252, 0.9);
}

[data-theme="light"] .lx-vendor-store-page .lx-vendor-store-banner {
  background: #f1f5f9;
}

[data-theme="light"] .lx-vendor-store-page .lx-vs-hero-left-shadow {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.08) 40%, transparent 65%);
}

[data-theme="light"] .lx-vendor-store-page .lx-vs-hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  color: #0f172a;
}

[data-theme="light"] .lx-vendor-store-page .lx-vs-hero-kicker {
  color: #d97706;
}

[data-theme="light"] .lx-vendor-store-page .lx-vs-hero-title {
  color: #0f172a;
}

[data-theme="light"] .lx-vendor-store-page .lx-vs-hero-subtitle {
  color: #475569;
}

[data-theme="light"] .lx-vendor-store-page .lx-vs-btn-outline {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.15);
  color: #374151 !important;
}

[data-theme="light"] .lx-vendor-store-page .lx-vs-hero-pill {
  background: rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 0, 0, 0.12);
  color: #334155;
}

/* Laptop / mid widths: compact YouTube-like banner with even card breathing room */
@media (min-width: 641px) and (max-width: 1399.98px) {
  .lx-vendor-store-page .lx-vendor-store-banner {
    aspect-ratio: auto;
    height: clamp(176px, 16.523vw, 250px);
    min-height: 176px;
    max-height: 250px;
  }

  .lx-vendor-store-page .lx-vs-hero-card {
    width: min(380px, 46vw);
    max-width: min(380px, calc(100% - 2.5rem));
    padding: 0.65rem 0.8rem;
    border-radius: 14px;
    top: 50%;
    bottom: auto;
    left: 1rem;
    transform: translateY(-50%);
  }

  .lx-vendor-store-page .lx-vs-hero-title {
    margin-bottom: 5px;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    line-height: 1.15;
  }

  .lx-vendor-store-page .lx-vs-hero-subtitle {
    font-size: 0.7rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }

  .lx-vendor-store-page .lx-vs-hero-kicker {
    font-size: 7.5px;
    margin-bottom: 3px;
  }

  .lx-vendor-store-page .lx-vs-hero-actions {
    gap: 6px;
    margin-bottom: 6px;
  }

  .lx-vendor-store-page .lx-vs-btn-primary,
  .lx-vendor-store-page .lx-vs-btn-outline {
    padding: 5px 10px;
    font-size: 10px;
  }

  .lx-vendor-store-page .lx-vs-hero-pill {
    padding: 2px 7px;
    font-size: 8.5px;
  }
}

@media (min-width: 1400px) {
  .lx-vendor-store-page .lx-vendor-store-banner {
    min-height: 0;
  }
}

/* Mobile: compact card that leaves banner imagery visible on the right */
@media (max-width: 640px) {
  .lx-vendor-store-page .lx-vendor-store-banner {
    aspect-ratio: auto;
    height: 210px;
    min-height: 210px;
    max-height: 210px;
  }

  .lx-vendor-store-page .lx-vs-hero-card {
    left: 0.75rem;
    right: auto;
    top: 50%;
    bottom: auto;
    width: auto;
    max-width: min(290px, calc(100% - 4.5rem));
    min-width: 0;
    padding: 0.7rem 0.75rem;
    border-radius: 14px;
    transform: translateY(-50%);
  }

  .lx-vendor-store-page .lx-vs-hero-title {
    font-size: clamp(1.15rem, 4vw, 1.5rem);
    line-height: 1.2;
  }

  .lx-vendor-store-page .lx-vs-hero-kicker {
    font-size: 8px;
    margin-bottom: 4px;
  }

  .lx-vendor-store-page .lx-vs-hero-subtitle {
    font-size: 0.72rem;
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .lx-vendor-store-page .lx-vs-hero-actions {
    margin-bottom: 8px;
  }

  .lx-vendor-store-page .lx-vs-btn-primary {
    font-size: 11px;
    padding: 6px 12px;
  }

  .lx-vendor-store-page .lx-vs-btn-outline {
    font-size: 10.5px;
    padding: 6px 10px;
  }

  .lx-vendor-store-page .lx-vs-hero-pill {
    font-size: 9.5px;
    padding: 2px 8px;
  }
}

@media (max-width: 767.98px) {
  .lx-vendor-store-page .lx-vs-banner--desktop {
    display: none;
  }

  .lx-vendor-store-page .lx-vs-banner--mobile {
    display: block;
  }
}

.lx-vendor-store {
  min-height: 100vh;
}

.lx-vs-profile-thumb {
  display: inline-flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(var(--kei-accent-rgb, 220, 38, 38), 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  flex-shrink: 0;
}

.lx-vs-profile-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lx-vs-hero {
  position: relative;
}

.lx-vs-banner {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: none;
}

/* Banner slide — image only, no stretch (YouTube-style center crop) */
.lx-vendor-store-page .lx-vs-banner-slide,
.vsf-root .lx-vs-banner-slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  pointer-events: none;
}

.lx-vs-banner-slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* React storefront hero card overlays the YouTube banner */
.vsf-root .kei-hero.lx-vs-hero {
  display: flex;
  align-items: center;
}

.vsf-root .kei-hero.lx-vs-hero .kei-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.vsf-root .kei-hero.lx-vs-hero .kei-hero-media {
  transform: none;
  filter: none;
  background-size: cover;
  background-position: center center;
}

.lx-vs-unpublished-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(234, 179, 8, 0.14);
  border-bottom: 1px solid rgba(234, 179, 8, 0.35);
  color: #fef3c7;
  font-size: 0.92rem;
  line-height: 1.45;
}

[data-theme="light"] .lx-vs-unpublished-banner {
  background: #fef9c3;
  border-bottom-color: #fde047;
  color: #713f12;
}

.lx-vendor-store .kei-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lx-vendor-store .kei-product-card {
  position: relative;
}

.lx-vendor-store .lx-card-float-actions {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

[data-theme="light"] .lx-vendor-store .kei-hero-card {
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .lx-vendor-store .kei-pill {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .lx-vendor-store .kei-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .lx-vendor-store .kei-search-input,
[data-theme="light"] .lx-vendor-store .kei-select,
[data-theme="light"] .lx-vendor-store .kei-input {
  background: #fff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

.lx-vendor-store .kei-cat-nav-item.is-active {
  background: rgba(var(--kei-accent-rgb, 220, 38, 38), 0.18);
  border-color: rgba(var(--kei-accent-rgb, 220, 38, 38), 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .lx-vs-banner-slide {
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Vendor store product cards — restore polished theme
   Keep: no avatar, Buy CTA, prominent price
   Fix: title wrap, price split onto two lines, cramped meta
------------------------------------------------------------------ */

body.lx-vendor-store-page .lx-yt-avatar,
body.lx-vendor-store-page .lx-yt-avatar--empty {
  display: none !important;
}

/* In-store: store name on every card is redundant */
body.lx-vendor-store-page .lx-yt-owner,
body.lx-vendor-store-page .lx-vendor-line,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-owner,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-vendor-line {
  display: none !important;
}

body.lx-vendor-store-page .lx-yt-meta,
body.lx-vendor-store-page .lx-yt-meta--no-avatar,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-meta {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  align-items: start !important;
  padding: 0.8rem 0.9rem 0.95rem !important;
}

body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-title-row,
body.lx-vendor-store-page .lx-yt-title-row {
  display: flex !important;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.4rem;
  min-width: 0;
}

/* Beat memberships-grid “full wrap” title rules used for communities */
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-title,
body.lx-vendor-store-page .lx-marketplace-memberships-grid .lx-yt-title,
body.lx-vendor-store-page .lx-yt-title {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100% !important;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.98rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.lx-vendor-store-page .lx-yt-desc,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-desc {
  margin: 0.2rem 0 0 !important;
  font-size: 0.8rem !important;
  line-height: 1.4 !important;
  color: var(--muted, #64748b) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.lx-vendor-store-page .lx-yt-foot,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-foot {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.55rem !important;
  margin-top: 0.55rem !important;
  min-width: 0;
}

/* Reset container — price lives in .lx-yt-price */
body.lx-vendor-store-page .lx-yt-stats,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-stats {
  margin: 0 !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: normal !important;
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
  animation: none !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body.lx-vendor-store-page .lx-yt-price,
body.lx-vendor-store-page .kei-product-price,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-card .kei-product-price,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-card:hover .kei-product-price {
  display: inline-block !important;
  max-width: 100%;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  text-shadow: none !important;
  animation: none !important;
  transform: none !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-yt-price,
html[data-theme="dark"] body.lx-vendor-store-page .kei-product-price,
[data-theme="dark"] body.lx-vendor-store-page .lx-yt-price,
[data-theme="dark"] body.lx-vendor-store-page .kei-product-price,
html[data-theme="dark"] body.lx-vendor-store-page #allproductsQuery .lx-marketplace-card .kei-product-price,
[data-theme="dark"] body.lx-vendor-store-page #allproductsQuery .lx-marketplace-card .kei-product-price {
  color: #fbbf24 !important;
  -webkit-text-fill-color: #fbbf24 !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-yt-price,
html[data-theme="light"] body.lx-vendor-store-page .kei-product-price,
[data-theme="light"] body.lx-vendor-store-page .lx-yt-price,
[data-theme="light"] body.lx-vendor-store-page .kei-product-price {
  color: #047857 !important;
  -webkit-text-fill-color: #047857 !important;
}

body.lx-vendor-store-page .lx-yt-join,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-join {
  flex: 0 0 auto !important;
  margin-left: 0 !important;
  min-height: 2rem !important;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.lx-vendor-store-page .lx-yt-join-label--full {
  display: inline !important;
}

body.lx-vendor-store-page .lx-yt-join-label--short {
  display: none !important;
}

/* Product-style cards on the same store page */
body.lx-vendor-store-page .kei-product-foot {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
  margin-top: auto !important;
}

body.lx-vendor-store-page .kei-product-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
}

body.lx-vendor-store-page .kei-product-title {
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.lx-vendor-store-page .kei-product-desc {
  margin: 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.4 !important;
  color: rgba(148, 163, 184, 0.95) !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

html[data-theme="light"] body.lx-vendor-store-page .kei-product-desc,
[data-theme="light"] body.lx-vendor-store-page .kei-product-desc {
  color: #64748b !important;
}

body.lx-vendor-store-page .kei-product-media {
  aspect-ratio: 1 / 1 !important;
  max-width: 540px;
  max-height: 540px;
  margin-inline: auto;
  width: 100%;
  overflow: hidden;
  background: #0b1220;
}

body.lx-vendor-store-page .kei-product-media .kei-product-img {
  width: 100%;
  height: 100%;
  max-width: 540px;
  max-height: 540px;
  object-fit: contain;
  object-position: center;
}

body.lx-vendor-store-page .kei-product-action.kei-buy-btn {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
  padding: 0.35rem 0.85rem !important;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #00d26a, #00b359) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0, 210, 106, 0.35);
}

body.lx-vendor-store-page .lx-yt-title,
body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-title {
  color: var(--text, #0f172a) !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-yt-title,
[data-theme="dark"] body.lx-vendor-store-page .lx-yt-title {
  color: #f8fafc !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-yt-card,
[data-theme="light"] body.lx-vendor-store-page .lx-yt-card,
html[data-theme="light"] body.lx-vendor-store-page .lx-marketplace-card,
[data-theme="light"] body.lx-vendor-store-page .lx-marketplace-card {
  background: #fff !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04) !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-yt-thumb,
[data-theme="light"] body.lx-vendor-store-page .lx-yt-thumb {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
}

/* Match index dark cards — solid slate border (no pale/white bottom edge) */
html[data-theme="dark"] body.lx-vendor-store-page .lx-yt-card,
[data-theme="dark"] body.lx-vendor-store-page .lx-yt-card,
html[data-theme="dark"] body.lx-vendor-store-page .lx-marketplace-card,
[data-theme="dark"] body.lx-vendor-store-page .lx-marketplace-card {
  background: #111827 !important;
  border-color: #334155 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
  color: #f8fafc !important;
  outline: none !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-yt-thumb,
[data-theme="dark"] body.lx-vendor-store-page .lx-yt-thumb {
  background: #0b1220 !important;
  border-bottom: 1px solid #1f2937 !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-yt-card:hover,
[data-theme="dark"] body.lx-vendor-store-page .lx-yt-card:hover {
  border-color: #475569 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45) !important;
}

/* Kill index-kei 1px light bottom highlight on desktop cards */
@media (min-width: 1200px) {
  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-card,
  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-marketplace-card.lx-yt-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12) !important;
  }

  html[data-theme="dark"] body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-card,
  [data-theme="dark"] body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
  }

  html[data-theme="light"] body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-card,
  [data-theme="light"] body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-card {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.04) !important;
  }
}

/* Cart / wishlist / checkout popups — high contrast on vendor store */
body.lx-vendor-store-page .lx-cart-modal {
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55) !important;
}

body.lx-vendor-store-page .lx-cart-modal-wrap .modal-header {
  padding: 1.1rem 1.25rem 0.85rem !important;
  border-bottom: 1px solid transparent !important;
}

body.lx-vendor-store-page .lx-cart-modal-wrap .modal-title {
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  font-size: 1.1rem !important;
}

body.lx-vendor-store-page .lx-cart-modal-wrap .modal-body {
  padding: 1rem 1.25rem 1.25rem !important;
}

body.lx-vendor-store-page .lx-cart-item-price {
  font-weight: 800 !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal {
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-header,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-header,
html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-footer,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-footer {
  background: #0f172a !important;
  border-color: #1e293b !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-title,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-title {
  color: #f8fafc !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-item-title,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-item-title {
  color: #f1f5f9 !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-item-price,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-item-price {
  color: #fbbf24 !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-item,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-item {
  border-bottom-color: #1e293b !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-checkout-summary,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-checkout-summary {
  background: rgba(251, 191, 36, 0.1) !important;
  border: 1px solid rgba(251, 191, 36, 0.28) !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-form-control,
[data-theme="dark"] body.lx-vendor-store-page .lx-form-control,
html[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .form-control,
[data-theme="dark"] body.lx-vendor-store-page .lx-cart-modal-wrap .form-control {
  background: #1e293b !important;
  border-color: #475569 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] body.lx-vendor-store-page .lx-form-control::placeholder,
[data-theme="dark"] body.lx-vendor-store-page .lx-form-control::placeholder {
  color: #94a3b8 !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-cart-modal,
[data-theme="light"] body.lx-vendor-store-page .lx-cart-modal {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.18) !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-header,
[data-theme="light"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-header,
html[data-theme="light"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-footer,
[data-theme="light"] body.lx-vendor-store-page .lx-cart-modal-wrap .modal-footer {
  background: #ffffff !important;
  border-color: rgba(15, 23, 42, 0.1) !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-cart-item-price,
[data-theme="light"] body.lx-vendor-store-page .lx-cart-item-price {
  color: #047857 !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-cart-checkout-summary,
[data-theme="light"] body.lx-vendor-store-page .lx-cart-checkout-summary {
  background: rgba(4, 120, 87, 0.08) !important;
  border: 1px solid rgba(4, 120, 87, 0.22) !important;
  color: #0f172a !important;
}

@media (max-width: 639px) {
  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem 0.4rem !important;
  }

  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-title {
    font-size: 0.88rem !important;
  }

  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-desc {
    font-size: 0.72rem !important;
    -webkit-line-clamp: 2 !important;
  }

  body.lx-vendor-store-page .lx-yt-price,
  body.lx-vendor-store-page .kei-product-price,
  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-card .kei-product-price {
    font-size: 0.95rem !important;
  }

  body.lx-vendor-store-page .lx-yt-join {
    min-height: 1.75rem !important;
    padding: 0.28rem 0.65rem !important;
    font-size: 0.72rem !important;
  }

  body.lx-vendor-store-page .lx-yt-join-label--full {
    display: none !important;
  }

  body.lx-vendor-store-page .lx-yt-join-label--short {
    display: inline !important;
  }
}

@media (min-width: 640px) and (max-width: 991.98px) {
  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1200px) {
  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  }

  body.lx-vendor-store-page #allproductsQuery .lx-marketplace-memberships-grid .lx-yt-card {
    border-radius: 16px;
  }
}

/* ── Vendor store footer ─────────────────────────────────────────────── */
body.lx-vendor-store-page .lx-footer {
  margin-top: 2.5rem !important;
  padding: 2.75rem 0 1.5rem !important;
  background: #0b1220 !important;
  border-top: 1px solid #1e293b !important;
  color: #e2e8f0 !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer,
[data-theme="light"] body.lx-vendor-store-page .lx-footer {
  background: #f8fafc !important;
  border-top-color: rgba(15, 23, 42, 0.1) !important;
  color: #0f172a !important;
}

body.lx-vendor-store-page .lx-footer .container {
  max-width: 1140px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

body.lx-vendor-store-page .lx-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  align-items: start;
}

body.lx-vendor-store-page .lx-footer-brand-name {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  margin-bottom: 0.65rem;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer-brand-name,
[data-theme="light"] body.lx-vendor-store-page .lx-footer-brand-name {
  color: #0f172a;
}

body.lx-vendor-store-page .lx-footer-brand-sub {
  margin: 0 0 1.15rem;
  max-width: 34ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #94a3b8;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer-brand-sub,
[data-theme="light"] body.lx-vendor-store-page .lx-footer-brand-sub {
  color: #64748b;
}

body.lx-vendor-store-page .lx-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

body.lx-vendor-store-page .lx-footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  border: 1px solid #334155;
  color: #f1f5f9 !important;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body.lx-vendor-store-page .lx-footer-social-btn:hover {
  background: var(--kei-accent, #16a34a);
  border-color: var(--kei-accent, #16a34a);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28);
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer-social-btn,
[data-theme="light"] body.lx-vendor-store-page .lx-footer-social-btn {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.12);
  color: #0f172a !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

body.lx-vendor-store-page .lx-footer-col-title {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer-col-title,
[data-theme="light"] body.lx-vendor-store-page .lx-footer-col-title {
  color: #64748b;
}

body.lx-vendor-store-page .lx-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

body.lx-vendor-store-page .lx-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e2e8f0 !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

body.lx-vendor-store-page .lx-footer-links a:hover {
  color: #fff !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer-links a,
[data-theme="light"] body.lx-vendor-store-page .lx-footer-links a {
  color: #334155 !important;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer-links a:hover,
[data-theme="light"] body.lx-vendor-store-page .lx-footer-links a:hover {
  color: #0f172a !important;
}

body.lx-vendor-store-page .lx-footer .lx-divider {
  height: 1px;
  margin: 1.75rem 0 1rem;
  background: #1e293b;
  border: 0;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer .lx-divider,
[data-theme="light"] body.lx-vendor-store-page .lx-footer .lx-divider {
  background: rgba(15, 23, 42, 0.1);
}

body.lx-vendor-store-page .lx-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

body.lx-vendor-store-page .lx-footer-copy {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

html[data-theme="light"] body.lx-vendor-store-page .lx-footer-copy,
[data-theme="light"] body.lx-vendor-store-page .lx-footer-copy {
  color: #64748b;
}

/* Filter button — visible Font Awesome icon (Bootstrap Icons glyph was missing) */
body.lx-vendor-store-page .lx-filter-expand-btn {
  width: auto !important;
  min-width: 42px;
  padding: 0 0.7rem !important;
  gap: 0.4rem !important;
  font-weight: 700;
}

body.lx-vendor-store-page .lx-filter-expand-btn .lx-filter-expand-icon {
  font-size: 0.95rem;
  line-height: 1;
}

body.lx-vendor-store-page .lx-filter-expand-label {
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

@media (max-width: 575.98px) {
  body.lx-vendor-store-page .lx-filter-expand-label {
    display: none;
  }

  body.lx-vendor-store-page .lx-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
