/* PAHM MOBILE HERO — final structural fix
   Keep desktop untouched. On phones, the hero video and TIMELESS FEMININITY
   are one continuous composition with intentional overlap and no spacer gap. */
@media (max-width: 700px){
  .hero{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    overflow:visible!important;
    position:relative!important;
  }

  .hero-photo{
    position:relative!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:min(72svh,600px)!important;
    min-height:0!important;
    max-height:600px!important;
    overflow:hidden!important;
  }

  .hero-photo video,
  .hero-photo img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    object-fit:cover!important;
    object-position:center center!important;
  }

  .hero-content{
    position:relative!important;
    inset:auto!important;
    z-index:3!important;
    flex:0 0 auto!important;
    width:92%!important;
    height:auto!important;
    min-height:0!important;
    margin:-90px auto 0!important;
    padding:48px 8vw 42px!important;
    background:rgba(250,248,244,.98)!important;
    box-shadow:0 0 0 1px rgba(222,216,208,.45)!important;
    text-align:center!important;
    overflow:visible!important;
  }

  .hero-content h1{
    font-size:clamp(32px,8.5vw,42px)!important;
    line-height:.98!important;
    letter-spacing:.045em!important;
    margin:8px auto 16px!important;
  }

  .hero-description{
    max-width:88%!important;
    margin:0 auto!important;
    font-size:9px!important;
    line-height:1.55!important;
  }

  .discover{
    margin-top:16px!important;
  }

  /* PAHM MOBILE HEADER — keep the shopping bag inside the header row. */
  .header{
    position:relative!important;
    overflow:visible!important;
  }
  .right-nav{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .right-nav #bagBtn{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    width:auto!important;
    min-width:34px!important;
    max-width:54px!important;
    height:36px!important;
    padding:0!important;
    margin:0!important;
    white-space:nowrap!important;
    overflow:visible!important;
    line-height:1!important;
    flex:0 0 auto!important;
  }
  .right-nav #bagBtn .pahm-bag-icon{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:22px!important;
    height:22px!important;
    flex:0 0 22px!important;
  }
  .right-nav #bagBtn .pahm-bag-icon svg{
    display:block!important;
    width:22px!important;
    height:22px!important;
  }
  .right-nav #bagBtn .pahm-bag-label{
    display:none!important;
  }
  .right-nav #bagBtn #bagCount{
    display:inline-block!important;
    min-width:8px!important;
    font-size:9px!important;
    line-height:1!important;
    vertical-align:middle!important;
  }
}

@media (min-width:701px){
  .hero,
  .hero-photo,
  .hero-content{
    /* Explicitly neutral: this file must not alter desktop/tablet layout. */
  }
}
