/* ============================================================
   Magickal Spot child theme — GeneratePress integration
   ============================================================ */

/* GeneratePress' own header, menus, top bar and footer are replaced */
.ms-theme .site-header,
.ms-theme #site-navigation,
.ms-theme .main-navigation:not(.ms-nav),
.ms-theme #mobile-header,
.ms-theme #sticky-navigation,
.ms-theme .top-bar,
.ms-theme .site-footer,
.ms-theme .footer-widgets { display: none !important; }

/* WordPress admin bar: keep the fixed header below it */
.admin-bar .ms-home .ms-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ms-home .ms-header { top: 46px; } }

/* Designed pages run edge to edge */
body.ms-designed { background: var(--ms-paper, #FDFCF8); }
body.ms-designed .site.grid-container,
body.ms-designed #page { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
body.ms-designed .site-content { display: block !important; padding: 0 !important; }
body.ms-designed .content-area,
body.ms-designed #primary { width: 100% !important; float: none !important; margin: 0 !important; padding: 0 !important; }
body.ms-designed .site-main { margin: 0 !important; }
body.ms-designed .inside-article,
body.ms-designed article.product { padding: 0 !important; margin: 0 !important; background: transparent !important; box-shadow: none !important; }
body.ms-designed .entry-content { margin: 0 !important; }
body.ms-designed .entry-content > .ms-home,
body.ms-designed .entry-content > * > .ms-home { margin: 0; }
body.ms-designed .woocommerce-breadcrumb { display: none; }

/* Plain pages (blog posts, shop, checkout, account): solid header + room for it */
body.ms-solid-header .site-content { padding-top: 190px; }
@media (max-width: 1023px) { body.ms-solid-header .site-content { padding-top: 110px; } }

/* Shared variables for WooCommerce areas outside a .ms-home wrapper */
body.ms-theme {
  --ms-paper: #FDFCF8; --ms-sand: #F4F0E6; --ms-ink: #241C36; --ms-plum: #3D2A5C; --ms-gold: #A9812F;
  --ms-mist: #736A85; --ms-line: rgba(36,28,54,.12);
  --ms-display: 'Lora', Georgia, serif; --ms-body: 'Mulish', system-ui, sans-serif; --ms-script: 'Cormorant', Georgia, serif;
}

/* Old purple announcement bar ("New in …" / "Free Spellcasting Consultations") –
   replaced by the new header; hidden on every page, with its wrapper. */
body.ms-theme #msTopbar,
body.ms-theme .ms-topbar,
body.ms-theme .gb-container:has(> #msTopbar),
body.ms-theme .gb-container:has(> .ms-topbar) { display: none !important; }
