/* Zi Vital RC1 closeout — checkout header, shipping controls and testimonials */

/* ---------- CHECKOUT HEADER: match the rest of the site ---------- */
body.woocommerce-checkout .act-header{
  width:100%!important;
  padding:16px 0!important;
}
body.woocommerce-checkout .act-header .act-container{
  width:min(1180px,calc(100% - 34px))!important;
  max-width:1180px!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}
body.woocommerce-checkout .act-header__inner{
  width:100%!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  gap:24px!important;
  padding:12px 16px!important;
}
body.woocommerce-checkout .act-nav{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:24px!important;
  min-width:0!important;
  white-space:nowrap!important;
}
body.woocommerce-checkout .act-nav__link{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:12px 0!important;
  font-size:12px!important;
  line-height:1.2!important;
}
body.woocommerce-checkout .act-header__actions{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  white-space:nowrap!important;
}

/* ---------- CHECKOUT DELIVERY SELECTORS ---------- */
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  column-gap:18px!important;
  row-gap:14px!important;
}
body.woocommerce-checkout #shipping_department_field,
body.woocommerce-checkout #shipping_state_field{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.woocommerce-checkout #shipping_department,
body.woocommerce-checkout #shipping_state,
body.woocommerce-checkout #shipping_department_field .select2-container,
body.woocommerce-checkout #shipping_state_field .select2-container{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.woocommerce-checkout #shipping_department,
body.woocommerce-checkout #shipping_state{
  min-height:56px!important;
  padding-inline:14px!important;
  font-size:12px!important;
}
body.woocommerce-checkout #shipping_department_field label,
body.woocommerce-checkout #shipping_state_field label{
  display:block!important;
  margin-bottom:7px!important;
  font-size:9px!important;
  line-height:1.3!important;
}
body.woocommerce-checkout .zv-release-coverage-status{
  margin-top:2px!important;
  font-size:9px!important;
}

/* ---------- HOME TESTIMONIALS ---------- */
.zv3-testimonial-card{
  align-items:center!important;
  min-height:380px!important;
  text-align:center!important;
  padding:26px 28px 28px!important;
}
.zv3-testimonial-card__top{
  width:100%!important;
}
.zv3-testimonial-card blockquote{
  width:100%!important;
  max-width:310px!important;
  margin:24px auto 22px!important;
  font-size:clamp(21px,1.65vw,26px)!important;
  line-height:1.16!important;
  text-align:center!important;
}
.zv3-testimonial-card__person{
  width:100%!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin-top:auto!important;
  text-align:center!important;
}
.zv3-testimonial-card__person>span{
  width:82px!important;
  height:82px!important;
  min-width:82px!important;
  overflow:hidden!important;
  border:3px solid rgba(202,166,87,.34)!important;
  box-shadow:0 10px 28px rgba(91,65,31,.10)!important;
  font-size:28px!important;
}
.zv3-testimonial-card__person>span img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:center!important;
}
.zv3-testimonial-card__person strong{
  font-size:10px!important;
}
.zv3-testimonial-card__person small{
  font-size:8px!important;
}

@media(max-width:1120px){
  body.woocommerce-checkout .act-nav{gap:14px!important}
  body.woocommerce-checkout .act-nav__link{font-size:11px!important}
  body.woocommerce-checkout .act-header__inner{gap:16px!important}
}

@media(max-width:920px){
  body.woocommerce-checkout .act-nav{display:none!important}
  body.woocommerce-checkout .act-menu-toggle{display:block!important}
}

@media(max-width:720px){
  body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper{
    grid-template-columns:1fr!important;
  }
  .zv3-testimonial-card blockquote{
    max-width:100%!important;
    font-size:22px!important;
  }
  .zv3-testimonial-card__person>span{
    width:76px!important;
    height:76px!important;
    min-width:76px!important;
  }
}
