/**
 * John Deere product card (tractor tile) — aligns with lagerhaustc.at Avada cards.
 */

.jd-avada-product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
  box-sizing: border-box;
  text-align: left;
}

.jd-avada-product-card__image {
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
}

/* Image Source Control–compatible overlay (lagerhaustc.at). */
.jd-avada-product-card__image-source.isc-source {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.jd-avada-product-card__image-source .jd-avada-product-card__img,
.jd-avada-product-card__image-source img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.jd-avada-product-card__image-source .isc-source-text {
  position: absolute;
  bottom: 4px;
  right: 4px;
  top: unset !important;
  left: unset !important;
  z-index: 2;
  display: inline-block;
  width: auto !important;
  max-width: calc(100% - 10px);
  height: auto;
  margin: 0;
  padding: 0 1.8px;
  font-size: 12px;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  background: #333;
  pointer-events: none;
}

.jd-avada-product-card__title {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  text-align: center;
}

.jd-avada-product-card__specs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jd-avada-product-card__specs .fusion-li-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.jd-avada-product-card__specs .icon-wrapper {
  flex-shrink: 0;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  width: auto;
  height: auto;
  margin-top: 0.15rem;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.jd-avada-product-card__specs .jd-avada-spec-check,
.jd-avada-product-card__specs .fusion-li-icon.fa-check {
  color: #367c2b;
  font-size: 1rem;
  line-height: 1.2;
}

.jd-avada-product-card__specs .fusion-li-item-content {
  flex: 1;
  font-size: 1rem;
  line-height: 1.4;
}

.jd-avada-product-card--message {
  padding: 1rem;
  background: #f5f5f5;
  border: 1px dashed #ccc;
}

.jd-avada-product-card--message p {
  margin: 0;
  font-size: 0.9rem;
}
