/* Zi Vital Store V8 — final top-pair category composition */

.zv-store-category.is-v8-top-pair .zv-store-category__products{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:1fr!important;
  height:clamp(510px,41vw,580px)!important;
  max-height:580px!important;
  gap:12px!important;
  align-self:start!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products>.zv-store-product{
  grid-column:auto!important;
  grid-row:auto!important;
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-height:0!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__media,
.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product--featured .zv-store-product__media{
  height:315px!important;
  min-height:315px!important;
  margin:9px!important;
  border-radius:20px!important;
  background:#fff!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__media>a{
  width:100%!important;
  height:100%!important;
  overflow:hidden!important;
  background:#fff!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__media img{
  width:94%!important;
  height:94%!important;
  max-width:94%!important;
  max-height:94%!important;
  object-fit:contain!important;
  object-position:center!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__body{
  padding:12px 17px 17px!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__body h3,
.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product--featured .zv-store-product__body h3{
  margin:8px 0 8px!important;
  font-size:22px!important;
  line-height:1.06!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__excerpt{
  display:none!important;
}

.zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__footer{
  margin-top:auto!important;
}

.zv-store-product__badges .zv8-top-badge{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  padding:7px 10px!important;
  border:1px solid rgba(184,141,51,.24)!important;
  border-radius:999px!important;
  background:rgba(255,250,244,.96)!important;
  color:#956a20!important;
  font-size:8px!important;
  font-weight:800!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
  box-shadow:0 8px 18px rgba(67,49,30,.07)!important;
}

.zv-store-success__product [data-zv-store-success-price]{
  white-space:normal!important;
}

@media (max-width:980px){
  .zv-store-category.is-v8-top-pair .zv-store-category__products{
    height:530px!important;
    max-height:530px!important;
  }
  .zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__media,
  .zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product--featured .zv-store-product__media{
    height:280px!important;
    min-height:280px!important;
  }
  .zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__body h3,
  .zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product--featured .zv-store-product__body h3{
    font-size:20px!important;
  }
}

@media (max-width:720px){
  .zv-store-category.is-v8-top-pair .zv-store-category__products{
    height:auto!important;
    max-height:none!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto!important;
  }
  .zv-store-category.is-v8-top-pair .zv-store-category__products>.zv-store-product{
    min-height:470px!important;
  }
  .zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product__media,
  .zv-store-category.is-v8-top-pair .zv-store-category__products .zv-store-product--featured .zv-store-product__media{
    height:300px!important;
    min-height:300px!important;
  }
}
