/* ===================== COMPETITOR cards ===================== */
.pp-comps {
  background: #fff;
}

.pp-comp-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}

.pp-chip {
  font: 600 13px/1 'Poppins', sans-serif;
  color: #190750;
  padding: 10px 16px;
  border: 1px solid #DCE2FA;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s cubic-bezier(.2, .8, .2, 1);
  outline: none;
}

.pp-chip:hover {
  border-color: #3E5EE2;
  color: #3E5EE2;
}

.pp-chip.is-active {
  background: #190750;
  color: #fff;
  border-color: #190750;
}

.pp-comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.pp-comp-card {
  background: #fff;
  border: 1px solid #E5E7EA;
  border-radius: 24px;
  padding: 28px 28px 24px;
  position: relative;
  transition: all .2s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
}

.pp-comp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(25, 7, 80, .08);
  border-color: #DCE2FA;
}

.pp-comp-cat {
  font: 600 11px/1 'Poppins', sans-serif;
  letter-spacing: .14em;
  color: #190750;
  opacity: .55;
  margin-bottom: 10px;
}

.pp-comp-name {
  font: 600 22px/1.15 'Poppins', sans-serif;
  color: #190750;
  margin: 0 0 16px;
  letter-spacing: -.005em;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pp-comp-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 44px;
  padding: 4px 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #EDF0FC;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(25, 7, 80, .04);
}

.pp-comp-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.pp-comp-built {
  font-size: 15px;
  line-height: 1.5;
  color: #190750;
  opacity: .78;
  margin: 0 0 14px;
}

.pp-comp-built b {
  font-weight: 600;
  color: #190750;
  opacity: 1;
}

.pp-comp-contrast {
  font-size: 16px;
  line-height: 1.55;
  color: #190750;
  margin: 0 0 20px;
  padding-top: 16px;
  border-top: 1px dashed #EDF0FC;
  flex: 1;
}

.pp-comp-contrast::before {
  content: "Tastewise";
  display: block;
  font: 600 11px/1 'Poppins', sans-serif;
  letter-spacing: .14em;
  color: #3E5EE2;
  margin-bottom: 8px;
}

.pp-comp-link {
  align-self: flex-start;
  font: 600 13px/1 'Poppins', sans-serif;
  color: #3E5EE2;
  display: flex;
  margin-top: 20px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #EDF0FC;
  border: 1px solid transparent;
  transition: all .18s cubic-bezier(.2, .8, .2, 1);
  white-space: nowrap;
  text-decoration: none !important;
}

.pp-comp-link svg {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}

.pp-comp-link:hover {
  background: #fff;
  border-color: #3E5EE2;
}

.pp-comp-link:hover svg {
  transform: translateX(3px);
}

.pp-comp-card:hover .pp-comp-link {
  background: #fff;
  border-color: #3E5EE2;
}

/* -- Load More button styles -- */
.load-more-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.load-more-btn {
  font: 600 15px/1 'Poppins', sans-serif;
  color: #fff;
  background: #3E5EE2;
  border: 1px solid #3E5EE2;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 14px rgba(62, 94, 226, .24);
  outline: none;
}

.load-more-btn:hover {
  background: #2a45c0;
  border-color: #2a45c0;
  box-shadow: 0 6px 20px rgba(62, 94, 226, .32);
  transform: translateY(-1px);
}

.load-more-btn:active {
  transform: translateY(0);
}

.comp-no-results {
  text-align: center;
  font-size: 16px;
  color: #190750;
  opacity: .7;
  margin-top: 40px;
}

/* ----- Responsive Rules ----- */
@media (max-width: 991px) {
  .pp-comp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .pp-comp-grid {
    grid-template-columns: 1fr;
  }
}

/* iPad */
@media (max-width: 1024px) {
  .pp-comps .pp-section { padding: 32px 32px 48px !important; }
}

/* Mobile */
@media (max-width: 767px) {
  .pp-comps .pp-section { padding: 28px 16px 40px !important; }
  .pp-comp-filters { gap: 6px; margin-bottom: 28px; }
  .pp-chip { font-size: 12px; padding: 9px 14px; }
  .pp-comp-card { padding: 22px 20px 20px; }
  .pp-comp-name { font-size: 18px; }
}
