/* Reacondicionados · catálogo público ----------------------------------- */

.rs-reconditioned-page {
  background: var(--rs-white);
}

.rs-reconditioned-page .hero {
  isolation: isolate;
  background:
    radial-gradient(circle at 84% 18%, rgba(82, 255, 47, .17), transparent 28%),
    linear-gradient(135deg, #070a07, #111811 62%, #071007);
}

.rs-reconditioned-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .027) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .027) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 96%);
  mask-image: linear-gradient(180deg, #000, transparent 96%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 6vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: end;
  gap: clamp(30px, 5vw, 64px);
}

.hero-main {
  min-width: 0;
}

.hero .eyebrow {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero .eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: var(--rs-radius-pill);
  background: currentColor;
}

.hero h1 {
  max-width: 820px;
  color: var(--rs-white);
  font-size: clamp(3.1rem, 6vw, 5rem);
  line-height: .98;
  letter-spacing: -.058em;
}

.hero h1 span {
  display: block;
  color: var(--rs-green);
}

.hero-copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: #cbd5cc;
  font-size: 1.0625rem;
  line-height: 1.62;
}

.hero-metrics {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.metric {
  min-height: 36px;
  padding-inline: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--rs-radius-pill);
  background: rgba(255, 255, 255, .055);
  color: #e1e7e2;
  font-size: .8125rem;
  font-weight: 650;
}

.metric i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--rs-green);
  box-shadow: 0 0 12px rgba(82, 255, 47, .62);
}

.hero-side {
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--rs-radius-lg);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-side__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rs-green);
  color: var(--rs-green-ink);
  font-size: 1rem;
  font-weight: 850;
}

.hero-side strong {
  display: block;
  color: var(--rs-white);
  font-size: .9375rem;
  line-height: 1.35;
}

.hero-side p {
  margin: 6px 0 0;
  color: #b8c2ba;
  font-size: .875rem;
  line-height: 1.55;
}

.catalog {
  padding-block: clamp(34px, 5vw, 62px) clamp(54px, 7vw, 82px);
}

.catalog-top {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.catalog-top > div:first-child {
  min-width: 0;
}

.catalog-top h2 {
  margin: 0;
  font-size: clamp(2.05rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.catalog-top p {
  max-width: 680px;
  margin: 12px 0 0;
  color: var(--rs-muted);
  font-size: 1rem;
  line-height: 1.62;
}

.catalog-date {
  flex: 0 0 auto;
  color: #768175;
  font-size: .8125rem;
  line-height: 1.55;
  text-align: right;
}

.catalog-date b {
  display: block;
  color: var(--rs-ink);
  font-size: .9375rem;
}

.filters {
  padding: 11px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-lg);
  background: var(--rs-white);
  box-shadow: var(--rs-shadow-sm);
}

.filters-main {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 190px 110px;
  gap: 8px;
}

.search,
.select {
  position: relative;
  min-width: 0;
}

.search svg {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  color: #647062;
  pointer-events: none;
  transform: translateY(-50%);
}

.search input,
.select select {
  width: 100%;
  height: 52px;
  border: 1px solid #d9e1d7;
  border-radius: var(--rs-radius-sm);
  background: #f8faf7;
  color: var(--rs-ink);
  outline: none;
  transition: border-color .18s var(--rs-ease), box-shadow .18s var(--rs-ease), background-color .18s var(--rs-ease);
}

.search input {
  padding: 0 44px 0 43px;
}

.search input::placeholder {
  color: #778276;
  opacity: 1;
}

.search input:focus,
.select select:focus {
  border-color: #79c96d;
  background: var(--rs-white);
  box-shadow: 0 0 0 4px rgba(82, 255, 47, .11);
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 10px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rs-soft-2);
  color: #455044;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%);
}

.select label {
  position: absolute;
  z-index: 1;
  top: 5px;
  left: 12px;
  color: #758073;
  font-size: .6875rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: .07em;
  text-transform: uppercase;
  pointer-events: none;
}

.select select {
  padding: 17px 34px 0 11px;
  appearance: auto;
}

.search-btn {
  height: 52px;
  padding-inline: 17px;
  border: 1px solid var(--rs-ink);
  border-radius: var(--rs-radius-sm);
  background: var(--rs-ink);
  color: var(--rs-white);
  font-size: .875rem;
  font-weight: 800;
  transition: background-color .18s var(--rs-ease), border-color .18s var(--rs-ease), transform .18s var(--rs-ease);
}

.search-btn:hover {
  border-color: #263026;
  background: #263026;
  transform: translateY(-1px);
}

.categories {
  padding: 10px 1px 1px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.categories::-webkit-scrollbar {
  display: none;
}

.chip {
  min-height: 36px;
  padding-inline: 12px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-pill);
  background: var(--rs-white);
  color: #455044;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: border-color .18s var(--rs-ease), background-color .18s var(--rs-ease), color .18s var(--rs-ease);
}

.chip span {
  color: #7d887c;
  font-weight: 650;
}

.chip:hover {
  border-color: var(--rs-line-strong);
  background: var(--rs-soft);
}

.chip.active {
  border-color: var(--rs-ink);
  background: var(--rs-ink);
  color: var(--rs-white);
}

.chip.active span {
  color: var(--rs-green);
}

.results {
  margin: 24px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.results strong {
  font-size: .9375rem;
}

.results small {
  margin-left: 6px;
  color: #7d887c;
  font-size: .8125rem;
}

.clear-filters {
  min-height: 38px;
  padding-inline: 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-sm);
  background: var(--rs-white);
  color: var(--rs-ink);
  font-size: .8125rem;
  font-weight: 700;
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dde5da;
  border-radius: var(--rs-radius-lg);
  background: var(--rs-white);
  box-shadow: 0 6px 24px rgba(17, 26, 17, .045);
  transition: transform .2s var(--rs-ease), border-color .2s var(--rs-ease), box-shadow .2s var(--rs-ease);
}

.product-card:hover {
  border-color: rgba(22, 138, 43, .26);
  box-shadow: var(--rs-shadow-md);
  transform: translateY(-3px);
}

.product-card__media {
  height: clamp(255px, 23vw, 306px);
  padding: 16px 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #edf1eb;
  background: var(--rs-white);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  max-width: 94%;
  max-height: 94%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.025);
  transition: transform .22s var(--rs-ease);
}

