/* ===========================================================
   Printify — shared styles for subpages (product / labs / etc.)
   Loaded alongside styles.css
   =========================================================== */

/* Breadcrumb */
.breadcrumb { max-width: var(--maxw); margin: 0 auto; padding: 20px 24px 0; font-size: 0.85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* Subpage hero */
.subhero { position: relative; overflow: hidden; text-align: center; padding: clamp(50px, 8vw, 90px) 24px clamp(40px, 6vw, 70px); }
.subhero > :not(.leaf-shadow) { position: relative; z-index: 1; }
.subhero-eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.subhero h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.04; }
.subhero .lead { font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--muted); max-width: 620px; margin: 20px auto 0; line-height: 1.4; }
.subhero .price { font-size: 1.5rem; font-weight: 600; margin-top: 20px; }
.subhero .price small { color: var(--muted); font-weight: 400; font-size: 0.9rem; }
.subhero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* Big product stage on subpages */
.hero-stage { display: grid; place-items: center; min-height: clamp(280px, 40vw, 460px); margin-top: 40px; background: radial-gradient(ellipse 60% 70% at 50% 40%, rgba(255,107,43,0.10), transparent 70%); }
.hero-stage .product-art { transform: scale(1.5); }
.hero-stage.stage-dark { background: var(--dark); border-radius: var(--radius-lg); padding: 60px 24px; }

/* Generic media + text rows (Apple-style alternating) */
.feature-band { padding: clamp(70px, 9vw, 120px) 0; }
.feature-band.dark { background: var(--dark); color: var(--text-on-dark); }
.feature-band.alt { background: var(--bg-alt); }
.feature-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.feature-band.reverse .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.feature-copy p { font-size: clamp(1.02rem, 1.8vw, 1.2rem); color: var(--muted); margin-top: 16px; line-height: 1.5; }
.feature-band.dark .feature-copy p { color: #b8b8bf; }
.feature-visual { min-height: 280px; border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; }

/* Key-features grid (icon cards) */
.kf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 50px; perspective: 1200px; }
.kf-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; transition: transform 0.3s var(--ease); }
.kf-card:hover { transform: translateY(-5px); }
.kf-icon { font-size: 2rem; margin-bottom: 14px; }
.kf-photo { height: 110px; border-radius: 12px; margin-bottom: 16px; overflow: hidden; display: grid; place-items: center; background: var(--bg-alt); }
.kf-photo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform 0.5s var(--ease); }
.kf-card:hover .kf-photo img { transform: scale(1.1); }
.kf-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.kf-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.5; }

/* Timeline */
.timeline { margin-top: 50px; border-left: 2px solid var(--border); padding-left: 28px; display: grid; gap: 30px; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: -36px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.tl-item .tl-date { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.tl-item h3 { font-size: 1.2rem; font-weight: 600; margin: 4px 0 6px; }
.tl-item p { color: var(--muted); font-size: 0.96rem; }

/* Comparison table */
.compare { margin-top: 40px; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.compare table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--bg-alt); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 600; }
.compare .yes { color: #1a9d4a; font-weight: 700; }
.compare .no { color: var(--muted); }
.compare .col-ours { background: rgba(255,107,43,0.05); color: var(--accent); font-weight: 700; }

/* How-to-use frame */
.howto-frame { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.10); }
.howto-frame img { width: 100%; display: block; }

/* Spec list */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; margin-top: 40px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.96rem; }
.spec-row .k { color: var(--muted); }
.spec-row .v { font-weight: 600; text-align: right; }

