/* Candy Cockers — image lightbox */
.cc-carousel img { cursor: zoom-in; }

.cc-lb {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(15, 10, 8, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  animation: cc-lb-fade 0.15s ease-out;
}
.cc-lb.is-visible { display: flex; }
@keyframes cc-lb-fade { from { opacity: 0; } to { opacity: 1; } }

body.cc-lb-open { overflow: hidden; }

.cc-lb__figure {
  margin: 0; padding: 0;
  max-width: min(1100px, 96vw);
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.cc-lb__img {
  max-width: 100%;
  max-height: calc(90vh - 40px);
  width: auto; height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: default;
  user-select: none;
}
.cc-lb__counter {
  color: #f5eee7;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.cc-lb__close,
.cc-lb__prev,
.cc-lb__next {
  position: absolute;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.cc-lb__close:hover,
.cc-lb__prev:hover,
.cc-lb__next:hover { background: rgba(232, 118, 59, 0.9); }

.cc-lb__close {
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 999px;
  font-size: 1.8rem; line-height: 1;
}
.cc-lb__prev,
.cc-lb__next {
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 999px;
  font-size: 2rem; line-height: 1;
}
.cc-lb__prev { left: 20px; }
.cc-lb__next { right: 20px; }

@media (max-width: 640px) {
  .cc-lb { padding: 12px; }
  .cc-lb__close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.5rem; }
  .cc-lb__prev,
  .cc-lb__next { width: 44px; height: 44px; font-size: 1.6rem; }
  .cc-lb__prev { left: 8px; }
  .cc-lb__next { right: 8px; }
}
