/* Public Remates & Volume Deals Styles */
.rmp-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}

.rmp-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(90deg, #991b1b, #dc2626, #b91c1c);
  color: #ffffff;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.15rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.22);
}

.rmp-ribbon__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35);
}

.rmp-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #7f1d1d 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rmp-hero__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #facc15;
  margin-bottom: 0.35rem;
}

.rmp-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  color: #ffffff;
}

.rmp-hero p {
  margin: 0 0 1rem;
  color: #cbd5e1;
  max-width: 780px;
  line-height: 1.5;
}

.rmp-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.rmp-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f8fafc;
  padding: 0.4rem 0.85rem;
  border-radius: 99px;
  font-size: 0.82rem;
  text-decoration: none;
}

.rmp-pill--accent {
  background: #facc15;
  color: #0f172a;
  border-color: #facc15;
  font-weight: 700;
}

.rmp-hero__banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
}

.rmp-hero-banner-link img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rmp-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.rmp-sidebar {
  position: sticky;
  top: 1rem;
}

.rmp-filter-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.rmp-filter-box__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.rmp-filter-box__head h3 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.rmp-reset-link {
  font-size: 0.78rem;
  color: #dc2626;
  font-weight: 700;
  text-decoration: none;
}

.rmp-search-form {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.rmp-search-form input {
  flex: 1;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.84rem;
}

.rmp-search-form button {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 0;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
}

.rmp-scale-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.rmp-scale-toggle.is-active {
  background: #f59e0b;
  color: #ffffff;
  border-color: #d97706;
}

.rmp-facet-group {
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
  margin-top: 0.85rem;
}

.rmp-facet-group h4 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
}

.rmp-facet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.rmp-facet-list--scroll {
  max-height: 210px;
  overflow-y: auto;
}

.rmp-facet-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.38rem 0.55rem;
  border-radius: 7px;
  color: #334155;
  text-decoration: none;
  font-size: 0.84rem;
}

.rmp-facet-list a:hover {
  background: #f1f5f9;
}

.rmp-facet-list a.is-active {
  background: #fee2e2;
  color: #991b1b;
  font-weight: 700;
}

.rmp-facet-list small {
  background: #f1f5f9;
  color: #64748b;
  padding: 0.1rem 0.45rem;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 700;
}

.rmp-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.15rem;
}

.rmp-toolbar__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.rmp-toolbar__sort select {
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-weight: 600;
}

.rmp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 1.15rem;
}

.rmp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}

.rmp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.09);
}

.rmp-card--super {
  border: 2px solid #dc2626;
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 22%);
}

.rmp-card--pinned {
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.12);
}

.rmp-card__top-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.rmp-badge {
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.rmp-badge--saving {
  background: #0f172a;
  color: #facc15;
}

.rmp-badge--urgent {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.rmp-badge--stock {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  margin-left: auto;
}

.rmp-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 175px;
  background: #ffffff;
  border-radius: 10px;
  padding: 0.5rem;
  margin-bottom: 0.65rem;
}

.rmp-card__media img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

.rmp-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.rmp-card__title {
  margin: 0 0 0.45rem;
  font-size: 0.94rem;
  line-height: 1.35;
}

.rmp-card__title a {
  color: #0f172a;
  text-decoration: none;
}

.rmp-card__title a:hover {
  color: #dc2626;
}

.rmp-card__note {
  margin: 0 0 0.55rem;
  font-size: 0.76rem;
  color: #92400e;
  background: #fffbeb;
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
}

.rmp-card__pricing {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.65rem;
}

.rmp-card__price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  margin-bottom: 0.2rem;
}

.rmp-price-old {
  text-decoration: line-through;
  color: #94a3b8;
}

.rmp-tier-label {
  color: #15803d;
  font-weight: 700;
}

.rmp-card__main-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.rmp-card__main-price strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: #dc2626;
}

.rmp-card__main-price small {
  font-size: 0.74rem;
  color: #64748b;
}

.rmp-tiers-box {
  margin-bottom: 0.65rem;
}

.rmp-tiers-box__title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.rmp-tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(78px, 1fr));
  gap: 0.35rem;
}

.rmp-tier-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.38rem 0.3rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rmp-tier-btn:hover {
  border-color: #0f172a;
}

.rmp-tier-btn.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.rmp-tier-btn__qty {
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.85;
}

.rmp-tier-btn__price {
  font-size: 0.8rem;
  font-weight: 800;
}

.rmp-tier-btn.is-active .rmp-tier-btn__price {
  color: #facc15;
}

.rmp-tier-btn__disc {
  font-size: 0.64rem;
  color: #16a34a;
  font-weight: 700;
}

.rmp-tier-btn.is-active .rmp-tier-btn__disc {
  color: #86efac;
}

.rmp-calc-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.rmp-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.rmp-stepper__btn {
  width: 30px;
  height: 32px;
  border: 0;
  background: #f1f5f9;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

.rmp-stepper__btn:hover {
  background: #e2e8f0;
}

.rmp-stepper__input {
  width: 44px;
  height: 32px;
  border: 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.86rem;
}

.rmp-calc-totals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-size: 0.8rem;
}

.rmp-saving-line {
  color: #15803d;
  font-size: 0.74rem;
}

.rmp-upsell-hint {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  margin-bottom: 0.65rem;
}

.rmp-card__actions {
  display: flex;
  gap: 0.45rem;
  margin-top: auto;
}

.rmp-quote-form {
  flex: 1;
}

.rmp-btn-quote {
  width: 100%;
  font-size: 0.82rem !important;
  padding: 0.55rem 0.65rem !important;
}

.rmp-btn-wa {
  font-size: 0.8rem !important;
  padding: 0.55rem 0.7rem !important;
}

.rmp-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.rmp-page-link {
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
}

.rmp-page-link.is-active {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

/* Home Showcase Section */
.rm-home-showcase {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
  border: 1px solid #fecdd3;
}

.rm-home-showcase__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

/* Product Detail Remate Box */
.rm-pdp-box {
  background: linear-gradient(180deg, #fff5f5 0%, #ffffff 100%);
  border: 2px solid #dc2626;
  border-radius: 14px;
  padding: 1.15rem;
  margin: 1rem 0;
}

@media (max-width: 960px) {
  .rmp-layout {
    grid-template-columns: 1fr;
  }
  .rmp-sidebar {
    position: static;
  }
}
