.carousel-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 40px 0;
}
.carousel-wrapper {
  overflow: hidden;
  cursor: grab;
  position: relative;
  user-select: none;
  touch-action: pan-y;
  padding-top: 20px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  padding: 0;
  max-width: 1440px;
  margin: 0 auto;
  transform: translateX(0);
  transition: transform 0.3s ease;
}
.carousel-item {
  flex: 0 0 400px;
  height: 400px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  cursor: move;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgb(0 0 0 / 87%), rgb(0 0 0 / 0%));
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.carousel-item:hover::after {
  opacity: 0;
}
/* Add new styles for the product label */
.carousel-item .item-label {
  position: absolute;
  bottom: 32px;
  left: 32px;
  color: #ffffff;
  font-weight: 700;
  z-index: 2;
}
.carousel-item .item-label .dot {
  color: #94193b;
}
.carousel-item:hover .item-label {
  display: none;
  transition: transform 0.3s ease;
}
.carousel-item:hover img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.carousel-item-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, rgb(0 0 0 / 87%), rgb(0 0 0 / 0%));
  padding: 32px;
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  pointer-events: none;
}
.carousel-item:hover .carousel-item-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.carousel-item-content .pc-content-title,
.carousel-item-content .pc-content-text,
.carousel-view-btn {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-item:not(:hover) .carousel-item-content .pc-content-title,
.carousel-item:not(:hover) .carousel-item-content .pc-content-text,
.carousel-item:not(:hover) .carousel-view-btn {
  transform: translateY(30px);
  opacity: 0;
}
.carousel-item:hover .carousel-item-content .pc-content-title,
.carousel-item:hover .carousel-item-content .pc-content-text,
.carousel-item:hover .carousel-view-btn {
  transform: translateY(0);
  opacity: 1;
}
.carousel-item-content .pc-content-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.carousel-item-content .pc-content-text {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 24px;
}
.carousel-view-btn {
  background: linear-gradient(to bottom, #00a7b5 0%, #00a7b5 50%, #94193b 50%, #94193b 100%);
  background-size: 100% 200%;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 8px 32px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.carousel-view-btn:hover {
  background-position: 0 100%;
}
/* Base styles for carousel content */
.carousel-item .carousel-item-content .pc-content-title {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 15px;
}
.carousel-item .carousel-item-content .pc-content-text {
  font-size: 14px !important;
  color: #333f48;
  line-height: 1.4;
}
.carousel-item-content p.pc-content-text:first-of-type {
  color: #ffffff;
  margin-bottom: 10px;
  text-wrap-style: balance;
}
.carousel-item-content p.pc-content-text:last-of-type {
  display: none;
  transition: transform 0.3s ease;
}
.carousel-item:hover .carousel-item-content p.pc-content-text:first-of-type {
  display: block;
}
#header-title-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.carousel-arrow-container {
  position: static;
  margin-top: 0;
  margin-right: 0;
  display: flex;
  gap: 12px;
  z-index: 3;
}
.carousel-arrow {
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00a7b5;
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  opacity: 0.85;
  transition: background 0.1s, color 0.1, opacity 0.1s;
}
.carousel-arrow:hover:not(:disabled) {
  background: #333f48;
  color: #ebebeb;
}
/* Remove old left/right positioning */
.carousel-arrow.left,
.carousel-arrow.right {
  left: unset;
  right: unset;
}
p.swatch-labels {
  font-size: 14px;
  font-style: italic;
  font-weight: 600;
  color: #333f48;
  margin-bottom: 5px;
}
@media (max-width: 767px) {
  .carousel-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .carousel-item {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}
@media (min-width: 1200px) {
  .carousel-item {
    flex: 0 0 calc((100% - 40px) / 3);
    max-width: calc((100% - 40px) / 3);
  }
}