
/* === MMX OneClick Fixer v2 === */

/* 1) Remove duplicate "Page Title / white band" created by theme defaults
   We keep product & single post titles intact to avoid SEO/content loss.
*/
.home .ct-page-title,
.home .page-title,
.home .entry-header,
.page .ct-page-title,
.page .page-title,
.page .entry-header,
.archive .ct-page-title,
.archive .page-title,
.archive .entry-header,
.tax-product_cat .ct-page-title,
.tax-product_cat .page-title,
.tax-product_tag .ct-page-title,
.tax-product_tag .page-title {
  display: none !important;
}

/* but keep for individual posts/products */
.single-product .ct-page-title,
.single-post .ct-page-title,
.single-product .page-title,
.single-post .page-title {
  display: initial !important;
}

/* 2) Remove top gap beneath header (sometimes added by themes) */
.site-main > *:first-child,
.content-area > *:first-child,
#main > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 3) Keep one floating WhatsApp button. Hide any duplicates created by multiple plugins. */
.joinchat__button ~ .joinchat__button,
.floating-wpp .floating-wpp-button ~ .floating-wpp-button,
a[href*="wa.me"].float ~ a[href*="wa.me"].float,
a[href*="whatsapp"].float ~ a[href*="whatsapp"].float,
#whatsapp-button ~ #whatsapp-button {
  display: none !important;
}

/* 4) Ensure hero/cover can go truly full-screen on home */
.home .wp-block-cover,
.home .ct-hero,
.home .hero,
.home .blocksy-hero {
  min-height: 100svh !important;
}

/* 5) Remove accidental white separator bars under header */
header + .page-title,
header + .ct-page-title {
  display: none !important;
}
