/* Geometry activates only after a decoded, metric-listed image has a valid frame. */
.ll-image-fit-frame{position:relative!important;overflow:hidden!important;background:var(--ll-image-fit-bg,#f1f1f1)!important;isolation:isolate}
.ll-image-fit-frame img[data-ll-image-fit]{position:absolute!important;display:block!important;left:var(--ll-fit-left)!important;top:var(--ll-fit-top)!important;width:var(--ll-fit-width)!important;height:var(--ll-fit-height)!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;margin:0!important;object-fit:contain!important;mix-blend-mode:normal!important;background:none!important;transform-origin:var(--ll-fit-origin,50% 50%)}
.ll-image-fit-frame .ll-card-ref{z-index:2}
.ll-product-thumbs button.ll-image-fit-frame{padding:0!important}
.ll-fit-search-frame,.ll-fit-finish-frame{display:block;aspect-ratio:1/1;width:100%}
.ll-fit-quote-frame,.ll-fit-quote-thumb{display:block;width:90px;height:90px;flex:0 0 90px;align-self:flex-start}
.ll-fit-editorial-product{display:block;width:100%;height:370px;background:var(--ll-cream,#f6f5f0)}
.ll-guide-scene-frame{display:block}
a.ll-guide-scene-frame{aspect-ratio:8/5;height:auto!important;overflow:hidden}
figure.ll-guide-scene-frame{aspect-ratio:auto!important;height:auto!important;overflow:visible}
.ll-guide-scene-frame img{display:block;width:100%!important;height:auto!important;aspect-ratio:8/5!important;object-fit:cover!important;padding:0!important;mix-blend-mode:normal!important}
img[data-ll-media-role="factory"]{display:block;width:100%;height:auto!important;max-width:var(--ll-media-width-cap,100%)!important;object-fit:contain!important;mix-blend-mode:normal!important;margin-inline:auto}
.ll-logo img,.ll-footer-brand img,#ll-mobile-menu header img{height:auto!important;object-fit:contain!important}
.ll-back-to-top{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(6px);transition:opacity .2s,transform .2s,visibility .2s}
.ll-back-to-top.ll-is-visible{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)}
@media(max-width:767px){.ll-fit-quote-frame,.ll-fit-quote-thumb{width:70px;height:70px;flex-basis:70px}.ll-fit-editorial-product{height:280px}}
@media(prefers-reduced-motion:reduce){.ll-back-to-top{transition:none}}

/* Product frames follow the supplied photographs: full image, no extra inset. */
.ll-quick-grid{align-items:start}
/* Keep full product edges visible; hover feedback belongs to the frame. */
.ll-image-fit-frame img[data-ll-image-fit]{transform:none!important}
.ll-card-image.ll-image-fit-frame,.ll-category-visual.ll-image-fit-frame{transition:box-shadow .25s ease,filter .25s ease}
@media(hover:hover){.ll-product-card:hover .ll-card-image.ll-image-fit-frame,.ll-category-tile:hover .ll-category-visual.ll-image-fit-frame{box-shadow:0 5px 18px #00000014;filter:brightness(1.015)}}
.ll-fit-category-thumb{display:block;position:relative;width:80px;height:80px;margin:0 auto 10px;flex:0 0 80px}
.ll-fit-category-thumb img{margin:0!important}
/* Equal product cards across featured, collections, related products and search. */
.ll-card-image,.ll-product-card .t4s-product-img,.ll-category-visual,.ll-product-image,.ll-quick-image{display:block;width:100%!important;height:auto!important;min-height:0!important;max-width:none!important;aspect-ratio:1/1!important;flex-shrink:0}
.ll-product-card{display:flex;flex-direction:column;height:100%;align-self:stretch;grid-row:auto!important}
.ll-product-card[hidden]{display:none!important}
.ll-product-card>.ll-card-visual{flex-shrink:0}
.ll-card-info{display:flex;flex-direction:column;align-items:center;flex:1}
.ll-card-info h3{min-height:2.6em;display:flex;align-items:center;justify-content:center}
.ll-card-info .ll-card-finish{line-height:1.3;min-height:1.3em}
.ll-card-info .ll-card-link{margin-top:auto;align-self:center}
.ll-product-card .t4s-product-wrapper{display:flex;flex-direction:column;flex:1}
.ll-product-card .t4s-product-info{display:flex;flex-direction:column;align-items:center;flex:1;text-align:center}
.ll-product-card .t4s-product-info h3{line-height:1.3;min-height:3.9em;display:flex;align-items:center;justify-content:center}
.ll-product-card .t4s-product-info p{line-height:1.3;min-height:1.3em}
.ll-product-card .t4s-product-info p:last-of-type{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.6em}
.ll-product-card .t4s-product-info button{margin-top:auto;align-self:center}
.ll-category-tile{display:flex;flex-direction:column;height:100%}
.ll-category-tile h3{line-height:1.3;min-height:2.6em;display:flex;align-items:center;justify-content:center}
.ll-category-tile>p{margin-top:auto}
/* Defensive fallback while a browser still holds the previous script. */
.ll-fit-natural-grid{grid-auto-rows:auto!important;row-gap:24px!important;grid-auto-flow:row!important;align-items:stretch!important}
