/* Zendip Fashion Pro — premium circular fashion category carousel */
.zf-fashion-category-section {
  position: relative;
  overflow: hidden;
  padding-top: 30px !important;
  padding-bottom: 14px !important;
}

.zf-fashion-category-title {
  margin-bottom: 22px !important;
}

.zf-fashion-category-carousel {
  --zf-cat-accent: var(--zf-primary, #ef2b7b);
  --zf-cat-gap: 28px;
  --zf-cat-visible: 6;
  position: relative;
  width: 100%;
  padding: 4px 48px 28px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.zf-fashion-category-viewport {
  width: 100%;
  overflow: hidden;
  padding: 8px 4px 12px;
  cursor: grab;
}

.zf-fashion-category-carousel.is-dragging .zf-fashion-category-viewport {
  cursor: grabbing;
}

.zf-fashion-category-track {
  display: flex;
  align-items: flex-start;
  gap: var(--zf-cat-gap);
  will-change: transform;
  transform: translate3d(0,0,0);
}

.zf-fashion-category-track.is-animated {
  transition: transform 520ms cubic-bezier(.22,.8,.25,1);
}

.zf-fashion-category-slide {
  flex: 0 0 calc((100% - (var(--zf-cat-visible) - 1) * var(--zf-cat-gap)) / var(--zf-cat-visible));
  min-width: 0;
  text-align: center;
}

.zf-fashion-category-card {
  display: inline-flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  color: #171717;
  text-decoration: none;
  outline: none;
}

.zf-fashion-category-ring {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  max-width: 100%;
  border: 2px solid transparent;
  border-radius: 50%;
  padding: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,17,17,.11);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.zf-fashion-category-image {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #f7f7f7;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.035);
}

.zf-fashion-category-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 50%;
  object-fit: cover !important;
  object-position: center;
  transform: scale(1.001);
  transition: transform .42s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}

.zf-fashion-category-name {
  display: block;
  width: 100%;
  margin-top: 12px;
  overflow: hidden;
  color: #151515;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: .25px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color .25s ease;
}

.zf-fashion-category-card:hover .zf-fashion-category-ring,
.zf-fashion-category-card:focus-visible .zf-fashion-category-ring {
  transform: translateY(-3px) scale(1.025);
  border-color: color-mix(in srgb, var(--zf-cat-accent) 52%, white);
  box-shadow: 0 12px 30px rgba(17,17,17,.16);
}

.zf-fashion-category-card:hover img,
.zf-fashion-category-card:focus-visible img {
  transform: scale(1.08);
}

.zf-fashion-category-card:focus-visible {
  border-radius: 8px;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--zf-cat-accent) 25%, transparent);
}

.zf-fashion-category-slide.is-active .zf-fashion-category-ring {
  border-color: var(--zf-cat-accent);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--zf-cat-accent) 50%, transparent), 0 11px 28px rgba(17,17,17,.14);
}

.zf-fashion-category-slide.is-active .zf-fashion-category-name {
  color: var(--zf-cat-accent);
}

.zf-fashion-category-arrow {
  position: absolute;
  z-index: 5;
  top: 61px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e7e7e7;
  border-radius: 50%;
  background: #fff;
  color: #181818;
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.zf-fashion-category-prev { left: 0; }
.zf-fashion-category-next { right: 0; }

.zf-fashion-category-arrow:hover,
.zf-fashion-category-arrow:focus-visible {
  border-color: var(--zf-cat-accent);
  background: var(--zf-cat-accent);
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--zf-cat-accent) 26%, transparent);
}

.zf-fashion-category-arrow:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--zf-cat-accent) 24%, transparent);
  outline-offset: 2px;
}

.zf-fashion-category-dots {
  position: absolute;
  right: 48px;
  bottom: 0;
  left: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 13px;
}

.zf-fashion-category-dot {
  width: 7px;
  height: 7px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d4d4d4;
  cursor: pointer;
  transition: width .25s ease, background .25s ease, transform .25s ease;
}

.zf-fashion-category-dot:hover,
.zf-fashion-category-dot:focus-visible {
  background: #999;
  transform: scale(1.12);
}

.zf-fashion-category-dot.is-active {
  width: 22px;
  background: var(--zf-cat-accent);
}

.zf-fashion-category-carousel.is-static {
  padding-right: 0;
  padding-left: 0;
}

.zf-fashion-category-carousel.is-static .zf-fashion-category-arrow,
.zf-fashion-category-carousel.is-static .zf-fashion-category-dots {
  display: none;
}

@media (max-width: 1199px) {
  .zf-fashion-category-carousel { --zf-cat-visible: 5; --zf-cat-gap: 22px; }
  .zf-fashion-category-ring { width: 116px; height: 116px; }
}

@media (max-width: 991px) {
  .zf-fashion-category-carousel { --zf-cat-visible: 4; --zf-cat-gap: 20px; }
}

@media (max-width: 767px) {
  .zf-fashion-category-section {
    width: 100% !important;
    padding: 18px 0 4px !important;
  }
  .zf-fashion-category-title {
    width: calc(100% - 28px) !important;
    margin: 0 auto 13px !important;
  }
  .zf-fashion-category-carousel {
    --zf-cat-visible: 3;
    --zf-cat-gap: 14px;
    width: 100%;
    padding: 2px 14px 25px;
  }
  .zf-fashion-category-viewport {
    overflow: visible;
    padding: 6px 0 11px;
  }
  .zf-fashion-category-ring {
    width: 96px;
    height: 96px;
    padding: 3px;
    box-shadow: 0 6px 17px rgba(17,17,17,.1);
  }
  .zf-fashion-category-image { border-width: 3px; }
  .zf-fashion-category-name {
    margin-top: 9px;
    font-size: 11px;
    letter-spacing: 0;
  }
  .zf-fashion-category-arrow { display: none; }
  .zf-fashion-category-dots {
    right: 14px;
    left: 14px;
  }
}

@media (max-width: 420px) {
  .zf-fashion-category-carousel { --zf-cat-gap: 11px; }
  .zf-fashion-category-ring { width: 88px; height: 88px; }
  .zf-fashion-category-name { font-size: 10.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .zf-fashion-category-track,
  .zf-fashion-category-ring,
  .zf-fashion-category-image img,
  .zf-fashion-category-arrow,
  .zf-fashion-category-dot {
    transition-duration: .01ms !important;
  }
}
