/* Product-list presentation, v1.0.158.
 * Four deliberately scoped surfaces share the same setting: category archive,
 * full search, homepage featured products and end-of-article product summaries.
 * Individual inline cards, editorial/review cards and sidebar widgets are untouched.
 * WordPress/SEO Max existing card styles continue to own colors, typography, etc. */
.aiseoam-product-list{min-width:0;width:100%}
.aiseoam-product-list>.aiseoam-card{min-width:0;max-width:100%;box-sizing:border-box}

@media (min-width:701px){
  /* Automatic leaves each original archive/homepage/summary column configuration intact. */
  .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="1"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="2"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="3"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="4"]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .aiseoam-product-list[data-product-desktop-layout="horizontal"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__inner{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    gap:clamp(14px,2vw,24px)!important;height:auto!important;padding:clamp(14px,2.1vw,22px)!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__image{
    flex:0 0 clamp(120px,16vw,164px)!important;width:clamp(120px,16vw,164px)!important;
    min-width:0!important;max-width:28%!important;height:clamp(110px,14vw,164px)!important;
    display:flex;align-items:center;justify-content:center;overflow:hidden;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__image-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__image img{
    display:block;max-width:100%;width:100%!important;height:100%!important;object-fit:contain;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__detail{
    display:flex!important;flex:1 1 0;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__copy{min-width:0;width:100%;align-items:flex-start!important;text-align:left!important}
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__title{text-align:left!important;overflow-wrap:anywhere}
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-card__buttons{
    display:flex!important;justify-content:flex-start!important;width:100%;margin:0!important;padding:0!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-desktop-layout="horizontal"]>.aiseoam-card .aiseoam-buy{
    box-sizing:border-box;max-width:100%;width:max-content!important;min-width:0;white-space:normal;overflow-wrap:anywhere;
  }
}

@media (min-width:701px) and (max-width:1080px){
  /* A narrow main column must not squeeze four cards into unreadable tiles. */
  .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (min-width:701px){
  @container aiseoam-category-content (max-width:650px){
    .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="3"],
    .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  }
  @container aiseoam-home-section (max-width:650px){
    .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="3"],
    .aiseoam-product-list[data-product-desktop-layout="grid"][data-product-desktop-columns="4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  }
}

@media (max-width:700px){
  /* Mobile choices always win over desktop settings, including saved homepage
   * alignment modes and the theme-independent archive grid's container queries. */
  .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="1"],
  .aiseoam-product-list[data-product-mobile-layout="horizontal"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(9px,2.5vw,13px)!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__inner{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    height:100%;padding:clamp(9px,2.8vw,13px)!important;gap:9px!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__image{
    width:100%!important;min-width:0!important;max-width:100%!important;
    height:clamp(110px,33vw,158px)!important;min-height:0!important;overflow:hidden;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__image-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__image img{
    max-width:100%;width:100%!important;height:100%!important;object-fit:contain;transform:none!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__title{
    font-size:clamp(12px,3.25vw,14px)!important;line-height:1.34!important;overflow-wrap:anywhere;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__eyebrow{font-size:10px!important}
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__detail{display:flex!important;flex:1;min-width:0;flex-direction:column!important;align-items:stretch!important}
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-card__buttons{
    margin-top:auto!important;padding-top:10px!important;width:100%!important;display:flex!important;justify-content:stretch!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-buy{
    width:100%!important;min-width:0!important;min-height:42px;max-width:100%;padding:9px 5px!important;
    font-size:clamp(10px,2.8vw,12px)!important;line-height:1.25!important;
    white-space:normal;overflow-wrap:anywhere;gap:3px;flex-wrap:wrap;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="grid"][data-product-mobile-columns="2"]>.aiseoam-card .aiseoam-buy__market svg{
    width:1.3em;height:1.3em;
  }
  /* Compact editorial rows on phones: image beside title and CTA, like sidebar. */
  .aiseoam-product-list[data-product-mobile-layout="horizontal"]{gap:12px!important}
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__inner{
    display:flex!important;flex-direction:row!important;align-items:center!important;
    gap:clamp(10px,3vw,15px)!important;padding:clamp(11px,3.6vw,16px)!important;
    height:auto!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__image{
    display:flex!important;align-items:center;justify-content:center;overflow:hidden;
    flex:0 0 clamp(78px,24vw,106px)!important;width:clamp(78px,24vw,106px)!important;
    min-width:0!important;max-width:29%!important;height:clamp(86px,28vw,112px)!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__image-link{
    display:flex;width:100%;height:100%;align-items:center;justify-content:center;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__image img{
    display:block;max-width:100%;width:100%!important;height:100%!important;object-fit:contain;transform:none!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__detail{
    display:flex!important;min-width:0!important;flex:1 1 0!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:center!important;gap:8px!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__copy{
    display:flex!important;align-items:flex-start!important;text-align:left!important;min-width:0;width:100%;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__title{
    font-size:clamp(12px,3.5vw,15px)!important;line-height:1.35!important;text-align:left!important;overflow-wrap:anywhere;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__eyebrow{
    font-size:10px!important;text-align:left!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-card__buttons{
    display:flex!important;justify-content:flex-start!important;margin:0!important;padding:0!important;
    min-width:0!important;max-width:100%;width:100%!important;
  }
  .aiseoam-summary .aiseoam-product-list[data-product-mobile-layout="horizontal"]>.aiseoam-card .aiseoam-buy{
    box-sizing:border-box;width:max-content!important;max-width:100%!important;min-width:0;
    padding:9px 12px!important;font-size:clamp(11px,3vw,13px)!important;
    min-height:40px!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere;
  }
}

/* v1.0.159 — Article and review lists have independent desktop/mobile layouts.
 * Product list rules remain untouched. Inline mentions, review hero and sidebar
 * widgets are deliberately excluded by the .aiseoam-editorial-list wrapper. */
.aiseoam-editorial-list{min-width:0;width:100%}
.aiseoam-editorial-list>.aiseoam-archive-card{min-width:0;max-width:100%;box-sizing:border-box}
@media (min-width:701px){
  /* Automatic retains each page's previous number of columns. */
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="grid"][data-editorial-desktop-columns="1"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="grid"][data-editorial-desktop-columns="2"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="grid"][data-editorial-desktop-columns="3"]{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="grid"][data-editorial-desktop-columns="4"]{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__inner{
    display:flex!important;flex-direction:row!important;align-items:center!important;gap:clamp(14px,2vw,24px)!important;height:auto!important;padding:clamp(14px,2vw,22px)!important
  }
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__image{
    flex:0 0 clamp(120px,16vw,180px)!important;width:clamp(120px,16vw,180px)!important;
    min-width:0!important;max-width:28%!important;height:clamp(105px,14vw,160px)!important;display:flex;align-items:center;justify-content:center;overflow:hidden
  }
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__image-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__image img{display:block;width:100%!important;height:100%!important;object-fit:contain;transform:none!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card--article .aiseoam-card__image img{object-fit:cover}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__detail{display:flex!important;flex:1 1 0;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__copy{width:100%;min-width:0;align-items:flex-start!important;text-align:left!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__title{text-align:left!important;overflow-wrap:anywhere}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__buttons{display:flex!important;justify-content:flex-start!important;width:100%;margin:0!important;padding:0!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="horizontal"]>.aiseoam-archive-card .aiseoam-buy{box-sizing:border-box;width:max-content!important;max-width:100%!important;min-width:0;white-space:normal;overflow-wrap:anywhere}
  @container aiseoam-category-content (max-width:650px){
    .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="grid"]:is([data-editorial-desktop-columns="3"],[data-editorial-desktop-columns="4"]){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  }
  @container aiseoam-home-section (max-width:650px){
    .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="grid"]:is([data-editorial-desktop-columns="3"],[data-editorial-desktop-columns="4"]){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  }
}
@media (min-width:701px) and (max-width:1080px){
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-desktop-layout="grid"][data-editorial-desktop-columns="4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:700px){
  /* Mobile choices always override legacy category and homepage grid rules. */
  .aiseoam-summary .aiseoam-editorial-list:is([data-editorial-mobile-layout="horizontal"],[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="1"]){display:grid!important;grid-template-columns:minmax(0,1fr)!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(9px,2.6vw,13px)!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__inner{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;height:100%!important;padding:clamp(9px,2.8vw,13px)!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__image{width:100%!important;min-width:0!important;max-width:100%!important;height:clamp(100px,32vw,154px)!important;min-height:0!important;overflow:hidden}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__image-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__image img{width:100%!important;max-width:100%;height:100%!important;object-fit:contain;transform:none!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card--article .aiseoam-card__image img{object-fit:cover}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__detail{display:flex!important;flex:1!important;min-width:0!important;flex-direction:column!important;align-items:stretch!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__title{font-size:clamp(12px,3.3vw,14px)!important;line-height:1.34!important;overflow-wrap:anywhere}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__eyebrow{font-size:10px!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-card__buttons{margin-top:auto!important;padding-top:10px!important;width:100%!important;display:flex!important;justify-content:stretch!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="grid"][data-editorial-mobile-columns="2"]>.aiseoam-archive-card .aiseoam-buy{width:100%!important;min-width:0!important;min-height:39px;max-width:100%!important;padding:8px 5px!important;font-size:clamp(10px,2.8vw,12px)!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere;text-align:center}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]{gap:12px!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__inner{display:flex!important;flex-direction:row!important;align-items:center!important;gap:clamp(10px,3vw,15px)!important;padding:clamp(11px,3.6vw,16px)!important;height:auto!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__image{display:flex!important;align-items:center;justify-content:center;overflow:hidden;flex:0 0 clamp(78px,24vw,106px)!important;width:clamp(78px,24vw,106px)!important;min-width:0!important;max-width:29%!important;height:clamp(86px,28vw,112px)!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__image-link{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__image img{width:100%!important;max-width:100%;height:100%!important;object-fit:contain;transform:none!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card--article .aiseoam-card__image img{object-fit:cover}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__detail{display:flex!important;flex:1 1 0!important;min-width:0!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;gap:8px!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__copy{display:flex!important;align-items:flex-start!important;text-align:left!important;min-width:0;width:100%}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__title{font-size:clamp(12px,3.5vw,15px)!important;line-height:1.35!important;text-align:left!important;overflow-wrap:anywhere}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__eyebrow{font-size:10px!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-card__buttons{margin:0!important;padding:0!important;width:100%!important;display:flex!important;justify-content:flex-start!important}
  .aiseoam-summary .aiseoam-editorial-list[data-editorial-mobile-layout="horizontal"]>.aiseoam-archive-card .aiseoam-buy{width:max-content!important;max-width:100%!important;min-height:38px!important;min-width:0!important;padding:8px 11px!important;font-size:clamp(10px,3vw,12px)!important;line-height:1.25!important;white-space:normal;overflow-wrap:anywhere}
  /* Keep the article cover and review product photo distinct in both layouts. */
}
