/* Component-scoped archive layout. */
.rpga-wrap{width:100%;max-width:100%;font-family:Roboto,Arial,sans-serif;color:#414141;--rpga-columns:4}
.rpga-wrap *{box-sizing:border-box}
.rpga-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);align-items:center;gap:16px;margin-bottom:22px;min-height:30px}
.rpga-heading-area{text-align:center;min-width:0}
.rpga-breadcrumbs{color:#b6b6b6;font-size:12px;text-align:left;margin:0;min-width:0}
.rpga-breadcrumbs a{color:inherit;text-decoration:none}
.rpga-title{margin:0!important;font-size:22px;font-weight:600;line-height:1.3;color:#3d3d3d;text-align:center}
.rpga-limit{justify-self:end;border:1px solid #e6e6e6;border-radius:10px;padding:7px 9px;display:flex;align-items:center;gap:6px;font-size:12px;white-space:nowrap;background:#fff;color:#555;margin:0}
.rpga-limit select{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;font:inherit!important;color:inherit!important;width:auto!important;min-height:auto!important;margin:0!important}
.rpga-grid{display:grid!important;grid-template-columns:repeat(var(--rpga-columns,4),minmax(0,1fr))!important;column-gap:14px;row-gap:22px;width:100%}
.rpga-card{min-width:0;max-width:100%;display:flex;flex-direction:column;gap:6px;margin:0}
.rpga-image-link{display:flex;justify-content:stretch;align-items:center;aspect-ratio:var(--rpga-ratio,.8);border:1px solid #dedede;border-radius:19px;overflow:hidden;padding:0!important;background:#fff;transition:border-color .2s;text-decoration:none;line-height:0;font-size:0}
.rpga-image-link:hover{border-color:#cdcdcd}
.rpga-image-link img,.rpga-image,.rpga-image-link .wp-post-image{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;display:block!important;margin:0!important;padding:0!important;min-width:0!important;min-height:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;background:transparent!important;transform:none!important}
.rpga-name{font-size:18px;line-height:1.4;font-weight:400;color:#414141;text-decoration:none!important;display:block;margin-top:2px}
.rpga-name:hover{color:#333}
.rpga-price{white-space:nowrap;color:#333;font-size:20px;font-weight:500;line-height:1.3;margin-top:auto}
.rpga-price .amount{color:inherit;font-weight:inherit}
.rpga-price .rp-price-decimals{font-size:.58em;line-height:1;vertical-align:super;position:relative;top:-.08em;margin-left:.02em;white-space:nowrap}
.rpga-price .rp-price-tax-label{font-size:.52em;font-weight:300;line-height:1;vertical-align:baseline;margin-left:.28em;white-space:nowrap}
.rpga-price del{color:#888;font-weight:400;font-size:.85em;opacity:1}
.rpga-price ins{text-decoration:none}
.rpga-pagination{margin-top:34px}
.rpga-pagination ul{display:flex;justify-content:center;flex-wrap:wrap;gap:7px;list-style:none;margin:0;padding:0}
.rpga-pagination a,.rpga-pagination span{border:1px solid #e1e1e1;border-radius:8px;min-width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;color:#555;text-decoration:none}
.rpga-pagination .current{background:#efefef;border-color:#efefef;color:#333}
.rpga-empty{text-align:center;padding:30px 0}
@media(max-width:767px){.rpga-header{gap:7px;margin-bottom:18px}.rpga-title{font-size:18px}.rpga-breadcrumbs{font-size:10px}.rpga-limit{padding:5px;font-size:10px}.rpga-image-link{padding:0;border-radius:13px}.rpga-name{font-size:16px}.rpga-price{font-size:18px}}

.rpga-image-link > img,.rpga-image-link > .wp-post-image{padding-left:0!important;padding-right:0!important}

.rpga-image-link{position:relative!important}
.rpga-image-link img,.rpga-image,.rpga-image-link .wp-post-image{object-fit:contain!important;object-position:center center!important;transform:none!important}
.rp-private-badge{position:absolute;top:10px;left:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;background:#414141;color:#fff;font-size:12px;font-weight:600;line-height:1;letter-spacing:.02em;pointer-events:none}

/* v1.3.0: all image boxes in the same row use the tallest required height. */
.rpga-image-link{
  width:100%!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  padding:0!important;
  margin:0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:0!important;
  overflow:hidden!important;
}
.rpga-image-link img,.rpga-image-link .rpga-image,.rpga-image-link .wp-post-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center center!important;
  transform:none!important;
}

/* v1.3.4: exact box fill — no padding, no cropping. */
.rpga-image-link{padding:0!important;margin:0!important;overflow:hidden!important}
.rpga-image-link > img,
.rpga-image-link > .rpga-image,
.rpga-image-link > .wp-post-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:fill!important;
  object-position:center center!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Manual Elementor heights take precedence; JavaScript only supplies the automatic fallback. */
.rpga-wrap .rpga-image-link{
  height:var(--rpga-image-height,var(--rpga-auto-height,auto));
  flex-shrink:0;
}

.rpga-editor-note{margin:0 0 12px;font-size:12px;line-height:1.4;color:#8a8a8a}

/* v1.4.0: sale badge, "Desde" price and struck regular price. */
.rp-sale-badge{position:absolute;top:10px;right:10px;z-index:3;display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border-radius:999px;background:#CF0A2C;color:#fff;font-size:12px;font-weight:700;line-height:1;letter-spacing:.03em;text-transform:uppercase;pointer-events:none}
.rpga-price .rp-price-from{font-size:.7em;font-weight:400;color:#666;margin-right:.1em}
.rpga-price.is-on-sale del{display:block;color:#9a9a9a!important;font-size:.75em;font-weight:400;line-height:1.2;text-decoration:line-through!important;opacity:1}
.rpga-price.is-on-sale del .amount,.rpga-price.is-on-sale del bdi{color:inherit!important}
.rpga-price.is-on-sale ins,.rpga-price.is-on-sale ins .amount{color:#CF0A2C!important;text-decoration:none!important;background:transparent!important}
@media(max-width:767px){.rp-sale-badge{top:7px;right:7px;padding:4px 7px;font-size:10px}}

/* v1.4.0: product images keep their 3:4 proportion at every screen width (no stretching). */
html body .rpga-wrap .rpga-image-link.rpga-image-link.rpga-image-link{height:auto!important;aspect-ratio:3/4!important}
html body .rpga-wrap .rpga-image-link > img,
html body .rpga-wrap .rpga-image-link > .wp-post-image,
html body .rpga-wrap .rpga-image-link > .rpga-image{width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important}
