.rp-v5 {
  overflow-x: hidden;
}

.rp-v5__hero {
  padding: 28px 0 18px !important;
}

.rp-v5__bar {
  padding-bottom: 16px !important;
}

.rp-v5__grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(410px, 0.62fr) !important;
  gap: 22px !important;
  align-items: start !important;
}

.rp-v5 h1 {
  font-size: clamp(30px, 3.7vw, 48px) !important;
  max-width: 680px !important;
}

.rp-v5__lead {
  max-width: 650px !important;
}

.rp-v5__importer {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #31516f;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rp-v5__importer:before {
  content: "";
  width: 28px;
  height: 2px;
  background: #f47c20;
  display: block;
}

.rp-v5__store-card {
  position: relative;
  width: min(620px, 100%);
  margin: 18px 0 0;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 42px rgba(37, 52, 70, 0.13);
}

.rp-v5__store-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

.rp-v5__store-card figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(210, 219, 229, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #172332;
  padding: 12px 14px;
  box-shadow: 0 14px 30px rgba(18, 31, 48, 0.16);
}

.rp-v5__store-card span {
  display: block;
  color: #f47c20;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rp-v5__store-card strong {
  display: block;
  color: #172332;
  font-size: 18px;
  line-height: 1.2;
}

.rp-v5__store-card em {
  display: block;
  margin-top: 5px;
  color: #5f6b7a;
  font-style: normal;
  font-size: 13px;
  line-height: 1.45;
}

.rp-v5__explorer {
  padding: 8px 0 34px !important;
}

.rp-v5__visual-guide {
  max-width: 100% !important;
  margin-bottom: 12px !important;
  background: #fff !important;
}

.rp-v5__vehicle {
  overflow: hidden !important;
  min-height: 260px;
}

.rp-v5__tip {
  display: none !important;
}

.rp-v5__hotspot-panel {
  position: absolute;
  z-index: 5;
  left: 18px;
  bottom: 18px;
  width: min(360px, calc(100% - 36px));
  border: 1px solid rgba(191, 203, 217, 0.95);
  border-radius: 8px;
  background: #fff;
  color: #172332;
  padding: 14px 16px;
  box-shadow: 0 18px 40px rgba(25, 38, 55, 0.18);
}

