html.market-site,
html.market-site body {
  display: block;
  height: auto;
  min-height: 0;
  overflow: visible;
  background: #fff;
  flex: none;
}

/* Footer at the bottom of the window on short pages (cart, checkout). */
html.market-site body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

html.market-site main {
  display: block;
  flex: 1 0 auto;
}

.market-header {
  background: #fff;
}

.market-logo {
  height: 40px;
  width: auto;
}

.market-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.25rem;
}

.market-nav a {
  color: var(--body-color);
  text-decoration: none;
  white-space: nowrap;
}

.market-nav a:hover {
  color: var(--primary);
}

.market-nav a.market-nav-cta {
  color: #fff;
  background: var(--mk-primary, var(--primary));
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
  font-weight: 600;
}

.market-nav a.market-nav-cta:hover {
  color: #fff;
  opacity: 0.9;
}

.wh-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f7f7f7;
  border: 1px solid #ececec;
  color: #333;
  text-decoration: none;
}

.wh-card:hover {
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.wh-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}

.wh-card-link:hover {
  color: inherit;
}

.wh-card-action {
  padding: 0 14px 16px;
  text-align: center;
}

.wh-pill-btn,
button.wh-pill-btn {
  display: inline-block;
  border: 0;
  border-radius: 3px;
  background: #5cb85c;
  color: #fff;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.wh-pill-btn:hover,
button.wh-pill-btn:hover {
  background: #4cae4c;
  color: #fff;
}

.wh-card-action {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.wh-pill-btn.wh-pill-info {
  background: #337ab7;
}

.wh-pill-btn.wh-pill-info:hover {
  background: #286090;
}

.wh-pill-info .ph {
  font-size: 13px;
  vertical-align: -2px;
}

.wh-open {
  display: inline-block;
  margin-top: 0.75rem;
  color: #337ab7;
  text-decoration: none;
}

.wh-checkout {
  max-width: 32rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
}

.wh-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 168px;
  color: #fff;
}

.wh-art .ph {
  font-size: 3.4rem;
}

.wh-art-label {
  margin-top: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wh-art-sales { background: #3b5998; }
.wh-art-property { background: #1aa6a6; }
.wh-art-wellness { background: #e25b78; }
.wh-art-learning { background: #e39b12; }

.wh-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 14px 14px 18px;
  text-align: center;
}

.wh-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.wh-summary {
  margin: 8px 0 0;
  color: #777;
  font-size: 13px;
  line-height: 1.4;
}

.wh-pill {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
}

.wh-pill span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  background: #5cb85c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.wh-product {
  display: flex;
  gap: 28px;
  align-items: center;
  padding-bottom: 8px;
}

.wh-product-main {
  flex: 1;
  min-width: 0;
}

.wh-product-side {
  padding: 1.25rem;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  text-align: left;
}

.wh-side-price {
  margin-bottom: 0.65rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.wh-product-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  flex: 0 0 auto;
  color: #fff;
}

.wh-product-art .ph {
  font-size: 4.2rem;
}

.wh-by {
  margin: 2px 0 10px;
  color: #777;
}

.wh-by a {
  color: #337ab7;
  text-decoration: none;
}

.wh-cats {
  margin-bottom: 14px;
  color: #337ab7;
}

.wh-buy {
  display: block;
  padding: 8px 16px;
  border-radius: 4px;
  background: #5cb85c;
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.wh-buy:hover {
  background: #4cae4c;
  color: #fff;
}

.wh-tabs {
  display: flex;
  gap: 1.75rem;
  margin-top: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.wh-tabs a {
  padding: 0.8rem 0;
  color: #337ab7;
  text-decoration: none;
}

.wh-tabs .is-on {
  color: #333;
  border-bottom: 3px solid #5cb85c;
}

.wh-panel {
  padding: 1.5rem 0 0.5rem;
}

.wh-panel h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.wh-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.wh-panel li + li {
  margin-top: 0.45rem;
}

@media (max-width: 767px) {
  .wh-product {
    flex-direction: column;
    align-items: flex-start;
  }

  .wh-product-side {
    text-align: left;
  }
}

/* Listing tabs: description, features, screenshots, reviews, comments. */
.wh-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: -6px;
  margin-bottom: 14px;
}

.wh-rating a {
  color: #337ab7;
  text-decoration: none;
}

.wh-stars {
  color: #f0ad4e;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.wh-stars-lg {
  font-size: 1.5rem;
}

.wh-tabs {
  flex-wrap: wrap;
}

.wh-tabs .wh-count {
  display: inline-block;
  min-width: 1.5em;
  padding: 0 0.4em;
  margin-left: 0.2em;
  border-radius: 999px;
  background: #eee;
  color: #666;
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.6;
}

.wh-tabs .is-on .wh-count {
  background: #5cb85c;
  color: #fff;
}

.wh-pane-title {
  margin: 0 0 0.75rem !important;
}

.wh-tabbed .wh-pane {
  display: none;
}

.wh-tabbed .wh-pane.is-open {
  display: block;
}

.wh-tabbed .wh-pane-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wh-empty {
  color: #777;
}

.wh-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.wh-shot {
  margin: 0;
}

.wh-shot a {
  display: block;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  overflow: hidden;
}

.wh-shot a:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.wh-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.wh-shot figcaption {
  margin-top: 0.4rem;
  color: #777;
  font-size: 0.85rem;
}

.wh-summary-box {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
}

.wh-list {
  display: flex;
  flex-direction: column;
}

.wh-item {
  padding: 1rem 0;
  border-top: 1px solid #ececec;
}

.wh-item:last-child {
  border-bottom: 1px solid #ececec;
}

.wh-item-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.wh-item-meta {
  margin: 0.2rem 0 0.5rem;
  color: #777;
  font-size: 0.85rem;
}

.wh-item-body {
  margin: 0;
  white-space: normal;
}

.wh-form {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border: 1px solid #e5e5e5;
  background: #fafafa;
}

.wh-form h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.wh-field {
  margin-bottom: 1rem;
}

.wh-label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.wh-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wh-rate {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.1rem;
}

.wh-rate input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.wh-rate label {
  cursor: pointer;
  color: #ccc;
  font-size: 1.9rem;
  line-height: 1;
  transition: color 0.1s;
}

.wh-rate input:checked ~ label,
.wh-rate label:hover,
.wh-rate label:hover ~ label {
  color: #f0ad4e;
}

.wh-rate input:focus-visible + label {
  outline: 2px solid #5cb85c;
  outline-offset: 2px;
}

.wh-alert {
  margin-bottom: 1rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 3px;
}

.wh-alert-ok {
  border-color: #d6e9c6;
  background: #dff0d8;
  color: #3c763d;
}

.wh-alert-err {
  border-color: #ebccd1;
  background: #f2dede;
  color: #a94442;
}

.wh-buy-inline {
  display: inline-block;
  border: 0;
}

.wh-side-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 1rem;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
  font-size: 0.9rem;
}

.wh-side-facts dt {
  color: #777;
  font-weight: 400;
}

.wh-side-facts dd {
  margin: 0;
}

.wh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.wh-lightbox[hidden] {
  display: none;
}

.wh-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  background: #fff;
  cursor: default;
}

.wh-lightbox-caption {
  margin-top: 0.75rem;
  color: #fff;
}

.wh-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: 0;
  background: none;
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
}

.wh-noscroll {
  overflow: hidden;
}

@media (max-width: 575px) {
  .wh-shots {
    grid-template-columns: 1fr;
  }

  .wh-tabs {
    gap: 1rem;
  }
}

/* ---------- Marketplace landing (home) ---------- */
:root {
  --mk-primary: #5b4fe6;
  --mk-primary-dark: #4a3fd0;
  --mk-ink: #1f2937;
  --mk-muted: #6b7280;
  --mk-line: #e8eaf0;
  --mk-soft: #f6f7fb;
  --mk-radius: 14px;
}

.mk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.mk-btn-primary {
  background: var(--mk-primary);
  color: #fff;
}

.mk-btn-primary:hover {
  background: var(--mk-primary-dark);
  color: #fff;
}

.mk-btn-outline {
  border-color: var(--mk-primary);
  color: var(--mk-primary);
  background: #fff;
}

.mk-btn-outline:hover {
  background: var(--mk-primary);
  color: #fff;
}

.mk-btn-light {
  background: #fff;
  color: var(--mk-primary);
}

.mk-btn-light:hover {
  background: #eef0ff;
  color: var(--mk-primary-dark);
}

.mk-btn-outline-light {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.mk-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.mk-btn-block {
  display: flex;
  width: 100%;
  margin-top: 0.9rem;
}

.mk-hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(91, 79, 230, 0.14), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(227, 155, 18, 0.16), transparent 40%),
    linear-gradient(180deg, #fbfbfe 0%, #fff 100%);
}

.mk-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--mk-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mk-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--mk-ink);
}

