/* Martfury-inspired marketplace packs — original VIGOR CSS (not ThemeForest assets). */

@import url("https://fonts.googleapis.com/css2?family=Work+Sans:wght@400;500;600;700&display=swap");

body.theme-martfury {
  --kc-ink: #1a1a1a;
  --kc-mute: #6b7280;
  --kc-paper: #f5f5f5;
  --kc-line: color-mix(in srgb, var(--kc-ink) 10%, transparent);
  --kc-accent: #fcb800;
  --kc-hero-tint: #222;
  --kc-card-ratio: 1 / 1;
  --kc-cols: 5;
  --mf-deal: #fcb800;
  background: var(--kc-paper);
  color: var(--kc-ink);
  font-family: "Work Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
body.theme-martfury.page-bg::before { background: var(--kc-paper); }

body.theme-martfury .co-header,
body.theme-martfury #mobileBar {
  display: none !important;
}

body.theme-martfury #storeApp .container {
  max-width: 1280px;
  padding-left: 16px;
  padding-right: 16px;
}
body.is-storefront.theme-martfury #storeApp > .container {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

body.theme-martfury .kc-announce {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  margin: 0 -16px 12px;
}
body.theme-martfury .kc-announce strong { color: var(--mf-deal); }

body.theme-martfury .kc-hero {
  min-height: min(42vh, 380px);
  margin: 0 0 18px;
  border-radius: 4px;
  background: var(--kc-hero-tint);
}
body.theme-martfury .kc-hero-title {
  font-family: "Work Sans", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.theme-martfury .kc-hero-cta {
  border-radius: 3px;
  background: var(--mf-deal);
  color: #111;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

body.theme-martfury .kc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 12px;
  border-bottom: 2px solid var(--kc-ink);
  padding-bottom: 8px;
}
body.theme-martfury .kc-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
body.theme-martfury .kc-section-head span {
  font-size: 0.75rem;
  color: var(--kc-mute);
}

body.theme-martfury .kc-cats,
body.theme-martfury .kc-cats-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
body.theme-martfury .kc-cats a,
body.theme-martfury .kc-cats-wall-item {
  background: #fff;
  border: 1px solid var(--kc-line);
  border-radius: 4px;
  text-align: center;
  padding: 12px 8px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--kc-ink);
  text-decoration: none;
}
body.theme-martfury .kc-cats-wall-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  display: grid;
  place-items: end stretch;
}
body.theme-martfury .kc-cats-wall-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.theme-martfury .kc-cats-wall-item span {
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, #000 55%, transparent);
  color: #fff;
  padding: 8px;
  font-size: 0.72rem;
}

body.theme-martfury .kc-featured {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  body.theme-martfury .kc-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.theme-martfury .kc-featured a {
  background: #fff;
  border: 1px solid var(--kc-line);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--kc-ink);
  display: grid;
}
body.theme-martfury .kc-featured img {
  aspect-ratio: var(--kc-card-ratio);
  object-fit: cover;
  width: 100%;
}
body.theme-martfury .kc-featured span {
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 650;
}

body.theme-martfury .kc-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 20px;
}
@media (max-width: 700px) {
  body.theme-martfury .kc-duo { grid-template-columns: 1fr; }
}
body.theme-martfury .kc-duo a {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: 4px;
  display: grid;
  place-items: end start;
  background: #ddd;
  color: #fff;
  text-decoration: none;
}
body.theme-martfury .kc-duo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
body.theme-martfury .kc-duo span {
  position: relative;
  z-index: 1;
  margin: 14px;
  padding: 8px 12px;
  background: var(--mf-deal);
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

body.theme-martfury .kc-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
  background: #fff;
  border: 1px solid var(--kc-line);
  border-radius: 4px;
  padding: 14px;
}
@media (max-width: 800px) {
  body.theme-martfury .kc-trust { grid-template-columns: 1fr 1fr; }
}
body.theme-martfury .kc-trust strong { display: block; font-size: 0.82rem; }
body.theme-martfury .kc-trust span { font-size: 0.72rem; color: var(--kc-mute); }

body.theme-martfury .kc-newsletter {
  background: #1a1a1a;
  color: #fff;
  padding: 28px 20px;
  border-radius: 4px;
  text-align: center;
  margin: 20px 0;
}
body.theme-martfury .kc-newsletter h3 { margin: 0 0 6px; }
body.theme-martfury .kc-newsletter form {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px;
}
body.theme-martfury .kc-newsletter input {
  min-width: min(260px, 100%);
  padding: 10px 12px;
  border: 0;
  border-radius: 3px;
}
body.theme-martfury .kc-newsletter button {
  background: var(--mf-deal);
  border: 0;
  border-radius: 3px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
}

body.theme-martfury .product-card,
body.theme-martfury .kc-product-card {
  background: #fff;
  border: 1px solid var(--kc-line);
  border-radius: 4px;
}
body.theme-martfury .mf-deal-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--mf-deal);
  color: #111;
  padding: 10px 14px;
  border-radius: 4px;
  margin: 0 0 16px;
  font-size: 0.85rem;
  font-weight: 700;
}
body.theme-martfury .mf-deal-strip span { font-weight: 500; opacity: 0.85; }
