/* Interior page components — litter headers, puppy cards, jump links.
   Load AFTER style.css, home-v2.css, home-v3.css, home-v4.css. */

/* Jump links */
.jump-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 26px 24px 6px;
}

.jump-links a {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  text-decoration: none;
  color: var(--orange-dark);
  border: 1.5px solid var(--orange);
  border-radius: 8px;
  padding: 10px 22px;
  background: var(--white);
}

.jump-links a:hover { background: var(--orange-soft); }

/* Litter header banner */
.litter-header-block {
  background: var(--white);
  border: 1px solid #E8E6E1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 30px;
  margin-bottom: 28px;
}

.litter-header-block h2 { font-size: 1.8rem; margin-bottom: 12px; }

.litter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.litter-meta strong {
  display: block;
  font-family: 'Quicksand', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--orange-dark);
}

/* Litter intro video (portrait, centered, click to expand) */
.litter-video {
  max-width: 340px;
  margin: 0 auto 30px;
  position: relative;
}

.litter-video video { width: 100%; height: auto; display: block; border-radius: var(--radius); cursor: pointer; box-shadow: var(--shadow); }

/* Parents strip */
.litter-parents {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 34px;
  flex-wrap: wrap;
}

.litter-parents a.parent-chip {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid #E8E6E1;
  border-radius: 999px;
  padding: 12px 34px 12px 12px;
  box-shadow: var(--shadow);
  transition: transform 0.15s, border-color 0.15s;
}

.litter-parents a.parent-chip:hover { border-color: var(--orange); transform: translateY(-3px); }

.litter-parents img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 25%; }

.litter-parents .parent-chip strong { font-family: 'Quicksand', sans-serif; display: block; font-size: 1.25rem; }

.litter-parents .parent-chip small { color: var(--ink-soft); font-size: 0.95rem; }

/* Puppy card grid */
.puppy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

.puppy-card {
  background: var(--white);
  border: 1px solid #E8E6E1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.puppy-card .puppy-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  cursor: pointer;
}

.puppy-card .puppy-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }

.puppy-card h3 { font-size: 1.25rem; margin-bottom: 6px; }

.puppy-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.puppy-card p { color: var(--ink-soft); font-size: 0.94rem; flex: 1; }

.puppy-price {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 12px 0;
}

.puppy-price small { display: block; font-size: 0.75rem; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }

.puppy-card .btn { text-align: center; padding: 11px 18px; font-size: 0.92rem; }

/* Reserved state: add class="puppy-card reserved" and swap the button
   for <span class="reserved-badge">Reserved</span> */
.puppy-card.reserved { opacity: 0.62; }

.reserved-badge {
  display: block;
  text-align: center;
  background: #E4E2DC;
  color: var(--ink-soft);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  padding: 11px 18px;
  border-radius: 8px;
}

/* Image lightbox gallery controls */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 10px;
}

.gallery-nav.prev { left: 16px; }

.gallery-nav.next { right: 16px; }

.video-lightbox img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 92vw;
  max-height: 85vh;
  max-height: 85svh;
  border-radius: 12px;
  z-index: 1;
}

.video-lightbox .gallery-nav { z-index: 3; }

/* Inquiry popup */
.inquiry-modal {
  position: fixed;
  inset: 0;
  background: rgba(24,20,16,0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  padding: 20px;
}

.inquiry-modal.open { display: flex; }

.inquiry-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 34px;
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.inquiry-box h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--orange-dark); }

.inquiry-box input[readonly] { background: var(--orange-soft); border-color: var(--orange-soft); font-weight: 700; }

.inquiry-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--ink-soft);
  cursor: pointer;
}

/* Waitlist page */
.steps { counter-reset: step; max-width: 760px; margin: 0 auto; }

.step {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid #E8E6E1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 18px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  background: var(--orange);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step h3 { margin-bottom: 6px; font-size: 1.15rem; }

.step p { color: var(--ink-soft); font-size: 0.97rem; }

.note-box {
  background: var(--orange-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--ink);
  font-size: 0.97rem;
}

.note-box strong { color: var(--orange-dark); }

/* Closing CTA */
.closing-cta { text-align: center; padding: 10px 24px 20px; }

.closing-cta h2 { margin-bottom: 10px; }

.closing-cta p { color: var(--ink-soft); margin-bottom: 22px; }

@media (max-width: 880px) {
  .puppy-grid { grid-template-columns: 1fr; }
  .litter-meta { flex-direction: column; gap: 10px; }
}

/* Interior pages: story-block paragraphs match body text color and
   spacing (the grey/tight variant is a home-page teaser style only) */
.story p { color: var(--ink); margin-bottom: 18px; }

.story p:last-child { margin-bottom: 0; }

/* Album affordance on puppy cards */
.photo-wrap { position: relative; }

.photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(30,25,18,0.62);
  color: #fff;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}