.rp-v5__hotspot-panel span {
  display: block;
  color: #f47c20;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.rp-v5__hotspot-panel strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.rp-v5__hotspot-panel ul,
.rp-v5__mobile-hotspot-card ul {
  margin: 0;
  padding-left: 18px;
  color: #42526a;
  font-size: 13px;
  line-height: 1.45;
}

.rp-v5__hotspot-panel li + li,
.rp-v5__mobile-hotspot-card li + li {
  margin-top: 4px;
}

.rp-v5__mobile-hotspot-card {
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(37, 52, 70, 0.1);
  padding: 14px;
  margin-top: 12px;
}

.rp-v5__mobile-hotspot-card strong {
  display: block;
  margin-bottom: 8px;
  color: #172332;
  font-size: 16px;
}

.rp-v5__mobile-hotspot-card .rp-v5__button {
  width: 100%;
  margin-top: 12px;
}

.rp-v5__part-confirm {
  margin: 12px 0 0;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a56;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.rp-v5__part-confirm[hidden] {
  display: none !important;
}

@media (min-width: 761px) {
  .rp-v5__mobile-hotspot-card {
    display: none !important;
  }
}

.rp-v5__photo-strip,
.rp-v5__services,
.rp-v5__trust {
  padding: 26px 0;
}

.rp-v5__photo-strip {
  background: #fff;
  border-top: 1px solid #e3e9f0;
  border-bottom: 1px solid #e3e9f0;
}

.rp-v5__photo-strip h2,
.rp-v5__section-head h2 {
  margin: 0 0 12px;
  color: #172332;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.12;
}

.rp-v5__photo-grid,
.rp-v5__service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.rp-v5__photo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rp-v5__photo-grid div,
.rp-v5__service-card {
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  background: linear-gradient(155deg, #fff, #f6f9fc);
  padding: 15px;
  box-shadow: 0 12px 28px rgba(36, 52, 72, 0.06);
}

.rp-v5__photo-grid strong,
.rp-v5__service-card strong {
  display: block;
  color: #172332;
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 7px;
}

.rp-v5__photo-grid span,
.rp-v5__service-card span,
.rp-v5__section-head p,
.rp-v5__service-note {
  display: block;
  color: #5f6b7a;
  font-size: 13px;
  line-height: 1.5;
}

.rp-v5__services {
  background: linear-gradient(180deg, #f7f9fc, #fff);
}

.rp-v5__section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.rp-v5__section-head p {
  max-width: 620px;
}

.rp-v5__service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
  margin-bottom: 12px;
  background: #eef3f8;
}

.rp-v5__service-card img[src*="service-costa-rica-encomiendas-map-gemini"] {
  aspect-ratio: 4 / 3 !important;
  object-fit: contain !important;
  background: #f8fafc;
  padding: 0;
  object-position: center;
}

.rp-v5__service-note {
  margin: 14px 0 0;
  font-size: 12px;
}

.rp-v5__trust {
  background: #fff;
}

.rp-v5__trust .rp-v5__stats {
  max-width: 100%;
}

.rp-v5__side-reference {
  padding: 26px 0 44px;
  background: #fff;
}

.rp-v5__side-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: 22px;
  align-items: center;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  background: linear-gradient(155deg, #fff, #f6f9fc);
  padding: 18px;
  box-shadow: 0 14px 34px rgba(37, 52, 70, 0.08);
}

.rp-v5__side-copy h2 {
  margin: 0 0 10px;
  color: #172332;
  font-size: clamp(21px, 2.3vw, 30px);
  line-height: 1.12;
}

.rp-v5__side-copy p {
  margin: 0;
  color: #5f6b7a;
  font-size: 14px;
  line-height: 1.6;
}

.rp-v5__side-note {
  margin-top: 10px !important;
  color: #31516f !important;
  font-weight: 800;
}

.rp-v5__side-figure {
  margin: 0;
  border: 1px solid #d4dde8;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.rp-v5__side-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

@media (max-width: 980px) {
  .rp-v5__grid,
  .rp-v5__photo-grid,
  .rp-v5__service-grid {
    grid-template-columns: 1fr !important;
  }

  .rp-v5__fitment,
  .rp-fitment {
    max-width: 100% !important;
  }

  .rp-v5__section-head {
    display: block;
  }

  .rp-v5__store-card {
    width: 100%;
  }

  .rp-v5__side-card {
    grid-template-columns: 1fr;
  }

  .rp-v5__side-figure img {
    max-height: 520px;
  }
}

@media (max-width: 760px) {
  html,
  body,
  .rp-v5 {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .rp-v5 .rp-v5__wrap {
    width: calc(100vw - 44px) !important;
    max-width: 680px !important;
    min-width: 0 !important;
  }

  .rp-v5__hero {
    padding-top: 16px !important;
  }

  .rp-v5__explorer {
    padding-top: 4px !important;
  }

  .rp-v5__hotspot-panel {
    display: none !important;
  }

  .rp-v5__vehicle {
    min-height: auto;
  }

  .rp-v5__mobile-hotspot-card[hidden] {
    display: none !important;
  }

  .rp-v5__mobile-hotspot-card {
    display: block;
  }

  .rp-v5__store-card {
    margin-top: 16px;
  }

  .rp-v5__store-card figcaption {
    position: static;
    border: 0;
    border-top: 1px solid #e2e8f0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }

  .rp-v5__photo-strip,
  .rp-v5__services,
  .rp-v5__trust,
  .rp-v5__side-reference {
    padding: 22px 0;
  }
}

@media (max-width: 480px) {
  html,
  body,
  .rp-v5 {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .rp-v5 .rp-v5__wrap {
    width: calc(100vw - 44px) !important;
    max-width: 346px !important;
    min-width: 0 !important;
  }

  .rp-v5 *,
  .rp-v5 .rp-fitment,
  .rp-v5 .rp-fitment * {
    min-width: 0 !important;
  }

  .rp-v5 h1 {
    font-size: 20px !important;
    line-height: 1.16 !important;
    overflow-wrap: anywhere !important;
  }

  .rp-v5__importer {
    font-size: 12px;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
  }

  .rp-v5__actions,
  .rp-fitment__actions {
    gap: 10px !important;
  }

  .rp-v5__button,
  .rp-fitment__button,
  .rp-fitment select {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .rp-v5__visual-guide {
    font-size: 12px !important;
  }

  .rp-v5__service-card,
  .rp-v5__photo-grid div {
    padding: 13px;
  }
}
