/* v3.3.4 - server-rendered editorial cards with stable progressive hydration. */
[data-ambi-product-group] {
  --product-ink:#1b2e43; --product-muted:#53667a; --product-border:#dae3eb;
  --product-blue:#086dba; --product-blue-hover:#044f8a; --product-soft:#f6f9fc;
  color:var(--product-ink);
  /* SSR already renders complete cards; never replace the area with a 150px loader. */
  min-height:0;
}
.ambi-products__section { margin:1.6rem 0 1.25rem; }
.ambi-products__section-title { font-size:1.14rem;line-height:1.3; margin:0 0 .75rem; }
.ambi-products__grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));
  list-style:none; padding:0; margin:0; gap:1rem; align-items:stretch;
}
.ambi-product {
  min-width:0; display:grid; grid-template-columns:116px minmax(0,1fr);
  border:1px solid var(--product-border); border-radius:14px; background:#fff;
  box-shadow:0 5px 20px rgba(9,43,80,.045); overflow:hidden;
  min-height:270px;
}
.ambi-product--recommended { border-color:#6daed5;box-shadow:0 5px 22px rgba(5,105,173,.10); }
.ambi-product__visual {
  display:flex; justify-content:center;align-items:center; padding:.8rem;
  min-width:0;background:var(--product-soft);aspect-ratio:4/5;
  /* Image and no-image states occupy the same fixed area. */
}
.ambi-product__image { display:block;max-width:100%;width:100%;height:160px;object-fit:contain; }
.ambi-product__image-missing { font-size:.76rem;text-align:center;line-height:1.45;color:var(--product-muted); }
.ambi-product__content { min-width:0;display:flex;flex-direction:column;padding:.9rem 1rem 1rem;gap:.35rem; }
.ambi-product__eyebrow { font-size:.64rem;letter-spacing:.04em;text-transform:uppercase;color:var(--product-muted);font-weight:700; }
.ambi-product__badge { display:inline-flex;align-self:flex-start;max-width:100%;border-radius:999px;padding:.2rem .5rem;background:#e8f2f9;color:#164e74;font-weight:750;font-size:.68rem;line-height:1.25; }
.ambi-product__badge--alternative { background:#f3f4f6;color:#46586a; }
.ambi-product__badge--optional { background:#fff4de;color:#79551e; }
.ambi-product__title { font-size:.98rem;line-height:1.35;margin:.15rem 0 0;overflow-wrap:anywhere; }
.ambi-product__note { font-size:.79rem;line-height:1.5;margin:.2rem 0 .25rem;color:var(--product-muted); }
.ambi-product__catalog-name {
  font-size:.73rem;line-height:1.35;color:var(--product-muted);margin:.1rem 0 .35rem;
  min-height:2.7em;display:-webkit-box;-webkit-box-orient:vertical;
  -webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;
}
.ambi-product__bottom { margin-top:auto;display:flex;flex-direction:column;gap:.6rem;min-width:0; }
.ambi-product__summary {
  display:flex;flex-direction:column;gap:.13rem;
  /* Reserve room for a live price, timestamp and availability. */
  min-height:5.4rem;
}
.ambi-product__price { font-size:1.22rem;line-height:1.3;font-weight:850;letter-spacing:-.015em; }
.ambi-product__timestamp,.ambi-product__stock,.ambi-product__shipping,.ambi-product__price-missing,.ambi-product__search-note,.ambi-product__unavailable {
  font-size:.72rem;line-height:1.45;color:var(--product-muted);
}
.ambi-product__button { display:flex;align-items:center;justify-content:center;min-height:44px;text-align:center;border-radius:9px;padding:.7rem .6rem;box-sizing:border-box;background:var(--product-blue);color:#fff!important;text-decoration:none!important;font-size:.82rem;font-weight:750;line-height:1.3; }
.ambi-product__button:hover { background:var(--product-blue-hover); }
.ambi-product__button:focus-visible { outline:3px solid #d99d36;outline-offset:2px; }
.ambi-products__disclosure {margin:1rem 0 0;font-size:.76rem;line-height:1.55;color:var(--product-muted);}
.ambi-products__legal {margin:.45rem 0 0;font-size:.66rem;line-height:1.45;color:var(--product-muted);}
.ambi-products__status {padding:1rem;background:var(--product-soft);border-radius:9px;font-size:.85rem;color:var(--product-muted);}
.ambi-products__status--error { border-left:3px solid #b58033; }
.ambi-products__state {
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.ambi-products__empty {padding:1rem;background:var(--product-soft);border-radius:9px;color:var(--product-muted);}
.ambi-original-list {margin-top:1.6rem;padding:1rem;border:1px solid var(--product-border);border-radius:14px;background:var(--product-soft);}
.ambi-original-list summary {cursor:pointer;font-weight:750;}
.ambi-original-list .table-wrap {margin-top:1rem;background:#fff;}
.ambi-related-products {margin-top:1.4rem;}
@media (min-width:1180px) {
  .ambi-products__grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .ambi-product { grid-template-columns:126px minmax(0,1fr); }
}
@media (max-width:650px) {
  .ambi-products__grid {grid-template-columns:1fr;gap:.8rem;}
  .ambi-product {grid-template-columns:104px minmax(0,1fr);}
  .ambi-product__visual {padding:.6rem;}
  .ambi-product__image {height:128px;}
  .ambi-product__content {padding:.75rem;}
  .ambi-product__title {font-size:.92rem;}
  .ambi-product__button {font-size:.8rem;}
}
@media (max-width:350px) {
  .ambi-product {grid-template-columns:90px minmax(0,1fr);}
  .ambi-product__image {height:108px;}
}

/* v3.3.5 - focused inline recommendations, visually distinct from the article. */
.ambi-related-products--curated {
  margin:2.25rem 0;padding:clamp(1rem,2vw,1.5rem);
  background:#f5f9fc;border:1px solid #d9e6ef;border-radius:17px;
}
.ambi-related-products--curated > h2 { margin:.35rem 0 .7rem; }
.ambi-related-products__intro { max-width:72ch;line-height:1.65;margin:0 0 1rem; }
.ambi-products--curated .ambi-products__section { margin:0; }
.ambi-products--curated .ambi-products__grid { grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); }
.ambi-products--curated .ambi-product { min-height:255px; }
.ambi-products--curated .ambi-products__disclosure { margin-top:1rem; }
@media(max-width:650px) {
  .ambi-related-products--curated { margin:1.55rem 0;padding:1rem; }
  .ambi-products--curated .ambi-product { min-height:240px; }
}
