.pc-category-carousel,
.pc-category-carousel * {
  box-sizing: border-box;
}

.pc-category-carousel {
  width: 100%;
  overflow: hidden;
  padding: 72px 0 64px;
  background: #ffffff;
  color: #09080d;
}

.pc-cc-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.pc-cc-eyebrow {
  margin: 0 0 16px;
  color: #9d68ff;
  font: 800 11px/1.2 "DM Sans", sans-serif;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

.pc-cc-heading h2 {
  margin: 0;
  color: #09080d;
  font: 800 clamp(48px, 6vw, 76px)/0.88 "Barlow Condensed", sans-serif;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.pc-cc-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.pc-cc-view-all {
  border-bottom: 1px solid currentColor;
  color: #7441d5;
  font: 800 11px/1.4 "DM Sans", sans-serif;
  white-space: nowrap;
}

.pc-cc-arrows {
  display: flex;
  gap: 7px;
}

.pc-cc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e4e0e8;
  background: #ffffff;
  color: #7441d5;
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s;
}

.pc-cc-arrow:hover {
  border-color: #7441d5;
  background: #7441d5;
  color: #ffffff;
  transform: translateY(-2px);
}

.pc-cc-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 3px 2px 14px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.pc-cc-track::-webkit-scrollbar {
  display: none;
}

.pc-cc-card {
  flex: 0 0 var(--pc-cc-basis, calc((100% - 110px) / 6));
  min-width: 0;
  color: #09080d;
  text-align: center;
  scroll-snap-align: start;
}

.pc-cc-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  margin-bottom: 19px;
  overflow: hidden;
  border: 1px solid #e4e0e8;
  border-radius: 50%;
  background: #f6f4f8;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.3s;
}

.pc-cc-image::after {
  position: absolute;
  width: 74%;
  height: 74%;
  background: radial-gradient(circle, rgba(116, 65, 213, 0.2), transparent 67%);
  content: "";
}

.pc-cc-image img {
  position: relative;
  z-index: 2;
  width: 78%;
  height: 78%;
  object-fit: contain;
  transition: transform 0.35s;
}

.pc-cc-placeholder {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34%;
  height: 48%;
  border-radius: 22%;
  background: linear-gradient(145deg, #9d68ff, #30134d);
  box-shadow: 0 18px 25px rgba(33, 16, 46, 0.25);
  color: #ffffff;
  font: 800 40px "Barlow Condensed", sans-serif;
  transform: rotate(5deg);
}

.pc-cc-card h3 {
  margin: 0;
  color: #09080d;
  font: 800 22px/0.95 "Barlow Condensed", sans-serif;
  text-transform: uppercase;
}

.pc-cc-card p {
  margin: 6px 0 0;
  color: #77717e;
  font: 500 10px/1.4 "DM Sans", sans-serif;
}

.pc-cc-card:hover .pc-cc-image {
  border-color: #7441d5;
  box-shadow: 0 18px 38px rgba(43, 20, 65, 0.13);
  transform: translateY(-5px);
}

.pc-cc-card:hover .pc-cc-image img {
  transform: scale(1.07);
}

@media (max-width: 1024px) {
  .pc-category-carousel {
    padding: 62px 0 55px;
  }

  .pc-cc-track {
    gap: 18px;
  }

  .pc-cc-card {
    flex-basis: calc((100% - 54px) / 4);
  }
}

@media (max-width: 767px) {
  .pc-category-carousel {
    padding: 48px 0 40px;
  }

  .pc-cc-heading {
    display: block;
    margin-bottom: 27px;
  }

  .pc-cc-heading h2 {
    font-size: 50px;
  }

  .pc-cc-actions {
    justify-content: space-between;
    margin-top: 20px;
  }

  .pc-cc-arrows {
    display: none;
  }

  .pc-cc-track {
    gap: 14px;
    margin-right: -20px;
    padding-right: 20px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .pc-cc-card {
    flex: 0 0 43%;
    min-width: 142px;
  }

  .pc-cc-image {
    margin-bottom: 15px;
  }

  .pc-cc-card h3 {
    font-size: 19px;
  }
}

@media (max-width: 420px) {
  .pc-cc-card {
    flex-basis: 47%;
  }

  .pc-cc-heading h2 {
    font-size: 44px;
  }
}