.product-card__media[data-category="monitores"] img,
.product-card__media[data-category="ordenadores"] img,
.product-card__media[data-category="tpv"] img {
  max-width: 97%;
  max-height: 97%;
}

.product-card:hover .product-card__media img {
  transform: scale(1.055);
}

.placeholder,
.product-sheet__placeholder {
  display: grid;
  place-items: center;
  border-radius: var(--rs-radius-lg);
  background: var(--rs-ink);
  color: var(--rs-green);
  font-weight: 850;
}

.placeholder {
  width: 76px;
  height: 76px;
  font-size: 1.8rem;
}

.product-card__body {
  min-width: 0;
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__category {
  color: #657263;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .085em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__name {
  min-height: 48px;
  margin: 7px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--rs-ink);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -.018em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__brand {
  min-height: 18px;
  margin-top: 6px;
  color: #7e897d;
  font-size: .8125rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__price-row {
  margin-top: auto;
  padding-top: 18px;
}

.product-card__price-row .price {
  color: var(--rs-ink);
  font-size: 1.9rem;
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.045em;
}

.product-card__availability {
  margin: 12px 0 16px;
  color: #465444;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-card__availability span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card__availability span i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #27a840;
  box-shadow: 0 0 0 4px rgba(39, 168, 64, .1);
}

.product-card__availability small {
  margin-top: 4px;
  display: block;
  color: #7c887b;
  font-size: .75rem;
  font-weight: 500;
}

.product-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.product-details-btn,
.product-card__whatsapp {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 14px;
  font: inherit;
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s var(--rs-ease), border-color .18s var(--rs-ease), background-color .18s var(--rs-ease), box-shadow .18s var(--rs-ease);
}

.product-details-btn {
  border: 1px solid #d8e1d6;
  background: #f8faf7;
  color: var(--rs-ink);
}

.product-details-btn:hover {
  border-color: var(--rs-line-strong);
  background: var(--rs-white);
}

.product-details-btn svg,
.product-card__whatsapp .rs-btn-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.product-card__whatsapp {
  border: 1px solid rgba(82, 255, 47, .42);
  background: linear-gradient(135deg, var(--rs-green), #c9ff3e);
  color: var(--rs-green-ink);
  box-shadow: 0 9px 20px rgba(82, 255, 47, .13);
}

.product-details-btn:hover,
.product-card__whatsapp:hover {
  transform: translateY(-1px);
}

.empty {
  padding: clamp(38px, 6vw, 58px) 20px;
  border: 1px dashed #c8d3c5;
  border-radius: var(--rs-radius-lg);
  background: #fafcf9;
  text-align: center;
}

.empty h3 {
  margin: 0;
  font-size: 1.55rem;
}

.empty p {
  max-width: 580px;
  margin: 8px auto 20px;
  color: var(--rs-muted);
}

.empty a,
.help a {
  min-height: var(--rs-action-height);
  padding-inline: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--rs-action-radius);
  font-size: .875rem;
  font-weight: 800;
  text-decoration: none;
}

.empty a {
  background: var(--rs-green);
  color: var(--rs-green-ink);
}

.empty .rs-btn-icon,
.help .rs-btn-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.pager {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
}

.pager a {
  min-width: 42px;
  height: 42px;
  padding-inline: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-sm);
  background: var(--rs-white);
  color: var(--rs-ink);
  font-size: .875rem;
  font-weight: 750;
  text-decoration: none;
}

.pager a:hover {
  border-color: var(--rs-line-strong);
  background: var(--rs-soft);
}

.pager a.active {
  border-color: var(--rs-ink);
  background: var(--rs-ink);
  color: var(--rs-white);
}

.help {
  margin-top: 42px;
  padding: 23px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--rs-line);
  border-radius: var(--rs-radius-lg);
  background: var(--rs-soft);
}

