.marketplace-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0%, rgba(222, 152, 43, .18), transparent 34rem),
    linear-gradient(180deg, #050402 0%, #0b0701 42%, #090601 100%);
  color: #f5dfb6;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.market-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 2, .95);
  border-bottom: 1px solid rgba(218, 158, 52, .26);
  backdrop-filter: blur(14px);
}

.market-topbar-inner {
  max-width: 1540px;
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: flex-end;
  gap: 28px;
  padding: 14px 30px 0;
}

.market-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #f9c66c;
  flex: 0 0 auto;
  align-self: center;
  padding-bottom: 7px;
}

.market-seal {
  width: 58px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: transparent;
  border: 1px solid rgba(185, 130, 37, .22);
  background: url("../assets/images/logos/bws-logo.png") center / contain no-repeat;
  font-family: var(--font-display);
  font-size: 0;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(196, 122, 27, .2);
}

.market-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.market-brand small {
  display: block;
  margin-top: 3px;
  color: #d7a752;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.market-nav {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  flex: 1;
  align-self: flex-end;
  padding-bottom: 0;
}

.nav-toggle--arrow-hidden {
  display: none;
}

.market-nav a {
  color: #f1e1c0;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.market-nav a.active,
.market-nav a:hover {
  color: #ffd37b;
  text-shadow: 0 0 14px rgba(255, 185, 73, .55);
}

.market-nav a.active {
  border-bottom: 2px solid #d79b3a;
}

.market-nav .nav-edu-group {
  position: relative;
}

.market-nav .nav-edu-parent {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.market-nav .nav-edu-menu a {
  border-bottom: 0;
}

.market-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: center;
  padding-bottom: 7px;
}

.icon-btn {
  position: relative;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 158, 60, .24);
  border-radius: 50%;
  color: #e8c17d;
  background: rgba(255, 255, 255, .03);
  font-family: var(--font-display);
  font-size: 12px;
}

.icon-btn::before {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  background: currentColor;
  opacity: .92;
  filter: drop-shadow(0 0 8px rgba(238, 178, 75, .35));
}

.icon-btn-search::before {
  width: 18px;
  height: 18px;
  background: none;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 8px 8px 0 -6px currentColor;
  transform: translate(-2px, -2px) rotate(-8deg);
}

.icon-btn-message::before {
  clip-path: polygon(8% 12%, 92% 12%, 92% 68%, 62% 68%, 50% 88%, 40% 68%, 8% 68%);
}

.icon-btn-notification::before {
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 10px 10px 4px 4px;
  height: 15px;
  transform: translateY(-2px);
  width: 16px;
}

.icon-btn-notification::after {
  background: currentColor;
  border-radius: 50%;
  bottom: 7px;
  content: "";
  height: 4px;
  position: absolute;
  width: 6px;
}

.icon-btn.has-dot::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -5px;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #c01d1d;
  color: #fff;
  font-size: 10px;
  font-family: var(--font-ui);
}

.bws-bell-badge {
  background: #c01d1d;
  border-radius: 50%;
  color: #fff;
  display: grid;
  font: 700 10px var(--font-ui);
  height: 17px;
  place-items: center;
  position: absolute;
  right: -5px;
  top: -5px;
  width: 17px;
  z-index: 1;
}

.bws-bell-badge[hidden] {
  display: none;
}

.market-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4d9a3;
  font-family: var(--font-ui);
  font-weight: 700;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ── User account dropdown ────────────────────────────────────────────────── */
.user-menu-wrap {
  position: relative;
}

.user-drop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 9999;
  background: #140900;
  border: 1px solid rgba(200,137,42,.3);
  border-radius: 10px;
  padding: 6px;
  min-width: 200px;
  box-shadow: 0 10px 32px rgba(0,0,0,.7);
}
.user-drop[hidden] { display: none; }

.user-drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 7px;
  color: rgba(246,234,215,.85);
  font-size: 13px;
  font-family: var(--font-ui);
  font-weight: 600;
  text-decoration: none;
  transition: background .13s, color .13s;
  white-space: nowrap;
}
.user-drop-item:hover { background: rgba(200,137,42,.1); color: var(--amber, #c8892a); }

.user-drop-icon { font-size: 15px; line-height: 1; flex-shrink: 0; }

.user-drop-sep {
  height: 1px;
  background: rgba(200,137,42,.18);
  margin: 5px 6px;
}

.market-user small {
  display: block;
  color: #a7844e;
  font-size: 11px;
}

.avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d59637, #4b2106);
  color: #130901;
  font-weight: 900;
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.market-hamburger {
  display: none;
}

.market-stat-strip {
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 68px);
  padding: 0 30px;
  border-top: 1px solid rgba(214, 158, 60, .12);
  color: #d7c7a8;
  font-family: var(--font-ui);
  font-size: 13px;
  background: rgba(16, 10, 3, .88);
}

.market-stat-strip span,
.contribute-link {
  flex: 0 0 auto;
  white-space: nowrap;
}

.market-stat-strip b {
  color: #6ad7ef;
  display: block;
  font-size: 14px;
  line-height: 1;
}

.stat-slogan {
  margin-right: auto;
  color: #f1d49b;
}

.contribute-link {
  margin-left: auto;
  border: 1px solid rgba(224, 165, 62, .55);
  border-radius: 5px;
  padding: 9px 20px;
  color: #ffcf78;
  background: rgba(174, 105, 18, .18);
  font-weight: 800;
}

.market-hero {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(220, 153, 45, .32);
}

.market-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(.72);
  transform: scale(1.03);
}

.market-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 187, 90, .24), transparent 24rem),
    linear-gradient(180deg, rgba(4, 3, 2, .22), rgba(4, 3, 2, .22) 42%, rgba(4, 3, 2, .88) 100%),
    linear-gradient(90deg, rgba(2, 2, 1, .82), transparent 28%, transparent 72%, rgba(2, 2, 1, .82));
}

.market-hero-content {
  width: min(950px, calc(100% - 36px));
  padding: 58px 0 42px;
  text-align: center;
}

.market-kicker {
  color: #7bf4e0;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(50, 242, 220, .45);
}

.market-hero h1 {
  margin-top: 16px;
  color: #e5b965;
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 86px);
  line-height: .96;
  letter-spacing: 0;
  text-shadow: 0 7px 0 rgba(58, 24, 5, .75), 0 0 28px rgba(255, 179, 63, .28);
}

