/* FORM+ solid action buttons, 0.1.87. Only authorized beta pages receive this sheet.
 * Important declarations in this named layer override legacy Elementor/WooCommerce
 * unlayered !important paint rules, without changing control layout or handlers.
 * Dots, variation cards, accordion rows, backdrop hit areas and navigation results
 * retain their specialized geometry. The project grip remains deliberately subtle.
 */
body.fpb-shell-active {
  --fpb-button-neutral-rgb: 255 255 255;
  --fpb-button-surface-rgb: 46 48 45;
  --fpb-button-hover-surface-rgb: 61 64 59;
  --fpb-button-green-rgb: 50 107 80;
  --fpb-button-red-rgb: 167 63 59;
  --fpb-button-orange-rgb: 255 92 0;
  --fpb-button-amber-rgb: 233 188 84;
  --fpb-button-fill: 1;
  --fpb-button-hover-fill: 1;
  --fpb-button-border: .50;
  --fpb-button-colour-fill: 1;
  --fpb-button-colour-hover-fill: 1;
  --fpb-button-colour-border: 1;
  --fpb-button-selected-fill: 1;
  --fpb-button-selected-rgb: 75 79 70;
  --fpb-button-selected-border: .80;
  --fpb-button-selected-hover-fill: 1;
  --fpb-button-highlight: transparent;
  --fpb-button-blur: 0px;
  --fpb-button-duration: 160ms;
  --fpb-button-ink: var(--fpb-ink);
}
:root[data-fpb-theme="light"] body.fpb-shell-active {
  --fpb-button-neutral-rgb: 36 37 35;
  --fpb-button-surface-rgb: 233 231 227;
  --fpb-button-hover-surface-rgb: 218 216 211;
  --fpb-button-border: .65;
  --fpb-button-selected-rgb: 191 193 188;
}
/* Secondary actions over photography use a solid dark surface in either theme. */
body.fpb-shell-active :is(.fpb-hero-message, .fpb-category-panel, .fpb-company-step-actions, .fpb-company-form-content, .fpb-contact-form-panel) {
  --fpb-button-ink: #fff;
  --fpb-button-neutral-rgb: 255 255 255;
  --fpb-button-surface-rgb: 46 48 45;
  --fpb-button-hover-surface-rgb: 61 64 59;
  --fpb-button-border: .50;
}
body.fpb-shell-active .fpb-product-technical-panel {
  --fpb-button-ink: #fff;
  --fpb-button-neutral-rgb: 255 255 255;
  --fpb-button-surface-rgb: 46 48 45;
  --fpb-button-hover-surface-rgb: 61 64 59;
}

