/* ==========================================================================
   Campaign Home Page – Shared Styles
   --------------------------------------------------------------------------
   IMPORTANT: design tokens are defined on body.template-page-campaign-home
   and body.cmp-campaign-home,
   NOT on .campaign-home, because Shopify wraps every section in its own
   <div class="shopify-section">. A class on a wrapper inside the first
   section cannot reach the other 8 sibling sections; the body class can.
   --------------------------------------------------------------------------
   Color palette mirrors the React reference (light theme, neutral stone
   surfaces, dark foreground, blue/emerald accents).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens – scoped to the campaign template or reusable campaign sections
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) {
  /* Base palette (light theme – maps 1:1 to React tokens) */
  --cmp-color-bg: #ffffff;
  --cmp-color-bg-alt: #fafafa;
  --cmp-color-surface: #ffffff;
  --cmp-color-surface-elevated: #ffffff;
  --cmp-color-muted: #f4f4f5;            /* hsl(240 5% 96%) – tab pill bg */
  --cmp-color-muted-30: #f7f7f8;
  --cmp-color-stone: #f5f5f4;            /* image card backdrop */
  --cmp-color-text-primary: #18181b;     /* foreground */
  --cmp-color-text-secondary: #52525b;   /* muted-foreground */
  --cmp-color-text-muted: #71717a;
  --cmp-color-accent: #2563eb;           /* primary (blue-600) */
  --cmp-color-accent-hover: #1d4ed8;
  --cmp-color-accent-soft: rgba(37, 99, 235, 0.12);
  --cmp-color-error: #ef4444;
  --cmp-color-success: #16a34a;
  --cmp-color-warning: #f59e0b;
  --cmp-color-border: #e4e4e7;
  --cmp-color-border-soft: #ececef;
  --cmp-color-focus-ring: #2563eb;

  /* Section gradients (mirroring the React per-section tints) */
  --cmp-grad-wishlist: linear-gradient(180deg, hsl(210 50% 97%) 0%, hsl(210 30% 99%) 60%, #ffffff 100%);
  --cmp-grad-mystery: linear-gradient(180deg, hsl(35 40% 97%) 0%, hsl(35 20% 99%) 60%, #ffffff 100%);
  --cmp-grad-accessory: linear-gradient(180deg, hsl(160 40% 97%) 0%, hsl(160 20% 99%) 60%, #ffffff 100%);
  --cmp-grad-others: linear-gradient(180deg, hsl(250 30% 98%) 0%, hsl(250 15% 99%) 60%, #ffffff 100%);
  --cmp-grad-guarantee: #f7f7f8;
  --cmp-grad-emailcapture: #f7f7f8;

  /* Spacing */
  --cmp-space-xs: 4px;
  --cmp-space-sm: 8px;
  --cmp-space-md: 16px;
  --cmp-space-lg: 24px;
  --cmp-space-xl: 32px;
  --cmp-space-2xl: 48px;
  --cmp-space-3xl: 64px;
  --cmp-space-4xl: 96px;

  /* Typography */
  --cmp-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  --cmp-font-serif: Georgia, 'Times New Roman', serif;
  --cmp-font-size-xs: 0.75rem;
  --cmp-font-size-sm: 0.875rem;
  --cmp-font-size-base: 1rem;
  --cmp-font-size-lg: 1.125rem;
  --cmp-font-size-xl: 1.25rem;
  --cmp-font-size-2xl: 1.5rem;
  --cmp-font-size-3xl: 1.875rem;
  --cmp-font-size-4xl: 2.25rem;
  --cmp-font-size-5xl: 3rem;

  /* Line heights */
  --cmp-leading-tight: 1.2;
  --cmp-leading-snug: 1.35;
  --cmp-leading-normal: 1.5;
  --cmp-leading-relaxed: 1.65;

  /* Border radius */
  --cmp-radius-sm: 4px;
  --cmp-radius-md: 8px;
  --cmp-radius-lg: 12px;
  --cmp-radius-xl: 16px;
  --cmp-radius-2xl: 24px;
  --cmp-radius-full: 9999px;

  /* Transitions */
  --cmp-transition-fast: 150ms ease;
  --cmp-transition-base: 300ms ease;
  --cmp-transition-slow: 600ms ease;

  /* Shadows (light theme) */
  --cmp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --cmp-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --cmp-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);

  /* Layout */
  --cmp-max-width: 1440px;
  --cmp-content-width: 1024px; /* React uses max-w-5xl ≈ 64rem */

}

body.template-page-campaign-home {
  /* Apply baseline typography to the full campaign landing template */
  font-family: var(--cmp-font-family);
  font-size: var(--cmp-font-size-base);
  line-height: var(--cmp-leading-normal);
  color: var(--cmp-color-text-primary);
  background-color: var(--cmp-color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.cmp-campaign-home :where([class^="cmp-"], [class*=" cmp-"]) {
  font-family: var(--cmp-font-family);
}

body.template-page-campaign-home blockquote:before {
  content: none;
}
/* --------------------------------------------------------------------------
   2. Header/Footer suppression – only for the campaign template
   --------------------------------------------------------------------------
   The theme markup uses Shopify section groups; both the wrapper class
   (`.header-group` / `.footer-group`) and the actual rendered ids
   (`#shopify-section-header-group`) are targeted to be safe.
   -------------------------------------------------------------------------- */

body.template-page-campaign-home .header-group,
body.template-page-campaign-home .footer-group,
body.template-page-campaign-home #shopify-section-header-group,
body.template-page-campaign-home #shopify-section-footer-group,
body.template-page-campaign-home .click-capture {
  display: none !important;
}

body.template-page-campaign-home #main-content {
  background-color: var(--cmp-color-bg);
}

/* Reset some legacy theme rules that might leak in */
body.template-page-campaign-home #main-content > .shopify-section {
  display: block;
}

body.template-page-campaign-home #main-content h1,
body.template-page-campaign-home #main-content h2,
body.template-page-campaign-home #main-content h3,
body.template-page-campaign-home #main-content h4 {
  font-family: var(--cmp-font-family);
  text-transform: none;
  letter-spacing: normal;
}

body.template-page-campaign-home #main-content p,
body.template-page-campaign-home #main-content span,
body.template-page-campaign-home #main-content li {
  font-family: var(--cmp-font-family);
}