.mk-hero-lead {
  max-width: 36rem;
  margin: 0 0 1.5rem;
  color: var(--mk-muted);
  font-size: 1.1rem;
}

.mk-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 34rem;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.08);
}

.mk-search .ph {
  color: var(--mk-muted);
  font-size: 1.2rem;
}

.mk-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-size: 1rem;
  background: transparent;
}

.mk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.mk-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 2rem;
  margin: 2.25rem 0 0;
}

.mk-stats dt {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--mk-ink);
  line-height: 1;
}

.mk-stats dd {
  margin: 0.25rem 0 0;
  color: var(--mk-muted);
  font-size: 0.85rem;
}

.mk-featured {
  position: relative;
  max-width: 24rem;
  margin: 0 auto;
}

.mk-featured-label {
  position: absolute;
  top: -0.8rem;
  left: 1.25rem;
  z-index: 2;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--mk-ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mk-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  box-shadow: 0 6px 24px rgba(31, 41, 55, 0.06);
  overflow: hidden;
  color: var(--mk-ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.mk-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(31, 41, 55, 0.12);
  color: var(--mk-ink);
}

.mk-card-featured {
  box-shadow: 0 24px 60px rgba(91, 79, 230, 0.18);
}

.mk-card-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  color: #fff;
}

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

.mk-card-cover .ph {
  font-size: 4rem;
}