.market-hero p:not(.market-kicker) {
  max-width: 650px;
  margin: 20px auto 0;
  color: #fff3dd;
  font-family: var(--font-ui);
  font-size: clamp(22px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}

.market-search {
  height: 70px;
  display: grid;
  grid-template-columns: 60px 1fr 98px;
  align-items: center;
  margin: 34px auto 24px;
  max-width: 790px;
  border: 2px solid rgba(237, 183, 83, .74);
  border-radius: 13px;
  background: rgba(17, 10, 3, .84);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .45), 0 0 24px rgba(206, 138, 38, .25);
  overflow: hidden;
}

.market-search-icon {
  color: #e9b150;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
}

.market-search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f6e4c1;
  font-size: 17px;
}

.market-search button {
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(227, 164, 58, .25);
  color: #f1c16f;
  background: rgba(255, 255, 255, .05);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.market-categories {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.market-categories a {
  min-width: 158px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  color: #fbd99a;
  border: 1px solid rgba(224, 160, 53, .52);
  border-radius: 8px;
  background: rgba(9, 6, 2, .78);
  box-shadow: inset 0 0 18px rgba(220, 148, 39, .08);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 800;
}

.market-categories span {
  width: 16px;
  height: 16px;
  border: 2px solid #d99b36;
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(222, 160, 55, .4);
}

.market-section,
.market-grid,
.seller-cta,
.bottom-grid,
.market-footer {
  width: min(1490px, calc(100% - 34px));
  margin-inline: auto;
  min-width: 0;
}

.product-card h3 a { color: inherit; }
.product-card > a { display: block; }
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 7px;
  align-items: center;
}
.product-card-actions a,
.product-card-actions button {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(222, 160, 55, .42);
  border-radius: 5px;
  color: #fbd58e;
  background: rgba(16, 9, 3, .7);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.product-card-actions button:first-child {
  background: linear-gradient(180deg, #e2aa42, #b86c19);
  color: #160901;
}

.commerce-body {
  background:
    radial-gradient(circle at 80% 0%, rgba(210, 139, 32, .18), transparent 28rem),
    linear-gradient(180deg, #090502, #120801 48%, #070402);
}
.commerce-shell {
  width: min(1480px, calc(100% - 34px));
  margin: 0 auto;
  padding: 28px 0 70px;
}
.commerce-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 10px 0 22px;
  color: #aa8954;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
}
.commerce-breadcrumb a,
.commerce-link-btn { color: #f0b94f; }
.commerce-breadcrumb span::before {
  content: "/";
  margin-right: 9px;
  color: #6d4a1c;
}
.commerce-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
}
.detail-gallery,
.detail-info,
.buy-box,
.commerce-band,
.cart-list,
.cart-summary,
.wishlist-panel,
.saved-sellers-panel {
  border: 1px solid rgba(218, 158, 52, .32);
  border-radius: 8px;
  background: rgba(9, 6, 2, .82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .32);
}
.detail-gallery { padding: 14px; position: sticky; top: 100px; }
.detail-main-image {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(218, 158, 52, .24);
  border-radius: 6px;
  background: #130b03;
}
.detail-main-image img,
.detail-thumbs img,
.cart-item img,
.wishlist-card img,
.seller-feed-card img,
.saved-seller img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.detail-thumbs button {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(218, 158, 52, .28);
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}
.detail-thumbs button.active { border-color: #f0b94f; box-shadow: 0 0 0 2px rgba(240, 185, 79, .18); }
.detail-info { padding: 24px; }
.commerce-badge {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(218, 158, 52, .16);
  color: #ffd176;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.detail-info h1,
.commerce-title-row h1 {
  margin: 0;
  color: #fff1d6;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}
.detail-vendor,
.detail-summary,
.commerce-title-row p {
  color: #d7c3a0;
  font-size: 16px;
}
.detail-rating {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
  color: #ffc75e;
  font-family: var(--font-ui);
  font-weight: 800;
}
.detail-rating em {
  font-style: normal;
  color: #7bf4e0;
}
.detail-bullets {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #f2dfbb;
}
.detail-bullets li { margin-bottom: 8px; }
.detail-feed-note {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(123, 244, 224, .2);
  border-radius: 7px;
  background: rgba(123, 244, 224, .05);
}
.detail-spec-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}
.detail-spec-list div {
  display: grid;
  grid-template-columns: minmax(110px, 34%) 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.detail-spec-list dt {
  color: rgba(246, 234, 215, .58);
  font-weight: 700;
}
.detail-spec-list dd {
  margin: 0;
  color: #f6ead7;
}

.detail-link-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
  padding-left: 18px;
}

.detail-link-list a {
  color: #ffd484;
  font-weight: 700;
}
.detail-affiliate-credit {
  margin: 16px 0 0;
  padding: 14px;
  border: 1px solid rgba(123, 244, 224, .28);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(123, 244, 224, .08), rgba(226, 168, 60, .08));
}
.detail-affiliate-credit strong {
  display: block;
  color: #7bf4e0;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.detail-affiliate-credit p {
  margin: 6px 0 0;
  color: rgba(255, 244, 223, .78);
  line-height: 1.45;
}
.detail-feed-note h2,
.buy-box h2,
.cart-summary h2,
.wishlist-panel h2,
.saved-sellers-panel h2,
.commerce-band h2 {
  margin: 0 0 10px;
  color: #f6d790;
  font-family: var(--font-ui);
  font-size: 22px;
}
.detail-feed-note button,
.buy-primary,
.buy-secondary,
.buy-ghost,
.commerce-link-btn,
.cart-actions button,
.wishlist-card button,
.saved-seller button,
.seller-feed-card a {
  min-height: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  border: 1px solid rgba(218, 158, 52, .42);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 900;
  cursor: pointer;
}
.buy-box {
  position: sticky;
  top: 100px;
  padding: 20px;
}
.buy-price span {
  display: block;
  color: #fff3d6;
  font-family: var(--font-display);
  font-size: 34px;
}
.buy-price small { color: #9d835b; text-decoration: line-through; }
.buy-delivery { color: #f1d5a4; }
.buy-stock { color: #7bf4e0; }
.buy-options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.detail-option {
  display: grid;
  gap: 6px;
  color: #d6b77e;
  font-family: var(--font-ui);
  font-weight: 800;
}
.detail-option select,
.detail-option input,
.detail-option textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(218, 158, 52, .34);
  border-radius: 5px;
  color: #f7e5bf;
  background: rgba(0, 0, 0, .42);
  padding: 0 10px;
}
.detail-option textarea {
  min-height: 112px;
  padding: 10px;
  resize: vertical;
}
.detail-review-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}
.detail-review-form small {
  color: #f0b94f;
  min-height: 18px;
}
.buy-primary {
  width: 100%;
  margin-top: 14px;
  border: 0;
  color: #180a01;
  background: linear-gradient(180deg, #ffd16b, #cf8421);
}
.buy-secondary {
  width: 100%;
  margin-top: 10px;
  border: 0;
  color: #180a01;
  background: linear-gradient(180deg, #e89532, #a95316);
}
.buy-ghost {
  width: 100%;
  margin-top: 10px;
  color: #f5c874;
  background: rgba(255, 255, 255, .03);
}
.buy-link { text-align: center; }
.commerce-band {
  margin-top: 28px;
  padding: 20px;
}
.seller-feed-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.seller-feed-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  min-height: 132px;
  padding: 10px;
  border: 1px solid rgba(218, 158, 52, .24);
  border-radius: 7px;
  background: rgba(255, 255, 255, .03);
}
.seller-feed-card img { border-radius: 5px; }
.seller-feed-card span,
.wishlist-card span,
.saved-seller span { color: #7bf4e0; font-size: 12px; font-weight: 800; }
.seller-feed-card em,
.cart-affiliate-credit {
  display: block;
  color: #e2a83c;
  font-size: 11px;
  font-style: normal;
  margin: 5px 0;
}
.seller-feed-card h3,
.wishlist-card h2,
.cart-item h2 {
  margin: 4px 0;
  color: #fff1d4;
  font-family: var(--font-ui);
}
.commerce-title-row {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 22px;
}
.cart-list { padding: 12px; }
.cart-item {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(218, 158, 52, .16);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img {
  height: 130px;
  border-radius: 6px;
}
.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.cart-actions input { width: 64px; }
.cart-summary {
  position: sticky;
  top: 100px;
  padding: 20px;
}
.cart-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(218, 158, 52, .14);
}
.cart-summary p,
.commerce-empty { color: #b99d70; }
.commerce-empty { padding: 30px; }
.wishlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 22px;
}
.wishlist-panel,
.saved-sellers-panel { padding: 20px; }
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.wishlist-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(218, 158, 52, .22);
  border-radius: 7px;
  background: rgba(255, 255, 255, .03);
}
.wishlist-card img { min-height: 150px; border-radius: 5px; }
.saved-seller {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(218, 158, 52, .14);
}
.saved-seller img {
  height: 54px;
  border-radius: 50%;
}

@media (max-width: 980px) {
  .commerce-detail-grid,
  .cart-layout,
  .wishlist-layout {
    grid-template-columns: 1fr;
  }
  .detail-gallery,
  .buy-box,
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 110px 1fr; }
  .cart-item > strong { grid-column: 2; }
}

@media (max-width: 620px) {
  .commerce-shell { width: min(100% - 22px, 1480px); }
  .commerce-title-row { display: grid; }
  .cart-item,
  .wishlist-card {
    grid-template-columns: 1fr;
  }
  .cart-item img,
  .wishlist-card img {
    height: 210px;
  }
  .seller-feed-rail { grid-auto-columns: 86%; }
}

.featured-shell {
  position: relative;
  margin-top: 22px;
  padding: 22px 20px 22px;
  border: 1px solid rgba(204, 139, 37, .38);
  border-radius: 8px;
  background: rgba(7, 6, 3, .86);
  box-shadow: 0 12px 42px rgba(0, 0, 0, .42);
}

.section-heading,
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2,
.panel-heading h2,
.market-panel h2,
.seller-cta h2 {
  color: #f6c66b;
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.section-heading a,
.panel-heading a {
  color: #f3ca7e;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
}

.product-rail {
  display: grid;
  grid-auto-columns: minmax(250px, 280px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 6px;
  overscroll-behavior-inline: contain;
}

.marketplace-category-rails {
  display: grid;
  gap: 32px;
}

.category-rail-section,
.category-ad-rail {
  position: relative;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.category-rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.category-rail-head h3 {
  margin: 0;
  color: #fff1d5;
  font-family: var(--font-ui);
  font-size: 24px;
  line-height: 1.15;
}

.category-rail-head a {
  color: #f0b94f;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.category-product-rail {
  grid-auto-columns: minmax(250px, 280px);
  width: 100%;
}

.category-ad-rail {
  padding: 0;
  border: 1px solid rgba(218, 158, 52, .24);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(42, 24, 8, .9), rgba(10, 8, 4, .95));
}

.category-product-rail--ads {
  grid-auto-columns: minmax(280px, 340px);
}

.marketplace-sponsored-rail {
  min-height: 176px;
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
  text-decoration: none;
}

.marketplace-sponsored-rail h3 {
  max-width: 680px;
  margin: 8px 0 6px;
  color: #fff3d1;
  font: 800 30px var(--font-ui);
}

.marketplace-sponsored-rail p {
  max-width: 720px;
  margin: 0;
  color: #d6bc8b;
  line-height: 1.45;
}

.marketplace-sponsored-rail a {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(233, 173, 72, .68);
  border-radius: 5px;
  color: #ffe4a5;
  background: rgba(0, 0, 0, .35);
  font: 800 13px var(--font-ui);
  text-transform: uppercase;
  text-decoration: none;
}

.product-card {
  scroll-snap-align: start;
  width: 100%;
  min-width: 0;
  min-height: 318px;
  border: 1px solid rgba(214, 151, 45, .42);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(43, 25, 9, .92), rgba(12, 8, 3, .96));
  box-shadow: inset 0 0 30px rgba(228, 153, 36, .08), 0 12px 30px rgba(0, 0, 0, .35);
}

.product-card-media {
  position: relative;
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  background-size: cover;
  background-position: center;
  text-decoration: none;
}

.product-card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 5, 2, .08), rgba(7, 5, 2, .86)),
    linear-gradient(90deg, rgba(7, 5, 2, .72), rgba(7, 5, 2, .16));
}

.product-card-media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card-media > span {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  border: 1px solid rgba(255, 210, 115, .34);
  border-radius: 6px;
  background: rgba(9, 6, 2, .72);
  color: #ffd782;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-card-title {
  width: 100%;
  padding: 56px 14px 16px;
}

.product-card-body {
  padding: 14px 14px 12px;
}

.product-card h3 {
  color: #fff1d5;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.product-card-title p {
  margin-top: 3px;
  color: rgba(255, 236, 192, .8);
  font-size: 13px;
}

.product-card-body > p {
  display: none;
}

.product-card-body > .product-card-summary {
  display: -webkit-box;
  margin: 0 0 10px;
  color: rgba(246, 234, 215, .68);
  font-size: 13px;
  line-height: 1.35;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-facts {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: rgba(255, 212, 132, .78);
  font-size: 12px;
  line-height: 1.25;
}

.product-card-facts li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  color: #f2be54;
  font-family: var(--font-ui);
  font-size: 14px;
}

.product-meta strong {
  color: #fff3d4;
}

.product-card button,
.wide-cta,
.live-feature a,
.hot-deal a,
.join-onramp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 164, 57, .54);
  border-radius: 5px;
  color: #ffd484;
  background: linear-gradient(180deg, rgba(138, 84, 20, .18), rgba(29, 16, 4, .88));
  font-family: var(--font-ui);
  font-weight: 800;
}

.product-card > button {
  width: 100%;
  height: 44px;
  margin-top: 16px;
  cursor: pointer;
}

.rail-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(222, 151, 42, .6);
  border-radius: 50%;
  color: #ffd27a;
  background: rgba(5, 4, 2, .86);
  font-size: 28px;
  cursor: pointer;
}

