/* Grooming Moments Photo Widget */
.ck9-photo-widget {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 45px 16px;
  overflow: hidden;
  font-family: inherit;
}

.ck9-photo-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.ck9-photo-eyebrow {
  color: #FF69B4;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 8px;
}

.ck9-photo-header h2 {
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.1;
  margin: 0 0 12px;
  color: #0c0c0c;
}

.ck9-photo-header p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.ck9-photo-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 18px;
  scrollbar-width: none;
}

.ck9-photo-track::-webkit-scrollbar {
  display: none;
}

.ck9-photo-track img {
  flex: 0 0 78%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 24px;
  scroll-snap-align: center;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(0,0,0,0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ck9-photo-track img:hover {
  transform: scale(1.03);
  box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.ck9-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
}

.ck9-lightbox.active {
  display: flex;
}

.ck9-lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.ck9-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: #fff;
  color: #0c0c0c;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ck9-close:hover {
  transform: scale(1.1);
}

.ck9-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  color: #0c0c0c;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ck9-arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.ck9-prev {
  left: 18px;
}

.ck9-next {
  right: 18px;
}

@media (min-width: 768px) {
  .ck9-photo-track img {
    flex-basis: 260px;
  }
}

@media (max-width: 480px) {
  .ck9-photo-widget {
    padding: 34px 12px;
  }

  .ck9-photo-track {
    gap: 12px;
  }

  .ck9-photo-track img {
    flex: 0 0 82%;
    border-radius: 20px;
  }

  .ck9-arrow {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }
}
