/* ═══════════════════════════════════════
   CRAFT & PAUSE — PRINTABLES PAGE
═══════════════════════════════════════ */

/* ── NAV active state ── */
.nav-active { color: var(--orange) !important; font-weight: 900 !important; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, #FEFCF4 0%, #FDF0E8 60%, #FEF6E4 100%);
  border-bottom: 2px solid #EDE9DF;
  padding: 3.5rem 2rem 3rem;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.page-hero-text { flex: 1; }

.page-hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
  display: block;
}

.page-hero-title {
  font-family: 'Boogaloo', cursive;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--charcoal);
  line-height: 1.05;
  margin-bottom: 0.9rem;
}

.page-hero-sub {
  font-size: 1rem;
  font-weight: 600;
  color: #666;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.page-hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-stat { text-align: center; }
.hero-stat-num {
  display: block;
  font-family: 'Boogaloo', cursive;
  font-size: 1.8rem;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #999;
  white-space: nowrap;
}
.hero-stat-div {
  width: 1px;
  height: 32px;
  background: #DDD;
}

.page-hero-img {
  flex: 0 0 320px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
  border: 3px solid white;
}

.page-hero-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ── FILTER BAR ── */
.filter-bar {
  background: white;
  border-bottom: 2px solid #EDE9DF;
  position: sticky;
  top: 64px;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-inner::-webkit-scrollbar { display: none; }

.filter-btn {
  background: none;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: #777;
  padding: 1rem 1.1rem;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.filter-btn:hover { color: var(--orange); }
.filter-btn.active { color: var(--orange); border-bottom-color: var(--orange); font-weight: 900; }

/* ── PRINTABLES GRID ── */
.printables-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.printables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* ── PRINTABLE CARD ── */
.pcard {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border: 2px solid #EDE9DF;
  transition: transform 0.22s, box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}

.pcard.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease,
              box-shadow 0.22s, border-color 0.2s;
}

.pcard:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.13);
  border-color: #D4CFC5;
}

.pcard--soon {
  opacity: 0 !important;
}

.pcard--soon.visible {
  opacity: 0.8 !important;
}

.pcard--soon:hover {
  opacity: 1 !important;
}

/* Image wrap */
.pcard-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--light-orange);
  aspect-ratio: 1 / 1;
}

.pcard-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.4s ease;
  display: block;
}

.pcard:hover .pcard-img-wrap img { transform: scale(1.05); }

/* Coming soon image placeholder */
.pcard-soon-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #F5F0E8;
  gap: 0.5rem;
}

.pcard-soon-img span { font-size: 3.5rem; opacity: 0.5; }
.pcard-soon-img p {
  font-family: 'Boogaloo', cursive;
  font-size: 0.9rem;
  color: #999;
}

/* Badges */
.pcard-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.pbadge {
  font-weight: 900;
  font-size: 0.68rem;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 99px;
  width: fit-content;
}

.pbadge-free { background: var(--green); color: white; }
.pbadge-new  { background: var(--gold); color: white; }
.pbadge-soon { background: #E8E4DC; color: #888; }

/* Hover overlay with action buttons */
.pcard-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  opacity: 0;
  transition: opacity 0.22s;
  z-index: 3;
}

.pcard:hover .pcard-overlay { opacity: 1; }

.pcard-btn-dl {
  background: var(--orange);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.88rem;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 4px 0 var(--orange-dark);
  transition: transform 0.1s;
  white-space: nowrap;
}

.pcard-btn-dl:hover { transform: translateY(-2px); }

.pcard-btn-watch {
  background: rgba(255,255,255,0.18);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.55);
  white-space: nowrap;
  transition: background 0.15s;
}

.pcard-btn-watch:hover { background: rgba(255,255,255,0.3); }

/* Card body */
.pcard-body {
  padding: 1.1rem 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pcard-age {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--charcoal);
  background: var(--light-orange);
  padding: 2px 8px;
  border-radius: 99px;
}

.pcard-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pcard-title {
  font-family: 'Boogaloo', cursive;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.pcard-desc {
  font-size: 0.82rem;
  color: #666;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  flex: 1;
}

.pcard-includes {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.pcard-includes span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  background: var(--light-green);
  padding: 2px 7px;
  border-radius: 99px;
  white-space: nowrap;
}

/* Main download CTA on card */
.pcard-cta {
  display: block;
  background: var(--orange);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 3px 0 var(--orange-dark);
  transition: transform 0.12s, box-shadow 0.12s;
  margin-top: auto;
}

.pcard-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 var(--orange-dark);
}

.pcard-cta--soon {
  background: #F0EBE0;
  color: #888;
  box-shadow: 0 3px 0 #DDD;
}

.pcard-cta--soon:hover {
  background: var(--light-orange);
  color: var(--orange);
  box-shadow: 0 5px 0 #DDD;
}

/* No results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  grid-column: 1/-1;
}

.no-results p {
  font-size: 1.1rem;
  font-weight: 700;
  color: #888;
  margin-bottom: 1.5rem;
}

/* ── WHAT'S INCLUDED STRIP ── */
.included-strip {
  background: var(--charcoal);
  padding: 3.5rem 2rem;
}

.included-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.included-strip h2 {
  font-family: 'Boogaloo', cursive;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: white;
  margin-bottom: 2.5rem;
}

.included-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.included-item { text-align: center; }

.included-icon {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 0.7rem;
}

.included-item strong {
  display: block;
  font-family: 'Boogaloo', cursive;
  font-size: 1rem;
  color: white;
  margin-bottom: 0.3rem;
}

.included-item p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  line-height: 1.4;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .printables-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .page-hero-inner { flex-direction: column; }
  .page-hero-img { flex: none; width: 100%; max-width: 380px; }
  .page-hero-img img { height: 200px; }
  .printables-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .included-items { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .filter-bar { top: 64px; }
}

@media (max-width: 480px) {
  .printables-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .pcard-body { padding: 0.8rem; }
  .pcard-title { font-size: 0.95rem; }
}
