:root {
  --marketplace-pink: #df2d75;
  --marketplace-charcoal: #353945;
  --marketplace-ink: #222837;
  --marketplace-muted: #667085;
  --marketplace-line: #e3e7ee;
  --marketplace-soft: #f6f8fb;
  --marketplace-white: #ffffff;
}

.tuaneka-marketplace-public,
.marketplace-seller-page {
  background: var(--marketplace-white);
  color: var(--marketplace-ink);
  font-family: "Montserrat", sans-serif;
}

.marketplace-shell,
.marketplace-seller-page {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.marketplace-public-topbar {
  background: #2c3240;
  padding: 18px 0;
}

.marketplace-public-nav,
.marketplace-public-footer .marketplace-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.marketplace-logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 8px 18px;
}

.marketplace-logo img {
  width: 170px;
  max-width: 42vw;
}

.marketplace-public-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.marketplace-public-links a,
.marketplace-public-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.marketplace-cart-pill,
.marketplace-primary-button,
.marketplace-secondary-button,
.dashboard-primary-action.marketplace-form-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  min-height: 46px;
  padding: 0 18px;
  cursor: pointer;
}

.marketplace-cart-pill {
  background: var(--marketplace-pink);
  color: #fff;
}

.marketplace-cart-pill strong {
  background: #fff;
  color: var(--marketplace-pink);
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.marketplace-primary-button {
  background: var(--marketplace-pink);
  color: #fff;
  box-shadow: 0 14px 30px rgba(223, 45, 117, .25);
}

.marketplace-primary-button:hover,
.marketplace-cart-pill:hover {
  color: #fff;
  text-decoration: none;
}

.marketplace-secondary-button {
  background: #fff;
  color: var(--marketplace-ink);
  border: 1px solid var(--marketplace-line);
}

.marketplace-full-button {
  width: 100%;
}

.marketplace-alert {
  margin-top: 18px;
  border-radius: 8px;
  padding: 14px 18px;
  font-weight: 700;
}

.marketplace-alert--success,
.marketplace-alert--info {
  background: #eefcf5;
  color: #116043;
}

.marketplace-alert--error {
  background: #fff0f4;
  color: #9f164d;
}

.marketplace-hero,
.marketplace-product-detail,
.marketplace-store-hero,
.marketplace-checkout-shell,
.marketplace-order-confirmation,
.marketplace-seller-hero,
.marketplace-upgrade-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 28px;
  padding: 48px 0 26px;
}

.marketplace-hero h1,
.marketplace-product-detail h1,
.marketplace-store-hero h1,
.marketplace-checkout-main h1,
.marketplace-page-heading h1,
.marketplace-seller-hero h1,
.marketplace-upgrade-hero h1,
.marketplace-order-confirmation h1 {
  margin: 0 0 14px;
  color: var(--marketplace-ink);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
}

.marketplace-hero p,
.marketplace-product-detail p,
.marketplace-store-hero p,
.marketplace-page-heading p,
.marketplace-upgrade-hero p {
  color: var(--marketplace-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 680px;
}

.marketplace-hero-actions,
.marketplace-seller-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.marketplace-search-panel,
.marketplace-summary-panel,
.marketplace-readiness-card,
.marketplace-upgrade-card {
  background: var(--marketplace-charcoal);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(24, 31, 44, .14);
}

.marketplace-search-panel label,
.marketplace-summary-panel > span,
.marketplace-readiness-card span,
.marketplace-upgrade-card strong {
  color: #cfd6e3;
  font-weight: 800;
  font-size: .85rem;
}

.marketplace-search-row {
  display: flex;
  gap: 8px;
  margin: 14px 0 18px;
}

.marketplace-search-row input,
.marketplace-form-grid input,
.marketplace-form-grid select,
.marketplace-form-grid textarea,
.marketplace-add-form input,
.marketplace-add-form select,
.marketplace-inventory-form input,
.marketplace-inventory-form select,
.marketplace-variant-stock-row input,
.marketplace-variant-stock-row select {
  width: 100%;
  border: 1px solid #d7dde8;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--marketplace-ink);
  background: #fff;
  font: inherit;
}

.marketplace-search-row button {
  width: 52px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--marketplace-pink);
}

