/* Masterful Minds Kits — shared styles for /kits/*.html.
   Loads after /styles.css and only adds what the kit pages need; colours and fonts come from
   the :root tokens in styles.css. Mobile-first; the one breakpoint widens the buy block. */

/* 44px tap targets on every control a kit page shows — our own, the shared header, the cart drawer. */
.kit-page .btn, .kit-page .cart-btn, .kit-page .cur-picker,
.kit-page .kit-form input, .kit-page #promoCode, .kit-page #applyCode, .kit-page #shipCountry { min-height: 44px; }
.kit-page .ci-qty button { width: 44px; height: 44px; font-size: 1.2rem; }
.kit-page .ci-remove, .kit-page .cart-close, .kit-page .nudge-add { min-height: 44px; display: inline-flex; align-items: center; }
.kit-page .cart-close { min-width: 44px; justify-content: center; }

/* ---------- Hero: eyebrow, headline, subhead, help panel ---------- */
.kit-hero { background: var(--parchment); border-bottom: 1px solid var(--line); padding: 2rem 0 1.7rem; }
.kit-eyebrow { font-family: var(--display); letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; color: var(--terracotta); margin: 0 0 .7rem; }
.kit-hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 5.6vw, 3rem); line-height: 1.08; color: var(--charcoal); margin: 0 0 .8rem; overflow-wrap: anywhere; }
.kit-sub { font-size: 1.12rem; line-height: 1.55; color: rgba(43,40,29,.8); max-width: 42rem; margin: 0 0 1.3rem; }

/* The help panel is a service, not a warning: sage tint, no icon, no red, same type as the page. */
.kit-help { background: rgba(138,154,139,.16); border-left: 3px solid var(--sage-dk); border-radius: 0 12px 12px 0; padding: .9rem 1.1rem; max-width: 42rem; }
.kit-help p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--charcoal); }
.kit-help a { color: var(--charcoal); text-decoration: underline; text-decoration-color: rgba(110,138,111,.75); text-underline-offset: 3px; }

/* ---------- Buy block: covers + live price ---------- */
.kit-buy { padding: 2rem 0 .6rem; }
.kit-buy-inner { display: grid; gap: 1.4rem; }
.kit-covers { display: flex; align-items: flex-end; gap: .5rem; }
.kit-covers img { flex: 0 1 auto; width: 20%; min-width: 0; border-radius: 4px; box-shadow: 0 12px 26px -14px rgba(43,40,29,.7); }
.kit-covers img:first-child { width: 38%; }
.kit-name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--charcoal); margin: 0 0 .5rem; }
.kit-price-row { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin: 0; }
.kit-price-now { font-family: var(--display); font-weight: 700; font-size: 2.2rem; line-height: 1.1; color: var(--charcoal); }
.kit-price-now.is-soon { font-size: 1.4rem; }
.kit-ebook-tag { display: inline-block; background: var(--sage-dk); color: #fff; font-family: var(--display); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 5px; }
.kit-price-sep { margin: .45rem 0 0; font-size: 1rem; color: rgba(43,40,29,.78); }
.kit-soon { margin: .5rem 0 0; font-size: 1rem; line-height: 1.5; color: rgba(43,40,29,.82); max-width: 36rem; }
.kit-price-note { margin: .5rem 0 0; font-size: .9rem; color: rgba(43,40,29,.6); }

/* ---------- Sections: what's inside, how it arrives ---------- */
.kit-section { padding: 2rem 0; }
.kit-section h2 { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 4vw, 1.9rem); color: var(--charcoal); margin: 0 0 .9rem; }
.kit-list { list-style: none; padding: 0; margin: 0; max-width: 42rem; }
.kit-list li { position: relative; padding: .55rem 0 .55rem 1.5rem; border-top: 1px solid var(--line); font-size: 1.02rem; line-height: 1.5; }
.kit-list li:last-child { border-bottom: 1px solid var(--line); }
.kit-list li::before { content: "\2713"; position: absolute; left: 0; top: .55rem; color: var(--terracotta); font-weight: 700; }
.kit-li-fmt { color: rgba(43,40,29,.62); }
.kit-li-sub { display: block; font-size: .9rem; color: rgba(43,40,29,.62); }
.kit-arrive-gated { font-size: 1.08rem; line-height: 1.5; color: var(--charcoal); margin: 0 0 1rem; max-width: 42rem; }
.kit-arrive-gated strong { color: var(--terracotta-dk); }

/* ---------- Add to cart + "just the book" ---------- */
.kit-cta { padding: 1rem 0 2.4rem; }
.kit-add { width: 100%; max-width: 26rem; min-height: 52px; font-size: .9rem; }
.kit-add-msg { margin: .8rem 0 0; font-size: .95rem; color: var(--terracotta-dk); }
.kit-add-msg a, .kit-just a { color: var(--terracotta-dk); text-decoration: underline; text-underline-offset: 3px; }
.kit-just { margin: 1.3rem 0 0; font-size: 1.02rem; color: rgba(43,40,29,.82); }

/* ---------- FAQ ---------- */
.kit-faq { background: var(--parchment); border-top: 1px solid var(--line); }
.kit-faq details { border-bottom: 1px solid var(--line); max-width: 42rem; }
.kit-faq summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; cursor: pointer; list-style: none; font-family: var(--display); font-size: .95rem; color: var(--charcoal); }
.kit-faq summary::-webkit-details-marker { display: none; }
.kit-faq summary::after { content: "+"; flex: none; font-size: 1.3rem; color: var(--terracotta); }
.kit-faq details[open] summary::after { content: "\2013"; }
.kit-faq details p { margin: 0 0 1rem; font-size: 1rem; line-height: 1.55; color: rgba(43,40,29,.85); }

/* An aside under a list — the honest note about what a kit does not contain. */
.kit-note { max-width: 46rem; margin: 1.1rem 0 0; font-size: .95rem; line-height: 1.6; color: rgba(43,40,29,.7); }

/* The shop's own catalogue containers render here, unseen, so /app.js can boot its cart on this page. */
.kit-shop-shadow { display: none !important; }

@media (min-width: 760px) {
  .kit-hero { padding: 3rem 0 2.2rem; }
  .kit-buy-inner { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 3rem; }
  .kit-section { padding: 2.6rem 0; }
  .kit-add { width: auto; min-width: 18rem; }
}