.mk-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.9rem 1.25rem 1.25rem;
}

.mk-card-avatar {
  position: absolute;
  top: -1.3rem;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.15);
  overflow: hidden;
}

.mk-card-avatar img {
  width: 80%;
  height: auto;
}

.mk-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mk-ink);
  text-decoration: none;
}

.mk-card-cat {
  margin-top: 0.1rem;
  color: var(--mk-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mk-card-summary {
  margin-top: 0.5rem;
  color: var(--mk-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mk-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.mk-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--mk-ink);
  white-space: nowrap;
}

.mk-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mk-muted);
}

.mk-link {
  color: var(--mk-primary);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.mk-section {
  padding: 3.5rem 0;
}

.mk-section-alt {
  background: var(--mk-soft);
}

.mk-section-head {
  margin-bottom: 2rem;
}

.mk-section-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--mk-ink);
}

.mk-section-head p {
  margin: 0;
  color: var(--mk-muted);
}

.mk-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mk-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem;
}

.mk-cat {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  color: var(--mk-ink);
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}

.mk-cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 41, 55, 0.1);
  color: var(--mk-ink);
}

.mk-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 12px;
  color: #fff;
  font-size: 1.4rem;
  flex: 0 0 auto;
}

.mk-cat-name {
  font-weight: 700;
}

.mk-cat-count {
  margin-left: auto;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--mk-soft);
  color: var(--mk-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.mk-step {
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: #eef0ff;
  color: var(--mk-primary);
  font-size: 1.6rem;
}

.mk-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.mk-step p {
  margin: 0;
  color: var(--mk-muted);
}

.mk-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--mk-primary) 0%, #8b5cf6 100%);
  color: #fff;
  text-align: center;
}