.rail-prev { left: -18px; }
.rail-next { right: -18px; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.market-panel {
  border: 1px solid rgba(203, 135, 31, .42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(21, 15, 5, .88), rgba(7, 6, 3, .94)),
    url("../assets/images/page_texture_overlay.png");
  background-size: cover;
  padding: 18px;
  box-shadow: inset 0 0 44px rgba(212, 140, 34, .08);
}

.vendor-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.vendor-card {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px;
  color: #fff0cf;
  text-align: center;
  border: 1px solid rgba(203, 137, 42, .36);
  border-radius: 7px;
  background: rgba(255, 255, 255, .03);
  font-family: var(--font-ui);
}

.vendor-card span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(236, 179, 77, .5);
  box-shadow: 0 0 20px rgba(223, 156, 45, .28);
}

.vendor-card strong {
  font-size: 13px;
  line-height: 1.08;
}

.vendor-card small {
  color: #f5bd50;
  font-weight: 800;
}

.network-map {
  height: 88px;
  margin-top: 16px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 24% 54%, rgba(255, 199, 83, .8), transparent 3px),
    radial-gradient(circle at 58% 28%, rgba(255, 199, 83, .8), transparent 3px),
    radial-gradient(circle at 80% 66%, rgba(255, 199, 83, .8), transparent 3px),
    linear-gradient(140deg, transparent 0 32%, rgba(240, 170, 43, .25) 33% 34%, transparent 35% 100%),
    linear-gradient(30deg, transparent 0 48%, rgba(240, 170, 43, .25) 49% 50%, transparent 51% 100%),
    #090703;
}

