/* Bitcoin Guy World - Shopify-style storefront layer (revamp preview). Loads after styles.css. */
.shop-theme { background: #fff; }
.shop-inner { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.eyebrow { display: inline-block; background: var(--orange-light); color: var(--orange-dark); font-weight: 900; font-size: .8rem; padding: 6px 12px; border-radius: 50px; text-transform: uppercase; letter-spacing: .04em; }
.highlight { color: var(--orange); }

/* Hero */
.shero { background: linear-gradient(180deg, var(--cream) 0%, #FFF3E0 100%); padding: 36px 0 28px; }
.shero-grid { display: grid; gap: 24px; align-items: center; }
.shero-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 7vw, 3.6rem); line-height: 1.05; margin: 14px 0 12px; color: var(--brown); }
.shero-sub { font-size: 1.05rem; color: #4a3a20; max-width: 34em; }
.shero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; }
.shero-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-weight: 800; font-size: .9rem; color: #5b4a2e; }
.shero-art img { width: 100%; height: auto; border-radius: 24px; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-top: 24px; padding-bottom: 8px; }
.coll { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-weight: 800; font-size: .85rem; color: var(--brown); }
.coll-img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: 50%; border: 3px solid var(--orange-light); transition: border-color .15s; }
.coll:hover .coll-img { border-color: var(--orange); }

/* Sections + grid */
.ssection { padding: 36px 0; }
.ssection-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ssection-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 4.5vw, 2.3rem); color: var(--brown); line-height: 1.15; }
.see-all { font-weight: 900; color: var(--orange-dark); white-space: nowrap; }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #F0E6D8; border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.pcard-media { position: relative; background: var(--grey-light); aspect-ratio: 4 / 5; overflow: hidden; }
.pcard-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pcard-body { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcard-series { font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-dark); }
.pcard-title { font-size: .95rem; font-weight: 800; line-height: 1.3; color: var(--text); }
.pcard-meta { font-size: .78rem; color: #6b6b6b; }
.pcard-price { margin-top: auto; padding-top: 6px; font-weight: 900; font-size: 1.05rem; color: var(--brown); }
.currency { font-size: .7em; color: #8a7a5e; font-weight: 800; }
.compare { color: #999; font-weight: 700; font-size: .85em; margin-left: 4px; }
.pbadge { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .72rem; font-weight: 900; padding: 4px 10px; border-radius: 50px; background: var(--orange); color: #fff; text-transform: uppercase; letter-spacing: .04em; }
.pbadge--new { background: #2E7D32; }
.pbadge--best-value { background: var(--brown); color: #FFE2B8; }
.promo .pbadge { position: static; display: inline-block; margin-bottom: 6px; }

/* Series */
.series { background: var(--cream); }
.series-grid { display: grid; gap: 22px; }
.series-text p { margin: 12px 0; color: #4a3a20; }
.series-note { font-size: .9rem; color: #7a6a4e !important; }
.episodes { list-style: none; display: grid; gap: 10px; }
.ep { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; background: #fff; border: 1px solid #F0E6D8; border-radius: var(--radius); padding: 14px; position: relative; }
.ep-num { font-family: var(--font-display); background: var(--orange); color: #fff; border-radius: 12px; padding: 8px 10px; height: fit-content; font-size: .9rem; }
.ep h3 { font-size: 1rem; font-weight: 900; padding-right: 92px; }
.ep p { font-size: .9rem; color: #555; }
.ep-word { font-size: .75rem; font-weight: 800; color: var(--orange-dark); }
.ep-soon { position: absolute; top: 14px; right: 14px; font-size: .7rem; font-weight: 900; text-transform: uppercase; background: var(--orange-light); color: var(--orange-dark); padding: 3px 8px; border-radius: 50px; }

/* Trust strip */
.trust { background: var(--brown); color: #fff; padding: 28px 0; }
.trust-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-icon { flex: 0 0 42px; height: 42px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; font-size: 1.2rem; font-weight: 900; }
.trust h3 { font-size: .95rem; font-weight: 900; color: #FFE2B8; }
.trust p { font-size: .85rem; color: #f1e6d4; }

/* Bundle promo */
.promo-grid { display: grid; gap: 14px; }
.promo { display: flex; gap: 16px; align-items: center; background: var(--orange-light); border-radius: var(--radius); padding: 18px; }
.promo--girl { background: #FDECF3; }
.promo h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; color: var(--brown); }
.promo p { font-size: .9rem; margin: 2px 0 6px; }
.promo-stack { position: relative; flex: 0 0 110px; height: 130px; }
.promo-stack img { position: absolute; width: 80px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.promo-back { left: 30px; top: 0; transform: rotate(6deg); }
.promo-front { left: 0; top: 14px; transform: rotate(-5deg); }

/* Free pack tweaks */
.shop-theme .free-pack { background: #fff; }

/* Shop page */
.spage { padding-top: 14px; padding-bottom: 36px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: #777; margin-bottom: 14px; }
.crumbs a { color: var(--orange-dark); font-weight: 800; }
.shop-head p { color: #666; margin: 4px 0 12px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 8px; }
.chip { white-space: nowrap; border: 1.5px solid #E8D9C2; border-radius: 50px; padding: 7px 14px; font-weight: 800; font-size: .85rem; }
.chip:hover { border-color: var(--orange); color: var(--orange-dark); }
.shop-group { padding: 18px 0 8px; scroll-margin-top: 90px; }
.group-title { font-size: 1.15rem; font-weight: 900; margin-bottom: 12px; color: var(--brown); }

/* Product page */
.pdp { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); }
.pdp > * { min-width: 0; } /* QA 22 Oct: long thumb rows (7 Activity Book previews) made the gallery wider than a 390px phone */
.pdp-stage { position: relative; background: var(--grey-light); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.pdp-slide { display: none; width: 100%; height: 100%; }
.pdp-slide.is-active { display: block; }
.pdp-img { width: 100%; height: 100%; object-fit: contain; }
.pdp-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.15); cursor: pointer; font-size: 1rem; z-index: 2; }
.pdp-arrow--prev { left: 10px; } .pdp-arrow--next { right: 10px; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.pdp-thumb { flex: 0 0 64px; height: 80px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--grey-light); padding: 0; cursor: pointer; }
.pdp-thumb.is-active { border-color: var(--orange); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pdp-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 5vw, 2.3rem); line-height: 1.12; color: var(--brown); margin: 4px 0 8px; }
.pdp-price .price { font-size: 1.7rem; font-weight: 900; color: var(--brown); }
.save { background: #2E7D32; color: #fff; font-weight: 900; font-size: .75rem; border-radius: 50px; padding: 3px 9px; vertical-align: middle; }
.pdp-format { font-weight: 800; color: #6b5b3e; margin: 2px 0 10px; }
.pdp-summary { margin-bottom: 16px; color: #333; }
.buy-box { background: var(--cream); border: 1px solid #F0E6D8; border-radius: var(--radius); padding: 14px 14px 6px; }
.buy-box .btn-block { margin-bottom: 10px; }
.buy-box .terms-notice { font-size: .78rem; color: #777; text-align: center; margin-bottom: 8px; }
.buy-box .terms-notice a { color: var(--orange-dark); font-weight: 800; }
.upsell { display: block; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--orange-light); font-size: .9rem; }
.pdp-facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 16px 0; }
.pdp-facts li { background: var(--grey-light); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.pdp-facts strong { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #888; }
.pdp-facts span { font-weight: 900; color: var(--brown); }
.pdp-details { border-top: 1px solid #EEE2D0; padding: 12px 0; }
.pdp-details summary { font-weight: 900; cursor: pointer; color: var(--brown); }
.pdp-details ul { margin: 10px 0 0 18px; display: grid; gap: 4px; }
.pdp-details p { margin-top: 8px; color: #444; font-size: .95rem; }
.pdp-details a { color: var(--orange-dark); font-weight: 800; }
.includes { margin-top: 28px; }
.includes h2 { font-size: 1.15rem; font-weight: 900; margin-bottom: 10px; }
.include { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid #F0E6D8; border-radius: 12px; margin-bottom: 8px; font-weight: 800; }
.include-img { width: 56px; border-radius: 8px; }
.include small { display: block; font-weight: 700; color: #777; }

/* Footer */
.shop-footer { text-align: left; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-bottom: 22px; }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-col h4 { color: #fff; font-weight: 900; margin-bottom: 4px; }
.footer-col a { color: #bbb; font-weight: 700; font-size: .9rem; }
.footer-col a:hover { color: var(--orange); }
.footer-col--brand { grid-column: 1 / -1; align-items: flex-start; }
.shop-footer .footer-logo-img { margin: 0 0 8px; height: 64px; }
.shop-footer .footer-social { justify-content: flex-start; }
.shop-footer .footer-copy { text-align: center; }
.shop-footer .footer-copy a { color: #999; font-weight: 700; }

@media (min-width: 720px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pgrid--4 { grid-template-columns: repeat(4, 1fr); }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-col--brand { grid-column: auto; }
}
@media (min-width: 900px) {
  .shero { padding: 56px 0 40px; }
  .shero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; }
  .series-grid { grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
  .pdp { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
  .pdp-gallery { position: sticky; top: 90px; }
  .collections { gap: 24px; }
}
@media (max-width: 719px) { .pgrid--4 .pcard:nth-child(n+5) { display: none; } }
.pcard-img { object-fit: contain; object-position: center; }
@media (max-width: 520px) { .shero-art { max-width: 320px; margin: 0 auto; } }
@media (min-width: 1000px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Blog (revamp) ---------- */
.blog-head { margin-bottom: 18px; }
.blog-head p { color: #666; }
.blog-empty { background: var(--cream); border: 1px dashed #E8D9C2; border-radius: var(--radius); padding: 28px; text-align: center; }
.blog-empty h2 { font-family: var(--font-display); font-weight: 400; color: var(--brown); margin-bottom: 6px; }
.blog-empty a, .post-body a, .shop-books-sub a { color: var(--orange-dark); font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }
.bfeature { display: grid; gap: 0; background: var(--cream); border: 1px solid #F0E6D8; border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s; }
.bfeature:hover { box-shadow: var(--shadow-card); }
.bfeature-media, .bcard-media { position: relative; background: var(--grey-light); aspect-ratio: 1200 / 630; overflow: hidden; }
.bfeature-img, .bcard-img, .post-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bfeature-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bfeature-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; color: var(--brown); }
.bfeature-excerpt { color: #4a3a20; }
.bgrid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid #F0E6D8; border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.bcard:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.bcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.bcard-meta { font-size: .8rem; font-weight: 800; color: #8a7a5e; }
.bcard-title { font-size: 1.05rem; font-weight: 900; line-height: 1.3; color: var(--text); }
.bcard-excerpt { font-size: .9rem; color: #555; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard .see-all { margin-top: auto; padding-top: 4px; font-size: .9rem; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0 0; }
.pager-num { font-weight: 800; color: #777; font-size: .9rem; }
.post { max-width: 760px; margin: 0 auto; }
.post-draft-banner { background: #FDECEA; color: #8A1C12; border: 2px dashed #D9534F; border-radius: 12px; padding: 10px 14px; font-weight: 900; font-size: .85rem; margin-bottom: 14px; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip--static { font-size: .75rem; padding: 4px 10px; background: var(--orange-light); border-color: transparent; color: var(--orange-dark); }
.post-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 5.5vw, 2.7rem); line-height: 1.12; color: var(--brown); }
.post-meta { margin: 10px 0 16px; font-weight: 800; color: #8a7a5e; font-size: .9rem; }
.post-hero { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; background: var(--grey-light); aspect-ratio: 1200 / 630; }
.post-body { font-size: 1.07rem; line-height: 1.75; color: #2b2b2b; }
.post-body > * + * { margin-top: 1em; }
.post-body h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 4vw, 1.8rem); line-height: 1.2; color: var(--brown); margin-top: 1.6em; scroll-margin-top: 90px; }
.post-body h3 { font-size: 1.2rem; font-weight: 900; color: var(--brown); margin-top: 1.4em; scroll-margin-top: 90px; }
.post-body h4 { font-size: 1.05rem; font-weight: 900; margin-top: 1.2em; }
.post-body ul, .post-body ol { padding-left: 1.4em; display: grid; gap: .35em; }
.post-body li::marker { color: var(--orange-dark); font-weight: 900; }
.post-body li ul { margin-top: .35em; }
.post-body blockquote { border-left: 5px solid var(--orange); background: var(--orange-light); border-radius: 0 12px 12px 0; padding: 12px 18px; color: #4a3a20; }
.post-body blockquote > * + * { margin-top: .6em; }
.post-body code { background: var(--grey-light); border-radius: 6px; padding: 1px 6px; font-size: .9em; }
.post-body pre { background: var(--grey-light); border-radius: 12px; padding: 14px; overflow-x: auto; }
.post-body pre code { background: none; padding: 0; }
.post-body hr { border: none; border-top: 2px dashed #EEE2D0; margin: 2em 0; }
.post-body img { max-width: 100%; height: auto; border-radius: 12px; }
.post-figure { margin: 1.4em 0; }
.post-figure img { width: 100%; }
.post-figure figcaption { font-size: .85rem; color: #777; text-align: center; margin-top: 6px; }
.shop-books { margin: 36px auto 0; background: var(--cream); border: 1px solid #F0E6D8; border-radius: var(--radius); padding: 20px; }
.shop-books .ssection-head { margin-bottom: 4px; }
.shop-books-sub { color: #6b5b3e; font-weight: 800; font-size: .9rem; margin-bottom: 14px; }
@media (min-width: 720px) {
  .bgrid { grid-template-columns: repeat(2, 1fr); }
  .shop-books { padding: 26px; }
}
@media (min-width: 900px) {
  .bfeature { grid-template-columns: 1.25fr 1fr; align-items: center; }
  .bfeature-body { padding: 30px; }
}
@media (min-width: 1000px) { .bgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 719px) { .shop-books-grid.pgrid--4 .pcard:nth-child(n+5) { display: none; } }
.post-draft-banner--scheduled { background: #EAF4EA; color: #1E5B22; border-color: #2E7D32; }
.pbadge--scheduled { background: #2E7D32; }

/* Bundle composite photos on the homepage promos */
.promo-img { flex: 0 0 120px; }
.promo-photo { width: 120px; height: auto; border-radius: 12px; }
.promo--family { background: #EEF6EA; }
@media (min-width: 720px) { .promo-grid { grid-template-columns: repeat(3, 1fr); } .promo { flex-direction: column; align-items: flex-start; } .promo-img { flex-basis: auto; } .promo-photo { width: 150px; } }
.buy-box--soon .btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.pcard-soon { font-size: .66rem; font-weight: 900; text-transform: uppercase; background: var(--orange-light); color: var(--orange-dark); border-radius: 50px; padding: 2px 7px; margin-left: 4px; vertical-align: middle; }
.pbadge--coming-soon { background: #6B4E16; }
/* Series section v2 (22 Oct 2026): Ep1 out now + cast */
.series-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.cast-title { font-family: var(--font-display); font-size: 1.1rem; margin: 22px 0 10px; }
.cast { list-style: none; display: grid; gap: 8px; }
.cast-item { background: #fff; border: 1px solid #F0E6D8; border-radius: var(--radius); padding: 10px 14px; }
.cast-item strong { font-weight: 900; }
.cast-role { font-size: .8rem; font-weight: 800; color: var(--orange-dark); }
.cast-item p { margin: 4px 0 0 !important; font-size: .88rem; }
.cast-item em { color: var(--orange-dark); font-style: normal; font-weight: 800; white-space: nowrap; }
.series-eps { display: grid; gap: 12px; min-width: 0; }
.ep-out { background: #fff; border: 2px solid var(--orange); border-radius: var(--radius); overflow: hidden; }
.ep-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ep-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 48px; border-radius: 14px; background: rgba(255, 0, 0, .9); color: #fff; display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 4px 14px rgba(0,0,0,.35); transition: transform .15s; }
.ep-thumb:hover .ep-play, .ep-thumb:focus-visible .ep-play { transform: scale(1.08); }
.ep-out-body { padding: 14px 16px 16px; }
.ep-out-tag { display: inline-block; font-size: .72rem; font-weight: 900; text-transform: uppercase; background: #2E7D32; color: #fff; padding: 3px 8px; border-radius: 999px; }
.ep-out-body h3 { font-size: 1.15rem; font-weight: 900; margin: 6px 0 4px; }
.ep-out-body p { font-size: .92rem; color: #555; margin: 0 0 6px; }
.series-later { font-size: .85rem; color: #7a6a4e; }
.series-grid { grid-template-areas: "text" "eps" "cast"; }
.series-text { grid-area: text; } .series-eps { grid-area: eps; } .series-cast { grid-area: cast; min-width: 0; }
.series-cast .cast-title { margin-top: 0; }
@media (min-width: 900px) { .series-grid { grid-template-areas: "text eps" "cast eps"; grid-template-rows: auto 1fr; } }
