﻿/* =============================================
   RG PRODUCT CARDS - Sistema de cards moderno
   Modernizado: Mayo 2026
   ============================================= */

/* Container del catÃ¡logo */
.rg-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 640px) {
  .rg-product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .rg-product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

/* PaginaciÃ³n - DiseÃ±o moderno y claro para desktop */
.rg-pagination-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
  grid-column: 1 / -1;
  flex-wrap: wrap;
}

/* Indicador de pÃ¡gina actual */
.rg-pagination-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  color: #707974;
  padding: 8px 16px;
  background: #f8faf9;
  border-radius: 8px;
  margin-right: 8px;
}

.rg-pagination-current {
  font-weight: 800;
  font-size: 15px;
  color: #003527;
}

.rg-pagination-sep {
  color: #bfc9c3;
}

.rg-pagination-total {
  font-weight: 600;
  color: #707974;
}

/* Botones de paginaciÃ³n */
.rg-pagination-btn {
  min-width: 48px;
  height: 48px;
  border-radius: 12px;
  border: 1.5px solid #e1e3e2;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: #fff;
  color: #003527;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.rg-pagination-btn:hover:not(:disabled):not(.active) {
  background: #f0f7f4;
  border-color: #064e3b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 53, 39, 0.15);
}

.rg-pagination-btn.active {
  background: #003527;
  color: #fff;
  border-color: #003527;
  box-shadow: 0 4px 12px rgba(0, 53, 39, 0.25);
  transform: translateY(-1px);
}

.rg-pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

/* Botones de navegaciÃ³n (flechas) */
.rg-pagination-nav {
  padding: 0 16px;
}

.rg-pagination-nav .material-symbols-outlined {
  font-size: 22px;
}

/* Ellipsis */
.rg-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 14px;
  font-weight: 600;
  color: #bfc9c3;
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .rg-pagination-container {
    gap: 6px;
    padding: 24px 0;
  }

  .rg-pagination-btn {
    min-width: 40px;
    height: 40px;
    font-size: 13px;
    border-radius: 10px;
  }

  .rg-pagination-info {
    width: 100%;
    justify-content: center;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .rg-pagination-nav {
    padding: 0 12px;
  }
}

/* =============================================
   RG CARD MODERNA - Mayo 2026
   ============================================= */

.rg-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
  border-radius: 1.35rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  border: 1px solid rgba(6, 78, 59, 0.10);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  height: 100%;
  min-height: 416px;
}

.rg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(6, 78, 59, 0.13);
  border-color: rgba(6, 78, 59, 0.2);
}

/* Imagen Container */
.rg-card-image {
  position: relative;
  width: 100%;
  height: 212px;
  background:
    radial-gradient(circle at 50% 54%, rgba(176, 240, 214, 0.22), transparent 52%),
    linear-gradient(180deg, #fbfdfc 0%, #f2f6f4 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1rem 1.15rem;
  border-bottom: 1px solid rgba(6, 78, 59, 0.06);
}

@media (min-width: 1024px) {
  .rg-card-image {
    height: 218px;
  }
}

.rg-card-image img {
  width: auto;
  height: auto;
  max-width: min(88%, 236px);
  max-height: 168px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.08));
}

.rg-card:hover .rg-card-image img {
  transform: scale(1.03);
}

/* Badge de stock */
.rg-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'Manrope', sans-serif;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(8px);
}

.rg-card-image .rg-card-badge,
.rg-home-product-media .rg-home-product-badge {
  top: 0.72rem;
  left: 0.72rem;
}

.rg-card-badge.disponible {
  background: #ffffff;
  color: #064e3b;
  border: 1px solid rgba(6, 78, 59, 0.12);
}

.rg-card-badge.oferta,
.rg-home-product-badge.offer {
  isolation: isolate;
  overflow: hidden;
  min-height: 2rem;
  padding: 0.48rem 0.78rem 0.46rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, #ff6a32 0%, #ef3b24 48%, #b91c1c 100%);
  box-shadow:
    0 13px 28px rgba(185, 28, 28, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  font-weight: 900;
  letter-spacing: 0.035em;
  transform: translateZ(0);
}

.rg-card-badge.oferta::after,
.rg-home-product-badge.offer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0 35%, rgba(255, 255, 255, 0.24) 46%, transparent 58% 100%);
  transform: translateX(-75%);
  opacity: 0.75;
}

