/* MarketingHub public marketplace — purple/white commercial theme. */
:root {
  --mkt-ink: #191827;
  --mkt-muted: #6c6877;
  --mkt-line: #e8e2ef;
  --mkt-paper: #ffffff;
  --mkt-card: #ffffff;
  --mkt-brand: #6810a8;
  --mkt-deep: #42076d;
  --mkt-bright: #8d24d6;
  --mkt-lavender: #f3e8ff;
  --mkt-focus: #6810a8;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--mkt-ink);
  background: var(--mkt-paper);
  line-height: 1.5;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.mkt-skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 5;
}
.mkt-skip:focus { top: 0.5rem; }

.mkt-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1.4rem;
  background: #fff;
  border-bottom: 1px solid var(--mkt-line);
  position: sticky;
  top: 0;
  z-index: 4;
}
.mkt-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.7rem;
  text-decoration: none;
  max-width: 28rem;
}
.mkt-zuto {
  font-weight: 800;
  color: #16a34a;
  font-size: 1.05rem;
}
.mkt-word {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.2rem;
  color: var(--mkt-brand);
}
.mkt-sub {
  flex-basis: 100%;
  font-size: 0.7rem;
  color: var(--mkt-muted);
}
.mkt-top nav { display: flex; gap: 1.1rem; align-items: center; }
.mkt-top a, .mkt-top button {
  color: var(--mkt-ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.mkt-top a:hover, .mkt-top button:hover,
.mkt-top a:focus-visible, .mkt-top button:focus-visible {
  color: var(--mkt-brand);
  outline: 2px solid var(--mkt-brand);
  outline-offset: 2px;
}
.mkt-top .is-primary,
.is-primary {
  background: linear-gradient(120deg, var(--mkt-bright), var(--mkt-brand));
  color: #fff !important;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.mkt-ghost, .is-secondary {
  border: 1px solid var(--mkt-brand) !important;
  color: var(--mkt-brand) !important;
  border-radius: 999px;
  padding: 0.48rem 1rem;
  font-weight: 700;
  background: #fff;
  display: inline-block;
  text-decoration: none;
}
.mkt-back { font-size: 0.82rem; color: var(--mkt-brand); white-space: nowrap; }
.mkt-grow { margin-left: auto; display: flex; gap: 0.65rem; align-items: center; flex-wrap: wrap; }
.mkt-menu {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--mkt-brand);
  border: 1px solid var(--mkt-line);
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
}

.mkt-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem 6vw 2rem;
  background: linear-gradient(180deg, #faf5ff 0%, #fff 70%);
}
.mkt-kicker { color: var(--mkt-brand); font-weight: 800; margin: 0 0 0.4rem; }
.mkt-hero h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 0;
  color: var(--mkt-brand);
  letter-spacing: -0.03em;
}
.mkt-subhead { font-size: 1.35rem; font-weight: 700; margin: 0.4rem 0; }
.mkt-hero p { max-width: 38rem; color: var(--mkt-muted); }
.mkt-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.2rem; }
.mkt-hero__visual { position: relative; }
.mkt-hero__visual img {
  width: 100%;
  border-radius: 1.4rem;
  object-fit: cover;
  aspect-ratio: 5 / 4;
  box-shadow: 0 18px 40px rgba(66, 7, 109, 0.18);
}
.mkt-hero__card {
  position: absolute;
  right: 8%;
  top: 14%;
  background: #fff;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 24px rgba(24, 24, 39, 0.12);
  display: grid;
  gap: 0.2rem;
  font-size: 0.85rem;
  color: var(--mkt-brand);
}

.mkt-searchbar {
  margin: 0 6vw;
  padding: 1rem 1.1rem 0.7rem;
  border: 1px solid var(--mkt-line);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 24, 39, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr auto;
  gap: 0.7rem;
  align-items: end;
  position: relative;
  z-index: 2;
  transform: translateY(-1.2rem);
}
.mkt-searchbar label { display: grid; gap: 0.25rem; font-size: 0.78rem; font-weight: 700; color: var(--mkt-muted); }
.mkt-searchbar select, .mkt-searchbar input {
  border: 1px solid var(--mkt-line);
  border-radius: 0.7rem;
  padding: 0.55rem 0.7rem;
  color: var(--mkt-ink);
}
.mkt-searchbar button[type="submit"] {
  background: var(--mkt-brand);
  color: #fff;
  border: 0;
  border-radius: 0.8rem;
  padding: 0.65rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
}
.mkt-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  color: var(--mkt-muted);
}
.mkt-chips button {
  border: 1px solid var(--mkt-line);
  background: var(--mkt-lavender);
  color: var(--mkt-deep);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  cursor: pointer;
}

