/* Shared CTA palette, sampled from the homepage story invitation.
   A named important layer keeps legacy page overrides from changing this palette. */
:root {
  --wl-surface-sheen: linear-gradient(176deg, #ffffffa6 0%, #ffffff38 12%, #ffffff00 39%, #8e3a7614 62%, #ffffff42 100%);
  --wl-surface-grain: repeating-linear-gradient(106deg, #ffffff05 0 1px, #ffffff00 1px 4px);
  --wl-cta-background: var(--wl-surface-sheen), var(--wl-surface-grain), radial-gradient(ellipse at 15% 0%, #fff7ec 0%, #fff7ec00 60%), linear-gradient(110deg, #ffe1cb, #f7d2e2 58%, #e5d8f3);
  --wl-cta-shadow: inset 0 1px 0 #ffffffed, inset 0 -1px 3px #80416416, inset 1px 0 0 #ffffff9c, 0 2px 3px #6c3e550c, 0 7px 18px #75435f14;
  --wl-cta-ink: #442631;
  --wl-cta-border: #dfbdcf;
}

@layer wedlist-cta {
  body:not(.a11y-contrast) :is(
    .wl-cta,
    [data-compare],
    .account-supplier-cta,
    #account-toggle,
    .menu-login,
    .google-button,
    .woody-finder-submit,
    .woody-menu-launch,
    button[type="submit"]:not(.danger):not(.secondary),
    .demo-contact,
    .big-button,
    .peach-button,
    .profile-primary,
    .profile-call-button,
    .contact-site-button,
    .contact-whatsapp-button,
    .business-verification-button,
    .story-teaser-button,
    .story-card-button,
    .stories-browse-button,
    .stories-write-button,
    .instant-cta,
    .five-button,
    .ref-cta,
    .offer-cta,
    .engagement-primary,
    .woody-button:not(.secondary),
    .tier-select,
    .button:not(.secondary):not(.danger),
    .small-button,
    .ct-retry,
    .checkout-error button,
    .claim-banner button,
    .woody-contact a,
    .woody-contact-list a,
    #inquiry-whatsapp-fallback,
    #browse-view .category-glass-button,
    .supplier-workspace .system-nav button[aria-current="page"],
    .supplier-workspace .system-editor-nav button[aria-current="page"],
    .supplier-workspace .builder-edit,
    .supplier-workspace .builder-savebar button:not(.text-link),
    #home-categories-toggle
  ) {
    background: var(--wl-cta-background) !important;
    color: var(--wl-cta-ink) !important;
    border-color: var(--wl-cta-border) !important;
    box-shadow: var(--wl-cta-shadow) !important;
    filter: none !important;
  }

  body:not(.a11y-contrast) [data-compare][aria-pressed="true"] {
    border-color: #aa6c93 !important;
  }

  body:not(.a11y-contrast) .supplier-workspace .system-nav button[aria-current="page"] {
    border-radius: 12px !important;
  }

  /* Retain a distinct disabled state without introducing a different hue. */
  body :is(.big-button, .peach-button, .tier-select, .instant-cta, .engagement-primary, .wl-cta):is(:disabled, [aria-disabled="true"]) {
    opacity: .55;
    box-shadow: none !important;
  }
}