.rg-card:hover .rg-card-badge.oferta::after,
.rg-home-product-card:hover .rg-home-product-badge.offer::after {
  transform: translateX(75%);
  transition: transform 0.55s ease;
}

.rg-card-offer-ribbon,
.rg-home-offer-ribbon {
  position: absolute;
  right: 0.72rem;
  top: 0.72rem;
  z-index: 3;
  width: auto;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #003527 0%, #065f46 100%);
  color: #ffffff;
  text-align: center;
  font-size: 0.56rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.105em;
  text-transform: uppercase;
  padding: 0.45rem 0.58rem 0.43rem;
  border-radius: 999px;
  border: 1px solid rgba(176, 240, 214, 0.42);
  box-shadow:
    0 12px 26px rgba(0, 53, 39, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.rg-card-offer-ribbon::before,
.rg-home-offer-ribbon::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #b0f0d6;
  box-shadow: 0 0 0 3px rgba(176, 240, 214, 0.16);
}

.rg-card-badge.sin-stock {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.rg-card-badge.ultimas {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* Contenido de la card */
.rg-card-content {
  padding: 0.95rem 1.05rem 0.7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.36rem;
  min-height: 138px;
}

/* CategorÃ­a */
.rg-card-category {
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #0f766e;
  font-family: 'Manrope', sans-serif;
  min-height: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Nombre del producto */
.rg-card-name {
  font-size: 0.96rem;
  font-weight: 900;
  color: #003527;
  line-height: 1.26;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  min-height: 2.42rem;
}

.rg-card-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rg-card-name a:hover {
  color: #064e3b;
}

/* DescripciÃ³n corta */
.rg-card-desc {
  font-size: 0.78rem;
  color: #707974;
  line-height: 1.42;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin-top: 0.12rem;
  min-height: 2.2rem;
}

/* SKU en card */
.rg-card-sku {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #064e3b;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 0.18rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  letter-spacing: 0.3px;
  border: 1px solid rgba(6, 78, 59, 0.12);
  max-width: max-content;
}

/* Footer de la card */
.rg-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.82rem 1.05rem 1.05rem;
  margin-top: auto;
  border-top: 1px solid rgba(6, 78, 59, 0.08);
  gap: 0.75rem;
}

/* Precio */
.rg-card-price {
  font-size: 1.22rem;
  font-weight: 950;
  color: #003527;
  font-family: 'Manrope', sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}

.rg-card-price-wrap,
.rg-home-price-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.rg-card-price-old,
.rg-home-product-old-price,
.rg-related-old-price {
  color: #7a847f;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: line-through;
}

.rg-card-offer-note {
  margin-top: 0.18rem;
  color: #b45309;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rg-home-product-badge {
  z-index: 2;
}

.rg-home-product-media {
  position: relative;
  overflow: hidden;
}

.rg-sr-price-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.05;
}

.rg-sr-price-offer small {
  margin-top: 0.16rem;
  color: #7a847f;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: line-through;
}

.rg-sr-offer-pill {
  flex-shrink: 0;
  margin-left: 0.35rem;
  padding: 0.24rem 0.48rem;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.rg-product-offer-box {
  margin: -1.15rem 0 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(249, 115, 22, 0.28);
  background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 100%);
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.10);
}

.rg-product-offer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.rg-product-offer-pill,
.rg-product-image-offer,
.rg-related-offer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #dc2626);
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rg-product-offer-pill {
  padding: 0.42rem 0.7rem;
  font-size: 0.72rem;
}

.rg-product-offer-title {
  color: #7c2d12;
  font-size: 0.9rem;
  font-weight: 900;
}

.rg-product-offer-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.55rem;
  color: #92400e;
  font-size: 0.86rem;
  font-weight: 800;
}

.rg-product-offer-prices strong {
  color: #003527;
  font-size: 1.15rem;
}

.rg-product-offer-old {
  color: #7a847f;
  text-decoration: line-through;
}

