.page-available-puppies .ap-title { text-align: center; margin-bottom: .3rem; }
.ap-intro { text-align: center; max-width: 36rem; margin: 0 auto 1.1rem; }
.ap-status, .ap-empty { text-align: center; margin: 1.5rem auto; max-width: 34rem; }
.ap-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; margin: 0 auto 1.4rem; }
.ap-filter button { appearance: none; border: 1px solid #d9cbb8; background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .95rem; padding: .5rem 1rem; min-height: 44px; border-radius: 999px; cursor: pointer; }
.ap-filter button[aria-pressed="true"] { background: #4a2e15; border-color: #4a2e15; color: #fff; }
.ap-filter button:focus-visible { outline: 2px solid #9a6b3f; outline-offset: 2px; }
.ap-group { margin: 0 0 2.2rem; }
.ap-group[hidden] { display: none; }
.ap-group-h { font-size: 1.5rem; line-height: 1.25; margin: 0 0 .9rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.ap-group-h .ap-breed { color: #4a2e15; }
.ap-group-h a { color: inherit; }
.ap-group-h .ap-born { font-size: .8em; color: #6b5a4a; white-space: nowrap; }
.ap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; ; align-items: stretch; }
@media (min-width: 640px) { .ap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 960px) { .ap-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ap-card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.ap-card:hover, .ap-card:focus-visible { border-color: #9a6b3f; }
.ap-photo { display: block; aspect-ratio: 3 / 4; background: #f4efe8; }
.ap-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-photo.ap-nophoto::after { content: "Photo coming soon"; display: flex; height: 100%; align-items: center; justify-content: center; color: #6b5a4a; font-size: .9rem; }
.ap-cap { display: flex; align-items: center; gap: .4rem; padding: .55rem .65rem; font-weight: 600; font-size: .95rem; }
.ap-swatch { flex: 0 0 auto; width: .85rem; height: .85rem; border-radius: 50%; background: var(--swatch); border: 1px solid rgba(0,0,0,.2); }
.ap-more { margin: .7rem 0 0; text-align: right; }
.ap-nojs { max-width: 36rem; margin: 0 auto 1.5rem; line-height: 1.9; }
.ap-cta { justify-content: center; }

/* ——— Breed/dam group banner: higher-level than the brown Males/Females bands (2026-10-12) ——— */
.ap-group { margin: 0 0 4.5rem; }
.ap-banner {
  background: #f6ead8;
  border-top: 5px solid #4a2e15;
  border-bottom: 5px solid #4a2e15;
  border-radius: 6px;
  padding: 0.9rem 1rem 0.8rem;
  margin: 0 0 1.25rem;
  text-align: center;
}
.ap-banner .ap-group-h {
  border-bottom: 0; margin: 0; padding: 0;
  font-size: clamp(1.7rem, 5.5vw, 2.4rem); font-weight: 700; line-height: 1.15;
  color: #3a230f;
}
.ap-banner .ap-group-h a { color: #3a230f; text-decoration: none; }
.ap-banner .ap-group-h .ap-born { display: block; font-size: 0.5em; color: #5a4632; margin-top: 0.2rem; }
.ap-banner .ap-more { margin: 0.45rem 0 0; text-align: center; font-weight: 700; }
.ap-banner .ap-more a { color: #4a2e15; text-decoration: underline; }

.ap-photos-updated{margin:.2rem 0 0;font-size:.88rem;color:#6b5e52;font-style:italic}

.ap-grid { align-items: stretch; }
/* Center Reserve / Apply pills on finder cards (homepage and /available-puppies). */
.ap-card .ap-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 0.5rem 0.25rem;
  box-sizing: border-box;
  gap: 0;
}
.ap-card a.ap-apply,
.ap-card a.ap-apply.p5-apply-link,
.ap-card .ap-apply.p5-apply-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  align-self: center !important;
  width: auto !important;
  max-width: calc(100% - 1.3rem);
  margin: 0.25rem auto 0;
  box-sizing: border-box;
}
.ap-card .ap-photo-btn { display: block; width: 100%; border: 0; background: transparent; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }

/* In-card photo nav: ‹  1 of N  › under the photo (homepage + /available-puppies). Hidden when only one photo. */
.ap-card-photo { display: flex; flex-direction: column; min-width: 0; }
.ap-slide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  padding: 0.1rem 0.35rem 0.15rem;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}
.ap-slide-nav[hidden] { display: none !important; }
.ap-slide-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #4e2d14;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}
.ap-slide-btn > span { display: block; line-height: 1; transform: translateY(-1px); }
.ap-slide-btn:hover,
.ap-slide-btn:focus-visible { background: transparent; color: #4e2d14; opacity: 1; outline: none; }
.ap-slide-btn:focus-visible > span {
  outline: 2px solid #4e2d14;
  outline-offset: 2px;
  border-radius: 2px;
}
.ap-slide-count {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0.1rem 0.15rem;
  border: none;
  background: transparent;
  color: #4e2d14;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

.ap-pup-photos-updated {
  margin: 0.55rem 0 0; /* ~9px under Reserve pill */
  padding: 0;
  font-size: 0.8rem;
  font-weight: 400;
  font-style: italic;
  color: #6b5e52;
  text-align: center;
  line-height: 1.3;
}

/* Replaced by .dd-still-available callout */
.ap-total { display: none; }

/* Still-available callout sits under the cream banner for contrast */
.ap-group > .dd-still-available {
  margin: 0 0 1.1rem;
  max-width: none;
}
.p5-spots-h {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: clamp(2.3rem, 5vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: 0.03em;
}
.p5-spots .waiting-list-table { margin-top: 0.5rem; }
.p5-spots .waiting-list-note { text-align: center; }

/* Pricing & deposit box under the pick-spot grid */
.p5-pricing {
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  padding: 0.9rem 1.1rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}
.p5-pricing .puppy-price-line { margin-top: 0.35rem; }
.p5-pricing .puppy-price-split { margin-bottom: 0.5rem; }
.p5-pricing-note { margin: 0 0 0.5rem; font-size: 0.92rem; line-height: 1.45; color: var(--muted); }
.p5-pricing-link { margin: 0; font-weight: 600; }

/* Show Litter: text-link filter (matches Current Litters) */
.ap-filter{flex-wrap:wrap;align-items:center;row-gap:.2rem;column-gap:.35rem;font-size:.95rem;margin:.25rem auto 1rem}
.ap-filter .btf-label{color:#6b5a48;font-weight:600}
.ap-filter .btf-sep{color:#a08a72}
.ap-filter button{all:unset;cursor:pointer;color:#5f3f24;text-decoration:underline;text-underline-offset:3px;font:inherit;font-weight:400;padding:.1rem 0;white-space:nowrap}
.ap-filter button:hover{color:#e07a1f}
.ap-filter button:focus-visible{outline:2px solid #e07a1f;outline-offset:2px}
.ap-filter button[aria-pressed="true"]{background:none;border:0;font-weight:700;color:#3d2a17;text-decoration-color:#e07a1f;text-decoration-thickness:3px}
@media(max-width:400px){.ap-filter{font-size:.82rem;column-gap:.25rem}}

/* Hash highlight for Copy list card links */
.ap-card,.ap-qrow{scroll-margin-top:96px}
.ap-card:target,.ap-card.is-hash-target{
  outline:3px solid #c26a1a;
  outline-offset:3px;
  box-shadow:0 0 0 6px rgba(194,106,26,.22);
}

/* Quick list row: small headshot thumb (Copy list stays plain text, no images). */
.ap-q-thumb {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: cover;
  object-position: center 50%;
  border-radius: 8px;
  background: #f4efe8;
  display: block;
}
.ap-q-main { min-width: 0; }
@media (max-width: 400px) {
  .ap-q-thumb { flex: 0 0 40px; width: 40px; height: 40px; }
  .ap-qrow { gap: 0.45rem; }
}


/* 6-button finder row: 3 per row on phone, Find a Puppy sits directly under */
.home-quick-links--finder{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:.3rem .35rem;margin:.15rem auto .1rem;padding:0 .4rem;max-width:1120px}
.home-quick-links--finder .home-quick-btn{flex:1 1 calc(33.333% - .35rem);min-width:0;max-width:none;min-height:2rem;padding:.25rem .3rem;font-size:.72rem;line-height:1.15;box-sizing:border-box;white-space:normal;text-align:center}
@media(min-width:821px){
  .home-quick-links--finder{flex-wrap:nowrap;gap:.4rem;margin:.2rem auto .15rem}
  .home-quick-links--finder .home-quick-btn{flex:1 1 0;font-size:.82rem;min-height:2.15rem;padding:.35rem .4rem;white-space:nowrap}
}
.page-home .home-finder.section{padding-top:.1rem}
.page-home .home-finder .ap-title{margin:0 0 .2rem}
.page-home .home-finder #ap-cruise,.home-finder #ap-cruise{margin-top:.15rem}
.finder-back{margin:0 0 .4rem;text-align:center;font-size:.82rem}
.finder-back a{font-weight:700;color:#7a5230;text-decoration:none}
.finder-back a:hover,.finder-back a:focus-visible{color:#4a2e15;text-decoration:underline;text-underline-offset:2px}
#newsletter{scroll-margin-top:90px}

/* Centered CLEAR FILTERS (also inlined on finder pages for cache-bust independence) */
.ap-cruise-meta{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.4rem;margin-top:.7rem;text-align:center}
.ap-cruise-clear{appearance:none;display:inline-flex;align-items:center;justify-content:center;margin:0 auto;border:1px solid #7a5230;background:#fffaf4;color:#7a5230;font:inherit;font-weight:800;letter-spacing:.06em;font-size:.82rem;text-decoration:none;border-radius:999px;min-height:40px;padding:.35rem 1.15rem;cursor:pointer}
.ap-cruise-clear:hover{color:#fff;background:#7a5230}


/* Litter dropdown in the filter row (Male/Female, Style, Litter, then View) */
.ap-cruise-field select{font-size:16px}
@media(max-width:800px){
  .ap-cruise-litter{grid-column:1 / -1}
}
.ap-cruise-actions{display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;gap:.4rem;width:100%;margin:0 auto}
.ap-cruise-apply,.ap-cruise-clear{appearance:none;display:inline-flex;align-items:center;justify-content:center;margin:0;font:inherit;font-weight:800;letter-spacing:.05em;font-size:.78rem;border-radius:999px;min-height:40px;padding:.35rem .7rem;cursor:pointer;box-sizing:border-box;white-space:nowrap;flex:0 1 auto;max-width:calc(50% - .2rem)}
.ap-cruise-apply{border:1px solid #4a2e15;background:#4a2e15;color:#fff}
.ap-cruise-apply:hover{background:#3a230f;border-color:#3a230f}
.ap-cruise-apply:focus-visible{outline:2px solid #9a6b3f;outline-offset:2px}
@media(max-width:390px){
  .ap-cruise-apply,.ap-cruise-clear{font-size:.7rem;letter-spacing:.04em;padding:.35rem .5rem;min-height:40px}
}
.back-to-top{margin:.85rem 0 0;text-align:center;font-size:.95rem}
.back-to-top a{color:#7a5230;font-weight:700;text-decoration:none}
.back-to-top a:hover,.back-to-top a:focus-visible{color:#4a2e15;text-decoration:underline;text-underline-offset:3px}


/* Quick list: collar+sex is a visible link to the Photos card. No Reserve in this view. */
.ap-q-cardlink{color:#7a5230;font-weight:700;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.ap-q-cardlink:hover,.ap-q-cardlink:focus-visible{color:#4a2e15}
.ap-q-cardlink:focus-visible{outline:2px solid #9a6b3f;outline-offset:2px}
.ap-q-thumblink{flex:0 0 auto;display:block;line-height:0;border-radius:8px}
.ap-q-thumblink:hover .ap-q-thumb,.ap-q-thumblink:focus-visible .ap-q-thumb{box-shadow:0 0 0 2px #7a5230}
.ap-q-thumblink:focus-visible{outline:2px solid #9a6b3f;outline-offset:2px}
