/* Final mantle geometry: one bounded photo frame, shared by every variant. */
html:root :is(#mantle-photo-layout,body.mantles-private){--mantle-detail-height:clamp(280px,calc(100svh - 250px),620px)}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-gallery-media{position:relative!important;display:block!important;width:100%!important;aspect-ratio:2/3!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background:#100d0a!important;box-sizing:border-box!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-gallery-media>img,
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.kg-zoom>img{position:absolute!important;display:block!important;inset:auto!important;left:50%!important;top:var(--mantle-display-top,0%)!important;bottom:auto!important;right:auto!important;width:auto!important;min-width:0!important;max-width:none!important;height:var(--mantle-display-height,100%)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:translateX(-50%)!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art{display:grid!important;direction:ltr!important;width:min(100%,calc(var(--mantle-detail-height)*.666667 + 190px))!important;max-width:100%!important;grid-template-columns:42px 84px minmax(0,1fr)!important;column-gap:32px!important;row-gap:24px!important;justify-self:end!important;align-items:start!important;padding:0!important;box-sizing:border-box!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.kg-zoom{grid-column:3!important;grid-row:1!important;position:relative!important;display:block!important;width:100%!important;min-width:0!important;height:var(--mantle-detail-height)!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1px solid #b79552!important;border-radius:2px!important;background:#100d0a!important;box-sizing:border-box!important;justify-self:stretch!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.mantle-family-scroller{grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;max-width:none!important;height:var(--mantle-detail-height)!important;max-height:var(--mantle-detail-height)!important;align-self:start!important;padding:0!important;margin:0!important;background:#050505!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-family-scroller>nav.mantle-family-choices{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;flex:1 1 0!important;gap:8px!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-width:none!important;align-self:stretch!important;box-sizing:border-box!important;padding:0!important;margin:0!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-family-choices>a{position:relative!important;display:block!important;flex:0 0 auto!important;aspect-ratio:2/3!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;overflow:hidden!important;box-sizing:border-box!important;padding:0!important;margin:0!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-family-choices img{display:block!important;position:absolute!important;inset:0!important;width:100%!important;max-width:100%!important;height:100%!important;max-height:100%!important;object-fit:cover!important;transform:none!important;margin:0!important;padding:0!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.gallery-share-rail{grid-column:1!important;grid-row:1!important;margin:0!important;align-self:center!important;position:static!important;transform:none!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.mantle-illustration-note{grid-column:3!important;grid-row:2!important;margin:0!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.kg-caption{grid-column:3!important;grid-row:3!important;margin:0!important}
@media(min-width:651px){
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art:not(.mantle-family-art){grid-template-columns:42px minmax(0,1fr)!important;width:min(100%,calc(var(--mantle-detail-height)*.666667 + 74px))!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art:not(.mantle-family-art)>.kg-zoom,
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art:not(.mantle-family-art)>.mantle-illustration-note{grid-column:2!important}
}
@media(max-width:650px){
html:root :is(#mantle-photo-layout,body.mantles-private){--mantle-detail-height:min(65svh,520px)}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art{width:100%!important;grid-template-columns:minmax(0,1fr)!important;justify-self:stretch!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.kg-zoom{grid-column:1!important;grid-row:1!important;width:min(100%,calc(var(--mantle-detail-height)*.666667))!important;justify-self:center!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.mantle-illustration-note{grid-column:1!important;grid-row:2!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.mantle-family-scroller{grid-column:1!important;grid-row:3!important;height:auto!important;max-height:none!important;background:transparent!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-family-scroller>nav.mantle-family-choices{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;overflow:visible!important;flex:none!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.gallery-share-rail{grid-column:1!important;grid-row:4!important;flex-direction:row!important;justify-self:center!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.kg-caption{grid-column:1!important;grid-row:5!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-family-scroll-button{display:none!important}
}
/* Isolate text painting from photo replacement and resize notifications. */
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-description{position:relative!important;z-index:1!important;isolation:isolate!important;transform:translateZ(0)!important}
/* Continue the existing curtain/floor edges around the original-sized photo. */
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-gallery-media::before,
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.kg-zoom::before{content:""!important;position:absolute!important;inset:0!important;box-sizing:border-box!important;pointer-events:none!important;border-style:solid!important;border-color:transparent!important;border-width:var(--mantle-backdrop-edges,0px)!important;border-image-source:var(--mantle-backdrop-image,none)!important;border-image-slice:1 fill!important;border-image-repeat:stretch!important;z-index:0!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .mantle-gallery-media>img,
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art>.kg-zoom>img{z-index:1!important}
/* Center the complete photo/family/share/text composition, with a wider description. */
@media(min-width:1200px){
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product{grid-template-columns:minmax(0,calc(var(--mantle-detail-height)*.666667 + 190px)) minmax(0,1fr)!important;column-gap:48px!important;max-width:1280px!important;margin-inline:auto!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product:has(.kg-art:not(.mantle-family-art)){grid-template-columns:minmax(0,calc(var(--mantle-detail-height)*.666667 + 74px)) minmax(0,1fr)!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-description{width:100%!important;max-width:none!important;min-width:0!important}
}
/* Match the live ketubah detail description: 1240px product, 104px inset,
   32px column gutter and 1.75:1 artwork/copy columns. */
@media(min-width:901px){
html:root :is(#mantle-photo-layout,body.mantles-private){--mantle-copy-width:calc((min(calc(100vw - 56px),1240px) - 136px)/2.75 + 64px)}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product,
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product:has(.kg-art:not(.mantle-family-art)){grid-template-columns:minmax(0,1fr) var(--mantle-copy-width)!important;width:min(100%,calc(var(--mantle-detail-height)*.666667 + 190px + 48px + var(--mantle-copy-width)))!important;column-gap:48px!important;margin-inline:auto!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product:has(.kg-art:not(.mantle-family-art)){width:min(100%,calc(var(--mantle-detail-height)*.666667 + 74px + 48px + var(--mantle-copy-width)))!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-description{width:100%!important;max-width:none!important;min-width:0!important}
}
/* Right edge of the copy follows the breadcrumb's content edge. */
@media(min-width:901px){
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product,
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product:has(.kg-art:not(.mantle-family-art)){width:100%!important;max-width:none!important;padding-inline:0!important;box-sizing:border-box!important}
html:root :is(#mantle-photo-layout,body.mantles-private) .kg-product .kg-art{justify-self:center!important}
}

/* Full continuous photographs retain the shared 66% garment height. */
html:root :is(#mantle-photo-layout,body.mantles-private).kg-white.mantles-private.mantles-private.mantle-layout-v2 [data-mantle-full-scene]::before{content:none!important;border:0!important;border-image:none!important}
html:root :is(#mantle-photo-layout,body.mantles-private).kg-white.mantles-private.mantles-private.mantle-layout-v2 [data-mantle-full-scene]>img{position:absolute!important;inset:auto!important;left:50%!important;top:var(--mantle-display-top)!important;width:auto!important;height:var(--mantle-display-height)!important;max-width:none!important;max-height:none!important;min-width:0!important;transform:translateX(-50%)!important;object-fit:contain!important;aspect-ratio:auto!important;margin:0!important;padding:0!important}
