/* 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 190ms 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: .985 !important;
    filter: brightness(.97) !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 220ms 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.04;
    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: .8; translate: 0 2px; }
  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: .88; }
  to { --smart284-alpha: 1; }
}
@keyframes smart284-open {
  from { --smart284-alpha: .6; }
  to { --smart284-alpha: 1; }
}

/* The department header carries the decoration. Results and controls scroll normally. */
.smart230-directory .sd-intro[data-category-art] {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(18px, 2.5vw, 32px);
  border-radius: 16px;
  background: linear-gradient(112deg, #f6f6fc 5%, #e9eff9 65%, #def1f8);
}
@media (prefers-reduced-motion: no-preference) {
  .smart230-directory .sd-intro[data-category-art]::before,
  .smart230-directory .sd-intro[data-category-art]::after {
    position: absolute;
    z-index: -1;
    pointer-events: none;
  }
  .smart230-directory .sd-intro[data-category-art="sheen"]::after {
    content: "";
    inset: -2px;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,.70) 42%, transparent 68%),
                repeating-linear-gradient(90deg, rgba(60,120,255,.065) 0 1px, transparent 1px 68px);
    animation: smart55a-hero-sheen 7.2s ease-in-out infinite;
  }
  .smart230-directory .sd-intro[data-category-art="scan"]::before {
    content: "";
    inset: 0;
    background: radial-gradient(circle at 82% 22%, rgba(56,189,248,.22), transparent 34%),
                radial-gradient(circle at 18% 82%, rgba(139,92,246,.20), transparent 38%),
                linear-gradient(120deg, transparent, rgba(255,255,255,.075) 44%, transparent 72%);
    animation: smart74dHeroGlow 8.8s ease-in-out infinite;
  }
  .smart230-directory .sd-intro[data-category-art="scan"]::after {
    content: "";
    inset: auto -18% 18%;
    height: 1px;
    rotate: -8deg;
    background: linear-gradient(90deg, transparent, rgba(56,189,248,.58), rgba(139,92,246,.50), transparent);
    animation: smart74dScanLine 7.4s ease-in-out infinite;
  }
  .smart230-directory .sd-intro[data-category-art] h1 {
    animation: smart284-fade 780ms cubic-bezier(.25,.60,.34,1) both !important;
    opacity: var(--smart284-alpha,1);
    translate: 0 var(--smart284-offset,0px);
  }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  :is(.smart230-directory,.smart238-directory) :is(.sd-button,.sd-product-foot > a) {
    transition: translate 220ms ease-out, box-shadow 220ms ease-out !important;
  }
}
@keyframes smart55a-hero-sheen {
  0%,38% { opacity:.22; translate:-34% 0; }
  58%    { opacity:.46; translate:34% 0; }
  100%   { opacity:.22; translate:34% 0; }
}
@keyframes smart74dHeroGlow {
  0%,100% { opacity:.42; translate:0 0; scale:1; }
  50%     { opacity:.8; translate:0 -4px; scale:1.012; }
}
@keyframes smart74dScanLine {
  0%,100% { opacity:.22; translate:-16% 0; }
  50%     { opacity:.72; translate:12% 0; }
}
