/* BBOX 5.5.0 MOBILE ISOLATION — migrated from former shared base.css. */
/* related-products — base presentation. */
.related.products,.upsells.products,.cross-sells {
  clear: both;
  margin-block: var(--bbox-space-8);
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
}

.related.products>h2 {
  margin-bottom: var(--bbox-space-5);
}

/* BBOX_5_5_3_RENDER_RECONCILIATION_RELATED:START */
@media (max-width:782px){
  .single-product .related.products{
    margin:18px 0 20px !important;
  }

  .single-product .related.products > h2{
    margin:0 0 12px !important;
    font-size:16px !important;
    line-height:1.45 !important;
  }

  .single-product .related.products ul.products{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    margin:0 !important;
    padding:0 !important;
  }

  .single-product .related.products ul.products::before,
  .single-product .related.products ul.products::after{
    display:none !important;
    content:none !important;
  }

  .single-product .related.products ul.products li.product{
    box-sizing:border-box !important;
    float:none !important;
    clear:none !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    padding:9px !important;
    border-radius:14px !important;
    overflow:hidden !important;
  }

  .single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link{
    display:flex !important;
    flex-direction:column !important;
    min-width:0 !important;
    height:100% !important;
  }

  .single-product .related.products ul.products li.product img{
    width:100% !important;
    height:auto !important;
    aspect-ratio:1 / 1 !important;
    object-fit:contain !important;
    margin:0 0 8px !important;
    border-radius:10px !important;
  }

  .single-product .related.products ul.products li.product .woocommerce-loop-product__title{
    display:-webkit-box !important;
    min-height:2.9em !important;
    max-height:2.9em !important;
    margin:0 0 7px !important;
    overflow:hidden !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    font-size:11.5px !important;
    line-height:1.45 !important;
  }

  .single-product .related.products ul.products li.product .price{
    min-height:2.5em !important;
    margin:0 0 8px !important;
    font-size:11px !important;
    line-height:1.35 !important;
  }

  .single-product .related.products ul.products li.product .button{
    width:100% !important;
    min-height:36px !important;
    margin-top:auto !important;
    padding:7px 6px !important;
    border-radius:10px !important;
    font-size:10.5px !important;
    line-height:1.25 !important;
    white-space:normal !important;
  }
}

@media (min-width:600px) and (max-width:782px){
  .single-product .related.products ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:12px !important;
  }
}
/* BBOX_5_5_3_RENDER_RECONCILIATION_RELATED:END */