.mk-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 800;
}

.mk-cta p {
  margin: 0;
  opacity: 0.9;
}

/* ---------- App details (Cartzilla-style product layout) ---------- */
.mk-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--mk-muted);
  font-size: 0.88rem;
}

.mk-breadcrumb a {
  color: var(--mk-muted);
  text-decoration: none;
}

.mk-breadcrumb a:hover {
  color: var(--mk-primary);
}

.mk-breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: #c4c8d4;
}

.mk-product-head {
  margin-bottom: 1.5rem;
}

.mk-product-head h1 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mk-ink);
}

.mk-product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.25rem;
  color: var(--mk-muted);
  font-size: 0.92rem;
}

.mk-product-meta a {
  color: var(--mk-primary);
  text-decoration: none;
}

.mk-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #eef0ff;
  color: var(--mk-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.mk-gallery {
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  overflow: hidden;
}

.mk-gallery-main {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--mk-soft);
}

.mk-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.mk-gallery-main .mk-gallery-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 6rem;
}

.mk-gallery-zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 41, 55, 0.75);
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
}

.mk-gallery-caption {
  padding: 0.6rem 1rem;
  border-top: 1px solid var(--mk-line);
  color: var(--mk-muted);
  font-size: 0.88rem;
}

.mk-thumbs {
  display: flex;
  gap: 0.6rem;
  padding: 0.75rem;
  overflow-x: auto;
  border-top: 1px solid var(--mk-line);
}

.mk-thumbs button {
  flex: 0 0 auto;
  width: 5.5rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}

.mk-thumbs button img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.mk-thumbs button.is-on {
  border-color: var(--mk-primary);
}

.mk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 1.25rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--mk-soft);
}

.mk-tabs a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  color: var(--mk-ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.mk-tabs a.is-on {
  background: #fff;
  color: var(--mk-primary);
  box-shadow: 0 2px 8px rgba(31, 41, 55, 0.1);
}

.mk-tabs .wh-count {
  display: inline-block;
  min-width: 1.5em;
  padding: 0 0.4em;
  margin-left: 0.25em;
  border-radius: 999px;
  background: #e3e6f0;
  color: var(--mk-muted);
  font-size: 0.75rem;
  text-align: center;
}

.mk-tabs a.is-on .wh-count {
  background: var(--mk-primary);
  color: #fff;
}

.mk-pane {
  padding: 0.25rem 0 1rem;
}

.mk-pane h2.wh-pane-title {
  font-size: 1.25rem;
}

.mk-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 0.6rem 1.5rem;
}

.mk-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.mk-features .ph {
  margin-top: 0.15rem;
  color: #22a06b;
  flex: 0 0 auto;
}

.mk-buy {
  position: sticky;
  top: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  box-shadow: 0 6px 24px rgba(31, 41, 55, 0.06);
}

.mk-buy-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--mk-ink);
  line-height: 1;
}

.mk-buy-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mk-muted);
}

.mk-buy .mk-btn-block {
  margin-top: 1.1rem;
}

.mk-buy-open {
  display: block;
  margin-top: 0.75rem;
  text-align: center;
  color: var(--mk-primary);
  font-weight: 700;
  text-decoration: none;
}

.mk-buy-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--mk-line);
  font-size: 0.9rem;
}

.mk-buy-facts dt {
  color: var(--mk-muted);
  font-weight: 500;
}

.mk-buy-facts dd {
  margin: 0;
  color: var(--mk-ink);
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
}

.mk-buy-facts dd a {
  color: var(--mk-primary);
  text-decoration: none;
}

.mk-more {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--mk-line);
}

.mk-more h2 {
  margin: 0 0 1.5rem;
  font-size: 1.4rem;
  font-weight: 800;
}

@media (max-width: 991px) {
  .mk-buy {
    position: static;
  }
}

