/* DFA Product Images — consistent fill-in-container sizing sitewide */

/* OpenCart default product-thumb (extension modules, legacy grids) */
.product-thumb .image {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
  background: #fafafa;
  min-height: 0;
}

.product-thumb .image a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.product-thumb .image img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* Hot deal cards (specials carousel) */
.dfa-hd-card-img {
  display: flex;
  aspect-ratio: 1;
  padding: 8px;
  background: #fafafa;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.dfa-hd-card-img img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

/* Compare page */
.dfa-compare-table .image,
.dfa-compare-table td a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
}

.dfa-compare-table img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
}
