/* ============================================================
   Old content kept below a new Magickal hero (mixed pages).
   Same rules as legacy.css: one calm background, new fonts,
   new buttons; original sizes and layout are kept.
   ============================================================ */
.ms-legacy-zone { background: var(--ms-legacy-bg, #F4F1EE); padding: clamp(40px, 5vw, 72px) 0; font-family: 'Mulish', 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; color: #2B2438; }
.ms-legacy-zone-in { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.ms-legacy-zone .gb-container, .ms-legacy-zone .gb-inside-container { background-color: transparent; }

/* New fonts (sizes untouched) */
.ms-legacy-zone :is(p, li, dd, dt, td, th, label, figcaption, blockquote, cite, a, strong, em, b, small, span,
  .gb-container, .gb-text, .gb-headline:not(h1, h2, h3, h4, h5, h6), .gb-button, .wp-block-button__link,
  .ultp-block-meta, .ultp-block-meta *, .ultp-block-excerpt, .ultp-block-excerpt *, input, select, textarea, button) {
  font-family: 'Mulish', 'Segoe UI', sans-serif !important;
}
.ms-legacy-zone :is(h1, h2, h3, h4, h5, h6, .gb-headline:is(h1, h2, h3, h4, h5, h6), .ultp-heading-inner, .ultp-block-title),
.ms-legacy-zone :is(h1, h2, h3, h4, h5, h6, .ultp-heading-inner, .ultp-block-title) :is(a, span, strong, em) {
  font-family: 'Lora', Georgia, serif !important;
  letter-spacing: -.005em;
}
.ms-legacy-zone :is(h1, h2, h3, h4, h5, h6) a, .ms-legacy-zone .ultp-block-title a { color: #241C36 !important; }
.ms-legacy-zone .ultp-heading-inner, .ms-legacy-zone .ultp-heading-inner span { color: #241C36 !important; }
.ms-legacy-zone .ultp-block-meta, .ms-legacy-zone .ultp-block-meta a, .ms-legacy-zone .ultp-block-meta span { color: #736A85 !important; }
.ms-legacy-zone .ultp-heading-wrap .ultp-heading-inner::before, .ms-legacy-zone .ultp-heading-wrap::before { background-color: #C79A44 !important; border-color: #C79A44 !important; }
.ms-legacy-zone a:not([class*="button"]):not(.gb-button):not(.ultp-btn):not(.ultp-block-image a):hover { color: #6B4E9E; }

/* New buttons */
.ms-legacy-zone :is(
  .gb-button-wrapper a.gb-button:not(.ms-keep-btn):not(:has(.gb-icon):not(:has(.gb-button-text))):not([href*="facebook.com"]):not([href*="instagram.com"]):not([href*="pinterest."]):not([href*="twitter.com"]):not([href*="x.com/"]):not([href*="tiktok.com"]):not([href*="youtube.com"]),
  a.wp-block-button__link, .wp-element-button, a.button, button.button, input[type="submit"], button[type="submit"],
  a.kb-button, a.kt-button, .ultp-loadmore-action, .ultp-pagination li a, .ultp-btn, a.ultp-block-readmore-btn
) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px !important; border-radius: 999px !important; border: 1px solid transparent !important;
  background: linear-gradient(135deg, #B9A2E8 0%, #6B4E9E 45%, #3D2A5C 100%) !important;
  color: #FDFCF8 !important; font-family: 'Mulish', 'Segoe UI', sans-serif !important;
  font-weight: 700; font-size: 14.5px; line-height: 1.2; letter-spacing: .02em; text-decoration: none !important; text-transform: none;
  box-shadow: 0 0 22px rgba(185,162,232,.4), 0 6px 18px rgba(61,42,92,.22) !important;
  transition: background .2s ease, box-shadow .3s ease, transform .2s ease; cursor: pointer;
}
.ms-legacy-zone :is(
  .gb-button-wrapper a.gb-button:not(.ms-keep-btn):not(:has(.gb-icon):not(:has(.gb-button-text))):not([href*="facebook.com"]):not([href*="instagram.com"]):not([href*="pinterest."]):not([href*="twitter.com"]):not([href*="x.com/"]):not([href*="tiktok.com"]):not([href*="youtube.com"]),
  a.wp-block-button__link, .wp-element-button, a.button, button.button, input[type="submit"], button[type="submit"],
  a.kb-button, a.kt-button, .ultp-loadmore-action, .ultp-pagination li a, .ultp-btn, a.ultp-block-readmore-btn
):hover {
  background: linear-gradient(135deg, #C9B5F2 0%, #7A5CB0 45%, #4A3570 100%) !important;
  color: #FDFCF8 !important; box-shadow: 0 0 34px rgba(185,162,232,.6), 0 8px 24px rgba(61,42,92,.3) !important; transform: translateY(-1px);
}
.ms-legacy-zone .ultp-pagination li.pagination-active a, .ms-legacy-zone .ultp-pagination li a:is(.active, [aria-current]) { background: linear-gradient(135deg, #E9C27A 0%, #CF9A3F 45%, #A9701F 100%) !important; }
.ms-legacy-zone .ultp-pagination li a { padding: 9px 16px !important; min-width: 42px; }
.ms-legacy-zone .is-style-outline .wp-block-button__link { background: transparent !important; color: #3D2A5C !important; border: 1px solid rgba(61,42,92,.45) !important; box-shadow: none !important; }
.ms-legacy-zone .ultp-block-image img { border-radius: 14px; }
.ms-legacy-zone :is(p, li) a:not([class*="button"]):not(.gb-button) { color: #6B4E9E; text-decoration-color: rgba(169,129,47,.6); }

/* Product cards: the calm gold "Select options →" link instead of a purple pill */
.ms-legacy-zone :is(li.product, .wc-block-grid__product, .wc-block-product, .wp-block-post.product, .ultp-block-item, .product) :is(a.button, .wp-block-button__link, .wp-element-button, a.add_to_cart_button, a.product_type_variable, a.product_type_simple, .added_to_cart, .wc-block-components-product-button__button):not(#ms-calm) {
  display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; min-height: 0 !important;
  margin: auto 0 0 !important; padding: 12px 18px 20px !important; align-self: flex-start;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  font-family: 'Mulish', 'Segoe UI', sans-serif !important; font-weight: 600 !important; font-size: 12.5px !important; line-height: 1.2 !important;
  letter-spacing: .08em !important; text-transform: uppercase !important; color: #A9812F !important; text-shadow: none !important; text-decoration: none !important; transform: none !important;
}
.ms-legacy-zone :is(li.product, .wc-block-grid__product, .wc-block-product, .wp-block-post.product, .ultp-block-item, .product) :is(a.button, .wp-block-button__link, .wp-element-button, a.add_to_cart_button, .wc-block-components-product-button__button):not(#ms-calm):hover {
  background: none !important; box-shadow: none !important; color: #7E5F1F !important; transform: none !important;
}
.ms-legacy-zone :is(li.product, .wc-block-grid__product, .wc-block-product, .wp-block-post.product) :is(a.button, .wp-block-button__link, .wc-block-components-product-button__button)::after { content: none !important; }