.help strong {
  display: block;
  font-size: 1.0625rem;
}

.help p {
  max-width: 720px;
  margin: 4px 0 0;
  color: var(--rs-muted);
  font-size: .9375rem;
  line-height: 1.55;
}

.help a {
  flex: 0 0 auto;
  background: var(--rs-ink);
  color: var(--rs-white);
}

/* Ficha rápida ----------------------------------------------------------- */

.product-sheet {
  position: fixed;
  inset: 0;
  z-index: 3000;
  padding: 24px;
  display: grid;
  place-items: center;
  visibility: hidden;
  pointer-events: none;
}

.product-sheet.is-open {
  visibility: visible;
  pointer-events: auto;
}

.product-sheet__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 7, 4, .7);
  opacity: 0;
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  transition: opacity .24s var(--rs-ease);
}

.product-sheet.is-open .product-sheet__backdrop {
  opacity: 1;
}

.product-sheet__panel {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  max-height: min(84dvh, 760px);
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(17, 22, 17, .1);
  border-radius: var(--rs-radius-xl);
  background: var(--rs-white);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .32);
  opacity: 0;
  transform: translateY(22px) scale(.985);
  transition: opacity .24s var(--rs-ease), transform .3s var(--rs-ease);
}

.product-sheet.is-open .product-sheet__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-sheet__handle {
  display: none;
}

.product-sheet__close {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe5dd;
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  color: var(--rs-ink);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: var(--rs-shadow-sm);
}

.product-sheet__media {
  min-height: 460px;
  padding: 32px 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-right: 1px solid #edf1eb;
  background: var(--rs-white);
}

.product-sheet__media img {
  width: 100%;
  height: 100%;
  max-width: 96%;
  max-height: 390px;
  object-fit: contain;
  object-position: center;
}

.product-sheet__placeholder {
  width: 92px;
  height: 92px;
  font-size: 2.2rem;
}

.product-sheet__content {
  padding: clamp(34px, 5vw, 52px) clamp(26px, 4vw, 42px) 34px;
  align-self: center;
}

.product-sheet__eyebrow {
  margin: 0 50px 8px 0;
  color: #5d6b5a;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .085em;
  text-transform: uppercase;
}

.product-sheet h2 {
  margin: 0;
  color: var(--rs-ink);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.product-sheet__brand {
  margin: 8px 0 0;
  color: #778275;
  font-size: .875rem;
  font-weight: 650;
}

.product-sheet__price {
  margin-top: 20px;
  color: var(--rs-ink);
  font-size: clamp(2.35rem, 5vw, 3.2rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -.05em;
}

.product-sheet__status {
  margin-top: 18px;
  padding: 14px 15px;
  border: 1px solid #dce6d9;
  border-radius: var(--rs-radius-md);
  background: #f7faf5;
}

.product-sheet__status span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #354333;
  font-size: .875rem;
  font-weight: 800;
}

.product-sheet__status span i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: #27a840;
  box-shadow: 0 0 0 4px rgba(39, 168, 64, .1);
}

.product-sheet__status small {
  margin-top: 5px;
  display: block;
  color: #6f7c6d;
  font-size: .8125rem;
}

.product-sheet__description {
  margin-top: 18px;
  color: #536150;
  font-size: .9375rem;
  line-height: 1.62;
  white-space: pre-line;
}

.product-sheet__whatsapp {
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--rs-action-radius);
  background: linear-gradient(135deg, var(--rs-green), #c9ff3e);
  color: var(--rs-green-ink);
  font-size: .9375rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(82, 255, 47, .17);
}

.product-sheet__whatsapp img {
  width: 21px;
  height: 21px;
}

.product-sheet__note {
  margin: 11px 4px 0;
  color: #7f8a7d;
  font-size: .75rem;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .hero-side {
    max-width: 700px;
  }

  .filters-main {
    grid-template-columns: minmax(0, 1fr) 175px 175px 106px;
  }
}