.rg-product-image-offer {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  padding: 0.5rem 0.78rem;
  font-size: 0.76rem;
  box-shadow: 0 12px 26px rgba(220, 38, 38, 0.24);
}

.rg-related-card {
  position: relative;
}

.rg-related-offer-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.32rem 0.55rem;
  font-size: 0.64rem;
}

.rg-related-offer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.rg-related-price {
  color: #003527;
  font-weight: 900;
  font-size: 0.9rem;
}

/* Product detail page */
.rg-product-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(176, 240, 214, 0.28), transparent 28rem),
    linear-gradient(180deg, #f8faf9 0%, #ffffff 48%, #f8faf9 100%);
}

.rg-product-breadcrumb {
  padding-top: 0.9rem;
}

.rg-product-breadcrumb ol {
  min-width: 0;
}

.rg-product-breadcrumb-current {
  display: inline-block;
  max-width: min(44vw, 34rem);
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  white-space: nowrap;
}

.rg-product-hero-normalized {
  display: grid !important;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr) !important;
  gap: clamp(1.5rem, 4vw, 3.5rem) !important;
  align-items: start;
}

.rg-product-gallery-normalized,
.rg-product-info-panel {
  grid-column: auto !important;
}

.rg-product-gallery-normalized {
  position: sticky;
  top: 6.5rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rg-product-image-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 420px;
  border: 1px solid rgba(6, 78, 59, 0.09);
  border-radius: 2rem !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(240,247,244,0.9)),
    radial-gradient(circle at 50% 42%, rgba(176, 240, 214, 0.28), transparent 55%);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  padding: clamp(1.25rem, 4vw, 2.25rem);
}

.rg-product-image-frame img {
  width: 100% !important;
  height: 100% !important;
  max-width: 88%;
  max-height: 88%;
  object-fit: contain !important;
  object-position: center;
  filter: drop-shadow(0 20px 28px rgba(15, 23, 42, 0.12));
}

.rg-product-feature-badge,
.rg-product-gallery-normalized > .absolute span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  color: #003527;
  border: 1px solid rgba(6, 78, 59, 0.12);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.rg-product-gallery-normalized > .absolute {
  position: static !important;
}

.rg-product-thumbs {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

.rg-product-thumbs > * {
  min-height: 78px;
  border-radius: 1rem !important;
  border: 1px solid rgba(6, 78, 59, 0.10);
  background: rgba(255,255,255,0.76) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.rg-product-info-panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(6, 78, 59, 0.10);
  border-radius: 1.8rem;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.07);
}