/* --------------------------------------------------------------------------
   3. Entrance animations – .cmp-entrance / .is-visible
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-entrance {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-entrance.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Reduced motion overrides
   -------------------------------------------------------------------------- */

body.template-page-campaign-home.cmp-reduce-motion *,
body.template-page-campaign-home.cmp-reduce-motion *::before,
body.template-page-campaign-home.cmp-reduce-motion *::after,
body.cmp-campaign-home.cmp-reduce-motion :is([class^="cmp-"], [class*=" cmp-"], [class^="cmp-"] *, [class*=" cmp-"] *),
body.cmp-campaign-home.cmp-reduce-motion :is([class^="cmp-"], [class*=" cmp-"], [class^="cmp-"] *, [class*=" cmp-"] *)::before,
body.cmp-campaign-home.cmp-reduce-motion :is([class^="cmp-"], [class*=" cmp-"], [class^="cmp-"] *, [class*=" cmp-"] *)::after {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* --------------------------------------------------------------------------
   5. Visually hidden – screen-reader-only utility
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   6. Focus-ring helpers – ≥2px outline, 3:1 contrast ratio
   -------------------------------------------------------------------------- */

body.template-page-campaign-home *:focus-visible,
body.cmp-campaign-home :is([class^="cmp-"], [class*=" cmp-"], [class^="cmp-"] *, [class*=" cmp-"] *):focus-visible {
  outline: 2px solid var(--cmp-color-focus-ring);
  outline-offset: 2px;
}

body.template-page-campaign-home *:focus:not(:focus-visible),
body.cmp-campaign-home :is([class^="cmp-"], [class*=" cmp-"], [class^="cmp-"] *, [class*=" cmp-"] *):focus:not(:focus-visible) {
  outline: none;
}

/* --------------------------------------------------------------------------
   7. Shared button spinner – CSS-only loading animation
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: cmp-spin 0.6s linear infinite;
  vertical-align: middle;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-spinner[hidden] {
  display: none;
}

@keyframes cmp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   8. Activity Modal – overlay + content transitions (250 ms)
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity 250ms ease;
  padding: var(--cmp-space-md);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal[hidden] {
  display: none;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal.is-open {
  opacity: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__content {
  position: relative;
  background-color: var(--cmp-color-surface);
  border-radius: var(--cmp-radius-lg);
  padding: var(--cmp-space-xl);
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--cmp-shadow-lg);
  transform: translateY(16px) scale(0.96);
  transition: transform 250ms ease, opacity 250ms ease;
  opacity: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal.is-open .cmp-modal__content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__close {
  position: absolute;
  top: var(--cmp-space-md);
  right: var(--cmp-space-md);
  background: none;
  border: none;
  color: var(--cmp-color-text-secondary);
  cursor: pointer;
  padding: var(--cmp-space-sm);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--cmp-radius-sm);
  transition: color var(--cmp-transition-fast);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__close:hover {
  color: var(--cmp-color-text-primary);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__title {
  font-size: var(--cmp-font-size-2xl);
  font-weight: 700;
  margin: 0 0 var(--cmp-space-sm) 0;
  line-height: var(--cmp-leading-tight);
  padding-right: var(--cmp-space-xl);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__timeline {
  font-size: var(--cmp-font-size-sm);
  color: var(--cmp-color-text-secondary);
  margin: 0 0 var(--cmp-space-md) 0;
  display: inline-flex;
  align-items: center;
  gap: var(--cmp-space-xs);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__description {
  font-size: var(--cmp-font-size-sm);
  color: var(--cmp-color-text-secondary);
  margin: 0 0 var(--cmp-space-lg) 0;
  line-height: var(--cmp-leading-relaxed);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--cmp-space-xl) 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__points li {
  position: relative;
  padding-left: var(--cmp-space-2xl);
  margin-bottom: var(--cmp-space-md);
  font-size: var(--cmp-font-size-sm);
  color: var(--cmp-color-text-primary);
  line-height: var(--cmp-leading-normal);
  counter-increment: cmp-modal-point;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__points {
  counter-reset: cmp-modal-point;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__points li::before {
  content: counter(cmp-modal-point);
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--cmp-color-accent-soft);
  color: var(--cmp-color-accent);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cmp-space-xs);
  width: 100%;
  padding: var(--cmp-space-md) var(--cmp-space-xl);
  background-color: var(--cmp-color-accent);
  color: #ffffff;
  border: none;
  border-radius: var(--cmp-radius-md);
  font-size: var(--cmp-font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--cmp-transition-fast);
  min-height: 44px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-modal__action:hover {
  background-color: var(--cmp-color-accent-hover);
}

/* --------------------------------------------------------------------------
   9. Shared View More toggle (mobile expansion in tab panels)
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__hidden {
  display: none !important;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-view-more-toggle {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: var(--cmp-space-xs);
  padding: var(--cmp-space-sm) var(--cmp-space-lg);
  margin: var(--cmp-space-lg) auto 0;
  background: none;
  border: none;
  color: var(--cmp-color-text-secondary);
  font-size: var(--cmp-font-size-sm);
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  border-radius: var(--cmp-radius-md);
  transition: color var(--cmp-transition-fast), background-color var(--cmp-transition-fast);
  min-height: 36px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-view-more-toggle:hover {
  color: var(--cmp-color-text-primary);
  background-color: var(--cmp-color-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-view-more-toggle[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   10. Carousel – Creator Carousel (mobile) with 300ms transition
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel] {
  position: relative;
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-track] {
  display: flex;
  transition: transform 300ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-track] > * {
  flex: 0 0 100%;
  min-width: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-prev],
body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-next] {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--cmp-color-border);
  border-radius: 50%;
  color: var(--cmp-color-text-primary);
  cursor: pointer;
  box-shadow: var(--cmp-shadow-sm);
  transition: background-color var(--cmp-transition-fast), transform var(--cmp-transition-fast);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-prev] {
  left: var(--cmp-space-sm);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-next] {
  right: var(--cmp-space-sm);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-prev]:active,
body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-next]:active {
  transform: translateY(-50%) scale(0.95);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--cmp-space-md);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-dot] {
  width: 4px;
  height: 4px;
  border-radius: var(--cmp-radius-full);
  border: none;
  background-color: var(--cmp-color-border);
  cursor: pointer;
  padding: 0;
  transition: background-color var(--cmp-transition-fast), width var(--cmp-transition-fast);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-carousel-dot].is-active {
  background-color: var(--cmp-color-accent);
  width: 16px;
}

/* --------------------------------------------------------------------------
   11. Heart toggle – Transient indicator
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-heart-indicator] {
  position: absolute;
  top: var(--cmp-space-sm);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cmp-color-success);
  color: #fff;
  padding: var(--cmp-space-xs) var(--cmp-space-sm);
  border-radius: var(--cmp-radius-sm);
  font-size: var(--cmp-font-size-xs);
  opacity: 0;
  transition: opacity var(--cmp-transition-fast);
  pointer-events: none;
  z-index: 3;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-heart-indicator].is-active {
  opacity: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-heart-indicator][hidden] {
  display: none;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-heart].is-filled {
  color: #ef4444;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) [data-cmp-heart].is-filled svg {
  fill: #ef4444;
  stroke: #ef4444;
}

/* --------------------------------------------------------------------------
   12. Shared section building blocks (badges, dividers, buttons, cards)
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section {
  padding: var(--cmp-space-4xl) var(--cmp-space-md);
}

@media (max-width: 767px) {
  body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section {
    padding: 64px var(--cmp-space-md);
  }
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__inner {
  max-width: var(--cmp-content-width);
  margin: 0 auto;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__inner--narrow {
  max-width: 768px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__head {
  text-align: center;
  margin-bottom: var(--cmp-space-2xl);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__title-row {
  display: inline-flex;
  align-items: center;
  gap: var(--cmp-space-sm);
  margin-bottom: var(--cmp-space-sm);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__title-row svg {
  color: var(--cmp-color-accent);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__title {
  font-size: var(--cmp-font-size-3xl);
  font-weight: 700;
  margin: 0;
  color: var(--cmp-color-text-primary);
  line-height: var(--cmp-leading-tight);
}

@media (max-width: 767px) {
  body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__title {
    font-size: var(--cmp-font-size-2xl);
  }
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__badges {
  display: flex;
  justify-content: center;
  gap: var(--cmp-space-sm);
  margin-bottom: var(--cmp-space-sm);
  flex-wrap: wrap;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-section__desc {
  color: var(--cmp-color-text-secondary);
  max-width: 36rem;
  margin: 0 auto;
  font-size: var(--cmp-font-size-base);
  line-height: var(--cmp-leading-relaxed);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--cmp-space-sm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--cmp-radius-md);
  border: 1px solid transparent;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-badge--emerald {
  background: #d1fae5;
  color: #065f46;
  border-color: #a7f3d0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-badge--amber {
  background: #fef3c7;
  color: #92400e;
  border-color: #fde68a;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-badge--indigo {
  background: #e0e7ff;
  color: #3730a3;
  border-color: #c7d2fe;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-badge--outline {
  background: transparent;
  color: var(--cmp-color-text-secondary);
  border-color: var(--cmp-color-border);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--cmp-space-xs);
  padding: var(--cmp-space-sm) var(--cmp-space-lg);
  font-size: var(--cmp-font-size-sm);
  font-weight: 500;
  border-radius: var(--cmp-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--cmp-transition-fast), color var(--cmp-transition-fast);
  text-decoration: none;
  min-height: 36px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--primary {
  background: var(--cmp-color-text-primary);
  color: #ffffff;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--primary:hover {
  background: #27272a;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--accent {
  background: var(--cmp-color-accent);
  color: #ffffff;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--accent:hover {
  background: var(--cmp-color-accent-hover);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--outline {
  background: transparent;
  color: var(--cmp-color-text-primary);
  border-color: var(--cmp-color-border);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--outline:hover {
  background: var(--cmp-color-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--ghost {
  background: transparent;
  color: var(--cmp-color-text-primary);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--ghost:hover {
  background: var(--cmp-color-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn--lg {
  min-height: 44px;
  padding: var(--cmp-space-sm) var(--cmp-space-xl);
  font-size: var(--cmp-font-size-base);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-card {
  background-color: var(--cmp-color-surface);
  border: 1px solid var(--cmp-color-border);
  border-radius: var(--cmp-radius-lg);
  box-shadow: var(--cmp-shadow-sm);
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   13. Empty state
   -------------------------------------------------------------------------- */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-empty {
  text-align: center;
  color: var(--cmp-color-text-secondary);
  padding: var(--cmp-space-2xl) 0;
  font-size: var(--cmp-font-size-sm);
}


/* ==========================================================================
   14. Product Card (Wishlist)
   ========================================================================== */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--cmp-color-surface);
  border: 1px solid var(--cmp-color-border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--cmp-shadow-sm);
  transition: box-shadow 200ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card:hover {
  box-shadow: var(--cmp-shadow-md);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cmp-color-stone);
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__image-wrapper img,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card:hover .cmp-product-card__image {
  transform: scale(1.05);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__heart {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  z-index: 2;
  box-shadow: var(--cmp-shadow-sm);
  transition: background-color 150ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__heart:hover {
  background: #ffffff;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__heart.is-filled svg {
  fill: #ef4444;
  stroke: #ef4444;
  color: #ef4444;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  margin-bottom: 4px;
  background: #d1fae5;
  color: #065f46;
  font-size: 10px;
  font-weight: 600;
  border-radius: 6px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cmp-color-text-primary);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--cmp-color-text-secondary);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__rating .cmp-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__rating .cmp-stars svg {
  width: 12px;
  height: 12px;
  color: #fbbf24;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__rating .cmp-stars svg[data-empty="true"] {
  color: #d4d4d8;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__review-count {
  color: var(--cmp-color-text-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__features {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 11px;
  color: var(--cmp-color-text-secondary);
  line-height: 1.4;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__feature svg {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  color: var(--cmp-color-accent);
  margin-top: 2px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-bullet {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  color: var(--cmp-color-text-secondary);
  margin-top: -2px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__feature span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--cmp-color-text-primary);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__original-price {
  font-size: 12px;
  color: var(--cmp-color-text-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  margin-top: 8px;
  padding: 0 12px;
  background: #000000;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__button:hover {
  background-color: #27272a;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__toast {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--cmp-color-success);
  color: #ffffff;
  font-size: 11px;
  border-radius: 6px;
  z-index: 3;
  pointer-events: none;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-product-card__toast[hidden] { display: none; }

/* ==========================================================================
   15. Accessory Card (Accessory section + Wishlist accessories)
   ========================================================================== */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--cmp-color-surface);
  border: 1px solid var(--cmp-color-border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--cmp-shadow-sm);
  transition: box-shadow 200ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card:hover {
  box-shadow: var(--cmp-shadow-md);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__image-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cmp-color-stone);
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__image-wrapper img,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 8px;
  margin-bottom: 4px;
  background: #d1fae5;
  color: #065f46;
  font-size: 10px;
  font-weight: 600;
  border-radius: 6px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--cmp-color-text-primary);
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--cmp-color-text-secondary);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__rating svg {
  width: 12px;
  height: 12px;
  color: #fbbf24;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__review-count {
  color: var(--cmp-color-text-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__features {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  font-size: 11px;
  color: var(--cmp-color-text-secondary);
  line-height: 1.4;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__feature svg {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  color: var(--cmp-color-accent);
  margin-top: 2px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__feature span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__price {
  font-size: 14px;
  font-weight: 700;
  color: var(--cmp-color-text-primary);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__original-price {
  font-size: 13px;
  color: var(--cmp-color-text-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  margin-top: 10px;
  padding: 0 12px;
  background: var(--cmp-color-text-primary);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-accessory-card__button:hover {
  background-color: #27272a;
}

/* ==========================================================================
   16. Creator Card (Wishlist · Picked by Top Creators)
   ========================================================================== */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: var(--cmp-color-surface);
  border: 1px solid var(--cmp-color-border-soft);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--cmp-shadow-sm);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__video {
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  margin: 16px 16px 0;
  border-radius: 8px;
  position: relative;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.5);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__placeholder-icon {
  font-size: 32px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--cmp-color-text-primary);
  margin: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 6px;
  color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__quote-icon {
  margin-top: 12px;
  color: var(--cmp-color-text-secondary);
  opacity: 0.5;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__quote {
  margin: 8px 0 0;
  padding: 0 0 0 12px;
  border-left: 2px solid var(--cmp-color-border);
  font-size: 12px;
  font-style: italic;
  color: var(--cmp-color-text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__add-all {
  margin-top: 12px;
  height: 32px;
  background: #000000;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background-color 150ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__add-all::before {
  content: '♡';
  font-size: 14px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__add-all:hover {
  background-color: #27272a;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__picks {
  list-style: none;
  padding: 12px;
  margin: 12px 0 0;
  background: var(--cmp-color-muted);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--cmp-color-surface);
  border-radius: 8px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-image {
  display: none;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-details {
  flex: 1;
  min-width: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-name {
  display: block;
  font-size: 13px;
  color: var(--cmp-color-text-primary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-tag,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-price {
  display: none;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-heart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid var(--cmp-color-border);
  border-radius: 6px;
  color: var(--cmp-color-text-primary);
  font-size: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 150ms ease;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-heart:hover {
  background: var(--cmp-color-muted);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-heart.is-filled {
  background: var(--cmp-color-text-primary);
  color: #ffffff;
  border-color: var(--cmp-color-text-primary);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-heart.is-filled svg {
  fill: #ffffff;
  stroke: #ffffff;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-creator-card__pick-indicator {
  display: none;
}

/* ==========================================================================
   17. Rating stars helper
   ========================================================================== */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-stars svg {
  width: 12px;
  height: 12px;
  color: #fbbf24;
  flex-shrink: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-stars svg[data-empty="true"] {
  color: #d4d4d8;
}

/* ==========================================================================
   18. Form input overrides – defeat global theme input[type="email"] styles
   --------------------------------------------------------------------------
   The base theme (assets/app.css) applies aggressive defaults to every
   input[type="email"], including border-radius:0, transparent background,
   margin-bottom:10px, fixed 48px height and 12px/17px padding. Those rules
   beat the section-level .cmp-*__input classes on specificity (type+attr
   selector vs single class), which causes the visible breakage on the
   campaign page (collapsed Email Capture input, square Wishlist/Accessory
   inputs, icon hidden behind padding). These overrides re-assert the
   campaign design tokens with body-scoped specificity.
   ========================================================================== */

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__input,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__input,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__input,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__input {
  width: 100%;
  margin: 0;
  color: var(--cmp-color-text-primary);
  font-family: var(--cmp-font-family);
  font-weight: 400;
  line-height: 1;
  text-align: left;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

/* Hero + Email Capture (pill, 48px, icon at 44px left padding) */
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__input,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__input {
  height: 48px;
  padding: 0 18px 0 44px;
  font-size: 14px;
  border-radius: 9999px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__input {
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__input {
  background-color: #ffffff;
  border: 1px solid var(--cmp-color-border);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__input:focus,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__input:focus {
  outline: none;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__input:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__input:focus {
  border-color: var(--cmp-color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__input::placeholder,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__input::placeholder {
  color: var(--cmp-color-text-muted);
  opacity: 1;
}

/* Wishlist + Accessory (rounded rectangle, 44px, icon at 36px left padding) */
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__input,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__input {
  height: 44px;
  padding: 0 14px 0 36px;
  font-size: 14px;
  background-color: #ffffff;
  border: 1px solid var(--cmp-color-border);
  border-radius: 8px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__input:focus,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__input:focus {
  border-color: var(--cmp-color-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__input::placeholder,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__input::placeholder {
  color: var(--cmp-color-text-muted);
  opacity: 1;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__field,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__field,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__field,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__field {
  min-width: 0;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__field,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__field,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__field,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__field {
  flex: 1 1 0%;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__field-icon,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__field-icon,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__field-icon,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__field-icon {
  z-index: 1;
  color: var(--cmp-color-text-muted);
}

/* Submit buttons – the theme also applies button[type="submit"] resets that
   can leak into these forms; reassert layout/visual tokens with body scope. */
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__submit,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__submit,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__submit,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__submit {
  margin: 0;
  font-family: var(--cmp-font-family);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__submit,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-ec__submit {
  height: 48px;
  border-radius: 9999px;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-hero__submit {
  flex: 0 0 auto;
}

body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-wl__submit,
body:is(.template-page-campaign-home, .cmp-campaign-home) .cmp-acc__submit {
  height: 44px;
  border-radius: 8px;
}
