/* S12 Details (#finishes). Owner: S12. File name kept from the Nov 7 build.
   Overlapping 3 photo collage: native Image widgets with classes lz-s12-card + lz-s12-card--a/b/c inside the container
   lz-s12-photos (b = the centre hero). Hover, keyboard focus or a tap (s12-five-steps.js adds is-front) lifts a card:
   it grows, straightens, comes to the front and the other two ease back. Tilt and offset live on the img, so they
   never fight the widget's entrance animation. Card b sits at 85% on desktop so the towel hooks stay out of frame. */
body.page-id-5703 #finishes{overflow-x:clip;--lz-s12-ease:cubic-bezier(.22,1,.36,1)}
body.page-id-5703 #finishes .lz-s12-head .elementor-heading-title{text-wrap:balance}
body.page-id-5703 #finishes .lz-s12-photos{display:grid!important;grid-template-columns:repeat(24,minmax(0,1fr));align-items:center;gap:0;width:100%;max-width:1680px;margin:0 auto;padding:24px clamp(14px,2.6vw,56px) 48px}
body.page-id-5703 #finishes .lz-s12-card{position:relative;z-index:1;grid-row:1;width:auto;max-width:none;margin:0;outline:none;-webkit-tap-highlight-color:transparent;transition:z-index 0s .3s}
body.page-id-5703 #finishes .lz-s12-card img{display:block;width:100%;height:auto;object-fit:cover;border:4px solid #F6F5F0;border-radius:24px;transform:translate3d(0,var(--lz-ty,0),0) rotate(var(--lz-rot,0deg));box-shadow:0 26px 52px -22px rgba(0,17,36,.26),0 8px 18px -10px rgba(0,17,36,.14);transition:transform .55s var(--lz-s12-ease),box-shadow .55s var(--lz-s12-ease),filter .45s ease}
body.page-id-5703 #finishes .lz-s12-card--a{grid-column:1/span 8;--lz-rot:-2.5deg;--lz-ty:14px}
body.page-id-5703 #finishes .lz-s12-card--b{grid-column:7/span 11;z-index:2;--lz-rot:0deg;--lz-ty:0px}
body.page-id-5703 #finishes .lz-s12-card--c{grid-column:16/span 9;--lz-rot:2.5deg;--lz-ty:22px}
body.page-id-5703 #finishes .lz-s12-card--a img,body.page-id-5703 #finishes .lz-s12-card--c img{aspect-ratio:4/5}
body.page-id-5703 #finishes .lz-s12-card--b img{aspect-ratio:5/6;object-position:50% 85%}
body.page-id-5703 #finishes .lz-s12-card--c img{object-position:50% 50%}
/* Lifted card (shared by hover, keyboard focus and tap) */
body.page-id-5703 #finishes .lz-s12-card:focus-visible,body.page-id-5703 #finishes .lz-s12-card.is-front{z-index:5;transition-delay:0s}
body.page-id-5703 #finishes .lz-s12-card:focus-visible img,body.page-id-5703 #finishes .lz-s12-card.is-front img{transform:translate3d(0,calc(var(--lz-ty,0px) - 14px),0) rotate(0deg) scale(1.06);box-shadow:0 46px 84px -30px rgba(0,17,36,.42),0 16px 30px -16px rgba(0,17,36,.22)}
body.page-id-5703 #finishes .lz-s12-card:focus-visible img{outline:3px solid #001124;outline-offset:4px}
body.page-id-5703 #finishes .lz-s12-photos:has(.lz-s12-card:focus-visible) .lz-s12-card:not(:focus-visible) img,body.page-id-5703 #finishes .lz-s12-photos:has(.is-front) .lz-s12-card:not(.is-front) img{transform:translate3d(0,var(--lz-ty,0),0) rotate(var(--lz-rot,0deg)) scale(.96);filter:saturate(.8) brightness(.9)}
@media (hover:hover){
body.page-id-5703 #finishes .lz-s12-card:hover{z-index:5;transition-delay:0s}
body.page-id-5703 #finishes .lz-s12-card:hover img{transform:translate3d(0,calc(var(--lz-ty,0px) - 14px),0) rotate(0deg) scale(1.06);box-shadow:0 46px 84px -30px rgba(0,17,36,.42),0 16px 30px -16px rgba(0,17,36,.22)}
body.page-id-5703 #finishes .lz-s12-photos:has(.lz-s12-card:hover) .lz-s12-card:not(:hover) img{transform:translate3d(0,var(--lz-ty,0),0) rotate(var(--lz-rot,0deg)) scale(.96);filter:saturate(.8) brightness(.9)}
}
/* Title keeps its 3 lines: laptops (1025 to 1439) have a 535px title column, so the Bookmania title steps down to 46px.
   Narrow tablets (768 to 900): the pill column is too narrow for one line, so the pill sits above a full width title
   (row gap 0, so the pill's own 18px tablet margin matches every other pill). */