.service-grid,
.component-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.service-grid a,
.component-grid a {
  min-height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 14px;
  color: #ffe0a0;
  border: 1px solid rgba(209, 144, 38, .18);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  font-family: var(--font-ui);
  font-weight: 800;
}

.service-grid small {
  margin-top: 2px;
  color: #a98c5a;
  font-size: 12px;
  font-weight: 600;
}

.wide-cta {
  width: 100%;
  height: 55px;
  margin-top: 16px;
  gap: 14px;
}

.deal-map {
  position: relative;
  height: 156px;
  border-radius: 6px;
  overflow: hidden;
  background:
    linear-gradient(rgba(222, 151, 42, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 151, 42, .08) 1px, transparent 1px),
    radial-gradient(circle at 52% 55%, rgba(249, 172, 47, .26), transparent 78px),
    #090806;
  background-size: 40px 40px, 40px 40px, auto, auto;
}

.deal-map span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 12px;
  height: 12px;
  border: 2px solid #efa934;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 16px rgba(239, 169, 52, .7);
}

.deal-map .hot {
  width: 34px;
  height: 34px;
  border-width: 6px;
}

.hot-deal {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 11px;
  border: 1px solid rgba(210, 143, 39, .22);
  border-radius: 6px;
  background: rgba(149, 82, 15, .14);
}

.hot-deal img {
  width: 72px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
}

.hot-deal small,
.hot-deal span {
  color: #c09f6d;
  display: block;
}

.hot-deal strong {
  display: block;
  color: #ffe4ae;
  line-height: 1.1;
}

.hot-deal a {
  min-width: 90px;
  height: 38px;
  font-size: 13px;
}

.distribution-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.distribution-flow span {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(210, 143, 39, .2);
  border-radius: 7px;
  color: #ffd98f;
  background: rgba(255, 255, 255, .035);
  font-family: var(--font-ui);
  font-weight: 800;
}

.distribution-flow small {
  display: block;
  color: #9e7f51;
  font-size: 11px;
  font-weight: 600;
}

.mini-stats,
.impact-panel dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 16px;
}

.mini-stats div,
.impact-panel dl div {
  padding: 12px 8px;
  border: 1px solid rgba(210, 143, 39, .16);
  text-align: center;
}

.mini-stats dt,
.impact-panel dd {
  color: #a98c5a;
  font-size: 12px;
}

.mini-stats dd,
.impact-panel dt {
  color: #f7c65d;
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 800;
}

.components-panel p {
  margin: -4px 0 14px;
  color: #c2aa83;
}

