.featured-designers-section {
  background-color: rgb(var(--color-background));
  --container-padding-top: 60px;
  --container-padding-bottom: 60px;
  --container-padding-right: 20px;
  --container-padding-left: 20px;
  --container-max-width: 1600px;
}

.featured-designers-section .featured-designers-container {
  margin: 0 auto;
  max-width: calc(var(--container-max-width) + var(--container-padding-left) + var(--container-padding-right));
  padding: var(--container-padding-top) var(--container-padding-right) var(--container-padding-bottom) var(--container-padding-left);
  width: 100%;
}

.featured-designers {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.featured-designers__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.featured-designers__title {
  margin: 0;
  color: rgb(var(--color-foreground));
}

.featured-designers__view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.featured-designers__arrow-icon {
  width: 16px;
  height: 16px;
}

.featured-designers__container {
  position: relative;
  width: 100%;
}

.featured-designers__slider-wrapper {
  overflow: hidden;
}

.featured-designers__slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.featured-designers__slider::-webkit-scrollbar {
  display: none;
}

.featured-designers__card {
  flex: 0 0 calc((100% - 60px) / 4.5);
  width: calc((100% - 60px) / 4.5);
  min-width: 280px;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  background: rgb(var(--color-background));
  border: 1px solid #e0e0e0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Profile Section */
.featured-designers__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-designers__avatar-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgb(var(--color-background-secondary, var(--color-background)));
}

.featured-designers__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-designers__avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 24px;
  font-weight: 600;
}

.featured-designers__info {
  flex: 1;
  min-width: 0;
}

.featured-designers__name {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
  color: rgb(var(--color-foreground));
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.featured-designers__location {
  font-size: 13px;
  color: rgb(var(--color-foreground-secondary, var(--color-foreground)));
  opacity: 0.7;
}

/* Bio */
.featured-designers__bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgb(var(--color-foreground));
  opacity: 0.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured Works */
.featured-designers__works {
  display: flex;
  gap: 8px;
}

.featured-designers__work {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: rgb(var(--color-background-secondary, var(--color-background)));
}

.featured-designers__work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-designers__work--empty {
  background: rgba(var(--color-foreground), 0.05);
  border: 1px dashed rgba(var(--color-foreground), 0.15);
}

/* Stats - Hidden temporarily */
.featured-designers__stats {
  display: none;
  /* display: flex; */
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(var(--color-foreground), 0.1);
}

.featured-designers__stat {
  font-size: 13px;
  color: rgb(var(--color-foreground));
  opacity: 0.8;
}

.featured-designers__stat strong {
  font-weight: 600;
}

/* Skeleton Loading */
.featured-designers__card--skeleton {
  pointer-events: none;
}

.featured-designers__card--skeleton .skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

.featured-designers__card--skeleton .featured-designers__avatar-wrapper.skeleton {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.featured-designers__card--skeleton .featured-designers__name.skeleton {
  height: 20px;
  width: 120px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.featured-designers__card--skeleton .featured-designers__location.skeleton {
  height: 14px;
  width: 80px;
  border-radius: 4px;
}

.featured-designers__card--skeleton .featured-designers__bio.skeleton {
  height: 60px;
  width: 100%;
  border-radius: 4px;
}

.featured-designers__card--skeleton .featured-designers__work.skeleton {
  aspect-ratio: 1;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Error State */
.featured-designers__error {
  text-align: center;
  padding: 40px 20px;
  color: rgb(var(--color-foreground));
}

.featured-designers__error p {
  margin-bottom: 16px;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Navigation Controls */
.featured-designers__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  width: 100%;
}

.featured-designers__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
  padding: 0;
  color: #000;
}

.featured-designers__nav-btn:hover:not(:disabled) {
  opacity: 0.6;
}

.featured-designers__nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.featured-designers__nav-btn svg {
  width: 24px;
  height: 24px;
}

.featured-designers__scrollbar {
  flex: 1;
  max-width: 400px;
  height: 6px;
  position: relative;
}

.featured-designers__scrollbar-track {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  overflow: visible;
  position: relative;
}

.featured-designers__scrollbar-thumb {
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 40px;
  position: absolute;
  top: 0;
}

.featured-designers__scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 959px) {
  .featured-designers__container {
    max-width: 100%;
  }

  .featured-designers__header {
    max-width: 100%;
    flex-wrap: wrap;
  }

  .featured-designers__slider {
    margin-left: calc(-1 * var(--page-padding, 16px));
    margin-right: calc(-1 * var(--page-padding, 16px));
    padding-left: var(--page-padding, 16px);
    padding-right: var(--page-padding, 16px);
    gap: 8px;
  }

  .featured-designers__card {
    flex: 0 0 300px;
    width: 300px;
    padding: 16px;
    gap: 12px;
  }

  .featured-designers__avatar-wrapper {
    width: 50px;
    height: 50px;
  }

  .featured-designers__avatar-placeholder {
    font-size: 20px;
  }

  .featured-designers__name {
    font-size: 16px;
  }

  .featured-designers__bio {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  /* Hide navigation on mobile */
  .featured-designers__nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .featured-designers__card {
    flex: 0 0 240px;
    width: 240px;
  }

  .featured-designers__works {
    gap: 6px;
  }

  .featured-designers__work {
    border-radius: 6px;
  }
}
