/* Add motion to existing SMART surfaces without shifting their layout. */
@property --smart284-alpha {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}
@property --smart284-offset {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@media (prefers-reduced-motion: no-preference) {
  html body[data-smart284-ready] :is(main,#smart-secondary-235,#smart-secondary-237,#smart10fj-mobile-detail,#smart-product-233,.smart227-vigo,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) [data-smart284-effect] {
    opacity: var(--smart284-alpha,1) !important;
    translate: 0 var(--smart284-offset,0px) !important;
  }
  html body[data-smart284-ready] :is(main,#smart-secondary-235,#smart-secondary-237,#smart10fj-mobile-detail,#smart-product-233,.smart227-vigo,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) [data-smart284-effect="text"] {
    animation: smart284-fade 780ms cubic-bezier(.25,.60,.34,1) var(--smart284-delay,0ms) both !important;
  }
  html body[data-smart284-ready] :is(main,#smart-secondary-235,#smart-secondary-237,#smart10fj-mobile-detail,#smart-product-233,.smart227-vigo,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) [data-smart284-effect="intro"] {
    animation: smart284-intro 640ms cubic-bezier(.26,.61,.38,1) both !important;
  }
  html body[data-smart284-ready] :is(main,#smart-secondary-235,#smart-secondary-237,#smart10fj-mobile-detail,#smart-product-233,.smart227-vigo,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) [data-smart284-effect="image"] {
    animation: smart284-fade 850ms cubic-bezier(.25,.60,.34,1) var(--smart284-delay,0ms) both !important;
  }
  @supports (mask-image: linear-gradient(#000, transparent)) {
    html body[data-smart284-ready] :is(main,#smart-secondary-235,#smart-secondary-237,#smart10fj-mobile-detail,#smart-product-233,.smart227-vigo,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) img[data-smart284-effect="image"] {
      mask-image: linear-gradient(to bottom, #000 0%, #000 49%, #0009 76%, #0004 100%);
      mask-size: 100% 220%;
      mask-repeat: no-repeat;
      animation-name: smart284-light !important;
    }
  }
  html body[data-smart284-ready] :is(main,#smart-secondary-235,#smart-secondary-237,#smart10fj-mobile-detail,#smart-product-233,.smart227-vigo,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) [data-smart284-effect="disclosure"] {
    animation: smart284-open 380ms ease-out both !important;
  }
  html body[data-smart284-ready] :is(main,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) img[data-smart284-effect="scroll-image"] {
    opacity: calc(.48 + .52 * var(--smart284-progress,1)) !important;
    translate: none !important;
  }
  @supports (mask-image: linear-gradient(#000, transparent)) {
    html body[data-smart284-ready] :is(main,#smart-technical-guide,#smart-lcx-fixtures,#smart-rf-editorial,#smart-vigo-feature-251,#smart-product-explorer-250) img[data-smart284-effect="scroll-image"] {
      mask-image: linear-gradient(to bottom,#000 0%,#000 52%,#000a 80%,#0004 100%);
      mask-size: 100% 220%;
      mask-position: 0 calc(100% - var(--smart284-progress,1) * 100%);
      mask-repeat: no-repeat;
    }
  }
  html body :is(#smart-header-231 .sh231-quote,.h241-actions a,.sv234-button,.sp235-button,.s233-button,.s10u-pill,.smart227-button,.sd-button,.sd-product-foot > a,.smart10fj-btn,.slf-tabs button,.stg-tabs button,.pe250-tabs button,.sv251-card,.srfe-card,.stg-point) {
    transition: scale 160ms ease-out, translate 220ms ease-out, filter 220ms ease-out, box-shadow 220ms ease-out;
  }
  html body :is(#smart-header-231 .sh231-quote,.h241-actions a,.sv234-button,.sp235-button,.s233-button,.s10u-pill,.smart227-button,.sd-button,.sd-product-foot > a,.smart10fj-btn,.slf-tabs button,.stg-tabs button,.pe250-tabs button,.sv251-card,.srfe-card,.stg-point):is(:active,[data-smart284-pressed]) {
    scale: .94 !important;
    filter: brightness(.9) !important;
  }
  html body #smart-rf-editorial .smart284-rf-preview {
    transition: opacity 360ms ease-out, visibility 360ms;
  }
  html body #smart-technical-guide[data-smart284-guide-active] .stg-panel:not([hidden]),
  html body #smart-lcx-fixtures[data-smart284-guide-active] .slf-panel:not([hidden]) {
    animation: smart284-guide-swap 450ms cubic-bezier(.25,.6,.35,1) both !important;
  }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  html body :is(#smart-header-231 .sh231-quote,.h241-actions a,.sv234-button,.sp235-button,.s233-button,.s10u-pill,.smart227-button,.sd-button,.sd-product-foot > a,.smart10fj-btn,.slf-tabs button,.stg-tabs button,.pe250-tabs button,.sv251-card,.srfe-card):hover:not(:active):not([data-smart284-pressed]) {
    translate: 0 -4px !important;
    filter: brightness(1.13) !important;
    box-shadow: 0 8px 20px #20355638, 0 0 0 2px #7e83b563 !important;
  }
  html body #smart-technical-guide .stg-point:hover:not(:active) {
    scale: 1.12;
    box-shadow: 0 0 0 4px #6956a654, 0 5px 14px #10234245 !important;
  }
}
html body #smart-technical-guide .smart284-photo-region { display: none; }
html body #smart-technical-guide .stg-point { z-index: 2; }
html body #smart-lcx-fixtures .smart284-fixture-thumb { display: none; }
@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
  html body #smart-lcx-fixtures .slf-tabs button:has(.smart284-fixture-thumb) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
  }
  html body #smart-lcx-fixtures .slf-tabs .smart284-fixture-thumb {
    display: block !important;
    width: 46px !important;
    height: 29px !important;
    max-width: none !important;
    object-fit: cover;
    background: #fff;
    border-radius: 4px;
    pointer-events: none;
  }
}
@media (hover: hover) and (pointer: fine) {
  html body #smart-technical-guide .stg-photo[data-smart284-regions] .smart284-photo-region {
    display: block;
    position: absolute;
    box-sizing: border-box;
    z-index: 1;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
  }
  html body :is(#smart-technical-guide[data-smart284-guide-active="0"] .smart284-photo-region[data-smart284-region="0"],
     #smart-technical-guide[data-smart284-guide-active="1"] .smart284-photo-region[data-smart284-region="1"],
     #smart-technical-guide[data-smart284-guide-active="2"] .smart284-photo-region[data-smart284-region="2"]) {
    border-color: #7459bf;
    background: #8062c124;
  }
}
html body #smart-rf-editorial .srfe-hero { position: relative; }
html body #smart-rf-editorial .srfe-hero .smart284-rf-preview {
  position: absolute;
  display: block !important;
  left: 0;
  bottom: 0;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  object-fit: contain;
  background: #fff;
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
}
html body #smart-rf-editorial .srfe-hero[data-smart284-preview] .smart284-rf-preview {
  opacity: 1 !important;
  visibility: visible;
}
html body #smart-rf-editorial a.srfe-card[data-smart284-previewed] {
  border-color: #a8ddf2;
  background-color: #192d46;
}
@keyframes smart284-guide-swap {
  from { opacity: .47; translate: 0 7px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes smart284-fade {
  from { --smart284-alpha: .24; --smart284-offset: 18px; }
  to { --smart284-alpha: 1; --smart284-offset: 0px; }
}
@keyframes smart284-light {
  from { --smart284-alpha: .52; --smart284-offset: 13px; mask-position: 0 100%; }
  to { --smart284-alpha: 1; --smart284-offset: 0px; mask-position: 0 0; }
}
@keyframes smart284-intro {
  from { --smart284-alpha: .52; }
  to { --smart284-alpha: 1; }
}
@keyframes smart284-open {
  from { --smart284-alpha: .6; }
  to { --smart284-alpha: 1; }
}
