/* Match the supplied ketubah composition while retaining the mantle palette. */
@media(min-width:1001px){
html body.kg-white.mantles-private.mantle-layout-v2:has(.kg-product) .kg-main{width:100%!important;max-width:1440px!important;padding-inline:80px!important;box-sizing:border-box!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product{display:grid!important;direction:ltr!important;width:100%!important;max-width:1240px!important;margin-inline:auto!important;padding-inline:0!important;grid-template-columns:minmax(0,1.6045fr) minmax(0,1fr)!important;column-gap:clamp(40px,5.66vw,94px)!important;align-items:start!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art,
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art.mantle-family-art,
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art:not(.mantle-family-art){display:grid!important;direction:ltr!important;width:100%!important;max-width:none!important;grid-template-columns:42px clamp(96px,8.91vw,148px) minmax(0,1fr)!important;column-gap:8px!important;row-gap:12px!important;padding-block:0!important;align-items:start!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.kg-zoom{grid-column:3!important;grid-row:1!important;width:auto!important;min-width:0!important;margin:0 0 0 clamp(24px,3.79vw,63px)!important;padding:0!important;display:flex!important;justify-content:center!important;align-items:flex-start!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.kg-zoom img{display:block!important;height:auto!important;width:auto!important;max-width:100%!important;max-height:var(--mantle-panel-height)!important;object-fit:contain!important;object-position:center top!important;margin:0 auto!important;border:0!important;padding:0!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.mantle-family-scroller{grid-column:2!important;grid-row:1!important;width:100%!important;max-width:none!important;height:var(--mantle-panel-height)!important;max-height:var(--mantle-panel-height)!important;margin:0!important;padding:0!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art .mantle-family-choices{gap:8px!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art .mantle-family-choices>a{width:100%!important;height:auto!important;aspect-ratio:1.08!important;min-height:0!important;padding:0!important;border:1px solid #b7955266!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art .mantle-family-choices img{width:100%!important;height:100%!important;min-height:0!important;object-fit:contain!important;background:#050505!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.gallery-share-rail{grid-column:1!important;grid-row:1!important;position:static!important;inset:auto!important;transform:none!important;align-self:center!important;justify-self:center!important;margin:0!important;gap:9px!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .gallery-share-button{width:42px!important;height:42px!important;background:#080808!important;border-color:#b79552!important;color:#d5b87b!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-description{min-width:0!important;margin:0!important;padding:0!important;direction:rtl!important;text-align:right!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-description h1{margin-top:0!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-description p{line-height:1.65!important;margin-block:0 18px!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.kg-caption{grid-column:3!important;margin-left:clamp(24px,3.79vw,63px)!important}
}
@media(min-width:651px) and (max-width:1000px){
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product{padding-inline:42px!important;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)!important;column-gap:28px!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art.mantle-family-art{grid-template-columns:34px 72px minmax(0,1fr)!important;column-gap:10px!important}
}
/* Size the visible mantle consistently, removing excessive source-photo margins. */
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.kg-zoom{position:relative!important;height:var(--mantle-canvas-height,500px)!important;overflow:hidden!important;background:#050505!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.kg-zoom img{position:absolute!important;left:50%!important;right:auto!important;top:var(--mantle-product-top,0%)!important;bottom:auto!important;transform:translateX(-50%)!important;height:var(--mantle-product-height,100%)!important;max-height:none!important;min-height:0!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;object-fit:fill!important}

/* Give the main mantle more room, with a restrained gold frame. */
@media(min-width:1001px){
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr)!important;column-gap:clamp(36px,3.5vw,58px)!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art,
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art.mantle-family-art,
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art:not(.mantle-family-art){grid-template-columns:42px clamp(84px,6.5vw,108px) minmax(0,1fr)!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.kg-zoom{margin-left:24px!important}
}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art>.kg-zoom{border:1px solid #b79552!important;box-sizing:border-box!important}
/* Single-design pages must use the large artwork column, never the thumbnail column. */
@media(min-width:1001px){
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art:not(.mantle-family-art)>.kg-zoom{grid-column:3!important;grid-row:1!important;justify-self:stretch!important}
}
@media(min-width:651px) and (max-width:1000px){
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art:not(.mantle-family-art){grid-template-columns:34px minmax(0,1fr)!important;column-gap:20px!important}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-art:not(.mantle-family-art)>.kg-zoom{grid-column:2!important;grid-row:1!important;justify-self:stretch!important;margin-left:0!important}
}

/* Align the enquiry button with the start of the description in both languages. */
html[lang="en"] body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-description{
  direction:ltr!important;
  text-align:left!important;
}
html[lang="en"] body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-description :is(h1,p){
  text-align:left!important;
  margin-inline:0!important;
}
html body.kg-white.mantles-private.mantle-layout-v2 .kg-product .kg-order>.kg-button{
  display:flex;
  width:fit-content;
  max-width:100%;
  margin-inline:0 auto;
  text-align:center;
}
