/* Shared Apple-reference button and pricing treatment.
   Component paint and type only: existing dimensions, layout and behavior stay
   in their original stylesheets. The homepage does not load this stylesheet. */
body:not(.home-page) :is(.button, .waves-btn-primary, .waves-btn-secondary, .bundle-card-btn, .take-btn, .privacy-actions button) {
  border-radius: 999px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  text-shadow: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

body:not(.home-page) :is(.button--primary, .button--juma-primary, .waves-btn-primary, .take-btn--accent) {
  background: #384622;
  border-color: #384622;
  color: #fff !important; /* Product CTA base styles also use !important. */
}

body:not(.home-page) :is(.button--primary, .button--juma-primary, .waves-btn-primary, .take-btn--accent):is(:hover, :focus-visible):not(:disabled) {
  background: #273218;
  border-color: #273218;
  color: #fff !important;
}

body:not(.home-page) :is(:where(.button:not(.button--primary, .button--juma-primary)), .waves-btn-secondary, .bundle-card-btn, .take-btn:not(.take-btn--accent), .privacy-actions button) {
  background: #fff;
  border-color: #a7a7ad;
  color: #1d1d1f !important;
}

body:not(.home-page) :is(:where(.button:not(.button--primary, .button--juma-primary)), .waves-btn-secondary, .bundle-card-btn, .take-btn:not(.take-btn--accent), .privacy-actions button):is(:hover, :focus-visible):not(:disabled) {
  background: #eeeef0;
  border-color: #626266;
  color: #1d1d1f !important;
}

body:not(.home-page) :is(.button, .waves-btn-primary, .waves-btn-secondary, .bundle-card-btn, .take-btn):is(:hover, :focus-visible) {
  transform: none;
  box-shadow: none;
  filter: none;
}

body:not(.home-page) :is(.button, .waves-btn-primary, .waves-btn-secondary, .bundle-card-btn, .take-btn, .waves-plan-choice, .privacy-actions button):focus-visible {
  outline: 3px solid #35639b;
  outline-offset: 3px;
}

body:not(.home-page) :is(.button, .waves-btn-primary, .waves-btn-secondary, .bundle-card-btn, .take-btn):disabled {
  background: #e8e8ed;
  border-color: #d2d2d7;
  color: #626266 !important;
  opacity: 1;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* Price selectors keep their current stacking, spacing and radio semantics. */
body:not(.home-page) .waves-pricing-selector {
  background: #f5f5f7;
  border-color: #dedee2;
  box-shadow: none;
}

body:not(.home-page) :is(.waves-plan-choice, .license-option, .cinejoy-bundle-card, .price-pill) {
  background: #fff;
  border-color: #c9c9cf;
  border-radius: 16px;
  color: #1d1d1f;
  box-shadow: none;
}

body:not(.home-page) .price-pill { border-radius: 999px; }

body:not(.home-page) .waves-plan-choice:hover {
  background: #fff;
  border-color: #626266;
  box-shadow: none;
}

body:not(.home-page) .waves-plan-choice.is-selected {
  background: #fff;
  border-color: #384622;
  box-shadow: 0 0 0 1px #384622;
}

body:not(.home-page) .waves-plan-radio { border-color: #77777c; }
body:not(.home-page) .waves-plan-choice.is-selected .waves-plan-radio { border-color: #384622; }
body:not(.home-page) .waves-plan-choice.is-selected .waves-plan-radio::after { background: #384622; }

/* The trial control is inserted into the pricing selector by wm-product.js. */
body:not(.home-page) .trial-activation-widget {
  background: #fff;
  border-color: #c9c9cf;
  box-shadow: none;
}
body:not(.home-page) .trial-activation-widget.is-trial-active { border-color: #384622; }
body:not(.home-page) .trial-activation-widget::after { content: none; }
body:not(.home-page) :is(.trial-num, .trial-badge-copy strong) { color: #1d1d1f; }
body:not(.home-page) .trial-badge-copy span { color: #626266; }
body:not(.home-page) .trial-unit { color: #384622; }
body:not(.home-page) .trial-countdown-svg { filter: none; }
body:not(.home-page) .trial-ring-bg { stroke: #d2d2d7; }
body:not(.home-page) .trial-ring-meter { stroke: #384622; }
body:not(.home-page) .trial-activation-widget .tactile-switch {
  background: #d2d2d7;
  border-color: #77777c;
  box-shadow: none;
}
body:not(.home-page) .trial-activation-widget .tactile-switch.is-checked {
  background: #384622;
  border-color: #384622;
}
body:not(.home-page) .trial-activation-widget .tactile-switch-lever {
  background: #fff;
  box-shadow: inset 0 0 0 1px #77777c;
}
body:not(.home-page) .trial-activation-widget .tactile-switch:focus-visible {
  outline: 3px solid #35639b;
  outline-offset: 3px;
}

body:not(.home-page) :is(.price, .product-price, .license-option-price, .plan-price, .promo-price, .waves-plan-price, .bundle-card-price, .cart-total-row) {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: normal;
}

body:not(.home-page) :is(.price, .product-price, .license-option-price, .plan-price, .promo-price, .waves-plan-price, .bundle-card-price) strong {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: normal;
}

body:not(.home-page) :is(.waves-plan-label > strong, .waves-plan-price, .waves-plan-price strong, .bundle-card-title strong, .bundle-card-price strong, .license-option h3, .license-option-price strong, .price-pill strong) { color: #1d1d1f; }

body:not(.home-page) :is(.waves-plan-label span, .waves-plan-price span, .bundle-card-title span, .bundle-card-price span, .license-option p, .license-option .license-option-label, .license-option .license-option-note, .license-option-price span, .price-pill p, .price-pill-sub) { color: #626266; }

body:not(.home-page) :is(.waves-plan-badge, .bundle-card-tag) {
  background: #f0f2ec;
  border-color: #dedee2;
  color: #384622;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  body:not(.home-page) :is(.button, .waves-btn-primary, .waves-btn-secondary, .bundle-card-btn, .take-btn, .waves-plan-choice, .privacy-actions button) { transition: none; }
}
