/* Ctrell Designs — Extra Styles (founder, portfolio filter, pricing, cart) */

.ctrell-save-badge {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.18);
  border: 1px solid rgba(129, 140, 248, 0.45);
  color: #a5b4fc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.ctrell-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e0e3e5;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.ctrell-chip:hover,
.ctrell-chip.is-active {
  border-color: rgba(129, 140, 248, 0.7);
  background: rgba(79, 70, 229, 0.22);
  color: #fff;
}

.ctrell-filter-btn {
  padding: 0.55rem 1.1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e0e3e5;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ctrell-filter-btn:hover {
  border-color: rgba(129, 140, 248, 0.7);
}
.ctrell-filter-btn.is-active {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  border-color: transparent;
  color: #fff;
}
.ctrell-filter-count {
  opacity: 0.75;
  font-size: 0.78rem;
}

/* "More skills" button — same pill look, gradient to stand out. */
.ctrell-filter-more {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(124, 58, 237, 0.25));
  border-color: rgba(129, 140, 248, 0.6);
}

/* Skill filter popup — all tags, scrollable on small screens. */
.ctrell-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 1rem 1rem;
}
.ctrell-filter-modal.is-open {
  display: flex;
}
.ctrell-filter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 12, 0.78);
  backdrop-filter: blur(4px);
}
.ctrell-filter-modal-panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  overflow-y: auto;
  background: #0d1219;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.ctrell-filter-modal-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #e0e3e5;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ctrell-filter-modal-close:hover {
  border-color: rgba(129, 140, 248, 0.7);
  color: #fff;
}
@media (max-width: 640px) {
  .ctrell-filter-modal-panel {
    padding: 1.25rem;
  }
}

.ctrell-founder-photo img {
  aspect-ratio: 4 / 5;
  width: 100%;
}

.ctrell-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #e0e3e5;
  text-decoration: none;
}
.ctrell-cart-link:hover {
  border-color: rgba(129, 140, 248, 0.7);
  color: #fff;
}
.ctrell-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.3rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ctrell-price-table th,
.ctrell-price-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: top;
}
.ctrell-price-table thead th {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
  background: rgba(255, 255, 255, 0.03);
}
.ctrell-price-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}
