
/* NAGARA v28 — heritage bottom fit + tighter mobile spacing */

html,body{overflow-x:clip}
.heritage-page-body,.heritage-main{overflow-x:clip}

/* Heritage hero: make the bottom line sit cleaner and keep the image composition stable */
.heritage-hero{min-height:100svh!important}
.heritage-hero__media img{
  object-position:center 48%!important;
  transform:scale(1.03)!important;
}
.heritage-hero__contain{
  min-height:100svh!important;
  box-sizing:border-box!important;
  padding-top:7.35rem!important;
  padding-bottom:2.2rem!important;
}
.heritage-hero__title{
  max-width:8ch;
}
.heritage-hero__side{
  padding-bottom:.35rem!important;
}
.heritage-hero__bottom{
  align-items:center!important;
  gap:1rem!important;
  padding-top:1rem!important;
  padding-bottom:max(.15rem, env(safe-area-inset-bottom))!important;
  white-space:normal!important;
}
.heritage-hero__bottom span:last-child{
  text-align:right;
}

/* Heritage CTA / last image area */
.heritage-cta{
  min-height:64svh!important;
}
.heritage-cta__media img{
  object-position:center center!important;
  transform:scale(1.01)!important;
  opacity:.52!important;
}
.heritage-cta__contain{
  min-height:64svh!important;
  box-sizing:border-box!important;
  padding-top:4.1rem!important;
  padding-bottom:max(2rem, env(safe-area-inset-bottom))!important;
}
.heritage-cta h2{
  max-width:8ch;
}

/* General mobile spacing a bit tighter */
@media(max-width:767px){
  .u-container{padding-left:.95rem!important;padding-right:.95rem!important}

  .collections-intro__contain{padding-top:5.95rem!important;padding-bottom:2.7rem!important}
  .collection-products-page .cp-products{padding-top:1.8rem!important;padding-bottom:3rem!important}
  .collection-products-page .cp-grid{gap:1.5rem!important}
  .product-detail-page .pdp-gallery{padding:1.35rem 0 1.7rem!important}
  .product-detail-page .pdp-details{padding:1.7rem 0 1.95rem!important}
  .product-detail-page .pdp-next{padding:1.5rem 0 1.9rem!important}

  /* Heritage hero mobile */
  .heritage-hero{min-height:100svh!important}
  .heritage-hero__media img{
    object-position:center 50%!important;
    transform:scale(1.02)!important;
  }
  .heritage-hero__contain{
    min-height:100svh!important;
    padding-top:5.5rem!important;
    padding-bottom:1.25rem!important;
    justify-content:flex-end!important;
    gap:.6rem!important;
  }
  .heritage-hero__kicker{margin-bottom:auto!important}
  .heritage-hero__title{
    font-size:14.2vw!important;
    line-height:.86!important;
    max-width:9ch!important;
  }
  .heritage-hero__side{
    grid-template-columns:1fr!important;
    gap:.3rem!important;
    margin-top:.35rem!important;
    padding-bottom:0!important;
  }
  .heritage-hero__side p{
    font-size:.72rem!important;
    line-height:1.48!important;
  }
  .heritage-hero__bottom{
    margin-top:.65rem!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    justify-content:flex-start!important;
    gap:.28rem!important;
    padding-top:.75rem!important;
    padding-bottom:max(.15rem, env(safe-area-inset-bottom))!important;
  }
  .heritage-hero__bottom span,
  .heritage-hero__bottom span:last-child{
    text-align:left!important;
  }

  .heritage-artistry{padding:2.35rem 0!important}
  .heritage-craft__contain{padding-top:2.65rem!important;padding-bottom:2rem!important}
  .heritage-origin{padding:2.35rem 0!important}
  .heritage-frames{padding:2.35rem 0 2.7rem!important}

  /* Heritage bottom image block mobile */
  .heritage-cta{min-height:54svh!important}
  .heritage-cta__contain{
    min-height:54svh!important;
    padding-top:2.55rem!important;
    padding-bottom:1.35rem!important;
    justify-content:flex-end!important;
  }
  .heritage-cta h2{
    font-size:13.2vw!important;
    line-height:.88!important;
    margin:.35rem 0 .95rem!important;
    max-width:9ch!important;
  }
  .heritage-cta__button{width:100%!important}

  /* Footer compact */
  .footer_row_top.u-grid-custom{margin-bottom:1.8rem!important;row-gap:1.5rem!important}
  .footer_bottom_contain.u-container.u-vflex-stretch-between{padding-bottom:2rem!important}
}

@media(max-width:479px){
  .heritage-hero__contain{padding-top:5.15rem!important;padding-bottom:1.1rem!important}
  .heritage-hero__title{font-size:13.8vw!important}
  .heritage-cta__contain{padding-top:2.2rem!important;padding-bottom:1.2rem!important}
  .heritage-cta h2{font-size:12.8vw!important}
}
