/*--------------------------------------------
    Catalogue viewer (flip book) + catalogue cards
----------------------------------------------*/
body.cv-open {
  overflow: hidden;
}

.catalogue-viewer {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  background: rgba(20, 20, 20, 0.98);
  color: #ffffff;
}

.catalogue-viewer[hidden] {
  display: none;
}

.cv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}

.cv-title {
  margin: 0;
  font-family: "Josefin Slab", serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cv-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #E72463;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cv-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.cv-book {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.cv-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 16px 16px;
}

.cv-prev,
.cv-next {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
}

.cv-prev:hover,
.cv-next:hover,
.cv-close:hover {
  background: #ffffff;
  color: #E72463;
}

.cv-counter {
  min-width: 110px;
  text-align: center;
  font-size: 14px;
}

.cv-download {
  color: #ffffff;
  font-size: 14px;
  text-decoration: underline;
}

.cv-download:hover {
  color: #E72463;
}

@media (max-width: 575px) {
  .cv-title {
    font-size: 16px;
  }
}

/* Catalogue cards (library grid) */
.catalogue-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  color: inherit;
  cursor: pointer;
}

.catalogue-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 7;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.catalogue-card:hover img,
.catalogue-card:focus-visible img {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.catalogue-card span {
  display: block;
  margin-top: 14px;
  font-family: "Josefin Slab", serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalogue-card small {
  display: block;
  margin-top: 2px;
  color: #E72463;
  font-size: 13px;
}

/* Seasonal sections */
.season-section .desc-content p {
  margin-bottom: 25px;
}

.season-section .single-testimonial img {
  width: 100%;
  max-width: 450px;
  height: auto;
}

/* Season quick links */
.season-nav {
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  .season-nav {
    margin-bottom: 40px;
  }
}

.season-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.season-nav a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #E72463;
  color: #E72463;
  font-size: 14px;
}

.season-nav a:hover,
.season-nav a:focus-visible {
  background: #E72463;
  color: #ffffff;
}

.season-section {
  scroll-margin-top: 100px;
}

/* Landscape or very tall covers: show the whole page instead of cropping */
.catalogue-card--fit img {
  object-fit: contain;
  object-position: center;
  background: #f4f1ec;
}


