
.ppr {
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  background: #fff;
  color: #002b44;
}

.ppr__header {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2.25rem);
}

.ppr__title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #0084b1;
}

.ppr__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.15rem, 0.5vw, 0.35rem) clamp(0.85rem, 2.2vw, 1.75rem);
  list-style: none;
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.5rem);
  padding: 0;
}

.ppr__tab {
  position: relative;
  padding: 0.35rem 0 0.55rem;
  border: 0;
  background: transparent;
  color: #879ea1;
  font-size: clamp(0.6875rem, 1.1vw, 0.8125rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ppr__tab::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.125rem;
  background: transparent;
  transition: background-color 0.2s ease;
}

.ppr__tab:hover,
.ppr__tab.is-active {
  color: #002b44;
}

.ppr__tab.is-active::after {
  background: #002b44;
}

.ppr__panel {
  display: none;
}

.ppr__panel.is-active {
  display: block;
}

.ppr__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.875rem, 1.8vw, 1.25rem);
}

.ppr__empty {
  margin: clamp(1.25rem, 3vw, 2rem) 0;
  text-align: center;
  color: #879ea1;
}

.ppr__footer {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.ppr__see-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(26.25rem, 100%);
  padding: clamp(0.95rem, 1.6vw, 1.25rem) clamp(1.75rem, 4vw, 3.5rem);
  border: 0.1rem solid #0084b1;
  border-radius: 999px;
  color: #0084b1 !important;
  background: #fff;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ppr__see-more:hover {
  background: #0084b1;
  color: #fff !important;
  transform: translateY(-0.0625rem);
}

/* --- Card --- */

.ppr-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.ppr-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.05;
  background: #f7fafc;
  overflow: hidden;
}

.ppr-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: clamp(0.75rem, 1.5vw, 1rem);
}

.ppr-card__badge {
  position: absolute;
  top: clamp(0.65rem, 1.2vw, 0.85rem);
  right: clamp(0.65rem, 1.2vw, 0.85rem);
  z-index: 1;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 0.1rem solid;
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.5625rem, 0.9vw, 0.625rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.ppr-card__badge--bestseller {
  color: #0084b1;
  border-color: #0084b1;
}

.ppr-card__badge--hot {
  color: #e11d48;
  border-color: #e11d48;
}

.ppr-card__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  flex: 1 1 auto;
  padding: clamp(0.85rem, 1.6vw, 1.15rem);
}

.ppr-card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  margin: 0;
  color: #002b44 !important;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none !important;
}

.ppr-card__row {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1vw, 0.65rem);
  margin-top: auto;
}

.ppr-card__price {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: #002b44;
  white-space: nowrap;
}

.ppr-card__cart {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 0.8vw, 0.5rem);
  margin: 0;
}

.ppr-card__qty {
  display: inline-flex;
  align-items: center;
  height: 2.5rem;
  padding: 0 0.35rem;
  border: 1px solid #d3ebee;
  border-radius: 10px;
  background: #fff;
}

.ppr-card__qty-btn {
  width: clamp(1.4rem, 2vw, 1.625rem);
  height: clamp(1.4rem, 2vw, 1.625rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: #879ea1;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.ppr-card__qty-input {
  width: 1.75rem;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: clamp(0.75rem, 1.1vw, 0.8125rem);
  font-weight: 600;
  color: #002b44;
  outline: none;
}

.ppr-card__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.375rem, 3.2vw, 2.75rem);
  height: clamp(2.375rem, 3.2vw, 2.75rem);
  flex-shrink: 0;
  border: 0;
  border-radius: 50%;
  background: #0084b1;
  color: #fff !important;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.ppr-card__add .material-icons {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  line-height: 1;
}

.ppr-card__add:hover {
  background: #007298;
  transform: translateY(-0.0625rem);
}

@media (max-width: 1199.98px) {
  .ppr__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .ppr__grid {
    grid-template-columns: 1fr;
  }

  .ppr-card__row {
    flex-wrap: wrap;
  }

  .ppr-card__price {
    flex: 1 1 100%;
  }
}