@media (max-width: 575px) {
  .mk-hero {
    padding: 3rem 0 2.5rem;
  }

  .mk-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .mk-search {
    border-radius: var(--mk-radius);
    flex-wrap: wrap;
    padding: 0.6rem;
  }

  .mk-search .mk-btn {
    width: 100%;
  }

  .mk-product-head h1 {
    font-size: 1.5rem;
  }
}

/* ---------- Featured apps carousel + listing filter ---------- */
.mk-carousel {
  position: relative;
}

.mk-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.mk-carousel .mk-featured-label {
  position: static;
}

.mk-carousel-nav {
  display: flex;
  gap: 0.4rem;
}

.mk-carousel-nav button,
.mk-carousel-dots button {
  border: 1px solid var(--mk-line);
  background: #fff;
  cursor: pointer;
}

.mk-carousel-nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  color: var(--mk-ink);
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08);
}

.mk-carousel-nav button:hover {
  background: var(--mk-primary);
  border-color: var(--mk-primary);
  color: #fff;
}

.mk-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1rem;
  margin: -0.5rem -0.25rem 0;
}

.mk-carousel-track::-webkit-scrollbar {
  display: none;
}

.mk-carousel-item {
  flex: 0 0 calc(50% - 0.5rem);
  scroll-snap-align: start;
}

.mk-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.mk-carousel-dots button {
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  border-radius: 50%;
  background: #d5d8e3;
  border-color: transparent;
}

.mk-carousel-dots button.is-on {
  background: var(--mk-primary);
  width: 1.4rem;
  border-radius: 999px;
}

.mk-carousel-single .mk-carousel-nav,
.mk-carousel-single .mk-carousel-dots {
  display: none;
}

.mk-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.mk-filter .form-control,
.mk-filter .form-select {
  width: auto;
  min-width: 12rem;
  border-radius: 999px;
}

.mk-results {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: -0.75rem 0 1.25rem;
  color: var(--mk-muted);
  font-size: 0.9rem;
}

.mk-results a {
  color: var(--mk-primary);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 575px) {
  .mk-carousel-item {
    flex-basis: 100%;
  }

  .mk-filter .form-control,
  .mk-filter .form-select,
  .mk-filter .mk-btn {
    width: 100%;
  }
}

/* ---- Cart and checkout: condopro.net cart layout, Unitotal colours ---- */
.cp-market-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22.5rem;
  gap: 1.25rem;
  align-items: start;
}

.cp-market-cart {
  display: grid;
  gap: 0.85rem;
}

.cp-market-cart__line {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
}

.cp-market-cart__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 0.9rem;
  background: var(--mk-soft);
  overflow: hidden;
  color: var(--mk-ink);
  font-weight: 800;
  text-decoration: none;
}

.cp-market-cart__logo img {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  object-fit: contain;
  object-position: center;
}

.cp-market-cart__main h2 {
  margin: 0;
}

.cp-market-cart__main h2 a {
  color: var(--mk-ink);
  text-decoration: none;
}

.cp-market-cart__main h2 a:hover {
  color: var(--mk-primary);
}

.cp-market-cart__main p {
  color: var(--mk-muted);
  font-size: 0.92rem;
}

.cp-market-cart__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  min-width: 9rem;
  text-align: right;
}

.cp-market-cart__price strong {
  color: var(--mk-ink);
  font-size: 1.2rem;
  line-height: 1.1;
}

.cp-market-cart__price em {
  color: var(--mk-muted);
  font-style: normal;
  font-weight: 600;
}

.cp-market-cart .form-select {
  max-width: 18rem;
  margin-top: 0.15rem;
}

.cp-market-summary {
  position: sticky;
  top: 1rem;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  overflow: hidden;
}

.cp-market-summary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  background: #eef0ff;
  color: var(--mk-ink);
  font-weight: 700;
}

.cp-market-summary__head .badge {
  background: var(--mk-primary);
  color: #fff;
}

.cp-market-summary__body {
  padding: 0.85rem 1.15rem 1.15rem;
}

.cp-market-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
  color: var(--mk-muted);
}

