.pt-fc-wrap {
  width: 100%;
  direction: rtl;
}

.pt-fc-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pt-fc-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #E7E0DC;
  background: #FFFFFF;
  color: #3F3F46;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pt-fc-pill:focus-visible,
.pt-fc-atc:focus-visible,
.pt-fc-more-btn:focus-visible {
  outline: 2px solid #9D174D;
  outline-offset: 2px;
}

.pt-fc-pill:hover,
.pt-fc-pill.is-active {
  background: #9D174D;
  color: #FFFFFF;
  border-color: #9D174D;
}

.pt-fc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, clamp(9.25rem, 23vw, 17.5rem)), 1fr));
  gap: clamp(0.65rem, 1.4vw, 1.15rem);
}

.pt-fc-card {
  container-type: inline-size;
  container-name: pt-fc;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid #E7E0DC;
  border-radius: 1rem;
  padding: clamp(0.6rem, 2cqi, 0.875rem);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pt-fc-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(24, 24, 27, 0.12);
  border-color: #FBCFE8;
}

.pt-fc-img-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #FAF6F4;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.pt-fc-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.pt-fc-card:hover .pt-fc-img-link img {
  transform: scale(1.03);
}

.pt-fc-sale-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  background: #9D174D;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.pt-fc-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 0.5rem;
}

.pt-fc-title {
  margin: 0;
  font-size: clamp(0.8rem, 0.72rem + 0.5cqi, 0.92rem);
  font-weight: 600;
  line-height: 1.5;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pt-fc-title a {
  color: #18181B;
  text-decoration: none;
}

.pt-fc-price {
  margin-top: auto;
  font-size: clamp(0.82rem, 0.75rem + 0.4cqi, 0.95rem);
  font-weight: 700;
  color: #9D174D;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.pt-fc-price del {
  color: #71717A;
  font-weight: 400;
  font-size: 0.8em;
}

.pt-fc-price ins {
  text-decoration: none;
  color: #9D174D;
}

.pt-fc-atc {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 0;
  border-radius: 9999px;
  background: #18181B;
  color: #FFFFFF !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}

.pt-fc-atc:hover {
  background: #9D174D;
}

.pt-fc-atc.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.pt-fc-atc.is-added {
  background: #0F766E;
}

.pt-fc-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.pt-fc-more-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border-radius: 9999px;
  border: 1.5px solid #9D174D;
  background: #FFFFFF;
  color: #9D174D;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.pt-fc-more-btn:hover {
  background: #9D174D;
  color: #FFFFFF;
}

.pt-fc-more-btn.is-loading {
  opacity: 0.65;
  cursor: wait;
}

@container pt-fc (max-width: 190px) {
  .pt-fc-atc {
    font-size: 0.74rem;
    padding: 0.4rem 0.5rem;
  }
}