.mkt-cats { padding: 0 6vw 1rem; }
.mkt-cats__head { display: flex; justify-content: space-between; align-items: baseline; }
.mkt-cats h2 { margin: 0 0 0.8rem; }
.mkt-cats a { color: var(--mkt-brand); font-weight: 700; text-decoration: none; }
.mkt-cats__row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.7rem;
}
.mkt-cat {
  border: 1px solid var(--mkt-line);
  background: #fff;
  border-radius: 1rem;
  padding: 0.85rem 0.5rem;
  min-height: 6.4rem;
  display: grid;
  place-items: center;
  gap: 0.4rem;
  text-align: center;
  cursor: pointer;
}
.mkt-cat i {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  display: grid;
  place-items: center;
  background: var(--mkt-lavender);
  color: var(--mkt-brand);
}
.mkt-cat span { font-size: 0.78rem; font-weight: 700; }
.mkt-cat.is-active, .mkt-cat:hover, .mkt-cat:focus-visible {
  border-color: var(--mkt-brand);
  outline: 2px solid var(--mkt-brand);
}

.mkt-wrap { padding: 0.5rem 6vw 2rem; }
.mkt-feat-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
}
.mkt-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mkt-tabs button {
  border: 0;
  background: transparent;
  color: var(--mkt-muted);
  font-weight: 700;
  cursor: pointer;
  padding: 0.3rem 0.55rem;
  border-bottom: 2px solid transparent;
}
.mkt-tabs .is-active { color: var(--mkt-brand); border-bottom-color: var(--mkt-brand); }
.mkt-sort { font-size: 0.85rem; color: var(--mkt-muted); }
.mkt-toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.7rem 0; }
.mkt-toolbar select, .mkt-toolbar button {
  border: 1px solid var(--mkt-line);
  border-radius: 0.6rem;
  padding: 0.4rem 0.6rem;
  background: #fff;
}
.mkt-status { min-height: 1.2rem; color: var(--mkt-muted); }
.mkt-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}
.mkt-card {
  background: var(--mkt-card);
  border: 1px solid var(--mkt-line);
  border-radius: 1rem;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 8px 20px rgba(24, 24, 39, 0.05);
}
.mkt-card:hover, .mkt-card:focus-visible { border-color: var(--mkt-brand); }
.mkt-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.mkt-card__body { padding: 0.75rem 0.85rem 0.95rem; display: grid; gap: 0.25rem; }
.mkt-card h3 { margin: 0; font-size: 0.98rem; }
.mkt-badge {
  display: inline-block;
  background: var(--mkt-lavender);
  color: var(--mkt-deep);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.5rem;
  width: max-content;
}
.mkt-price { color: var(--mkt-brand); font-weight: 800; margin: 0; }
.mkt-meta { margin: 0; color: var(--mkt-muted); font-size: 0.8rem; }
.mkt-limit { margin: 0; color: #7c3aed; font-size: 0.72rem; }
.mkt-card__row { display: flex; justify-content: space-between; align-items: center; }
.mkt-fav {
  border: 0;
  background: transparent;
  color: var(--mkt-brand);
  cursor: pointer;
  font-size: 1rem;
}
.mkt-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; color: var(--mkt-muted); }

.mkt-detail {
  margin-top: 1.2rem;
  border: 1px solid var(--mkt-line);
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
}
.mkt-detail img { max-height: 220px; border-radius: 0.8rem; object-fit: cover; }
.mkt-enquire { display: grid; gap: 0.5rem; max-width: 32rem; }
.mkt-enquire textarea { border: 1px solid var(--mkt-line); border-radius: 0.6rem; padding: 0.5rem; }

.mkt-ops {
  margin: 1rem 6vw 2rem;
  background: var(--mkt-lavender);
  border-radius: 1.4rem;
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}
.mkt-ops img { border-radius: 1rem; }
.mkt-ops ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.7rem; }
.mkt-ops li { font-size: 0.9rem; color: var(--mkt-muted); }
.mkt-ops strong { display: block; color: var(--mkt-ink); }

.mkt-why { padding: 0 6vw 2rem; }
.mkt-why ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}
.mkt-why li {
  border: 1px solid var(--mkt-line);
  border-radius: 0.8rem;
  padding: 0.7rem;
}

.mkt-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  padding: 1.2rem 6vw 2rem;
  border-top: 1px solid var(--mkt-line);
  color: var(--mkt-muted);
  font-size: 0.85rem;
}

@media (max-width: 1280px) {
  .mkt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mkt-cats__row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .mkt-hero, .mkt-ops { grid-template-columns: 1fr; }
  .mkt-searchbar { grid-template-columns: 1fr 1fr; }
  .mkt-searchbar__q, .mkt-searchbar button[type="submit"], .mkt-chips { grid-column: 1 / -1; }
  .mkt-hero__card { position: static; margin-top: 0.8rem; }
}
@media (max-width: 768px) {
  .mkt-menu { display: inline-flex; }
  .mkt-top nav, .mkt-grow { display: none; }
  .mkt-top.is-open { flex-wrap: wrap; }
  .mkt-top.is-open nav, .mkt-top.is-open .mkt-grow {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .mkt-grid { grid-template-columns: 1fr 1fr; }
  .mkt-cats__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mkt-searchbar { margin: 0 1rem; }
  .mkt-hero, .mkt-wrap, .mkt-cats, .mkt-ops, .mkt-why, .mkt-foot { padding-left: 1rem; padding-right: 1rem; }
}
@media (max-width: 430px) {
  .mkt-grid { grid-template-columns: 1fr; }
  .mkt-cats__row { grid-template-columns: 1fr 1fr; }
}