.marketplace-filter-row,
.marketplace-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marketplace-filter-row a,
.marketplace-category-links a {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  padding: 8px 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
}

.marketplace-category-links a {
  color: var(--marketplace-ink);
  border-color: var(--marketplace-line);
}

.marketplace-filter-row a.is-active,
.marketplace-category-links a.is-active {
  background: var(--marketplace-pink);
  border-color: var(--marketplace-pink);
  color: #fff;
}

.marketplace-section {
  padding: 26px 0;
}

.marketplace-section-heading,
.marketplace-panel-heading,
.marketplace-page-heading {
  margin-bottom: 18px;
}

.marketplace-section-heading h2,
.marketplace-panel-heading h2,
.marketplace-seller-panel h2,
.marketplace-order-card h2 {
  color: var(--marketplace-ink);
  font-weight: 800;
  margin: 0 0 8px;
}

.marketplace-section-heading p {
  color: var(--marketplace-muted);
  margin: 0;
}

.marketplace-section-heading--split,
.marketplace-panel-heading,
.marketplace-panel-heading--light {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.marketplace-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.marketplace-product-card {
  background: var(--marketplace-charcoal);
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.marketplace-product-media,
.marketplace-detail-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f4f8;
  color: var(--marketplace-pink);
  min-height: 190px;
  font-size: 2rem;
  font-weight: 800;
  text-decoration: none;
}

.marketplace-product-media img,
.marketplace-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-product-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  flex: 1;
}

.marketplace-product-title {
  color: #fff;
  display: block;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 7px;
}

.marketplace-product-store,
.marketplace-back-link {
  color: var(--marketplace-pink);
  font-weight: 800;
  text-decoration: none;
}

.marketplace-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.marketplace-product-meta span,
.marketplace-order-row em,
.marketplace-listing-row em {
  background: rgba(223, 45, 117, .18);
  color: #ff7caf;
  border-radius: 999px;
  padding: 6px 10px;
  font-style: normal;
  font-size: .78rem;
  font-weight: 800;
}

.marketplace-detail-gallery {
  min-height: 520px;
  border-radius: 8px;
}

.marketplace-detail-price {
  font-size: 2rem;
  font-weight: 800;
  margin: 18px 0;
}

.marketplace-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.marketplace-trust-strip span {
  border: 1px solid var(--marketplace-line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--marketplace-muted);
  font-weight: 700;
}

.marketplace-add-form {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: end;
  max-width: 430px;
}

.marketplace-detail-description,
.marketplace-order-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
  gap: 22px;
}

.marketplace-detail-description > div,
.marketplace-detail-description aside,
.marketplace-order-card {
  border: 1px solid var(--marketplace-line);
  border-radius: 8px;
  padding: 24px;
}

.marketplace-store-hero,
.marketplace-order-confirmation {
  grid-template-columns: 160px 1fr;
  align-items: center;
}

.marketplace-storefront {
  --store-accent: var(--marketplace-pink);
  background: #fff;
}

.marketplace-storefront .marketplace-primary-button,
.marketplace-storefront .marketplace-product-meta span,
.marketplace-storefront .marketplace-product-store {
  background-color: var(--store-accent);
}

.marketplace-storefront .marketplace-product-store {
  background: transparent;
  color: var(--store-accent);
}

.marketplace-storefront .marketplace-back-link,
.marketplace-storefront .marketplace-trust-strip i {
  color: var(--store-accent);
}

.marketplace-storefront--boutique .marketplace-product-card:nth-child(3n+1),
.marketplace-storefront--editorial .marketplace-product-card:nth-child(4n+1) {
  min-height: 380px;
}

.marketplace-storefront-cover {
  min-height: 520px;
  position: relative;
  display: grid;
  align-items: end;
  background: var(--marketplace-charcoal);
  overflow: hidden;
}

