/* @media (max-width: 420px) {
.half-circle {
width: 15%;
height: 25px;
}
} */

#tns1-mw {
  overflow: visible;
}

.ice-cream-hero-image {
  width: 100%;
  height: auto;
  max-height: 120vh;
  object-fit: cover;
}
.carousel-container {
  position: relative;
  width: 100%;
  margin: -10px 0px 0px 0px;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 5;
}

.my-slider {
  display: flex;
  justify-content: center; /* sabko ek line me center align */
  gap: 35px; /* circles ke beech spacing */
}

.ice-carousel-item {
  padding: 15px;
  text-align: center;
  position: relative;
  transition: transform 0.6s;
  display: flex; /* ✅ sabko baseline pe lana */
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.ice-carousel-item::before {
  content: "";
  position: absolute;
  top: 50%; /* center vertically relative to item */
  left: 50%;
  transform: translate(-50%, -50%); /* perfectly center */
  width: 200px;
  height: 200px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none; /* circle won't block clicks */
}

/* ✅ Center wale 2 circles ko bada karo */
.ice-carousel-item.active-center::before {
  width: 260px;
  height: 260px;
}

/* Optional: slightly smaller image so circle visible */
.ice-carousel-item img {
  height: 280px;
  width: auto;
  max-width: 100%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  object-fit: contain;
  margin-top: 20px;

  transform-origin: bottom center; /* ✅ zoom bottom se ho */
}

/* zoom + title only when we add .active-center */
.ice-carousel-item.active-center img {
  transform: scale(1.8);
  top: 37%;
  height: 220px;
}

.ice-carousel-item h3 {
  display: none;
}

.ice-carousel-item.active-center h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  z-index: 3;
}

.product-title {
  top: 40%;
  position: relative;
  z-index: 5;
  font-size: clamp(1.1rem, 1.9vw, 4rem);
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Amsi Pro", sans-serif;
  color: #de261e;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.product-arrow-circle {
  z-index: 10; /* 👈 ensure arrow stays clickable */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #de261e;
  box-shadow: 3px 1px 0px #de261e;
  transition: all 0.3s ease;
  cursor: pointer !important;
}

.product-arrow-circle .arrow-icon {
  width: 18px;
  height: 20px;
  stroke-width: 3px;
}

.product-arrow-circle:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.ice-carousel-item.active-center .premium-tubs-image {
  max-width: 216px;
  min-width: 216px;
  top: 144px;
}
.ice-carousel-item.active-center .ice-cream-cake-image {
  max-width: 216px;
  min-width: 216px;
  top: 144px;
}
.ice-carousel-item.active-center .no-sugar-image {
  max-width: 216px;
  min-width: 216px;
  top: 144px;
  transform: scale(1.7);
}

.ice-carousel-item a {
  pointer-events: none; /* sab anchor by default off */
}
.ice-carousel-item.active-center a {
  pointer-events: auto; /* sirf active item clickable hoga */
}
.arrow {
  position: absolute;
  background: #fff;
  border: 1px solid #de261e;
  box-shadow: 3px 1px 0px #de261e;
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.arrow .arrow-icon {
  width: 26px;
  height: 26px;
  stroke: #de261e;
}

.arrow:hover {
  background: #de261e;
}
.arrow:hover .arrow-icon {
  stroke: #fff;
}

.arrow-left {
  left: 11%;
}
.arrow-right {
  right: 11%;
}

.arrow.visible {
  opacity: 1;
  visibility: visible;
}

/* @media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    .ice-carousel-item.active-center img {
      margin-top: 40%;
    }
    .product-title {
      top: 0%;
    }
  }
} */

/* Safari-only CSS (all versions, future safe) */
@supports (-webkit-hyphens: none) and (not (-ms-ime-align: auto)) {
  .ice-carousel-item.active-center img {
    margin-top: 40%; /* adjust as needed */
  }
  .product-title {
    top: 0%; /* adjust as needed */
  }
}
