/* Cementare Pricing + Terms mobile parity v1
   Scope: <=1199px only. Desktop >=1200 remains unchanged. */

@media (max-width:1199.98px){
  body.ct-page-price .ct-nav-hero--utility,
  body.ct-page-terms .ct-nav-hero--utility{
    min-height:0!important;
  }

  body.ct-page-price .ct-price-shell,
  body.ct-page-price .ct-price-intro,
  body.ct-page-price .ct-price-copy,
  body.ct-page-price .ct-price-actions,
  body.ct-page-price .ct-price-figure,
  body.ct-page-terms .ct-terms-editorial .container,
  body.ct-page-terms .ct-terms-editorial .inner-container,
  body.ct-page-terms .cementare-terms-intro,
  body.ct-page-terms .cementare-terms-list,
  body.ct-page-terms .cementare-term-card{
    min-width:0!important;
    max-width:100%!important;
  }

  body.ct-page-price .ct-price-copy,
  body.ct-page-price .ct-price-actions,
  body.ct-page-terms .cementare-terms-intro,
  body.ct-page-terms .cementare-term-title,
  body.ct-page-terms .cementare-term-card p{
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  body.ct-page-price .ct-price-figure img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    object-fit:cover!important;
  }
}

@media (min-width:701px) and (max-width:1199.98px){
  body.ct-page-price .ct-price-shell,
  body.ct-page-terms .ct-terms-editorial .container{
    width:min(100% - 48px,1040px)!important;
  }

  body.ct-page-price .ct-price-shell{
    grid-template-columns:minmax(0,1fr)!important;
    gap:34px!important;
  }
  body.ct-page-price .ct-price-actions,
  body.ct-page-price .ct-price-figure{
    grid-column:1!important;
    grid-row:auto!important;
  }
  body.ct-page-price .ct-price-figure img{
    height:clamp(420px,58vw,620px)!important;
    min-height:0!important;
  }

  body.ct-page-terms .ct-terms-editorial .cementare-terms-intro{
    grid-template-columns:160px minmax(0,1fr)!important;
    gap:26px!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-card{
    grid-template-columns:52px 210px minmax(0,1fr)!important;
    column-gap:20px!important;
  }
}

@media (max-width:700px){
  body.ct-page-price .ct-nav-hero--utility,
  body.ct-page-terms .ct-nav-hero--utility{
    padding-top:max(88px,calc(76px + env(safe-area-inset-top)))!important;
  }
  body.ct-page-price .ct-nav-hero--utility .ct-nav-top,
  body.ct-page-terms .ct-nav-hero--utility .ct-nav-top{
    min-height:0!important;
    height:auto!important;
  }

  body.ct-page-price .ct-price-content{
    padding:42px 0 66px!important;
  }
  body.ct-page-price .ct-price-shell{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:30px!important;
    padding-left:max(0px,env(safe-area-inset-left))!important;
    padding-right:max(0px,env(safe-area-inset-right))!important;
    box-sizing:border-box!important;
  }
  body.ct-page-price .ct-price-copy p{
    font-size:15px!important;
    line-height:1.7!important;
  }
  body.ct-page-price .ct-price-actions{
    grid-column:1!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:12px!important;
    padding-top:4px!important;
  }
  body.ct-page-price .ct-price-actions a{
    max-width:100%!important;
    white-space:normal!important;
  }
  body.ct-page-price .ct-price-figure{
    grid-column:1!important;
    grid-row:auto!important;
    width:100%!important;
    border-radius:15px!important;
  }
  body.ct-page-price .ct-price-figure img{
    height:clamp(300px,78vw,450px)!important;
    min-height:0!important;
    max-height:none!important;
  }
  body.ct-page-price .ct-price-figure figcaption{
    left:13px!important;
    right:13px!important;
    bottom:11px!important;
    gap:10px!important;
    flex-wrap:wrap!important;
  }

  body.ct-page-terms .ct-terms-editorial{
    padding:44px 0 70px!important;
  }
  body.ct-page-terms .ct-terms-editorial .container{
    width:calc(100% - 32px)!important;
    max-width:none!important;
    padding-left:max(0px,env(safe-area-inset-left))!important;
    padding-right:max(0px,env(safe-area-inset-right))!important;
    box-sizing:border-box!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-terms-intro{
    display:block!important;
    margin-bottom:34px!important;
    padding:18px 0 26px!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-terms-date{
    margin:0 0 14px!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-terms-intro p{
    font-size:15px!important;
    line-height:1.72!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-card{
    grid-template-columns:38px minmax(0,1fr)!important;
    column-gap:12px!important;
    padding:23px 0 25px!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-card::before{
    grid-column:1!important;
    grid-row:1 / span 12!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-title,
  body.ct-page-terms .ct-terms-editorial .cementare-term-card p{
    grid-column:2!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-title{
    margin:0 0 10px!important;
    padding:0!important;
    font-size:22px!important;
    line-height:1.18!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-card p{
    font-size:15px!important;
    line-height:1.72!important;
  }
}

@media (max-width:390px){
  body.ct-page-price .ct-price-shell,
  body.ct-page-terms .ct-terms-editorial .container{
    width:calc(100% - 28px)!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-card{
    grid-template-columns:32px minmax(0,1fr)!important;
    column-gap:10px!important;
  }
  body.ct-page-terms .ct-terms-editorial .cementare-term-title{
    font-size:21px!important;
  }
}

@media (orientation:landscape) and (max-width:991.98px) and (max-height:520px){
  body.ct-page-price .ct-nav-hero--utility,
  body.ct-page-terms .ct-nav-hero--utility{
    min-height:0!important;
    height:auto!important;
    padding-top:max(72px,calc(62px + env(safe-area-inset-top)))!important;
  }
  body.ct-page-price .ct-nav-hero--utility .ct-nav-top,
  body.ct-page-terms .ct-nav-hero--utility .ct-nav-top{
    min-height:0!important;
    height:auto!important;
  }
  body.ct-page-price .ct-price-content,
  body.ct-page-terms .ct-terms-editorial{
    padding-top:32px!important;
  }
  body.ct-page-price .ct-price-figure img{
    height:min(66vh,360px)!important;
  }
}