.rg-product-eyebrow {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: #064e3b;
  background: #e8f5f0;
  border: 1px solid rgba(6, 78, 59, 0.12);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rg-product-title {
  color: #12211b !important;
  font-family: Manrope, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 1rem !important;
}

.rg-product-price-row {
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(6, 78, 59, 0.08);
}

.rg-product-price {
  color: #003527 !important;
  font-family: Manrope, sans-serif;
  font-size: clamp(1.85rem, 3vw, 2.45rem) !important;
  font-weight: 900 !important;
  line-height: 1;
}

.rg-product-description {
  margin: 1.25rem 0 1.35rem !important;
  color: #4b635b;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.rg-product-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.rg-product-service-card {
  display: flex !important;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 0 !important;
  padding: 1rem !important;
  border: 1px solid rgba(6, 78, 59, 0.08);
  border-radius: 1rem !important;
  background: #f8faf9 !important;
}

.rg-product-service-card p {
  margin-top: 0.15rem;
  line-height: 1.45;
}

.rg-related-section {
  margin-top: clamp(3rem, 7vw, 5.5rem) !important;
  border-top: 1px solid rgba(6, 78, 59, 0.08);
}

@media (max-width: 1023px) {
  .rg-product-hero-normalized {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .rg-product-gallery-normalized {
    position: relative;
    top: auto;
  }

  .rg-product-image-frame {
    min-height: 0;
    border-radius: 1.4rem !important;
  }
}

@media (max-width: 640px) {
  .rg-product-page {
    padding-bottom: 9rem !important;
  }

  .rg-product-breadcrumb {
    margin-bottom: 0.85rem !important;
    padding-top: 0.65rem;
  }

  .rg-product-breadcrumb ol {
    align-items: center;
    gap: 0.35rem;
    overflow-x: hidden;
    text-align: left;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .rg-product-breadcrumb-current {
    max-width: 8.8rem;
  }

  .rg-product-hero-normalized {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .rg-product-info-panel {
    padding: 1rem;
    border-radius: 1.35rem;
  }

  .rg-product-title {
    font-size: 1.7rem !important;
  }

  .rg-product-description {
    font-size: 0.95rem !important;
  }

  .rg-product-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
  }

  .rg-product-thumbs > * {
    min-height: 58px;
  }
}

/* Boton agregar */
.rg-card-add {
  width: auto;
  min-width: 2.9rem;
  height: 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #003527, #065f46);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 22px rgba(0, 53, 39, 0.22);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.rg-card-add-text {
  display: inline-block;
}

.rg-card-fallback {
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(6, 78, 59, 0.2);
  border-radius: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #064e3b;
  background: linear-gradient(135deg, #f8faf9, #eef6f2);
}

.rg-card-fallback strong {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.rg-card-fallback span {
  margin-top: 0.25rem;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #707974;
  font-weight: 800;
}

.rg-card-add:hover {
  background: #064e3b;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 53, 39, 0.35);
}

.rg-card-add:active {
  transform: scale(0.95);
}

.rg-card-add:disabled {
  background: #d1d5db;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Touch-friendly para mobile */
@media (max-width: 640px) {
  .rg-card-image {
    height: 178px;
    padding: 2rem 0.875rem 0.95rem;
  }

  .rg-card-image img {
    max-width: min(84%, 190px);
    max-height: 140px;
  }

  .rg-card-offer-ribbon,
  .rg-home-offer-ribbon {
    right: 0.62rem;
    top: 0.62rem;
    width: auto;
    max-width: 8.4rem;
    font-size: 0.52rem;
    padding: 0.4rem 0.52rem 0.38rem;
    letter-spacing: 0.08em;
  }

  .rg-card-badge.oferta,
  .rg-home-product-badge.offer {
    min-height: 1.82rem;
    padding: 0.4rem 0.64rem 0.38rem;
    font-size: 0.62rem;
  }

  .rg-product-offer-box {
    margin-top: -0.65rem;
  }

  .rg-product-image-offer {
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.68rem;
    padding: 0.42rem 0.65rem;
  }

  .rg-card-add {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    min-width: 3rem;
    padding: 0;
  }

  .rg-card-add-text {
    display: none;
  }

  .rg-card-content {
    padding: 0.9rem 1rem 0.7rem;
  }

  .rg-card-price {
    font-size: 1rem;
  }

  .rg-card {
    min-height: auto;
  }
}

/* Skeleton loading premium - gris neutro sutil */
.rg-card-skeleton {
  background: #e8ebe9;
  border-radius: 1rem;
  overflow: hidden;
}

.rg-card-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Skeleton para placeholders de imagen */
.rg-skeleton-image {
  background: #e5e5e5;
  position: relative;
  overflow: hidden;
}

.rg-skeleton-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s ease-in-out infinite;
}

/* Skeleton inline text */
.rg-skeleton-text {
  background: #e5e5e5;
  border-radius: 4px;
  height: 1em;
}

/* Animaciones suaves para reveal */
.rg-card {
  animation: fadeSlideUp 0.3s ease forwards;
  opacity: 0;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger animation para cards consecutivas */
.rg-card:nth-child(1) { animation-delay: 0.05s; }
.rg-card:nth-child(2) { animation-delay: 0.1s; }
.rg-card:nth-child(3) { animation-delay: 0.15s; }
.rg-card:nth-child(4) { animation-delay: 0.2s; }
.rg-card:nth-child(5) { animation-delay: 0.25s; }
.rg-card:nth-child(6) { animation-delay: 0.3s; }
.rg-card:nth-child(7) { animation-delay: 0.35s; }
.rg-card:nth-child(8) { animation-delay: 0.4s; }

