/* Portugal homepage only: equal image and caption baselines without cropping either SKU. */
.market-pt > .pt-fotos {
  --pt-gallery-block: clamp(220px, 27.5vw, 372px);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(10px, 1.55vw, 22px);
  align-items: stretch;
}
.market-pt > .pt-fotos > a {
  display: grid;
  grid-template-rows: var(--pt-gallery-block) minmax(48px, 1fr);
  overflow: hidden;
  border: 1px solid #d6e0db;
  background: #edf3f1;
}
.market-pt > .pt-fotos > a:nth-child(2) { margin-top: 0; }
.market-pt > .pt-fotos > a > img,
.market-pt > .pt-fotos > a:nth-child(2) > img {
  box-sizing: border-box;
  display: block;
  width: 100%; height: 100%;
  aspect-ratio: auto;
  padding: clamp(8px, 1.05vw, 16px);
  object-fit: contain;
  object-position: center;
}
.market-pt > .pt-fotos > a:first-child > img { background: #fff; }
.market-pt > .pt-fotos > a:nth-child(2) > img { background: #e1d8d7; }
.market-pt > .pt-fotos > a > span {
  display: flex;
  align-items: center;
  gap: .64em;
  padding: .72rem clamp(.62rem, 1.45vw, 1.1rem);
  font-size: clamp(.77rem, 1.12vw, .94rem);
  line-height: 1.38;
}
.market-pt > .pt-fotos > a > span b { flex: none; margin: 0; font-variant-numeric: tabular-nums; }
.market-pt > .pt-fotos > a:hover > span { background: #e4eeea; }

@media (max-width: 640px) {
  .market-pt > .pt-fotos {
    --pt-gallery-block: clamp(128px, 39vw, 236px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .market-pt > .pt-fotos > a { grid-template-rows: var(--pt-gallery-block) minmax(54px, 1fr); }
  .market-pt > .pt-fotos > a > span { padding: .45rem .48rem; gap: .48em; }
}