.cp-market-summary__row strong {
  color: var(--mk-ink);
  text-align: right;
}

.cp-market-summary__discount strong {
  color: var(--mk-primary);
}

.cp-market-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 0.35rem 0 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--mk-line);
  color: var(--mk-ink);
  font-weight: 700;
}

.cp-market-summary__total strong {
  font-size: 1.7rem;
  line-height: 1;
}

.cp-market-summary__note {
  margin: 0 0 0.9rem;
  color: var(--mk-muted);
  font-size: 0.88rem;
}

.cp-market-account__card {
  padding: 1rem 1.15rem 1.15rem;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
}

.cp-market-account__choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.cp-market-account__option {
  display: block;
  margin: 0;
}

.cp-market-account__option input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.cp-market-account__option span {
  display: block;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  background: var(--mk-soft);
  color: var(--mk-ink);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.cp-market-account__option input:checked + span {
  background: var(--mk-primary);
  color: #fff;
}

.cp-market-account__option input:focus-visible + span {
  outline: 2px solid var(--mk-primary);
  outline-offset: 2px;
}

.cp-market-account__lead {
  margin: 0 0 0.85rem;
  color: var(--mk-muted);
  font-size: 0.88rem;
}

.cp-market-account__panel--new {
  display: none;
}

.cp-market-account:has(input[value="new"]:checked) .cp-market-account__panel--existing {
  display: none;
}

.cp-market-account:has(input[value="new"]:checked) .cp-market-account__panel--new {
  display: block;
}

.cp-market-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.cp-market-fields__full {
  grid-column: 1 / -1;
}

.cp-market-fields .form-label {
  margin-bottom: 0.3rem;
}

.cp-market-promo-card {
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
}

.cp-market-promo {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
}

.cp-market-promo__label {
  margin: 0 0 0.45rem;
  color: var(--mk-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.cp-market-promo .cp-market-promo__label {
  margin: 0;
}

.cp-market-promo__row {
  display: flex;
  gap: 0.5rem;
}

.cp-market-promo .form-control {
  min-width: 0;
}

.cp-market-promo-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem 0.8rem;
  background: #eef0ff;
  border: 1px solid var(--mk-line);
  border-radius: 0.75rem;
}

.cp-market-promo-applied span,
.cp-market-promo-applied em {
  display: block;
  color: var(--mk-muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cp-market-promo-applied strong {
  color: var(--mk-ink);
}

.cp-market-summary__continue {
  display: block;
  margin-top: 0.75rem;
  color: var(--mk-ink);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.cp-market-summary__continue:hover {
  color: var(--mk-primary);
}

@media (max-width: 991.98px) {
  .cp-market-layout {
    grid-template-columns: 1fr;
  }

  .cp-market-summary {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .cp-market-fields {
    grid-template-columns: 1fr;
  }

  .cp-market-cart__line {
    grid-template-columns: 4.25rem minmax(0, 1fr);
  }

  .cp-market-cart__price {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    text-align: left;
  }
}

/* Hub additions: app mark in the logo box; on checkout, the order button shows
   once the visitor signs in or chooses "New customer". */
.cp-market-cart__logo i {
  font-size: 2rem;
}

.cp-checkout-signin-note {
  display: none;
}

.cp-market-layout:has(.cp-market-account input[value="existing"]:checked) .cp-checkout-place {
  display: none;
}

.cp-market-layout:has(.cp-market-account input[value="existing"]:checked) .cp-checkout-signin-note {
  display: block;
}

.mk-btn-sm {
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
}

.cp-market-summary .mk-btn-block {
  margin-top: 0;
}

.cp-market-summary__province {
  margin: 0.5rem 0 0.35rem;
}

.cp-market-summary__province .wh-label {
  font-size: 0.85rem;
}

.cp-market-summary__row small {
  color: var(--mk-muted);
  font-size: 0.8rem;
}

.cp-market-cart__main .form-select {
  max-width: 18rem;
}

.mk-buy-alt {
  margin: -0.25rem 0 0.5rem;
  color: var(--mk-muted);
  font-size: 0.9rem;
}

.mk-buy-terms {
  display: grid;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
}

.mk-buy-term {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--mk-line);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.mk-buy-term:has(input:checked) {
  border-color: var(--mk-primary);
  background: #eef0ff;
}

.mk-buy-term input {
  accent-color: var(--mk-primary);
}


/* ---- Marketplace chrome and cart, condopro layout (top bar, page header band, dark summary head, column footer). v19 */
.market-topbar { background: var(--mk-ink); color: #fff; font-size: 0.8125rem; font-weight: 500; }
.market-topbar .container { min-height: 2.6rem; }
.market-topbar__copy { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.market-topbar__lang a, .market-footer__lang a { color: rgba(255,255,255,0.75); text-decoration: none; margin-left: 0.9rem; font-weight: 700; }
.market-topbar__lang a:hover, .market-footer__lang a:hover { color: #fff; }
.market-header { position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.market-nav a { font-weight: 600; color: #455a64; padding: 0.4rem 0.6rem; }
.market-actions { display: flex; align-items: center; gap: 0.6rem; }
.market-btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.95rem; border-radius: 10px; font-weight: 700; font-size: 0.9rem; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.market-btn-light { background: #fff; color: var(--mk-ink); border-color: var(--mk-line); }
.market-btn-light:hover { background: var(--mk-soft); color: var(--mk-ink); }
.market-btn-primary { background: var(--mk-ink); color: #fff; }
.market-btn-primary:hover { background: #111827; color: #fff; }
.market-cart-btn .badge { background: var(--mk-ink); color: #c7f0d2; margin-left: 0.25rem; }
.market-page-header { margin-top: -1px; padding: 2.75rem 0 2.5rem; border-bottom: 1px solid var(--mk-line);
  background: radial-gradient(900px 420px at 12% -8%, rgba(199, 240, 210, 0.6), transparent 58%),
              radial-gradient(800px 420px at 92% 8%, rgba(232, 234, 240, 0.9), transparent 55%),
              linear-gradient(165deg, #eef0f5 0%, #f8f9fb 100%); }
.market-eyebrow { margin-bottom: 0.5rem; color: var(--mk-primary); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.market-back { color: var(--mk-ink); font-weight: 600; text-decoration: none; }
.market-back:hover { color: var(--mk-primary); }
.market-page-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 0.75rem; }
.market-page-lead { margin: 0; color: #455a64; font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 500; line-height: 1.5; }
.cp-market-summary__head { background: var(--mk-ink); color: #fff; }
.cp-market-summary__head .badge { background: #c7f0d2; color: var(--mk-ink); }
.cp-market-cart__price em { color: #2f7a4b; }
.cp-market-summary__discount strong { color: #2f7a4b; }
.mk-btn-danger { background: #dc3545; color: #fff; border: 1px solid #dc3545; }
.mk-btn-danger:hover { background: #bb2d3b; color: #fff; }
.mk-btn-accent { background: #15803d; color: #fff; border: 1px solid #15803d; }
.mk-btn-accent:hover { background: #166534; color: #fff; }
.market-footer { background: #111827; color: #fff; margin-top: 3rem; }
.market-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding: 3.5rem 0.75rem 2.5rem; }
.market-footer__brand { display: inline-block; font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.market-footer__copy { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; margin: 1rem 0 0; max-width: 22rem; }
.market-footer h6 { color: #fff; font-weight: 700; margin: 0 0 1rem; }
.market-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.market-footer a { color: rgba(255,255,255,0.62); text-decoration: none; }
.market-footer a:hover { color: #fff; }
.market-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.2rem 0; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
@media (max-width: 767.98px) {
  .market-topbar__copy { display: none; }
  .market-nav { display: none; }
  .market-actions .market-btn-light:not(.market-cart-btn) { display: none; }
  .market-footer__grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0.75rem 1.5rem; }
  .market-page-header { padding: 1.75rem 0 1.5rem; }
}
