.affiliate-v6-cce-home-products{margin:24px auto;padding:0 16px}
.affiliate-v6-cce-home-products__inner{max-width:1180px;margin:0 auto}
.affiliate-v6-cce-home-products__title{margin:0 0 14px;font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.2}
.affiliate-v6-cce-home-products__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
@media(max-width:850px){
  .affiliate-v6-cce-home-products__grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
  .affiliate-v6-cce-home-products__grid>*:nth-child(1),
  .affiliate-v6-cce-home-products__grid>*:nth-child(2),
  .affiliate-v6-cce-home-products__grid>*:nth-child(3){grid-column:span 2}
  .affiliate-v6-cce-home-products__grid>*:nth-child(4){grid-column:2/span 2}
  .affiliate-v6-cce-home-products__grid>*:nth-child(5){grid-column:4/span 2}
}
@media(max-width:520px){
  .affiliate-v6-cce-home-products{padding:0 12px}
}

/* V1.0.3: compact native CCE cards only inside the portable homepage top grid.
 * Contextual/body cards keep the native horizontal CCE layout unchanged. */
.affiliate-v6-cce-home-products__grid > .cce-product-card{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  align-items:stretch;
  margin:0;
  padding:0;
  min-width:0;
  max-width:100%;
  height:100%;
  overflow:hidden;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__media{
  box-sizing:border-box;
  width:100%;
  max-width:none;
  margin:0;
  aspect-ratio:4/3;
  padding:.7rem;
  border-radius:0;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__image{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:160px;
  object-fit:contain;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__content{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  min-width:0;
  width:100%;
  padding:.8rem;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__eyebrow{
  margin:0 0 .35rem;
  font-size:.67rem;
  line-height:1.25;
  letter-spacing:.05em;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__title{
  margin:0 0 .7rem;
  font-size:.88rem;
  line-height:1.35;
  min-width:0;
  overflow:hidden;
  overflow-wrap:break-word;
  word-break:normal;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__cta-wrap{
  margin:auto 0 .55rem;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__cta{
  box-sizing:border-box;
  width:100%;
  min-height:36px;
  padding:.55rem .65rem;
  font-size:.78rem;
  line-height:1.2;
}
.affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__disclosure{
  margin:0;
  font-size:.68rem;
  line-height:1.35;
}
@media(max-width:850px){
  .affiliate-v6-cce-home-products__grid > .cce-product-card .cce-product-card__title{
    font-size:.84rem;
  }
}