@media (min-width:1025px) and (max-width:1439px){
body.page-id-5703 #finishes .lz-s12-head .elementor-heading-title{font-size:46px}
}
@media (min-width:768px) and (max-width:900px){
body.page-id-5703 #finishes .elementor-element-3da9e19,body.page-id-5703 #finishes .elementor-element-3da9e19>.e-con-inner{flex-direction:column;flex-wrap:nowrap;row-gap:0}
body.page-id-5703 #finishes .elementor-element-0ab2862,body.page-id-5703 #finishes .elementor-element-2652bb0{--width:100%;width:100%;max-width:100%}
}
/* Phone: a scattered stack of 3 large square photos, alternating sides, each overlapping the one above.
   Fix r1: portrait phones only (under 540); the photos sit on the 20px page gutter. 540 to 767 (small tablets and
   landscape phones) uses the row collage below. */
@media (max-width:539px){
body.page-id-5703 #finishes .lz-s12-photos{grid-template-columns:1fr;padding:6px 20px 20px}
body.page-id-5703 #finishes .lz-s12-card{grid-column:1;width:84%}
body.page-id-5703 #finishes .lz-s12-card img{aspect-ratio:1/1;border-width:3px;border-radius:18px}
body.page-id-5703 #finishes .lz-s12-card--a{grid-row:1;justify-self:start;--lz-rot:-2deg;--lz-ty:0px}
body.page-id-5703 #finishes .lz-s12-card--b{grid-row:2;justify-self:end;margin-top:-30px;margin-right:4px;--lz-rot:1.8deg;--lz-ty:0px}
body.page-id-5703 #finishes .lz-s12-card--c{grid-row:3;justify-self:start;margin-top:-30px;z-index:3;--lz-rot:-1.5deg;--lz-ty:0px}
body.page-id-5703 #finishes .lz-s12-card--a img{object-position:50% 80%}
body.page-id-5703 #finishes .lz-s12-card--b img{aspect-ratio:1/1;object-position:50% 62%}
body.page-id-5703 #finishes .lz-s12-card--c img{object-position:50% 72%}
body.page-id-5703 #finishes .lz-s12-card:focus-visible img,body.page-id-5703 #finishes .lz-s12-card.is-front img{transform:translate3d(0,-6px,0) rotate(0deg) scale(1.03)}
}
/* Fix r1, 540 to 767 (600 and 712 portrait, landscape phones): the 3 photo row collage like on iPads, inside the 20px
   gutter plus room for the tilt, instead of 3 near full width stacked photos (1.7 to 2 screens). The row is capped so the
   centre photo stays within about 75% of the screen height on landscape phones. */
@media (min-width:540px) and (max-width:767px){
body.page-id-5703 #finishes .lz-s12-photos{max-width:min(100%,calc(136vh + 56px));padding:12px 28px 32px}
body.page-id-5703 #finishes .lz-s12-card img{border-width:3px;border-radius:18px}
}
@media (prefers-reduced-motion:reduce){
body.page-id-5703 #finishes .lz-s12-card img{transition:box-shadow .2s,filter .2s}
}

