.orfebre-carrusel {
  --orfebre-cols: 5;
  --orfebre-gap: 24px;
  --orfebre-gold: #c29d5f;
  --orfebre-cream: #eee4d3;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
}

.orfebre-carrusel__viewport {
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
}

.orfebre-carrusel__track {
  display: flex;
  gap: var(--orfebre-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.orfebre-carrusel__track::-webkit-scrollbar {
  display: none;
}

.orfebre-carrusel__item {
  flex: 0 0 calc((100% - (var(--orfebre-cols) - 1) * var(--orfebre-gap)) / var(--orfebre-cols));
  scroll-snap-align: start;
  min-width: 0;
}

.orfebre-carrusel__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f0ea;
  isolation: isolate;
}

.orfebre-carrusel__img,
.orfebre-carrusel__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orfebre-carrusel__placeholder {
  background: linear-gradient(135deg, #eee4d3, #ddd2bf);
}

.orfebre-carrusel .orfebre-carrusel__photo .orfebre-carrusel__num {
  position: absolute !important;
  inset: auto auto 12px 12px !important;
  z-index: 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  color: #c29d5f;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  background: #eee4d3;
  border-radius: 50px;
  padding: 8px 14px;
  min-width: 36px;
  max-width: calc(100% - 24px);
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  margin: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.orfebre-carrusel__title {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #222;
}

.orfebre-carrusel__nav {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eee4d3;
  color: #c29d5f;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.orfebre-carrusel__nav:hover,
.orfebre-carrusel__nav:focus-visible {
  background: #c29d5f;
  color: #fff;
  outline: none;
}

.orfebre-carrusel__nav[hidden] {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .orfebre-carrusel {
    --orfebre-cols: 3;
  }

  .orfebre-carrusel .orfebre-carrusel__photo .orfebre-carrusel__num {
    inset: auto auto 10px 10px !important;
    padding: 7px 12px;
  }
}

@media (max-width: 720px) {
  .orfebre-carrusel {
    --orfebre-cols: 2;
    --orfebre-gap: 14px;
  }

  .orfebre-carrusel__nav {
    width: 32px;
    height: 32px;
    font-size: 22px;
  }

  .orfebre-carrusel .orfebre-carrusel__photo .orfebre-carrusel__num {
    inset: auto auto 8px 8px !important;
    padding: 6px 11px;
    min-width: 34px;
  }
}

@media (max-width: 480px) {
  .orfebre-carrusel {
    --orfebre-cols: 1;
  }

  .orfebre-carrusel .orfebre-carrusel__photo .orfebre-carrusel__num {
    inset: auto auto 12px 12px !important;
  }
}

.orfebre-carrusel__cta {
  text-align: center;
}

.orfebre-carrusel__cta .button {
  margin-bottom: 0;
}