@layer fpb-glass-buttons {
/* YITH's text multiplication sign inherits font metrics that offset it inside
 * its 18px circle. Keep the original link and draw two centred strokes instead. */
body.fpb-shell-active .yith-wcwl-form .product-remove a.remove_from_wishlist {
  position: relative !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  font-size: 0 !important;
  line-height: 1 !important;
}
body.fpb-shell-active .yith-wcwl-form .product-remove a.remove_from_wishlist::before,
body.fpb-shell-active .yith-wcwl-form .product-remove a.remove_from_wishlist::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  box-sizing: border-box !important;
  width: 10px !important;
  height: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 2px solid currentColor !important;
  transform: translate(-50%, -50%) rotate(45deg) !important;
  pointer-events: none;
}
body.fpb-shell-active .yith-wcwl-form .product-remove a.remove_from_wishlist::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}
body.fpb-shell-active :is(
  button, .button, .elementor-button, .wp-element-button, .wp-block-button__link,
  .wc-block-components-button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
  .fpb-product-action, .fpb-project-dock-action, .fpb-project-open,
  .wishlist-submit, .delete_item, .remove_from_wishlist, .woocommerce a.remove,
  .wishlist-page-links a, .yith_wcwl_wishlist_footer a, .woocommerce-pagination .page-numbers,
  .fpb-hero-message a, .fpb-category-panel a, .fpb-company-step-actions a,
  .fpb-account-nav li.is-active a
):not(:where(
  #wpadminbar *, .fpb-consent *, .fpb-policy-notice *, .fpb-privacy-settings, .fpb-embed-notice *, .fpb-drawer-backdrop, .fpb-project-handle, .fpb-project-toggle, .fpb-project-page-toggle,
  [data-fpb-catalog-category], [data-fpb-catalog-type], [data-fpb-catalog-clear],
  [data-fpb-catalog-sort-option][aria-pressed="false"],
  .yith-wcwl-add-to-wishlist-modal__type_option:not(.yith-wcwl-add-to-wishlist-modal__type_option--selected),
  [data-fpb-theme-choice], .fpb-legal-navigation *,
  .fpb-drawing-open, .fpb-drawing-close, .fpb-carousel-dots *, .fpb-section-dots *, .fpb-product-summary-pagination *,
  .fpb-product-variation-bullets *, .fpb-product-variation-card, .fpb-company-stepper-dot,
  .fpb-quick-menu *, .fpb-search-results *, .select2-container *, [role="option"],
  .woocommerce-pagination .dots
)),
body.fpb-shell-active input[type="file"]:not(:where(#wpadminbar *))::file-selector-button {
  border: 1px solid rgb(var(--fpb-control-tint, var(--fpb-button-neutral-rgb)) / var(--fpb-control-border, var(--fpb-button-border))) !important;
  border-radius: 999px !important;
  background: rgb(var(--fpb-control-surface-rgb, var(--fpb-button-surface-rgb)) / var(--fpb-control-fill, var(--fpb-button-fill))) !important;
  color: var(--fpb-control-ink, var(--fpb-button-ink)) !important;
  box-shadow: var(--fpb-control-selection-ring, inset 0 0 0 0 transparent), inset 0 1px 0 var(--fpb-button-highlight), 0 3px 10px rgb(0 0 0 / 7%) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  background-clip: padding-box !important;
  font-family: var(--fpb-ui-font) !important;
  text-shadow: none !important;
  filter: none !important;
  transition: background var(--fpb-button-duration) ease, border-color var(--fpb-button-duration) ease, box-shadow var(--fpb-button-duration) ease !important;
}
body.fpb-shell-active :is(
  button, .button, .elementor-button, .wp-element-button, .wp-block-button__link,
  .wc-block-components-button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
  .fpb-product-action, .fpb-project-dock-action, .fpb-project-open,
  .wishlist-submit, .delete_item, .remove_from_wishlist, .woocommerce a.remove,
  .wishlist-page-links a, .yith_wcwl_wishlist_footer a, .woocommerce-pagination .page-numbers,
  .fpb-hero-message a, .fpb-category-panel a, .fpb-company-step-actions a,
  .fpb-account-nav li.is-active a
):not(:where(
  #wpadminbar *, .fpb-consent *, .fpb-policy-notice *, .fpb-privacy-settings, .fpb-embed-notice *, .fpb-drawer-backdrop, .fpb-project-handle, .fpb-project-toggle, .fpb-project-page-toggle,
  [data-fpb-catalog-category], [data-fpb-catalog-type], [data-fpb-catalog-clear],
  [data-fpb-catalog-sort-option][aria-pressed="false"],
  .yith-wcwl-add-to-wishlist-modal__type_option:not(.yith-wcwl-add-to-wishlist-modal__type_option--selected),
  [data-fpb-theme-choice], .fpb-legal-navigation *,
  .fpb-drawing-open, .fpb-drawing-close, .fpb-carousel-dots *, .fpb-section-dots *, .fpb-product-summary-pagination *,
  .fpb-product-variation-bullets *, .fpb-product-variation-card, .fpb-company-stepper-dot,
  .fpb-quick-menu *, .fpb-search-results *, .select2-container *, [role="option"],
  .woocommerce-pagination .dots
)):hover:not(:disabled):not([aria-disabled="true"]),
body.fpb-shell-active input[type="file"]:not(:where(#wpadminbar *)):not(:disabled)::file-selector-button:hover {
  border-color: rgb(var(--fpb-control-tint, var(--fpb-button-neutral-rgb)) / var(--fpb-control-border, var(--fpb-button-border))) !important;
  background: rgb(var(--fpb-control-hover-surface-rgb, var(--fpb-button-hover-surface-rgb)) / var(--fpb-control-hover-fill, var(--fpb-button-hover-fill))) !important;
}
body.fpb-shell-active :is(
  button, .button, .elementor-button, .wp-element-button, .wp-block-button__link,
  .wc-block-components-button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
  .fpb-product-action, .fpb-project-dock-action, .fpb-project-open,
  .wishlist-submit, .delete_item, .remove_from_wishlist, .woocommerce a.remove,
  .wishlist-page-links a, .yith_wcwl_wishlist_footer a, .woocommerce-pagination .page-numbers,
  .fpb-hero-message a, .fpb-category-panel a, .fpb-company-step-actions a,
  .fpb-account-nav li.is-active a
):not(:where(
  #wpadminbar *, .fpb-consent *, .fpb-policy-notice *, .fpb-privacy-settings, .fpb-embed-notice *, .fpb-drawer-backdrop, .fpb-project-handle, .fpb-project-toggle, .fpb-project-page-toggle,
  [data-fpb-catalog-category], [data-fpb-catalog-type], [data-fpb-catalog-clear],
  [data-fpb-catalog-sort-option][aria-pressed="false"],
  .yith-wcwl-add-to-wishlist-modal__type_option:not(.yith-wcwl-add-to-wishlist-modal__type_option--selected),
  [data-fpb-theme-choice], .fpb-legal-navigation *,
  .fpb-drawing-open, .fpb-drawing-close, .fpb-carousel-dots *, .fpb-section-dots *, .fpb-product-summary-pagination *,
  .fpb-product-variation-bullets *, .fpb-product-variation-card, .fpb-company-stepper-dot,
  .fpb-quick-menu *, .fpb-search-results *, .select2-container *, [role="option"],
  .woocommerce-pagination .dots
)):is([aria-pressed="true"], [aria-selected="true"], [aria-current="page"], .is-current, .is-selected, .active, .current),
body.fpb-shell-active .fpb-account-nav li.is-active a {
  --fpb-control-tint: var(--fpb-button-neutral-rgb);
  --fpb-control-surface-rgb: var(--fpb-button-selected-rgb);
  --fpb-control-hover-surface-rgb: var(--fpb-button-selected-rgb);
  --fpb-control-fill: var(--fpb-button-selected-fill);
  --fpb-control-hover-fill: var(--fpb-button-selected-hover-fill);
  --fpb-control-border: var(--fpb-button-selected-border);
  --fpb-control-selection-ring: inset 0 0 0 1px rgb(var(--fpb-button-selected-rgb) / var(--fpb-button-selected-border));
}
/* Semantic actions, never inferred from their displayed text. Explicit tones win. */
body.fpb-shell-active :is(
  .button-primary, .is-primary, [data-fpb-button-tone="primary"], .fpb-add-project-action,
  .single_add_to_cart_button, .add_to_cart_button, .checkout-button,
  .wc-block-components-checkout-place-order-button,
  .fpb-company-form-content button[type="submit"], .fpb-contact-form-panel button[type="submit"],
  .woocommerce button[type="submit"], .woocommerce input[type="submit"], .elementor-form button[type="submit"],
  .yith-wcwl-modal__primary-button, .yith-wcwl-pp-modal input[type="submit"],
  .fpb-company-step-actions > a:first-child
):not(:where(.fpb-button-attention, [data-fpb-button-tone="attention"], .fpb-button-accent, [data-fpb-button-tone="accent"], .fpb-button-success, [data-fpb-button-tone="success"], .is-danger, .button-danger, .fpb-button-danger, .delete_item, .remove_from_wishlist, .woocommerce a.remove, [data-fpb-button-tone="danger"], .fpb-button-warning, [data-fpb-button-tone="warning"], .fpb-button-caution, [data-fpb-button-tone="caution"])) {
  --fpb-control-tint: 50 107 80 !important;
  --fpb-control-surface-rgb: var(--fpb-button-green-rgb) !important;
  --fpb-control-hover-surface-rgb: 39 87 63 !important;
  --fpb-control-ink: #fff !important;
  --fpb-control-fill: 1 !important;
  --fpb-control-hover-fill: 1 !important;
  --fpb-control-border: 1 !important;
}

body.fpb-shell-active :is(.fpb-button-success, [data-fpb-button-tone="success"]) {
  --fpb-control-tint: 50 107 80 !important;
  --fpb-control-surface-rgb: var(--fpb-button-green-rgb) !important;
  --fpb-control-hover-surface-rgb: 39 87 63 !important;
  --fpb-control-ink: #fff !important;
  --fpb-control-fill: 1 !important;
  --fpb-control-hover-fill: 1 !important;
  --fpb-control-border: 1 !important;
}
body.fpb-shell-active :is(.is-danger, .button-danger, .fpb-button-danger, .delete_item,
  .remove_from_wishlist, .woocommerce a.remove, [data-fpb-button-tone="danger"]) {
  --fpb-control-tint: 167 63 59 !important;
  --fpb-control-surface-rgb: var(--fpb-button-red-rgb) !important;
  --fpb-control-hover-surface-rgb: 143 48 45 !important;
  --fpb-control-ink: #fff !important;
  --fpb-control-fill: 1 !important;
  --fpb-control-hover-fill: 1 !important;
  --fpb-control-border: 1 !important;
}
/* Orange means attention required. Green remains the everyday brand action. */
body.fpb-shell-active :is(.fpb-button-attention, [data-fpb-button-tone="attention"],
  .fpb-button-accent, [data-fpb-button-tone="accent"],
  .fpb-button-warning, [data-fpb-button-tone="warning"], .fpb-button-caution, [data-fpb-button-tone="caution"]) {
  --fpb-control-tint: 155 55 0 !important;
  --fpb-control-surface-rgb: var(--fpb-button-orange-rgb) !important;
  --fpb-control-hover-surface-rgb: 255 116 36 !important;
  --fpb-control-ink: #201d19 !important;
  --fpb-control-fill: 1 !important;
  --fpb-control-hover-fill: 1 !important;
  --fpb-control-border: 1 !important;
}
body.fpb-shell-active :is(
  button, .button, .elementor-button, .wp-element-button, .wp-block-button__link,
  .wc-block-components-button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
  .fpb-product-action, .fpb-project-dock-action, .fpb-project-open,
  .wishlist-submit, .delete_item, .remove_from_wishlist, .woocommerce a.remove,
  .wishlist-page-links a, .yith_wcwl_wishlist_footer a, .woocommerce-pagination .page-numbers,
  .fpb-hero-message a, .fpb-category-panel a, .fpb-company-step-actions a,
  .fpb-account-nav li.is-active a
):not(:where(
  #wpadminbar *, .fpb-consent *, .fpb-policy-notice *, .fpb-privacy-settings, .fpb-embed-notice *, .fpb-drawer-backdrop, .fpb-project-handle, .fpb-project-toggle, .fpb-project-page-toggle,
  [data-fpb-catalog-category], [data-fpb-catalog-type], [data-fpb-catalog-clear],
  [data-fpb-catalog-sort-option][aria-pressed="false"],
  .yith-wcwl-add-to-wishlist-modal__type_option:not(.yith-wcwl-add-to-wishlist-modal__type_option--selected),
  [data-fpb-theme-choice], .fpb-legal-navigation *,
  .fpb-drawing-open, .fpb-drawing-close, .fpb-carousel-dots *, .fpb-section-dots *, .fpb-product-summary-pagination *,
  .fpb-product-variation-bullets *, .fpb-product-variation-card, .fpb-company-stepper-dot,
  .fpb-quick-menu *, .fpb-search-results *, .select2-container *, [role="option"],
  .woocommerce-pagination .dots
)):is(:disabled, [aria-disabled="true"]),
body.fpb-shell-active input[type="file"]:not(:where(#wpadminbar *)):disabled::file-selector-button {
  --fpb-control-tint: var(--fpb-button-neutral-rgb) !important;
  --fpb-control-surface-rgb: var(--fpb-button-surface-rgb) !important;
  --fpb-control-ink: var(--fpb-button-ink) !important;
  --fpb-control-fill: 1 !important;
  --fpb-control-border: .35 !important;
  opacity: .38 !important;
  cursor: not-allowed !important;
}
body.fpb-shell-active :is(
  button, .button, .elementor-button, .wp-element-button, .wp-block-button__link,
  .wc-block-components-button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
  .fpb-product-action, .fpb-project-dock-action, .fpb-project-open,
  .wishlist-submit, .delete_item, .remove_from_wishlist, .woocommerce a.remove,
  .wishlist-page-links a, .yith_wcwl_wishlist_footer a, .woocommerce-pagination .page-numbers,
  .fpb-hero-message a, .fpb-category-panel a, .fpb-company-step-actions a,
  .fpb-account-nav li.is-active a
):not(:where(
  #wpadminbar *, .fpb-consent *, .fpb-policy-notice *, .fpb-privacy-settings, .fpb-embed-notice *, .fpb-drawer-backdrop, .fpb-project-handle, .fpb-project-toggle, .fpb-project-page-toggle,
  [data-fpb-catalog-category], [data-fpb-catalog-type], [data-fpb-catalog-clear],
  [data-fpb-catalog-sort-option][aria-pressed="false"],
  .yith-wcwl-add-to-wishlist-modal__type_option:not(.yith-wcwl-add-to-wishlist-modal__type_option--selected),
  [data-fpb-theme-choice], .fpb-legal-navigation *,
  .fpb-drawing-open, .fpb-drawing-close, .fpb-carousel-dots *, .fpb-section-dots *, .fpb-product-summary-pagination *,
  .fpb-product-variation-bullets *, .fpb-product-variation-card, .fpb-company-stepper-dot,
  .fpb-quick-menu *, .fpb-search-results *, .select2-container *, [role="option"],
  .woocommerce-pagination .dots
)):focus-visible,
body.fpb-shell-active input[type="file"]:not(:where(#wpadminbar *)):focus-visible::file-selector-button { outline: 2px solid var(--fpb-button-ink) !important; outline-offset: 3px !important; }
body.fpb-shell-active .fpb-add-project-action::before,
body.fpb-shell-active .show-password-input::after,
body.fpb-shell-active .elementor-button :is(.elementor-button-text, .elementor-button-icon),
body.fpb-shell-active .wc-block-components-button__text { color: inherit !important; }
body.fpb-shell-active input[type="file"]::file-selector-button { min-height: 34px; margin-right: 12px; padding: 0 16px; cursor: pointer; }
}

@media (prefers-reduced-motion: reduce) {
  body.fpb-shell-active { --fpb-button-duration: .01ms; }
}

/* Certification downloads are document rows, outside the glass-button paint. */
@layer fpb-glass-buttons {
  body.fpb-shell-active .fpb-product-technical-panel :is(.fpb-product-story-tearsheet, .fpb-product-download-list a) {
    box-sizing: border-box;
    min-height: 58px;
    gap: 12px;
    padding: 12px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgb(var(--fpb-button-neutral-rgb) / .2) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--fpb-button-ink) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    font-size: 14px;
    font-weight: 550;
    line-height: 1.4;
  }
  body.fpb-shell-active .fpb-product-technical-panel :is(.fpb-product-story-tearsheet, .fpb-product-download-list a):hover {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  body.fpb-shell-active .fpb-product-technical-panel :is(.fpb-product-story-tearsheet, .fpb-product-download-list a):focus-visible {
    outline: 2px solid var(--fpb-button-ink) !important;
    outline-offset: 3px !important;
  }
}

/* The appearance control is one segmented toggle; legal actions are text rows.
 * Keep their paint in the same layer so legacy theme !important rules cannot
 * turn the inactive segment or footer links back into individual buttons. */
@layer fpb-glass-buttons {
  body.fpb-shell-active .fpb-drawer-theme-control button {
    border: 1px solid transparent !important;
    background: transparent !important;
    color: var(--fpb-muted) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  body.fpb-shell-active .fpb-drawer-theme-control button[aria-pressed="true"] {
    border-color: var(--fpb-line) !important;
    background: linear-gradient(155deg, var(--fpb-button-highlight), transparent 58%),
      rgb(var(--fpb-button-selected-rgb) / var(--fpb-button-selected-fill)) !important;
    color: var(--fpb-ink) !important;
    box-shadow: inset 0 1px 0 var(--fpb-button-highlight) !important;
    -webkit-backdrop-filter: blur(var(--fpb-button-blur)) !important;
    backdrop-filter: blur(var(--fpb-button-blur)) !important;
  }
  body.fpb-shell-active .fpb-legal-navigation :is(a, button) {
    border: 0 !important;
    border-bottom: 1px solid var(--fpb-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--fpb-muted) !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    text-align: left !important;
  }
  body.fpb-shell-active .fpb-legal-navigation > a:nth-child(even) {
    border-left: 1px solid var(--fpb-line) !important;
  }
  body.fpb-shell-active :is(.fpb-drawer-theme-control button, .fpb-legal-navigation a, .fpb-legal-navigation button):hover {
    color: var(--fpb-ink) !important;
  }
  body.fpb-shell-active :is(.fpb-drawer-theme-control button, .fpb-legal-navigation a, .fpb-legal-navigation button):focus-visible {
    outline: 2px solid var(--fpb-ink) !important;
    outline-offset: 2px !important;
  }
}
@media (forced-colors: active) {
  @layer fpb-glass-buttons {
body.fpb-shell-active :is(
  button, .button, .elementor-button, .wp-element-button, .wp-block-button__link,
  .wc-block-components-button, [role="button"], input[type="submit"], input[type="button"], input[type="reset"],
  .fpb-product-action, .fpb-project-dock-action, .fpb-project-open,
  .wishlist-submit, .delete_item, .remove_from_wishlist, .woocommerce a.remove,
  .wishlist-page-links a, .yith_wcwl_wishlist_footer a, .woocommerce-pagination .page-numbers,
  .fpb-hero-message a, .fpb-category-panel a, .fpb-company-step-actions a,
  .fpb-account-nav li.is-active a
):not(:where(
  #wpadminbar *, .fpb-consent *, .fpb-policy-notice *, .fpb-privacy-settings, .fpb-embed-notice *, .fpb-drawer-backdrop, .fpb-project-handle, .fpb-project-toggle, .fpb-project-page-toggle,
  [data-fpb-catalog-category], [data-fpb-catalog-type], [data-fpb-catalog-clear],
  [data-fpb-catalog-sort-option][aria-pressed="false"],
  .yith-wcwl-add-to-wishlist-modal__type_option:not(.yith-wcwl-add-to-wishlist-modal__type_option--selected),
  [data-fpb-theme-choice], .fpb-legal-navigation *,
  .fpb-drawing-open, .fpb-drawing-close, .fpb-carousel-dots *, .fpb-section-dots *, .fpb-product-summary-pagination *,
  .fpb-product-variation-bullets *, .fpb-product-variation-card, .fpb-company-stepper-dot,
  .fpb-quick-menu *, .fpb-search-results *, .select2-container *, [role="option"],
  .woocommerce-pagination .dots
)),
body.fpb-shell-active input[type="file"]:not(:where(#wpadminbar *))::file-selector-button {
    background: ButtonFace !important;
    color: ButtonText !important;
    border-color: ButtonText !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  }
}

/* Align ordinary adjacent actions without resizing circular controls, dots,
 * document rows, legal links or the selected-only appearance segments. */
@layer fpb-glass-buttons {
  body.fpb-shell-active :is(
    .button, .elementor-button, .wp-element-button, .wp-block-button__link,
    .wc-block-components-button, .fpb-product-action, .fpb-project-dock-action,
    .fpb-project-open, .wishlist-submit, input[type="submit"],
    .fpb-hero-message a, .fpb-category-panel a, .fpb-company-step-actions a,
    .fpb-contact-form-panel button[type="submit"], .fpb-company-form-content button[type="submit"],
    .woocommerce button[type="submit"]
  ):not(:where(
    #wpadminbar *, [hidden], [data-fpb-theme-choice], .fpb-legal-navigation *,
    .woocommerce a.remove, .delete_item, .remove_from_wishlist,
    .fpb-product-story-tearsheet, .fpb-product-download-list a
  )) {
    box-sizing: border-box;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding-block: 10px !important;
    line-height: 20px !important;
    vertical-align: middle;
    transform: none !important;
  }
  body.fpb-shell-active :is(
    .fpb-project-dock-actions, .fpb-project-header-actions, .fpb-project-footer,
    .fpb-company-step-actions
  ) {
    align-items: center;
  }
}

/* Homepage photography keeps the original translucent, blurred CTA treatment
 * in both themes. Everyday workspace actions retain their solid colour. */
@media (forced-colors: none) {
  @layer fpb-glass-buttons {
    body.fpb-shell-active .fpb-home :is(.fpb-hero-message, .fpb-category-panel) > a[href]:not(:disabled):not([aria-disabled="true"]) {
      border-color: rgb(255 255 255 / 24%) !important;
      background: linear-gradient(155deg, rgb(255 255 255 / 7%), transparent 58%), rgb(255 255 255 / 11%) !important;
      color: #fff !important;
      box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%), 0 3px 10px rgb(0 0 0 / 7%) !important;
      -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
      backdrop-filter: blur(18px) saturate(140%) !important;
    }
    body.fpb-shell-active .fpb-home :is(.fpb-hero-message, .fpb-category-panel) > a[href]:not(:disabled):not([aria-disabled="true"]):hover {
      background: linear-gradient(155deg, rgb(255 255 255 / 7%), transparent 58%), rgb(255 255 255 / 16%) !important;
    }
  }
}
