/* AVS Product System v25.3.3 — Desktop List Typography + Alignment Final
 * --------------------------------------------------------------------------
 * LAYOUT VARIANT ONLY.
 * Typography is NEVER redefined here. Desktop Grid and Desktop List inherit
 * the same shared Desktop Master fonts, weights, price, specs and CTA styles.
 * This file controls only geometry, placement and timer container emphasis.
 */

@media (min-width:1024px){
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  ul.products:not(.avs-ew-products__track)>li.product.avs-product-card--catalog{
    display:grid!important;
    grid-template-columns:205px minmax(0,1fr)!important;
    grid-template-rows:58px auto!important;
    grid-template-areas:
      "image promo"
      "image body"!important;
    width:min(86%,1280px)!important;
    max-width:1280px!important;
    min-width:0!important;
    min-height:205px!important;
    height:auto!important;
    align-items:stretch!important;
    justify-self:center!important;
    margin-inline:auto!important;
    overflow:hidden!important;
  }

  /* Promo keeps Master typography, but gets a stronger and larger visual rail. */
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__promo{
    grid-area:promo!important;
    display:flex!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    min-height:58px!important;
    height:58px!important;
    margin:0!important;
    padding:7px 12px!important;
    border-bottom:1px solid #dcefe2!important;
    background:linear-gradient(180deg,#fff 0%,#fbfffc 48%,#f4fbf6 100%)!important;
    overflow:hidden!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__promo.is-regular{visibility:hidden!important}

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-sale-timer--rail{
    min-height:44px!important;
    gap:7px!important;
  }

  /* Geometry only: no list-specific font-size/font-weight declarations. */
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-sale-timer__title{
    flex:0 0 86px!important;
    width:86px!important;
    height:38px!important;
    padding-inline:11px!important;
    border-radius:999px!important;
    box-shadow:0 7px 18px rgba(22,163,74,.20)!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-time-unit{
    flex:0 0 36px!important;
    width:36px!important;
    height:44px!important;
    padding:3px 1px!important;
    border-radius:10px!important;
    box-shadow:0 4px 11px rgba(15,23,42,.05)!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-sale-timer__flame{
    flex:0 0 28px!important;
    width:28px!important;
    height:28px!important;
    margin-left:2px!important;
    background:#eaf9ef!important;
    color:#16a34a!important;
    box-shadow:0 5px 14px rgba(22,163,74,.15)!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-sale-timer__flame svg{
    width:13px!important;
    height:13px!important;
  }

  /* More compact media rail. */
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__image{
    grid-area:image!important;
    align-self:stretch!important;
    justify-self:stretch!important;
    width:205px!important;
    min-width:205px!important;
    max-width:205px!important;
    height:100%!important;
    min-height:205px!important;
    max-height:236px!important;
    aspect-ratio:auto!important;
    margin:0!important;
    padding:6px!important;
    border-inline-end:1px solid #eef2f6!important;
    border-bottom:0!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__image img{
    width:100%!important;
    height:100%!important;
    max-width:190px!important;
    max-height:190px!important;
    object-fit:contain!important;
    object-position:center!important;
  }

  /* Content cluster starts immediately after the promo instead of floating in
   * the middle of a tall empty area. */
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__body{
    grid-area:body!important;
    display:grid!important;
    grid-template-rows:auto auto!important;
    align-content:start!important;
    width:100%!important;
    min-width:0!important;
    padding:6px 11px 9px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-product-card__title{
    width:100%!important;
    height:40px!important;
    min-height:40px!important;
    max-height:40px!important;
    margin:0 0 7px!important;
    padding:0 2px!important;
    text-align:right!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-product-card__decision{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 224px!important;
    grid-template-areas:"specs footer"!important;
    gap:9px!important;
    align-items:center!important;
    align-self:start!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-product-card__specs{
    grid-area:specs!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px 8px!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    align-self:center!important;
    align-content:center!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-product-card__spec{
    width:100%!important;
    min-width:0!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-product-card__footer{
    grid-area:footer!important;
    align-self:center!important;
    width:224px!important;
    max-width:224px!important;
    min-width:0!important;
    margin:0!important;
  }
}

@media (min-width:1440px){
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  ul.products:not(.avs-ew-products__track)>li.product.avs-product-card--catalog{
    grid-template-columns:210px minmax(0,1fr)!important;
    width:min(84%,1280px)!important;
    max-width:1280px!important;
    min-height:208px!important;
  }
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__image{
    width:210px!important;
    min-width:210px!important;
    max-width:210px!important;
    min-height:208px!important;
    max-height:240px!important;
  }
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__image img{
    max-width:195px!important;
    max-height:195px!important;
  }
}

@media (min-width:1024px) and (max-width:1199px){
  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  ul.products:not(.avs-ew-products__track)>li.product.avs-product-card--catalog{
    grid-template-columns:188px minmax(0,1fr)!important;
    width:min(94%,1080px)!important;
    min-height:198px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__promo{
    min-height:54px!important;
    height:54px!important;
    padding:6px 9px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-sale-timer__title{
    flex-basis:76px!important;
    width:76px!important;
    height:34px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-time-unit{
    flex-basis:31px!important;
    width:31px!important;
    height:39px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__image{
    width:188px!important;
    min-width:188px!important;
    max-width:188px!important;
    min-height:198px!important;
    max-height:226px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog>.avs-product-card__image img{
    max-width:174px!important;
    max-height:178px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-product-card__decision{
    grid-template-columns:minmax(0,1fr) 214px!important;
    gap:8px!important;
  }

  body.avs-catalog-enabled.avs-product-system.avs-catalog-view-list
  .avs-product-card--catalog .avs-product-card__footer{
    width:214px!important;
    max-width:214px!important;
  }
}