.market-ad-products {
  width: min(1490px, calc(100% - 34px));
  margin: 18px auto;
  scroll-margin-top: 86px;
  padding: 24px;
  border: 1px solid rgba(203,135,31,.48);
  border-radius: 8px;
  background: linear-gradient(115deg, rgba(38,20,7,.92), rgba(8,7,4,.96));
}
.ad-products-header {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 390px);
  gap: 28px;
  margin-bottom: 20px;
}
.ad-products-header h2 {
  margin: 5px 0 10px;
  color: #f4c66e;
  font: 700 34px var(--font-ui);
}
.ad-products-header p:not(.market-kicker) {
  max-width: 760px;
  color: #cdb38a;
  line-height: 1.5;
}
.ad-products-callout {
  display: grid;
  gap: 9px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(219,157,48,.33);
  border-radius: 7px;
  background: rgba(255,188,70,.06);
}
.ad-products-callout strong { color: #ffe3a4; font: 700 20px var(--font-ui); }
.ad-products-callout span { color: #ba9b69; font-size: 14px; }
.ad-products-callout a {
  display: inline-grid;
  place-items: center;
  min-height: 42px;
  color: #160901;
  border-radius: 5px;
  background: linear-gradient(180deg, #e2aa42, #b86c19);
  font: 700 14px var(--font-ui);
}

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

.marketplace-sponsored-card {
  min-height: 230px;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 165, 54, .32);
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .28);
  text-decoration: none;
}

.marketplace-sponsored-rail--image-only,
.marketplace-sponsored-card--image-only {
  color: transparent;
}

.marketplace-sponsored-card h3 {
  margin: 0;
  color: #fff0ca;
  font: 800 23px var(--font-ui);
}

.marketplace-sponsored-card p {
  margin: 0;
  color: #cdb38a;
  line-height: 1.38;
}

.marketplace-sponsored-card a {
  width: max-content;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid rgba(228, 165, 54, .5);
  border-radius: 4px;
  color: #ffd88b;
  background: rgba(0, 0, 0, .34);
  font: 800 12px var(--font-ui);
  text-transform: uppercase;
  text-decoration: none;
}

.ad-products-columns {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
}
.ad-catalog-panel {
  padding: 15px;
  border: 1px solid rgba(214,151,45,.24);
  border-radius: 7px;
  background: rgba(4,3,2,.36);
}
.ad-catalog-panel .panel-heading h3 {
  color: #f7cf7f;
  font: 700 21px var(--font-ui);
}
.ad-catalog-panel .panel-heading span { color: #a98c5a; font-size: 12px; }
.ad-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ad-slot-grid { display: grid; gap: 10px; }
.ad-offer-card,
.ad-slot-card {
  overflow: hidden;
  border: 1px solid rgba(214,151,45,.3);
  border-radius: 6px;
  background: rgba(0,0,0,.32);
}
.ad-offer-card img { display: block; width: 100%; height: 96px; object-fit: cover; }
.ad-slot-card { display: grid; grid-template-columns: 124px 1fr; }
.ad-slot-card img { width: 124px; height: 100%; min-height: 132px; object-fit: cover; }
.ad-offer-card > div,
.ad-slot-card > div { display: grid; gap: 5px; padding: 10px; }
.sponsored-label {
  width: max-content;
  padding: 3px 7px;
  border: 1px solid rgba(228,165,54,.45);
  border-radius: 3px;
  color: #efae3e;
  font: 700 10px var(--font-ui);
  text-transform: uppercase;
}
.ad-offer-card h4,
.ad-slot-card h4 { color: #fff0cd; font: 700 17px var(--font-ui); }
.ad-offer-card p,
.ad-slot-card p { color: #bd9e70; font-size: 12px; line-height: 1.35; }
.ad-offer-card small,
.ad-slot-card small { color: #d39c46; font-size: 11px; }
.ad-offer-card strong,
.ad-slot-card strong { color: #fff2cc; font: 700 20px var(--font-ui); }
.ad-offer-card button,
.ad-slot-card button {
  min-height: 38px;
  margin-top: 5px;
  border: 1px solid #b8771d;
  border-radius: 4px;
  color: #f8d58b;
  background: rgba(200,137,42,.12);
  font: 700 13px var(--font-ui);
  cursor: pointer;
}

.ad-product-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  padding: 0 12px;
  border: 1px solid #b8771d;
  border-radius: 4px;
  color: #f8d58b;
  background: rgba(200,137,42,.12);
  font: 700 13px var(--font-ui);
  text-decoration: none;
}

.component-grid a {
  min-height: 86px;
  text-align: center;
}

.live-feature {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 14px;
}

.live-feature img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  border-radius: 6px;
}

.live-badge {
  display: inline-flex;
  padding: 4px 8px;
  color: #fff;
  background: #c31827;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
}

.live-feature h3 {
  margin-top: 10px;
  color: #ffe0a1;
  font-family: var(--font-ui);
  font-size: 24px;
  line-height: 1.05;
}

.live-feature p {
  margin: 9px 0 14px;
  color: #c4a983;
  font-size: 14px;
}

.live-feature a {
  min-width: 118px;
  height: 38px;
}

.live-list {
  list-style: none;
  margin-top: 14px;
  border-top: 1px solid rgba(210, 143, 39, .16);
}

.live-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 0;
  color: #b99a6e;
  font-size: 13px;
}

.live-list a {
  color: #f4d090;
}

.seller-cta {
  display: grid;
  grid-template-columns: 34% 1fr minmax(240px, 330px);
  gap: 28px;
  align-items: center;
  margin-top: 16px;
  border: 1px solid rgba(203, 135, 31, .48);
  border-radius: 8px;
  background: linear-gradient(100deg, rgba(42, 24, 8, .9), rgba(10, 8, 4, .95));
  overflow: hidden;
}

.seller-cta img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.seller-cta h2 {
  color: #e7a94b;
  font-size: clamp(32px, 4vw, 46px);
  text-transform: none;
}

.seller-cta p {
  max-width: 580px;
  margin-top: 10px;
  color: #e1c59a;
  font-size: 17px;
}

.seller-icons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.seller-icons span {
  color: #ffd37b;
  font-family: var(--font-ui);
  font-weight: 800;
}

.join-onramp {
  min-height: 72px;
  margin-right: 42px;
  color: #1a0d02;
  background: linear-gradient(180deg, #f7d675, #c57b1d);
  font-size: 22px;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr .95fr;
  gap: 14px;
  margin-top: 14px;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.quick-links a {
  min-height: 78px;
  display: grid;
  place-items: center;
  color: #ffe0a1;
  border: 1px solid rgba(210, 143, 39, .2);
  border-radius: 7px;
  background: rgba(255, 255, 255, .035);
  font-family: var(--font-ui);
  font-weight: 800;
  text-align: center;
}

.payments-panel p {
  margin: 10px 0 18px;
  color: #c4aa7e;
}

.payment-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.payment-tags span {
  padding: 7px 11px;
  color: #fff;
  border-radius: 4px;
  background: #123d7a;
  font-family: var(--font-ui);
  font-weight: 800;
}

.market-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 32px;
  color: #9d8358;
  font-size: 13px;
}

.footer-brand .market-seal {
  width: 54px;
  height: 42px;
}

.footer-brand strong {
  font-size: 15px;
}

.footer-brand small {
  letter-spacing: 0;
  text-transform: none;
}

.market-footer nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.market-footer a {
  color: #c9ad7b;
}

.market-music-module {
  width: min(100% - 42px, 1480px);
  margin: 18px auto;
  border: 1px solid rgba(223, 154, 48, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 15%, rgba(238, 169, 55, .22), transparent 18rem),
    linear-gradient(135deg, rgba(16, 7, 2, .96), rgba(4, 2, 1, .94));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .36), inset 0 1px 0 rgba(255, 224, 163, .08);
  padding: 18px;
}

.music-module-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
  margin-bottom: 16px;
}

.music-module-hero h2 {
  margin: 8px 0;
  color: #f3c66e;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 58px);
}

.music-module-hero p {
  max-width: 900px;
  color: #e8d8bd;
  font-size: 18px;
}

.music-publishing-options,
.music-label-tags,
.music-label-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.music-publishing-options span,
.music-label-tags b,
.music-label-roles em {
  border: 1px solid rgba(235, 174, 69, .28);
  border-radius: 999px;
  background: rgba(220, 151, 43, .11);
  color: #f2ce86;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
}

.music-radio-card {
  border: 1px solid rgba(235, 174, 69, .28);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(57, 24, 4, .72), rgba(0, 0, 0, .44));
  padding: 18px;
}

.music-radio-card strong {
  display: block;
  color: #fff3d0;
  font-family: var(--font-display);
  font-size: 24px;
  margin: 12px 0 6px;
}

.radio-bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 48px;
  margin: 14px 0;
}