.marketplace-storefront-cover > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
}

.marketplace-storefront-cover-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 72px 0;
}

.marketplace-storefront-cover-inner h1,
.marketplace-catalogue-hero h1,
.marketplace-editorial-hero h1 {
  color: inherit;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  margin: 18px 0;
}

.marketplace-storefront-cover-inner p {
  max-width: 650px;
  color: rgba(255,255,255,.86);
  font-size: 1.1rem;
  line-height: 1.7;
}

.marketplace-catalogue-hero,
.marketplace-editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 28px;
  padding: 52px 0 18px;
  align-items: stretch;
}

.marketplace-catalogue-hero {
  border-bottom: 1px solid var(--marketplace-line);
}

.marketplace-catalogue-stats,
.marketplace-editorial-panel {
  background: var(--marketplace-charcoal);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
  display: grid;
  align-content: center;
  gap: 10px;
}

.marketplace-catalogue-stats span,
.marketplace-editorial-panel span {
  color: #cfd6e3;
  font-weight: 800;
}

.marketplace-catalogue-stats strong,
.marketplace-editorial-panel strong {
  font-size: 2.4rem;
}

.marketplace-editorial-copy {
  border-left: 8px solid var(--store-accent);
  padding-left: 26px;
}

.marketplace-product-grid--catalogue {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.marketplace-product-grid--editorial {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketplace-store-mark {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--marketplace-charcoal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 800;
  font-size: 2rem;
}

.marketplace-store-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marketplace-checkout-main,
.marketplace-seller-panel {
  background: var(--marketplace-charcoal);
  color: #fff;
  border-radius: 8px;
  padding: 28px;
}

.marketplace-checkout-main h1,
.marketplace-seller-panel h2 {
  color: #fff;
}

.marketplace-cart-list,
.marketplace-order-list,
.marketplace-listing-table {
  display: grid;
  gap: 12px;
}

.marketplace-cart-item,
.marketplace-order-row,
.marketplace-listing-row,
.marketplace-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 14px;
  color: #fff;
  text-decoration: none;
}

.marketplace-cart-item form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.marketplace-cart-item input {
  width: 76px;
  border-radius: 8px;
  border: 1px solid var(--marketplace-line);
  padding: 8px;
}

.marketplace-cart-item button,
.marketplace-icon-danger {
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 800;
}

.marketplace-icon-danger {
  color: #fff;
  background: var(--marketplace-pink);
}

.marketplace-summary-panel {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.marketplace-summary-panel strong {
  display: block;
  font-size: 1.35rem;
  margin: 8px 0 18px;
}

.marketplace-summary-panel p {
  color: #cfd6e3;
  font-size: .9rem;
  margin: 14px 0 0;
}

.marketplace-summary-row {
  grid-template-columns: minmax(0, 1fr) auto;
  border-color: rgba(255,255,255,.1);
}

.marketplace-summary-total {
  border-color: rgba(223, 45, 117, .5);
}

.marketplace-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.marketplace-form-grid label {
  color: #fff;
  font-weight: 800;
  display: grid;
  gap: 8px;
}

.marketplace-form-grid--single,
.marketplace-form-wide {
  grid-column: 1 / -1;
}

.marketplace-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 10px !important;
}

.marketplace-check input {
  width: auto;
}

.marketplace-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.marketplace-form-button {
  width: fit-content;
}

.marketplace-url-input {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
}

.marketplace-url-input strong {
  background: #202633;
  border: 1px solid #d7dde8;
  border-right: 0;
  color: #fff;
  padding: 13px 12px;
  white-space: nowrap;
}

.marketplace-url-input input {
  border-radius: 0 8px 8px 0 !important;
}

.marketplace-design-picker {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 18px;
}

.marketplace-design-picker p {
  color: #cfd6e3;
  margin: 0;
}

.marketplace-theme-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.marketplace-theme-option {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
}

.marketplace-theme-option input {
  width: auto;
  margin-bottom: 10px;
}

.marketplace-theme-option > span,
.marketplace-theme-copy {
  display: grid;
  gap: 8px;
}

.marketplace-theme-option > span > strong,
.marketplace-theme-copy > strong {
  color: #fff;
}

.marketplace-theme-option > span > em,
.marketplace-theme-copy > em {
  color: #cfd6e3;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
}

.marketplace-theme-option > span > a,
.marketplace-theme-copy > a {
  color: var(--marketplace-pink);
}

.marketplace-theme-grid--visual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.marketplace-theme-option--visual {
  background: #252b38;
  border-color: rgba(255,255,255,.16);
  display: grid;
  gap: 14px;
  padding: 12px;
  position: relative;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.marketplace-theme-option--visual:hover {
  border-color: rgba(223,45,117,.72);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  transform: translateY(-2px);
}

.marketplace-theme-option--visual > input {
  height: 1px;
  left: 16px;
  margin: 0;
  opacity: 0;
  position: absolute;
  top: 16px;
  width: 1px;
}

.marketplace-theme-option--visual::before {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #fff;
  content: "";
  display: flex;
  height: 18px;
  justify-content: center;
  left: 18px;
  position: absolute;
  top: 18px;
  width: 18px;
  z-index: 2;
}

.marketplace-theme-option--visual.is-selected,
.marketplace-theme-option--visual:has(input:checked) {
  border-color: var(--marketplace-pink);
  box-shadow: 0 22px 50px rgba(223,45,117,.16);
}

.marketplace-theme-option--visual.is-selected::before,
.marketplace-theme-option--visual:has(input:checked)::before {
  background: var(--marketplace-pink);
  border-color: var(--marketplace-pink);
  box-shadow: inset 0 0 0 4px #fff;
}

.marketplace-theme-copy {
  padding: 0 2px 2px;
}

.marketplace-theme-copy a {
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marketplace-theme-preview-card {
  --preview-accent: var(--marketplace-pink);
  background: #f6f8fb;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  color: #18202d;
  overflow: hidden;
}

.marketplace-preview-browser {
  align-items: center;
  background: #111722;
  color: rgba(255,255,255,.7);
  display: flex;
  gap: 5px;
  min-height: 28px;
  padding: 7px 10px;
}

.marketplace-preview-browser span {
  background: #fff;
  border-radius: 50%;
  display: block;
  height: 6px;
  opacity: .45;
  width: 6px;
}

.marketplace-preview-browser small {
  font-size: .62rem;
  font-weight: 800;
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketplace-preview-stage {
  background: #fff;
  display: grid;
  gap: 10px;
  min-height: 272px;
  padding: 14px;
}

.marketplace-preview-hero {
  align-items: end;
  background: linear-gradient(135deg, #2f3544 0%, #1f2531 100%);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 88px;
  overflow: hidden;
  padding: 14px;
  position: relative;
}

.marketplace-preview-hero::after {
  background-image: var(--preview-hero);
  background-position: center;
  background-size: cover;
  content: "";
  inset: 0 0 0 58%;
  opacity: .52;
  position: absolute;
}

.marketplace-preview-hero > * {
  position: relative;
  z-index: 1;
}

.marketplace-preview-logo {
  align-items: center;
  background: var(--preview-accent);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: .58rem;
  font-weight: 900;
  height: 25px;
  justify-content: center;
  margin-bottom: 8px;
  width: 32px;
}

.marketplace-preview-hero h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
}

.marketplace-preview-hero p {
  color: rgba(255,255,255,.72);
  font-size: .66rem;
  line-height: 1.35;
  margin: 6px 0 0;
  max-width: 250px;
}

.marketplace-preview-hero strong {
  background: var(--preview-accent);
  border-radius: 999px;
  color: #fff;
  font-size: .66rem;
  padding: 8px 11px;
  white-space: nowrap;
}

.marketplace-preview-strip {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketplace-preview-strip span {
  background: #f0f3f8;
  border-radius: 6px;
  color: #4c5668;
  display: block;
  font-size: .58rem;
  font-weight: 900;
  padding: 7px 6px;
  text-align: center;
}

.marketplace-preview-products {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.marketplace-preview-products article {
  background: #fff;
  border: 1px solid #e2e7f0;
  border-radius: 8px;
  display: grid;
  gap: 7px;
  overflow: hidden;
}

.marketplace-preview-products img {
  aspect-ratio: 1 / .78;
  background: #f2f4f8;
  display: block;
  object-fit: cover;
  width: 100%;
}

.marketplace-preview-products article > div {
  display: grid;
  gap: 4px;
  padding: 0 8px 9px;
}

.marketplace-preview-products small {
  color: var(--preview-accent);
  font-size: .52rem;
  font-weight: 900;
  text-transform: uppercase;
}

.marketplace-preview-products strong {
  color: #1f2633;
  font-size: .66rem;
  line-height: 1.25;
}

.marketplace-preview-products span {
  color: #606b7d;
  font-size: .62rem;
  font-weight: 900;
}

.marketplace-theme-preview-card--boutique .marketplace-preview-stage {
  background: #fff7fb;
}

.marketplace-theme-preview-card--boutique .marketplace-preview-hero {
  min-height: 128px;
}

.marketplace-theme-preview-card--boutique .marketplace-preview-hero::after {
  inset: 0;
  opacity: .34;
}

.marketplace-theme-preview-card--boutique .marketplace-preview-products article:first-child {
  grid-column: span 2;
}

.marketplace-theme-preview-card--catalogue .marketplace-preview-hero {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e7f0;
  color: #1f2633;
  min-height: 64px;
}

.marketplace-theme-preview-card--catalogue .marketplace-preview-hero::after {
  display: none;
}

.marketplace-theme-preview-card--catalogue .marketplace-preview-hero h3 {
  color: #1f2633;
}

.marketplace-theme-preview-card--catalogue .marketplace-preview-hero p {
  color: #6b7483;
}

.marketplace-theme-preview-card--catalogue .marketplace-preview-products {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.marketplace-theme-preview-card--catalogue .marketplace-preview-products article:nth-child(n+5) {
  display: none;
}

.marketplace-theme-preview-card--editorial .marketplace-preview-stage {
  background: #f4f0ea;
}

.marketplace-theme-preview-card--editorial .marketplace-preview-hero {
  background: #222833;
  grid-template-columns: 1fr;
  min-height: 118px;
}

.marketplace-theme-preview-card--editorial .marketplace-preview-hero::after {
  inset: 12px 12px 12px 64%;
  opacity: .8;
}

.marketplace-theme-preview-card--editorial .marketplace-preview-products {
  grid-template-columns: 1.1fr .9fr .9fr;
}

.marketplace-theme-preview-card--editorial .marketplace-preview-products article:nth-child(n+4) {
  display: none;
}

.marketplace-cover-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.marketplace-seller-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 24px;
  padding: 10px;
  background: var(--marketplace-charcoal);
  border-radius: 8px;
}

.marketplace-seller-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: 10px 12px;
  text-decoration: none;
  font-weight: 800;
}

.marketplace-seller-nav a.is-active,
.marketplace-seller-nav a:hover {
  background: var(--marketplace-pink);
  border-color: var(--marketplace-pink);
  color: #fff;
}

.marketplace-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.marketplace-filter-tabs a {
  border: 1px solid var(--marketplace-line);
  border-radius: 999px;
  color: var(--marketplace-ink);
  font-weight: 800;
  padding: 8px 12px;
  text-decoration: none;
}

.marketplace-filter-tabs a.is-active {
  background: var(--marketplace-pink);
  border-color: var(--marketplace-pink);
  color: #fff;
}

.marketplace-variant-editor {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 18px;
}

.marketplace-variant-editor p {
  color: #cfd6e3;
  margin: 0;
}

.marketplace-variant-grid,
.marketplace-inventory-list,
.marketplace-variant-stock-list {
  display: grid;
  gap: 14px;
}

.marketplace-variant-row,
.marketplace-inventory-form,
.marketplace-variant-stock-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 14px;
}

.marketplace-check-danger {
  color: #ffabc9 !important;
}

.marketplace-inventory-card {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  gap: 16px;
}

.marketplace-inventory-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.marketplace-inventory-head strong,
.marketplace-variant-stock-row strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
}

.marketplace-inventory-head span,
.marketplace-variant-stock-row span {
  color: #cfd6e3;
  font-size: .9rem;
}

.marketplace-inventory-head em {
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  padding: 7px 10px;
  white-space: nowrap;
}

.marketplace-inventory-head em.is-warning {
  background: rgba(255, 196, 87, .22);
  color: #ffd88b;
}

.marketplace-inventory-head em.is-danger {
  background: rgba(255, 91, 91, .18);
  color: #ffb0b0;
}

.marketplace-adjustment-log {
  margin-top: 22px;
}

.marketplace-delivery-row {
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1fr) auto auto auto;
}

.marketplace-public-footer {
  background: #2c3240;
  color: #fff;
  padding: 22px 0;
  margin-top: 60px;
}

.marketplace-seller-page {
  padding: 32px 0 70px;
}

.marketplace-seller-kicker {
  color: var(--marketplace-pink);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .82rem;
}

.marketplace-upgrade-card,
.marketplace-readiness-card {
  display: grid;
  gap: 12px;
}

.marketplace-upgrade-card span {
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
}

.marketplace-seller-hero {
  padding-top: 0;
}

.marketplace-readiness-card strong {
  font-size: 2rem;
}

.marketplace-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.marketplace-stat-grid > div {
  background: var(--marketplace-charcoal);
  color: #fff;
  border-radius: 8px;
  padding: 20px;
}

.marketplace-stat-grid span {
  color: #cfd6e3;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
}

.marketplace-stat-grid strong {
  font-size: 1.6rem;
}

.marketplace-panel-heading a {
  color: var(--marketplace-pink);
  font-weight: 800;
}

.marketplace-panel-heading--light h1,
.marketplace-page-heading h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.marketplace-listing-row {
  grid-template-columns: minmax(0, 1fr) auto auto auto;
}

.marketplace-image-strip {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  overflow-x: auto;
}

.marketplace-image-strip img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.marketplace-empty-state {
  border: 1px dashed var(--marketplace-line);
  border-radius: 8px;
  padding: 44px 24px;
  text-align: center;
}

.marketplace-empty-state i {
  color: var(--marketplace-pink);
  font-size: 2rem;
  margin-bottom: 12px;
}

.marketplace-empty-state--dark {
  border-color: rgba(255,255,255,.18);
  color: #fff;
}

.marketplace-pagination {
  margin-top: 24px;
}

.marketplace-order-status {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--marketplace-pink);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.marketplace-onboarding-page {
  display: grid;
  gap: 22px;
}

.marketplace-onboarding-hero,
.marketplace-onboarding-success {
  background: var(--marketplace-charcoal);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  padding: 34px;
  box-shadow: 0 20px 45px rgba(24, 31, 44, .14);
}

.marketplace-onboarding-success {
  grid-template-columns: 1fr;
}

.marketplace-onboarding-hero h1,
.marketplace-onboarding-success h1,
.marketplace-onboarding-card h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 14px;
}

.marketplace-onboarding-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.marketplace-onboarding-hero p,
.marketplace-onboarding-success p,
.marketplace-onboarding-card p,
.marketplace-onboarding-next p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.marketplace-onboarding-trial,
.marketplace-onboarding-url,
.marketplace-onboarding-next > div {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.marketplace-onboarding-trial span,
.marketplace-onboarding-url span,
.marketplace-onboarding-next span {
  color: #cfd6e3;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marketplace-onboarding-trial strong,
.marketplace-onboarding-url strong,
.marketplace-onboarding-next strong {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.marketplace-onboarding-steps {
  counter-reset: onboarding-step;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.marketplace-onboarding-steps li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--marketplace-line);
  border-radius: 8px;
  color: var(--marketplace-muted);
  display: flex;
  font-weight: 800;
  gap: 10px;
  min-height: 54px;
  padding: 12px 14px;
}

.marketplace-onboarding-steps li::before {
  align-items: center;
  background: var(--marketplace-soft);
  border-radius: 50%;
  color: var(--marketplace-ink);
  content: counter(onboarding-step);
  counter-increment: onboarding-step;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.marketplace-onboarding-steps li.is-active,
.marketplace-onboarding-steps li.is-complete {
  background: var(--marketplace-charcoal);
  border-color: var(--marketplace-charcoal);
  color: #fff;
}

.marketplace-onboarding-steps li.is-active::before,
.marketplace-onboarding-steps li.is-complete::before {
  background: var(--marketplace-pink);
  color: #fff;
}

.marketplace-onboarding-card {
  color: #fff;
  display: grid;
  gap: 18px;
  max-width: 860px;
}

.marketplace-onboarding-card label {
  color: #fff;
  font-weight: 800;
}

.marketplace-onboarding-card input {
  margin-top: 8px;
}

.marketplace-onboarding-check {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin: 0;
}

.marketplace-onboarding-check input {
  margin-top: 4px;
  width: auto;
}

.marketplace-onboarding-theme-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.marketplace-theme-copy > small {
  color: rgba(255,255,255,.58);
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.marketplace-onboarding-card--wide {
  max-width: 1180px;
}

.marketplace-onboarding-preview-page {
  display: grid;
  gap: 24px;
}

.marketplace-preview-toolbar {
  align-items: center;
  background: var(--marketplace-charcoal);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 24px;
}

.marketplace-preview-toolbar h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 900;
  line-height: 1.05;
  margin: 4px 0 8px;
}

.marketplace-preview-toolbar p {
  color: rgba(255,255,255,.72);
  margin: 0;
}

.marketplace-theme-preview-card--full {
  box-shadow: 0 24px 70px rgba(24, 31, 44, .16);
}

.marketplace-theme-preview-card--full .marketplace-preview-browser {
  min-height: 42px;
  padding: 12px 18px;
}

.marketplace-theme-preview-card--full .marketplace-preview-browser span {
  height: 9px;
  width: 9px;
}

.marketplace-theme-preview-card--full .marketplace-preview-browser small {
  font-size: .82rem;
}

.marketplace-theme-preview-card--full .marketplace-preview-stage {
  gap: 20px;
  min-height: 720px;
  padding: 28px;
}

.marketplace-theme-preview-card--full .marketplace-preview-hero {
  min-height: 260px;
  padding: 32px;
}

.marketplace-theme-preview-card--full .marketplace-preview-logo {
  font-size: .82rem;
  height: 44px;
  width: 58px;
}

.marketplace-theme-preview-card--full .marketplace-preview-hero h3 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  max-width: 680px;
}

.marketplace-theme-preview-card--full .marketplace-preview-hero p {
  font-size: 1rem;
  max-width: 560px;
}

.marketplace-theme-preview-card--full .marketplace-preview-hero strong {
  font-size: .95rem;
  padding: 13px 18px;
}

.marketplace-theme-preview-card--full .marketplace-preview-strip {
  gap: 12px;
}

.marketplace-theme-preview-card--full .marketplace-preview-strip span {
  font-size: .86rem;
  padding: 14px;
}

.marketplace-theme-preview-card--full .marketplace-preview-products {
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.marketplace-theme-preview-card--full .marketplace-preview-products img {
  aspect-ratio: 1 / .72;
}

.marketplace-theme-preview-card--full .marketplace-preview-products article > div {
  padding: 0 14px 16px;
}

.marketplace-theme-preview-card--full .marketplace-preview-products small {
  font-size: .7rem;
}

.marketplace-theme-preview-card--full .marketplace-preview-products strong {
  font-size: 1rem;
}

.marketplace-theme-preview-card--full .marketplace-preview-products span {
  font-size: .9rem;
}

.marketplace-theme-preview-card--full.marketplace-theme-preview-card--catalogue .marketplace-preview-products {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.marketplace-theme-preview-card--full.marketplace-theme-preview-card--catalogue .marketplace-preview-products article:nth-child(n+5) {
  display: grid;
}

.marketplace-theme-preview-card--full.marketplace-theme-preview-card--editorial .marketplace-preview-products {
  grid-template-columns: 1.2fr .9fr .9fr 1fr;
}

.marketplace-theme-preview-card--full.marketplace-theme-preview-card--editorial .marketplace-preview-products article:nth-child(n+4) {
  display: grid;
}

.marketplace-onboarding-publish {
  max-width: 980px;
}

.marketplace-onboarding-success-actions,
.marketplace-onboarding-next {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .marketplace-hero,
  .marketplace-product-detail,
  .marketplace-checkout-shell,
  .marketplace-seller-hero,
  .marketplace-upgrade-hero,
  .marketplace-detail-description,
  .marketplace-order-grid,
  .marketplace-catalogue-hero,
  .marketplace-editorial-hero,
  .marketplace-onboarding-hero,
  .marketplace-onboarding-success {
    grid-template-columns: 1fr;
  }

  .marketplace-product-grid,
  .marketplace-stat-grid,
  .marketplace-product-grid--catalogue,
  .marketplace-product-grid--editorial,
  .marketplace-theme-grid,
  .marketplace-theme-preview-card--full .marketplace-preview-products,
  .marketplace-theme-preview-card--full.marketplace-theme-preview-card--catalogue .marketplace-preview-products,
  .marketplace-theme-preview-card--full.marketplace-theme-preview-card--editorial .marketplace-preview-products,
  .marketplace-onboarding-success-actions,
  .marketplace-onboarding-next {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketplace-preview-toolbar {
    grid-template-columns: 1fr;
  }

  .marketplace-summary-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .marketplace-shell,
  .marketplace-seller-page {
    width: min(100% - 22px, 1180px);
  }

  .marketplace-public-nav,
  .marketplace-public-footer .marketplace-shell,
  .marketplace-section-heading--split,
  .marketplace-panel-heading,
  .marketplace-panel-heading--light {
    align-items: flex-start;
    flex-direction: column;
  }

  .marketplace-product-grid,
  .marketplace-stat-grid,
  .marketplace-form-grid,
  .marketplace-onboarding-steps,
  .marketplace-onboarding-theme-grid,
  .marketplace-onboarding-success-actions,
  .marketplace-onboarding-next,
  .marketplace-product-grid--catalogue,
  .marketplace-product-grid--editorial,
  .marketplace-theme-grid,
  .marketplace-preview-strip,
  .marketplace-preview-products,
  .marketplace-theme-preview-card--catalogue .marketplace-preview-products,
  .marketplace-theme-preview-card--editorial .marketplace-preview-products,
  .marketplace-theme-preview-card--full .marketplace-preview-products,
  .marketplace-theme-preview-card--full.marketplace-theme-preview-card--catalogue .marketplace-preview-products,
  .marketplace-theme-preview-card--full.marketplace-theme-preview-card--editorial .marketplace-preview-products {
    grid-template-columns: 1fr;
  }

  .marketplace-preview-hero,
  .marketplace-theme-preview-card--full .marketplace-preview-hero {
    grid-template-columns: 1fr;
    min-height: 220px;
  }

  .marketplace-theme-preview-card--catalogue .marketplace-preview-products article:nth-child(n+5),
  .marketplace-theme-preview-card--editorial .marketplace-preview-products article:nth-child(n+4) {
    display: grid;
  }

  .marketplace-cart-item,
  .marketplace-order-row,
  .marketplace-listing-row,
  .marketplace-variant-row,
  .marketplace-inventory-form,
  .marketplace-variant-stock-row,
  .marketplace-delivery-row {
    grid-template-columns: 1fr;
  }

  .marketplace-store-hero,
  .marketplace-order-confirmation {
    grid-template-columns: 1fr;
  }

  .marketplace-detail-gallery {
    min-height: 320px;
  }

  .marketplace-add-form {
    grid-template-columns: 1fr;
  }
}
