/* La imagen no determina la altura de la fila ni cambia las columnas del catálogo. */
#js-product-list .products > [data-sw365-buffered],
#ce-product-list .products > [data-sw365-buffered] { display: none !important; }
.sw365-ads-buffer-more { display: block; margin: 24px auto; }
.sw365-ad-card {
  /* Mismo radio que la miniatura de producto de GPS en Creative Elements. */
  border-radius: 16px;
  overflow: hidden;
}
#js-product-list .sw365-ad-card,
#ce-product-list .sw365-ad-card {
  position: relative;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  margin-bottom: 0;
}
.sw365-ad-card[data-sw365-single-column] { height: var(--sw365-ad-height, 420px); }
.sw365-ad-card .sw365-ad-card__link {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #fff;
  background: #e9edf0;
  text-decoration: none;
  border-radius: inherit;
}
.sw365-ad-card .sw365-ad-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}
.sw365-ad-card .sw365-ad-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 9px;
  border-radius: 3px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.sw365-ad-card .sw365-ad-card__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 36px 18px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .88) 35%);
  color: #fff;
  overflow-wrap: anywhere;
  max-height: calc(100% - 56px);
  overflow: hidden;
}
.sw365-ad-card .sw365-ad-card__headline { font-size: 22px; line-height: 1.2; color: inherit; }
.sw365-ad-card .sw365-ad-card__body_text { font-size: 14px; line-height: 1.35; }
.sw365-ad-card .sw365-ad-card__button_text { align-self: flex-start; border-bottom: 1px solid currentColor; font-size: 14px; }
.sw365-ad-card .sw365-ad-card__advertiser { font-size: 12px; line-height: 1.3; }
.sw365-ad-card .sw365-ad-card__headline,
.sw365-ad-card .sw365-ad-card__body_text,
.sw365-ad-card .sw365-ad-card__advertiser {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex-shrink: 0;
}
.sw365-ad-card .sw365-ad-card__advertiser { -webkit-line-clamp: 2; }
.sw365-ad-card .sw365-ad-card__link:focus-visible { outline: 3px solid #ff6800; outline-offset: -3px; }
@media (max-width: 1024px) {
  .sw365-ad-card .sw365-ad-card__headline { font-size: 18px; }
  .sw365-ad-card .sw365-ad-card__caption { padding: 28px 12px 12px; gap: 6px; }
}
