.product-carousel-block {
  background-color: var(--color-brand-surface);
  padding: 60px var(--container-padding);
}

.product-carousel-header {
  max-width: var(--container-max);
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.product-carousel-header-content {
  flex: 1;
}

.product-carousel-kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.product-carousel-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin: 0 0 12px 0;
}

.product-carousel-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0;
}

.product-carousel-view-all {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-primary);
  text-decoration: none;
  white-space: nowrap;
  margin-top: 40px;
}

.product-carousel-view-all:hover {
  text-decoration: underline;
}

.product-carousel-container {
  max-width: var(--container-max);
  margin: 0 auto;
  overflow: hidden;
  width: 100%;
}

.product-carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.3s ease-in-out;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-carousel-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.product-card:active {
  transform: translateY(-2px);
}

.product-card__image {
  width: 100%;
  aspect-ratio: 1;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
}

.product-card__placeholder img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  opacity: 0.3;
}

.product-card-content {
  padding: 24px;
}

.product-card-name {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 4px 0;
}

.product-card-tier {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin: 0 0 12px 0;
}

.product-card-price {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.product-carousel-controls {
  max-width: var(--container-max);
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--color-text-primary);
}

.product-carousel-arrows {
  display: flex;
  gap: 12px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-subtle);
  background-color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--color-text-primary);
}

.carousel-arrow:hover:not(:disabled) {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-text-muted);
}

.carousel-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .product-carousel-block {
    padding: 40px 16px;
  }

  .product-carousel-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .product-carousel-title {
    font-size: 32px;
  }

  .product-carousel-subtitle {
    font-size: 14px;
  }

  .product-carousel-view-all {
    margin-top: 0;
  }

  .product-carousel-container {
    overflow: hidden;
  }

  .product-carousel-track {
    display: flex;
    gap: 0;
    padding: 0;
    transition: transform 0.3s ease-in-out;
  }

  .product-card {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
    box-sizing: border-box;
  }

  .product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0; 
  }

  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .product-card-content {
    padding: 20px;
  }

  .product-card-name {
    font-size: 16px;
  }

  .product-card-tier {
    font-size: 12px;
  }

  .product-card-price {
    font-size: 16px;
  }

  .product-carousel-controls {
    margin-top: 24px;
  }

  .carousel-arrow {
    width: 36px;
    height: 36px;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
  }

  .carousel-dot.active {
    width: 20px;
  }
}