/* Mercha Core v0.3.38 — Flat Editorial public presentation.
   This optional last-loaded layer intentionally overrides the Playful Commerce
   cards; it does not target partner/contributor dashboards, HQ or wp-admin.
   Woo cart/checkout retain their existing layouts and validation. */
body.mercha-fun-public {
  --editorial-ink:#111827;
  --editorial-muted:#475467;
  --editorial-line:#d9dce0;
  --editorial-cream:#faf7ee;
  --editorial-lime:#dcf56c;
  --editorial-violet:#6b55d6;
}
/* Squared actions and a strong but calm editorial hierarchy. */
body.mercha-fun-public .mercha-platform-btn {
  border-radius:0!important;
  box-shadow:none!important;
  padding:15px 24px!important;
  transition:background-color .15s ease,color .15s ease!important;
}
body.mercha-fun-public .mercha-platform-btn:hover {
  transform:none!important;
  box-shadow:none!important;
  background:#30394d!important;
}
body.mercha-fun-public :is(.mercha-public-page,.mercha-directory-hero) .mercha-btn,
body.mercha-fun-public :is(.mercha-public-page,.mercha-directory-hero) .mercha-btn.is-secondary {
  border-radius:0!important;
  box-shadow:none!important;
}
body.mercha-fun-public :is(.mercha-public-page,.mercha-directory-hero) .mercha-eyebrow {
  color:#384253!important;
  letter-spacing:.17em;
}
/* Partner / Contributor / Vendor / About: open headline, no floating pastel card. */
body.mercha-fun-public .mercha-public-page>.mercha-public-hero {
  position:relative;
  margin:0!important;
  padding:clamp(44px,5.8vw,78px) 0 clamp(48px,6vw,82px)!important;
  border:0!important;
  border-bottom:1px solid var(--editorial-line)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--editorial-ink)!important;
  overflow:visible;
}
body.mercha-fun-public .mercha-public-page>.mercha-public-hero::before {
  content:"";
  position:absolute;
  top:clamp(23px,3vw,41px);
  left:0;
  width:54px;
  height:7px;
  background:var(--editorial-lime);
}
body.mercha-fun-public .mercha-public-page>.mercha-public-hero::after {display:none!important}
body.mercha-fun-public .mercha-public-page>.mercha-public-hero h1 {
  max-width:1110px;
  font-size:clamp(42px,5.7vw,82px)!important;
  line-height:1.015!important;
  letter-spacing:-.061em!important;
  margin:16px 0 25px!important;
  text-wrap:balance;
}
body.mercha-fun-public .mercha-public-page>.mercha-public-hero>p {
  max-width:760px!important;
  color:var(--editorial-muted)!important;
  font-size:clamp(16px,1.5vw,19px)!important;
}
body.mercha-fun-public .mercha-public-actions {gap:13px;margin-top:30px}
body.mercha-fun-public .mercha-partner-proof {gap:12px 20px}
/* Process steps as open columns separated by rhythm rather than bordered cards. */
body.mercha-fun-public .mercha-public-grid,
body.mercha-fun-public .mercha-partner-process,
body.mercha-fun-public .mercha-partner-metrics {
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  gap:clamp(16px,3vw,48px)!important;
}
body.mercha-fun-public .mercha-public-grid>article,
body.mercha-fun-public .mercha-public-grid>div,
body.mercha-fun-public .mercha-partner-process>article,
body.mercha-fun-public .mercha-partner-metrics>article {
  background:transparent!important;
  padding:25px 0 18px!important;
  border:0!important;
  border-top:2px solid var(--editorial-ink)!important;
  border-radius:0!important;
  box-shadow:none!important;
  min-height:0;
}
body.mercha-fun-public .mercha-public-grid>article strong,
body.mercha-fun-public .mercha-partner-process>article strong {
  color:var(--editorial-ink);
  font-size:clamp(17px,1.55vw,21px);
  line-height:1.3;
}
body.mercha-fun-public .mercha-public-grid article p,
body.mercha-fun-public .mercha-partner-process article p {
  color:var(--editorial-muted)!important;
  line-height:1.7!important;
}
body.mercha-fun-public .mercha-partner-process>article b {
  margin-bottom:16px;
  color:var(--editorial-violet);
  font-size:15px;
}
/* Sections are allowed to use solid colors, but not rounded/bordered panels. */
body.mercha-fun-public .mercha-partner-managed-list {
  background:#f1f0ff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:clamp(24px,3.4vw,42px);
}
body.mercha-fun-public .mercha-partner-model-card {
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:#172033;
}
body.mercha-fun-public :is(.mercha-partner-royalty-example,.mercha-partner-economics-grid>div,.mercha-partner-affiliate-option,.mercha-partner-control-grid article) {
  border-radius:0!important;
  box-shadow:none!important;
}
body.mercha-fun-public .mercha-partner-royalty-example {border:0!important;background:var(--editorial-cream)}
body.mercha-fun-public .mercha-partner-faq details {
  border:0!important;
  border-radius:0!important;
  border-top:1px solid var(--editorial-line)!important;
  padding:19px 0!important;
  margin:0!important;
  background:transparent!important;
}
body.mercha-fun-public .mercha-partner-faq details:last-child {border-bottom:1px solid var(--editorial-line)!important}
body.mercha-fun-public .mercha-partner-economics-grid>div {border:0!important;border-top:1px solid var(--editorial-line)!important;padding:20px 0!important}
/* Forms: a full flat section, not a card; visible input edges remain functional. */
body.mercha-fun-public .mercha-public-page>.mercha-public-application {
  padding:clamp(28px,5vw,65px)!important;
  margin:clamp(38px,5.5vw,75px) 0 45px!important;
  background:var(--editorial-cream)!important;
  color:var(--editorial-ink)!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
body.mercha-fun-public .mercha-public-page>.mercha-public-application :is(h2,h3){color:var(--editorial-ink)!important}
body.mercha-fun-public .mercha-public-page>.mercha-public-application p{color:var(--editorial-muted)!important}
body.mercha-fun-public .mercha-public-form :is(input:not([type=checkbox]),select,textarea) {
  border:1px solid #bfc5cc!important;
  border-radius:0!important;
  background:#fff!important;
  color:#111827!important;
  box-shadow:none!important;
}
body.mercha-fun-public .mercha-public-form :is(input,select,textarea):focus-visible {border-color:var(--editorial-violet)!important}
body.mercha-fun-public :is(.mercha-public-account-gate,.mercha-application-account-note) {border-radius:0!important}
/* About CTA is the one intentionally dark full-width editorial color block. */
body.mercha-fun-public .mercha-about-page>.mercha-public-application {
  background:#222742!important;
  color:#fff!important;
}
body.mercha-fun-public .mercha-about-page>.mercha-public-application :is(.mercha-eyebrow,h2,h3,p) {
  color:#fff!important;
}
body.mercha-fun-public .mercha-about-page>.mercha-public-application .mercha-btn {
  background:var(--editorial-lime)!important;
  color:#111827!important;
  border-color:var(--editorial-lime)!important;
}
/* Home remains playful through color + poster composition, not through soft cards. */
.mercha-fun-home .mercha-home-hero>.mercha-eyebrow,
.mercha-fun-home .mercha-home-proof span,
.mercha-fun-home .mercha-home-problem-grid article,
.mercha-fun-home .mercha-home-responsibility-grid article,
.mercha-fun-home .mercha-platform-process-list article,
.mercha-fun-home .mercha-platform-audience-grid>div,
.mercha-fun-home :is(.mercha-home-problem,.mercha-home-manifesto,.mercha-home-final-cta,.mercha-home-dashboard-card),
.mercha-fun-home :is(.mercha-fun-art-poster,.mercha-fun-art-sticker) {
  border-radius:0!important;
  box-shadow:none!important;
}
.mercha-fun-home .mercha-home-problem {background:#faf7ed;padding:clamp(28px,4.8vw,56px)}
.mercha-fun-home .mercha-home-problem-grid {gap:22px!important}
.mercha-fun-home .mercha-home-problem-grid article {
  border:0!important;
  border-top:2px solid #111827!important;
  background:transparent!important;
  padding:22px 0!important;
  min-height:0!important;
  transform:none!important;
}
.mercha-fun-home .mercha-home-problem-grid article>b {border-radius:0!important;background:var(--editorial-lime);color:#111827}
.mercha-fun-home .mercha-home-responsibility-grid {gap:0!important}
.mercha-fun-home .mercha-home-responsibility-grid article {border:0!important;min-height:320px;box-shadow:none!important}
.mercha-fun-home .mercha-home-responsibility-grid article.is-partner {background:#eae4ff}
.mercha-fun-home .mercha-home-responsibility-grid article.is-mercha {background:#172033}
.mercha-fun-home .mercha-platform-process-list article {
  background:transparent!important;
  border:0!important;
  border-top:1px solid var(--editorial-line)!important;
  padding:22px 0!important;
  margin:0!important;
}
.mercha-fun-home .mercha-home-dashboard-card {border:0!important}
.mercha-fun-home .mercha-platform-audience-grid {gap:26px!important}
.mercha-fun-home .mercha-platform-audience-grid>div {
  background:transparent!important;
  border:0!important;
  border-top:2px solid #111827!important;
  padding:22px 0!important;
}
.mercha-fun-home .mercha-fun-art-poster {border-width:1px!important}
.mercha-fun-home .mercha-fun-art-sticker.is-top {border-radius:0!important;transform:rotate(10deg)}
.mercha-fun-home .mercha-fun-hero-art:before {border-radius:0!important;border:0!important;transform:rotate(5deg);box-shadow:none!important}
/* Directory / store / product: visual emphasis belongs to brands and photography. */
.mercha-fun-directory .mercha-directory-hero {
  background:#ede8ff!important;
  border:0!important;
  border-radius:0!important;
  padding:clamp(32px,5.5vw,72px);
}
.mercha-fun-directory .mercha-directory-toolbar form {border:0!important;border-bottom:2px solid #111827!important;border-radius:0!important;padding:0!important}
.mercha-fun-directory .mercha-directory-toolbar button {border-radius:0!important}
body.mercha-fun-public .mercha-platform-store {
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  transition:background-color .15s ease!important;
}
body.mercha-fun-public .mercha-platform-store:hover {box-shadow:none!important;transform:none!important;background:#eae4ff}
body.mercha-fun-public .mercha-platform-store-brand,
body.mercha-fun-public .mercha-platform-store-copy>span,
body.mercha-fun-public .mercha-directory-pagination :is(a,.is-current) {border-radius:0!important}
body.mercha-fun-public .mercha-platform-store-brand {border:0!important}
.mercha-fun-store .mercha-hero {
  border:0!important;
  border-radius:0!important;
  background:#f5f1ff!important;
}
.mercha-fun-store .mercha-store-hero-image {border:0!important;border-radius:0!important;box-shadow:none!important;transform:none!important}
.mercha-fun-store .mercha-store-hero-image span,
.mercha-fun-store .mercha-store-shop-link,
.mercha-fun-store .mercha-store-trust,
.mercha-fun-store .mercha-collection-chip {border-radius:0!important}
.mercha-fun-store .mercha-store-trust {border:0!important}
.mercha-fun-store .mercha-product-grid {gap:clamp(16px,2.5vw,30px)}
.mercha-fun-store .mercha-product-card {
  border:0!important;
  border-top:1px solid #d8dce0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding:17px 0 0!important;
}
.mercha-fun-store .mercha-product-card:hover {transform:none!important;box-shadow:none!important}
.mercha-fun-store .mercha-product-image,
.mercha-fun-store .mercha-store-story {border-radius:0!important}
.mercha-fun-product .mercha-gallery-stage,
.mercha-fun-product .mercha-gallery-thumb,
.mercha-fun-product .mercha-detail-copy>.mercha-eyebrow,
.mercha-fun-product .mercha-related-card,
.mercha-fun-product .mercha-discover-store-links a {border-radius:0!important}
.mercha-fun-product .mercha-gallery-stage {border:0!important}
.mercha-fun-product .mercha-buybox {
  border:0!important;
  border-top:2px solid #111827!important;
  border-bottom:1px solid var(--editorial-line)!important;
  border-radius:0!important;
  background:transparent!important;
  padding:24px 0!important;
}
.mercha-fun-product .mercha-buybox :is(select,input.qty),
.mercha-fun-product .mercha-buybox :is(button.single_add_to_cart_button,button[type=submit]) {border-radius:0!important}
/* Informational pages and catalog: clean dividers, with images / content as the focus. */
.mercha-fun-standard .mercha-standard-content-inner :is(.mercha-public-card,.mercha-policy-section,details),
body.mercha-fun-public .mercha-public-catalog-page .mercha-catalog-browser,
body.mercha-fun-public .mercha-public-product-card,
body.mercha-fun-public .mercha-public-catalog-tools input,
body.mercha-fun-public .mercha-contact-form-wrap {border-radius:0!important}
body.mercha-fun-public .mercha-public-product-card {border:0!important;border-top:1px solid var(--editorial-line)!important;box-shadow:none!important}
body.mercha-fun-public .mercha-public-product-card:hover {transform:none!important;box-shadow:none!important}
body.mercha-fun-public .mercha-contact-form-wrap {border:0!important;background:var(--editorial-cream)}
body.mercha-fun-public .mercha-catalog-cta {background:transparent!important}
/* Checkout fields remain clearly bounded; no checkout structure is overridden. */
body.mercha-commerce-shell.mercha-fun-public .woocommerce :is(button.button,a.button,input.button,input.input-text,select,textarea,.woocommerce-message,.woocommerce-info) {border-radius:0!important}
@media(max-width:780px) {
  body.mercha-fun-public .mercha-public-page>.mercha-public-hero {padding:43px 0 52px!important}
  body.mercha-fun-public .mercha-public-grid,
  body.mercha-fun-public .mercha-partner-process,
  body.mercha-fun-public .mercha-partner-metrics {gap:15px!important}
  body.mercha-fun-public .mercha-public-page>.mercha-public-application {padding:27px 24px!important}
  .mercha-fun-home .mercha-home-responsibility-grid article+article {border:0!important}
}
@media(max-width:520px) {
  body.mercha-fun-public .mercha-public-page>.mercha-public-hero h1 {font-size:clamp(37px,10.2vw,53px)!important;letter-spacing:-.057em!important}
  body.mercha-fun-public .mercha-public-page>.mercha-public-hero {padding:40px 0 46px!important}
  body.mercha-fun-public .mercha-public-page>.mercha-public-application {padding:26px 18px!important;margin:35px 0!important}
  .mercha-fun-home .mercha-home-problem-grid article,
  .mercha-fun-home .mercha-platform-audience-grid>div {padding:18px 0!important}
  .mercha-fun-store .mercha-hero {padding:30px 20px!important}
}