.radio-bars i {
  width: 12px;
  min-height: 12px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #ffd071, #d47a20);
  animation: radioPulse 1s ease-in-out infinite alternate;
}

.radio-bars i:nth-child(2) { height: 30px; animation-delay: .1s; }
.radio-bars i:nth-child(3) { height: 44px; animation-delay: .2s; }
.radio-bars i:nth-child(4) { height: 24px; animation-delay: .3s; }
.radio-bars i:nth-child(5) { height: 38px; animation-delay: .4s; }

@keyframes radioPulse {
  from { transform: scaleY(.45); opacity: .62; }
  to { transform: scaleY(1); opacity: 1; }
}

.music-radio-card button,
.music-track-card button,
.music-track-card .music-track-action {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(235, 174, 69, .55);
  border-radius: 6px;
  background: linear-gradient(135deg, #d49331, #7e390b);
  color: #160a02;
  cursor: pointer;
  font-family: var(--font-ui);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.music-label-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.music-label-card,
.music-track-card {
  overflow: hidden;
  border: 1px solid rgba(235, 174, 69, .24);
  border-radius: 8px;
  background: rgba(0, 0, 0, .32);
}

.music-label-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(.82);
}

.music-label-card--label-one { box-shadow: inset 0 0 34px rgba(213, 134, 31, .18); }
.music-label-card--label-two { box-shadow: inset 0 0 34px rgba(63, 179, 190, .16); }
.music-label-card--label-three { box-shadow: inset 0 0 34px rgba(191, 83, 220, .14); }

.music-label-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.music-label-body > span,
.music-track-card > span {
  color: #e5a84c;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.music-label-body h3,
.music-track-card h3 {
  margin: 0;
  color: #fff4d8;
  font-family: var(--font-display);
  font-size: 24px;
}

.music-label-body p,
.music-label-body small,
.music-track-card p,
.music-track-card small,
.music-track-card em {
  color: #c9b08a;
}

.music-label-body a {
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(235, 174, 69, .32);
  border-radius: 6px;
  color: #f5d58e;
  font-family: var(--font-ui);
  font-weight: 900;
}

.music-track-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.music-track-card {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.music-track-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.music-track-card b {
  color: #f2c76e;
  font-family: var(--font-display);
  font-size: 22px;
}

.home-market-header .site-header {
  display: none;
}

.home-market-header .hero {
  padding-top: 0;
}

.home-shared-topbar {
  box-shadow: 0 8px 30px rgba(0, 0, 0, .38);
}

@media (max-width: 1180px) {
  .market-nav,
  .market-icons {
    display: none;
  }

  .market-hamburger {
    display: flex;
    margin-left: auto;
  }

  .market-stat-strip {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .stat-slogan,
  .contribute-link {
    margin: 0;
  }

  .market-grid,
  .bottom-grid,
  .music-label-grid,
  .music-track-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .live-panel,
  .payments-panel {
    grid-column: 1 / -1;
  }

  .seller-cta {
    grid-template-columns: 300px 1fr;
    padding-right: 20px;
  }

  .join-onramp {
    grid-column: 2;
    margin: 0 0 22px;
  }
}

@media (max-width: 760px) {
  .market-topbar-inner {
    min-height: 66px;
    padding: 0 16px;
  }

  .market-brand strong {
    font-size: 22px;
  }

  .market-seal {
    width: 42px;
    height: 42px;
  }

  .market-stat-strip {
    min-height: 40px;
    gap: 24px;
    padding: 0 16px;
  }

  .market-hero {
    min-height: 560px;
  }

  .market-hero-content {
    width: min(100% - 24px, 650px);
    padding: 40px 0 30px;
  }

  .market-hero p:not(.market-kicker) {
    font-size: 21px;
  }

  .market-search {
    height: auto;
    grid-template-columns: 44px 1fr;
    grid-template-rows: 58px 48px;
  }

  .market-search button {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid rgba(227, 164, 58, .25);
  }

  .market-categories a {
    min-width: calc(50% - 8px);
    height: 56px;
    font-size: 15px;
  }

  .market-section,
  .market-grid,
  .market-ad-products,
  .seller-cta,
  .bottom-grid,
  .market-footer {
    width: min(100% - 22px, 640px);
  }

  .rail-arrow {
    display: none;
  }

  .product-rail {
    grid-auto-columns: minmax(235px, 80%);
  }

  .market-grid,
  .bottom-grid,
  .music-module-hero,
  .ad-products-header,
  .ad-products-columns,
  .marketplace-ad-rail-preview,
  .seller-cta {
    grid-template-columns: 1fr;
  }

  .marketplace-sponsored-rail {
    min-height: 220px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-end;
  }

  .marketplace-sponsored-rail h3 {
    font-size: 24px;
  }

  .vendor-list,
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .component-grid,
  .ad-offer-grid,
  .live-feature,
  .music-label-grid,
  .music-track-rail {
    grid-template-columns: 1fr;
  }

  .distribution-flow {
    grid-template-columns: 1fr;
  }
  .ad-slot-card { grid-template-columns: 96px 1fr; }
  .ad-slot-card img { width: 96px; }

  .distribution-flow i {
    transform: rotate(90deg);
  }

  .mini-stats,
  .impact-panel dl {
    grid-template-columns: repeat(2, 1fr);
  }

  .hot-deal {
    grid-template-columns: 72px 1fr;
  }

  .hot-deal a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .seller-cta {
    gap: 18px;
    padding: 0 16px 18px;
  }

  .seller-cta img {
    margin: 0 -16px;
    width: calc(100% + 32px);
  }

  .join-onramp {
    grid-column: auto;
    margin: 0;
  }

  .market-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .market-footer nav {
    gap: 14px 22px;
  }
}

@media (max-width: 430px) {
  .market-categories a {
    min-width: 100%;
  }

  .vendor-list,
  .quick-links,
  .mini-stats,
  .impact-panel dl {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CART ICON — nav
   ============================================================ */
.icon-btn-cart::before {
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 3px;
  width: 14px;
  height: 12px;
  transform: translateY(2px);
}
.icon-btn-cart::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 5px;
  border: 2px solid currentColor;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
}
.icon-btn-cart.has-items {
  border-color: rgba(214,158,60,.6);
  color: #f0c060;
}
.bws-cart-badge {
  background: #d4a93a;
  border-radius: 50%;
  color: #000;
  display: grid;
  font: 700 9px var(--font-ui);
  height: 16px;
  min-width: 16px;
  padding: 0 3px;
  place-items: center;
  position: absolute;
  right: -6px;
  top: -6px;
  width: auto;
  z-index: 1;
  animation: badgePop .2s cubic-bezier(.36,.07,.19,.97);
}
@keyframes badgePop {
  0%   { transform: scale(0); }
  80%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.bws-cart-badge[hidden] { display: none; }

/* === Streets Mega Menu === */
.nav-streets-wrap { position: relative; display: inline-flex; align-items: center; gap: 0; }
.nav-streets-link { color: inherit; text-decoration: none; padding: 0.25rem 0.1rem; }
.nav-streets-wrap.active .nav-streets-link { color: var(--bws-gold, #c9a84c); }
.nav-streets-toggle { background: none; border: none; cursor: pointer; color: inherit; padding: 0 0.2rem; font-size: 0.65em; opacity: 0.7; line-height: 1; }
.nav-streets-toggle:hover { opacity: 1; }
.streets-mega-menu { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #1a1a1a; border: 1px solid #333; border-radius: 10px; min-width: 520px; max-width: 680px; z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.streets-mega-menu[hidden] { display: none !important; }
.streets-mega-inner { padding: 1.2rem; }
.streets-mega-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; border-bottom: 1px solid #2a2a2a; padding-bottom: 0.7rem; }
.streets-mega-header strong { color: #fff; font-size: 0.9rem; letter-spacing: 0.05em; }
.streets-mega-header a { color: var(--bws-gold, #c9a84c); font-size: 0.8rem; text-decoration: none; }
.streets-mega-header a:hover { text-decoration: underline; }
.streets-cat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; }
.streets-cat-grid li a { display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.6rem; border-radius: 7px; background: #242424; color: #ccc; text-decoration: none; font-size: 0.8rem; transition: background 0.15s, color 0.15s; white-space: nowrap; }
.streets-cat-grid li a:hover { background: #c9a84c22; color: #fff; }
.scat-icon { font-size: 1.1em; }
/* Scope nav tiles — shown in Streets mega-menu when on a profile page */
.streets-scope-header strong { color: var(--bws-gold, #c9a84c); }
.streets-scope-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 6px !important; }
.scat-scope-tile {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1408;
  min-height: 72px;
}
.scat-scope-btn {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 72px;
  padding: 0;
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color .15s;
}
.scat-scope-btn:hover { border-color: rgba(201,168,76,.55); }
.scat-scope-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}
.scat-scope-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 6px 8px 7px;
  color: #fff;
  font: 600 11px/1.3 sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.scat-scope-btn:hover .scat-scope-label { color: var(--bws-gold, #c9a84c); }
@media (max-width: 900px) {
  .streets-scope-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Ribbon cat tiles */
.ribbon-cat-tile { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-width: 100px; max-width: 130px; height: 80px; border-radius: 8px; overflow: hidden; position: relative; text-decoration: none; }
.ribbon-cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.ribbon-cat-tile span { position: relative; z-index: 1; color: #fff; font-size: 0.72rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.8); padding: 0.3rem 0.4rem; background: rgba(0,0,0,0.35); width: 100%; text-align: center; }
@media (max-width: 900px) {
  .streets-mega-menu { min-width: 320px; left: 0; transform: none; }
  .streets-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Districts mega-menu ──────────────────────────────────────────────────── */
.nav-districts-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-districts-link {
  text-decoration: none;
  color: inherit;
}

.nav-districts-toggle {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0 4px;
  font-size: 10px;
  opacity: .7;
  transition: opacity 150ms;
}
.nav-districts-toggle:hover { opacity: 1; }

.districts-mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #111a11;
  border: 1px solid rgba(74,138,74,.35);
  border-radius: 10px;
  min-width: 480px;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
}
.districts-mega-menu[hidden] { display: none !important; }

.districts-mega-inner { padding: 16px; }

.districts-mega-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.districts-mega-all {
  color: rgba(74,138,74,.9);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .04em;
}
.districts-mega-all:hover { color: #4a8a4a; text-decoration: underline; }

.districts-feat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.districts-feat-grid li a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 14px 12px;
  border-radius: 8px;
  background: rgba(26,58,26,.48);
  border: 1px solid rgba(74,138,74,.2);
  text-decoration: none;
  transition: background 150ms, border-color 150ms;
}
.districts-feat-grid li a:hover {
  background: rgba(74,138,74,.2);
  border-color: rgba(74,138,74,.5);
}

/* TUPAC featured tile */
.dcat-tupac a {
  background: rgba(200,137,42,.12) !important;
  border-color: rgba(200,137,42,.38) !important;
  grid-column: span 2;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}
.dcat-tupac a:hover {
  background: rgba(200,137,42,.22) !important;
  border-color: rgba(200,137,42,.6) !important;
}

.districts-feat-grid .dcat-icon {
  font-size: 20px;
  line-height: 1;
}

.districts-feat-grid strong {
  color: #f5eed8;
  font-size: 13px;
  font-weight: 700;
}

.districts-feat-grid small {
  color: rgba(216,232,216,.6);
  font-size: 11px;
}

.districts-feat-grid .dcat-sub {
  color: rgba(200,137,42,.85);
  font: italic 11px/1 sans-serif;
  font-style: italic;
  margin-left: auto;
}

.dcat-tupac a strong { font-size: 15px; color: #f0b84d; }

/* ribbon TUPAC district tile accent */
.ribbon-district-tile { border: 1px solid rgba(74,138,74,.28); }

@media (max-width: 900px) {
  .districts-mega-menu { min-width: 320px; left: 0; transform: none; }
  .districts-feat-grid { grid-template-columns: 1fr; }
  .dcat-tupac a { grid-column: span 1; }
}

/* Product Builder guide */
.product-builder-body {
  background: #0d1a12;
}

.builder-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #101914;
}

.builder-hero-bg,
.builder-hero-shade {
  position: absolute;
  inset: 0;
}

.builder-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.builder-hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 12, 8, .9) 0%, rgba(6, 12, 8, .68) 42%, rgba(6, 12, 8, .24) 100%),
    linear-gradient(0deg, #0d1a12 0%, rgba(13, 26, 18, 0) 42%);
}

.builder-hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 130px 0 78px;
  color: #fff8df;
}

.builder-hero-content .eyebrow {
  margin: 0 0 16px;
}

.builder-hero-content h1 {
  max-width: 760px;
  margin: 0;
  color: #fff8df;
  font-family: var(--font-display, Georgia, serif);
  font-size: 64px;
  line-height: .98;
  letter-spacing: 0;
}

.builder-hero-content p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 248, 223, .86);
  font-size: 19px;
  line-height: 1.58;
}

.builder-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.builder-section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0;
}

.builder-section + .builder-section {
  border-top: 1px solid rgba(218, 174, 83, .16);
}

.builder-section h2 {
  margin: 0;
  color: #fff8df;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: 0;
}

.builder-section-lead,
.builder-intro > p {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(235, 240, 223, .78);
  font-size: 17px;
  line-height: 1.7;
}

.builder-definition-grid,
.builder-opportunity-grid,
.builder-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.builder-definition-grid article,
.builder-steps article,
.builder-opportunity-grid article,
.builder-script,
.builder-warning,
.builder-checklist li,
.builder-sources a {
  border: 1px solid rgba(218, 174, 83, .18);
  border-radius: 8px;
  background: rgba(255, 248, 223, .055);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.builder-definition-grid article,
.builder-opportunity-grid article {
  padding: 24px;
}

.builder-definition-grid h3,
.builder-opportunity-grid h3,
.builder-script h3,
.builder-warning h3 {
  margin: 0;
  color: #f4c76a;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
}

.builder-definition-grid p,
.builder-opportunity-grid p,
.builder-script p,
.builder-warning p,
.builder-checklist li,
.builder-sources a {
  color: rgba(235, 240, 223, .78);
  font-size: 15px;
  line-height: 1.62;
}

.builder-definition-grid p,
.builder-opportunity-grid p,
.builder-script p,
.builder-warning p {
  margin: 12px 0 0;
}

.builder-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  counter-reset: builder-step;
}

.builder-steps article {
  position: relative;
  min-height: 178px;
  padding: 26px 26px 24px 86px;
}

.builder-steps article::before {
  counter-increment: builder-step;
  content: counter(builder-step);
  position: absolute;
  top: 26px;
  left: 26px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d9a441;
  color: #101914;
  font-weight: 800;
}

.builder-steps h3 {
  margin: 0;
  color: #fff8df;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.builder-steps p {
  margin: 12px 0 0;
  color: rgba(235, 240, 223, .78);
  font-size: 15px;
  line-height: 1.62;
}

.builder-opportunity-grid small {
  display: block;
  margin-top: 14px;
  color: rgba(244, 199, 106, .82);
  font-size: 13px;
  line-height: 1.5;
}

.builder-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 18px;
  align-items: stretch;
}

.builder-script,
.builder-warning {
  padding: 28px;
}

.builder-script p {
  color: #fff8df;
}

.builder-warning {
  border-color: rgba(210, 85, 69, .34);
  background: rgba(210, 85, 69, .08);
}

.builder-checklist {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  list-style: none;
}

.builder-checklist li {
  position: relative;
  padding: 18px 20px 18px 48px;
}

.builder-checklist li::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  width: 14px;
  height: 14px;
  border: 2px solid #d9a441;
  border-radius: 4px;
}

.builder-sources {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.builder-sources a {
  display: flex;
  align-items: center;
  min-height: 64px;
  padding: 16px;
  color: #fff8df;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.builder-sources a:hover {
  border-color: rgba(218, 174, 83, .48);
  background: rgba(218, 174, 83, .1);
}

.viral-hero .builder-hero-content h1 {
  max-width: 840px;
}

.viral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.viral-grid h2 {
  font-size: 28px;
}

.viral-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.viral-form small {
  min-height: 18px;
  color: #f0b94f;
}

@media (max-width: 900px) {
  .builder-hero {
    min-height: 500px;
  }

  .builder-hero-content {
    width: min(100% - 32px, 680px);
    padding: 110px 0 58px;
  }

  .builder-hero-content h1 {
    font-size: 44px;
    line-height: 1.04;
  }

  .builder-hero-content p {
    font-size: 16px;
  }

  .builder-section {
    width: min(100% - 32px, 680px);
    padding: 48px 0;
  }

  .builder-section h2 {
    font-size: 30px;
  }

  .builder-definition-grid,
  .builder-steps,
  .builder-opportunity-grid,
  .builder-split,
  .builder-checklist,
  .builder-sources,
  .viral-grid {
    grid-template-columns: 1fr;
  }

  .builder-steps article {
    min-height: 0;
    padding: 24px 22px 22px 76px;
  }

  .builder-steps article::before {
    left: 22px;
    top: 24px;
  }
}

@media (max-width: 520px) {
  .builder-hero-content h1 {
    font-size: 36px;
  }

  .builder-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .builder-definition-grid article,
  .builder-opportunity-grid article,
  .builder-script,
  .builder-warning {
    padding: 20px;
  }
}