/* Order / pricing card */
.order-card { max-width: 460px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,0.08); }
.order-card .oc-name { font-size: 1.3rem; font-weight: 600; }
.order-card .oc-price { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; margin: 6px 0 2px; }
.order-card .oc-note { color: var(--muted); font-size: 0.9rem; margin-bottom: 24px; }
.order-card .buy-list { display: grid; gap: 10px; }
.buy-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 1rem; transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s; }
.buy-btn.primary { background: var(--accent); color: #fff; }
.buy-btn.primary:hover { background: var(--accent-2); transform: translateY(-2px); }
.buy-btn.outline { border: 1px solid var(--border); }
.buy-btn.outline:hover { border-color: var(--accent); color: var(--accent); }

/* CTA band */
.cta-band { background: var(--dark); color: var(--text-on-dark); text-align: center; padding: clamp(60px, 9vw, 110px) 24px; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
.cta-band p { color: #b8b8bf; max-width: 520px; margin: 16px auto 28px; font-size: 1.1rem; }

/* Coming soon */
.coming-soon { text-align: center; padding: clamp(80px, 14vw, 180px) 24px; }
.coming-soon .badge { display: inline-block; background: rgba(255,107,43,0.12); color: var(--accent); border: 1px solid rgba(255,107,43,0.3); padding: 7px 18px; border-radius: 980px; font-size: 0.85rem; font-weight: 700; margin-bottom: 24px; }
.coming-soon h1 { font-size: clamp(2.6rem, 8vw, 5.5rem); font-weight: 700; letter-spacing: -0.04em; }
.coming-soon p { color: var(--muted); font-size: 1.2rem; max-width: 480px; margin: 18px auto 0; }

/* Labs file list */
.labs-list { margin-top: 44px; display: grid; gap: 14px; }
.labs-row { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; transition: border-color 0.2s, transform 0.2s; }
.labs-row:hover { border-color: var(--accent); transform: translateX(4px); }
.labs-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: rgba(255,107,43,0.1); display: grid; place-items: center; font-size: 1.3rem; }
.labs-meta { flex: 1; }
.labs-meta h3 { font-size: 1.1rem; font-weight: 600; }
.labs-meta p { color: var(--muted); font-size: 0.9rem; margin-top: 2px; }
.labs-rev { font-size: 0.78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.labs-disclaimer { margin-top: 28px; padding: 16px 20px; background: var(--bg-alt); border-radius: 12px; color: var(--muted); font-size: 0.9rem; }

/* Products listing grid (dedicated page) */
.plist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 50px; }
.plist-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.plist-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,0.10); }
.plist-art { min-height: 240px; position: relative; overflow: hidden; display: grid; place-items: center; }
.plist-art img { max-width: 78%; max-height: 200px; object-fit: contain; transition: transform 0.5s var(--ease); }
.plist-card:hover .plist-art img { transform: scale(1.08); }
.plist-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.plist-body .tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 8px; }
.plist-body h2 { font-size: 1.5rem; font-weight: 600; }
.plist-body p { color: var(--muted); margin: 8px 0 16px; flex: 1; }
.plist-body .row { display: flex; align-items: center; justify-content: space-between; }
.plist-body .p { font-weight: 700; font-size: 1.1rem; }
.plist-body .go { color: var(--accent); font-weight: 600; }

/* Disclaimer strip */
.affil-note { text-align: center; color: var(--muted-dark); font-size: 0.8rem; padding: 0 24px; margin-top: 18px; }

/* Shop link-hub page */
.linkhub { max-width: 480px; margin: 0 auto; }
.linkhub-group { margin-bottom: 36px; }
.linkhub-group:last-child { margin-bottom: 0; }
.linkhub-group h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 14px; }
.linkhub-link {
  display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.linkhub-link:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 16px 36px rgba(0,0,0,0.08); }
.linkhub-icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 11px; background: var(--bg-alt); display: grid; place-items: center; font-size: 1.3rem; }
.linkhub-text { flex: 1; }
.linkhub-text .name { display: block; font-weight: 600; font-size: 1rem; }
.linkhub-text .desc { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 1px; }
.linkhub-arrow { color: var(--accent); font-weight: 600; flex-shrink: 0; }

@media (max-width: 860px) {
  .feature-band .container { grid-template-columns: 1fr; }
  .feature-band.reverse .feature-copy { order: 0; }
  .kf-grid { grid-template-columns: repeat(2, 1fr); }
  .specs, .plist { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .kf-grid { grid-template-columns: 1fr; }
}