@media (max-width: 900px) {
  .catalog-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .catalog-date {
    text-align: left;
  }

  .filters-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search,
  .search-btn {
    grid-column: 1 / -1;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card__media {
    height: clamp(250px, 35vw, 315px);
  }

  .product-sheet__panel {
    grid-template-columns: minmax(270px, .85fr) minmax(0, 1.15fr);
  }
}

@media (max-width: 680px) {
  .hero-inner {
    padding-block: 33px 34px;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.5rem, 11vw, 3.15rem);
    line-height: .99;
  }

  .hero-copy {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-metrics {
    margin-top: 17px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .metric {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }

  .metric:nth-child(3) {
    display: none;
  }

  .hero-side {
    padding: 15px;
    border-radius: var(--rs-radius-md);
  }

  .catalog {
    padding-top: 30px;
  }

  .catalog-top {
    margin-bottom: 17px;
  }

  .catalog-top h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
  }

  .catalog-date {
    font-size: .75rem;
  }

  .catalog-date b {
    display: inline;
    margin-right: 5px;
    font-size: .8125rem;
  }

  .filters {
    padding: 8px;
    border-radius: var(--rs-radius-md);
  }

  .filters-main {
    gap: 7px;
  }

  .search input,
  .select select,
  .search-btn {
    height: 50px;
  }

  .select label {
    font-size: .625rem;
  }

  .categories {
    margin-inline: -1px;
    padding-top: 8px;
  }

  .results {
    margin: 20px 0 12px;
  }

  .results small {
    display: none;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-card {
    border-radius: var(--rs-radius-lg);
  }

  .product-card:hover {
    transform: none;
  }

  .product-card__media {
    height: clamp(228px, 68vw, 292px);
    padding: 12px 14px;
  }

  .product-card__media img,
  .product-card__media[data-category="monitores"] img,
  .product-card__media[data-category="ordenadores"] img,
  .product-card__media[data-category="tpv"] img {
    max-width: 96%;
    max-height: 96%;
    transform: none;
  }

  .product-card__body {
    padding: 17px;
  }

  .product-card__name {
    min-height: 0;
    font-size: 1.125rem;
    line-height: 1.32;
  }

  .product-card__price-row {
    padding-top: 16px;
  }

  .product-card__price-row .price {
    font-size: 2rem;
  }

  .product-card__actions {
    gap: 10px;
  }

  .product-details-btn,
  .product-card__whatsapp {
    min-height: 52px;
    font-size: .8375rem;
  }

  .help {
    margin-top: 34px;
    padding: 19px;
    align-items: stretch;
    flex-direction: column;
    gap: 17px;
    border-radius: var(--rs-radius-md);
  }

  .help a {
    width: 100%;
  }

  .product-sheet {
    padding: 0;
    place-items: end center;
  }

  .product-sheet__panel {
    width: 100%;
    max-height: 92dvh;
    display: block;
    border-radius: var(--rs-radius-xl) var(--rs-radius-xl) 0 0;
    opacity: 1;
    transform: translateY(104%);
  }

  .product-sheet.is-open .product-sheet__panel {
    transform: translateY(0);
  }

  .product-sheet__handle {
    position: absolute;
    z-index: 3;
    top: 10px;
    left: 50%;
    width: 44px;
    height: 5px;
    display: block;
    border-radius: var(--rs-radius-pill);
    background: #d4dbd2;
    transform: translateX(-50%);
  }

  .product-sheet__close {
    top: 13px;
    right: 13px;
  }

  .product-sheet__media {
    width: 100%;
    min-height: 245px;
    height: min(34dvh, 285px);
    padding: 28px 18px 15px;
    border-right: 0;
    border-bottom: 1px solid #edf1eb;
  }

  .product-sheet__media img {
    max-width: 96%;
    max-height: 100%;
  }

  .product-sheet__content {
    padding: 20px 19px calc(24px + env(safe-area-inset-bottom));
  }

  .product-sheet h2 {
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .product-sheet__price {
    margin-top: 17px;
    font-size: clamp(2.25rem, 10vw, 2.8rem);
  }

  .product-sheet__status,
  .product-sheet__description {
    margin-top: 15px;
  }

  .product-sheet__whatsapp {
    margin-top: 19px;
  }
}

@media (max-width: 359px) {
  .hero-metrics,
  .filters-main,
  .product-card__actions {
    grid-template-columns: 1fr;
  }

  .metric:nth-child(2) {
    display: none;
  }

  .select,
  .search-btn {
    grid-column: 1;
  }

  .product-card__media {
    height: 220px;
  }

  .product-details-btn,
  .product-card__whatsapp {
    width: 100%;
  }

  .product-sheet__media {
    min-height: 215px;
    height: 215px;
  }
}
