/* ==========================================================================
   TradeScalping.com Shop Kit
   Extends assets/css/style.css. Load style.css first, since this file relies on
   its :root variables (--bg, --card, --amber, --green, --text, etc.) and its
   shared components (.btn, .card, .chip, .badge, .gauge, .quiz-*, .checklist,
   .tool-panel, .field, .result-box) rather than redefining them.
   ========================================================================== */

/* ---------- Shop landing page ---------- */
.shop-hero{ padding: 60px 0 46px; text-align:center; }
.shop-hero .eyebrow{ justify-content:center; }
.shop-hero h1{ font-size: clamp(2rem, 4vw, 2.9rem); color:#fff; margin: 12px 0 14px; }
.shop-hero p{ color: var(--text-dim); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.breadcrumbs{ font-family: var(--font-mono); font-size:.78rem; color: var(--text-dimmer); margin-bottom: 4px; }
.breadcrumbs a{ color: var(--text-dimmer); }
.breadcrumbs a:hover{ color: var(--amber); }
.breadcrumbs .sep{ opacity:.5; margin: 0 6px; }

.shop-note{ max-width: 680px; margin: 0 auto 46px; text-align:center; color: var(--text-dim); font-size: .98rem; }

.product-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.product-card{
  background: var(--card); border: 1px solid var(--card-border); border-top: 3px solid var(--amber);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: transform .18s, border-color .18s;
}
.product-card:hover{ transform: translateY(-3px); border-color: var(--amber-dim); }
.product-card .cover{ background: var(--bg); padding: 20px 20px 6px; text-align:center; }
.product-card .cover img{ max-width: 140px; margin: 0 auto; border-radius: 4px; box-shadow: 0 12px 26px rgba(0,0,0,0.5); }
.product-card .body{ padding: 20px 22px 24px; flex:1; display:flex; flex-direction:column; }
.product-card .kicker{ font-family: var(--font-mono); font-size:.68rem; letter-spacing:.09em; text-transform:uppercase; color: var(--green); margin-bottom: 8px; }
.product-card h3{ color:#fff; font-size: 1.14rem; margin: 0 0 8px; }
.product-card p.desc{ color: var(--text-dim); font-size:.9rem; flex:1; margin: 0 0 16px; }
.product-card .meta-row{ display:flex; align-items:center; justify-content:space-between; padding-top: 14px; border-top: 1px solid var(--card-border); }
.product-card .price{ font-family: var(--font-mono); font-weight:700; color:#fff; font-size: 1.15rem; }
.product-card .cta{ font-family: var(--font-mono); font-size:.74rem; letter-spacing:.03em; color: var(--amber); font-weight:700; }
.product-card:hover .cta{ color: #ffcf33; }

.coming-card{
  border: 1px dashed var(--card-border); border-radius: var(--radius); padding: 30px 24px;
  display:flex; align-items:center; justify-content:center; text-align:center; min-height: 100%;
  color: var(--text-dimmer); font-family: var(--font-mono); font-size:.82rem;
}

.shop-tiers{ display:flex; gap: 14px; flex-wrap:wrap; justify-content:center; margin: 30px 0 6px; }
.shop-tier{ font-family: var(--font-mono); font-size:.78rem; padding: 8px 16px; border-radius:20px; border:1px solid var(--card-border); color: var(--text-dim); }
.shop-tier b{ color:#fff; }

/* ---------- Sales page: hero / offer ---------- */
.ad-hero{ background: var(--bg-alt); border-bottom: 1px solid var(--card-border); padding: 58px 0 46px; }
.ad-hero-inner{ max-width: 700px; margin: 0 auto; text-align:center; }
.ad-hero h1{ font-size: clamp(1.7rem, 3.6vw, 2.4rem); color:#fff; line-height:1.2; margin: 0 0 22px; }
.ad-copy{ text-align:left; font-size: 1.03rem; line-height:1.75; color: var(--text); }
.ad-copy p{ margin: 0 0 1.05em; }
.ad-copy p.ad-lede{ color:#fff; font-weight:600; font-size: 1.12rem; }
.ad-copy p.ad-quiet{ color: var(--text-dimmer); }
.ad-copy p.ad-punch{ color: var(--amber); font-weight:600; }

/* ---------- Sales page: above-the-fold hero-founder (founder-face migration project,
   shop sales pages, replaces the old .founder-byline stamp that used to sit down in the
   guarantee section). Reuses the root pages' own .page-hero-founder photo/blockquote/cite
   styling from ../assets/css/style.css unchanged (that file is already linked by every
   sales page); only this grid wrapper is new, scoped to .ad-hero so any not-yet-migrated
   page elsewhere is unaffected. */
.ad-hero-inner.has-hero-founder{ max-width: 1040px; text-align:left; }
.ad-hero-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap:44px; align-items:start; }
.ad-hero-grid h1{ text-align:left; }
@media (max-width: 860px){
  .ad-hero-grid{ grid-template-columns:1fr; }
  .ad-hero-inner.has-hero-founder{ text-align:center; }
  .ad-hero-grid h1{ text-align:center; }
}

.offer-reveal{ padding: 54px 0 20px; }
.offer-grid{ display:grid; grid-template-columns: 260px 1fr; gap: 44px; align-items:center; }
.ecover-wrap{ text-align:center; }
.ecover-wrap img{ width:100%; max-width: 260px; margin: 0 auto; border-radius: 6px; box-shadow: 0 18px 44px rgba(0,0,0,0.55); }
.offer-copy .offer-intro{ font-family: var(--font-mono); font-size:.8rem; letter-spacing:.08em; text-transform:uppercase; color: var(--green); margin-bottom: 10px; }
.offer-copy h2{ font-size: clamp(1.6rem, 3vw, 2.1rem); color:#fff; margin: 0 0 12px; }
.offer-copy .offer-sub{ color: var(--text-dim); font-size: 1.03rem; margin-bottom: 18px; }
.offer-facts{ list-style:none; margin: 18px 0 20px; padding:0; display:grid; gap: 9px; }
.offer-facts li{ display:flex; gap: 10px; font-size:.95rem; color: var(--text); }
.offer-facts li strong{ font-family: var(--font-mono); font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; color: var(--amber); min-width: 110px; flex-shrink:0; }
.offer-price-line{ color: var(--text-dim); font-size:.92rem; }

@media (max-width: 760px){
  .offer-grid{ grid-template-columns: 1fr; text-align:center; }
  .offer-facts li{ justify-content:center; }
}

/* ---------- Bullets ---------- */
.bullets-section{ padding: 56px 0 20px; }
.bullet-list{ list-style:none; margin: 0 auto; padding:0; max-width: 780px; display:grid; gap: 10px; }
.bullet-list li{
  display:grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 18px;
  background: var(--card); border: 1px solid var(--card-border); border-left: 3px solid var(--amber);
  border-radius: 0 8px 8px 0; font-size:.96rem; color: var(--text);
}
.bullet-list li .num{ font-family: var(--font-mono); color: var(--amber); font-weight:700; }
.bullet-list li strong{ color: #fff; }

/* ---------- Guarantee ---------- */
.guarantee-section{ padding: 54px 0; text-align:center; }
.certificate{ max-width: 600px; margin: 0 auto; background: var(--card); border: 2px solid var(--amber-dim); border-radius: 8px; padding: 40px 36px 34px; position:relative; }
.certificate::before{ content:""; position:absolute; inset:8px; border: 1px solid rgba(240,185,11,0.3); border-radius: 4px; pointer-events:none; }
.cert-seal{ width: 78px; height:78px; border-radius:50%; background: var(--bg); border: 3px solid var(--amber); display:flex; align-items:center; justify-content:center; margin: 0 auto 18px; font-family: var(--font-mono); color: var(--amber); font-size:.62rem; letter-spacing:.04em; text-align:center; line-height:1.3; }
.cert-sub{ font-family: var(--font-mono); font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color: var(--green); margin-bottom: 18px; }
.cert-heading{ color:#fff; font-size: 1.5rem; margin: 0 0 8px; }
.cert-body{ color: var(--text-dim); font-size: 1rem; max-width: 440px; margin: 0 auto 22px; }
.cert-sign{ display:flex; justify-content:space-between; align-items:flex-end; max-width: 420px; margin: 24px auto 0; padding-top: 14px; border-top: 1px solid var(--card-border); }
.cert-sign .sig{ color:#fff; font-weight:700; }
.cert-sign .cap{ font-family: var(--font-mono); font-size:.66rem; letter-spacing:.08em; color: var(--text-dimmer); text-transform:uppercase; margin-top:4px; }

.founder-byline{ display:flex; align-items:center; gap:16px; max-width: 600px; margin: 0 auto; padding: 16px 20px; background: var(--card); border: 1px solid var(--amber-dim); border-radius: 8px; }
.founder-byline img{ width:52px; height:52px; border-radius:50%; object-fit:cover; flex-shrink:0; border:2px solid var(--amber-dim); }
.founder-byline p{ margin:0; color: var(--text-dim); font-size:.9rem; line-height:1.5; }
.founder-byline a{ color: var(--amber); font-weight:600; }

/* ---------- Price ---------- */
.price-section{ background: var(--bg-alt); border-top:1px solid var(--card-border); border-bottom:1px solid var(--card-border); padding: 56px 0 60px; text-align:center; }
.price-tag{ font-family: var(--font-mono); font-weight:800; font-size: 3rem; color:#fff; margin: 0 0 6px; }
.price-tag span{ font-family: var(--font-body); font-size:.95rem; color: var(--text-dim); font-weight:400; display:block; margin-top:6px; }
.order-btn{ display:inline-block; margin-top: 22px; background: var(--amber); color:#0a0e14; font-weight:700; font-size: 1.1rem; padding: 17px 50px; border-radius: 8px; text-decoration:none; transition: transform .15s, background .15s; }
.order-btn:hover{ background:#ffcf33; transform: translateY(-2px); }
.price-note{ margin-top: 16px; font-family: var(--font-mono); font-size:.74rem; color: var(--text-dimmer); letter-spacing:.02em; }

.buy-bar{ position: fixed; left:0; right:0; bottom:0; z-index:60; background: var(--bg-alt); border-top: 1px solid var(--card-border); box-shadow: 0 -8px 24px rgba(0,0,0,0.5); transform: translateY(100%); transition: transform .25s ease; }
.buy-bar.is-visible{ transform: translateY(0); }
.buy-bar-inner{ max-width: var(--maxw); margin:0 auto; padding: 12px 24px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.buy-bar-price{ font-family: var(--font-mono); color:#fff; font-size:1rem; font-weight:700; }
.buy-bar-price span{ display:block; font-family: var(--font-body); font-size:.7rem; color: var(--text-dimmer); font-weight:400; }
.buy-bar .order-btn{ padding: 11px 28px; font-size:.95rem; margin:0; }
@media (max-width: 560px){ .buy-bar-inner{ padding: 10px 16px; } .buy-bar-price span{ display:none; } }

/* ---------- FAQ ---------- */
.quick-faq{ max-width: 760px; margin: 0 auto; }
.quick-faq-label{ text-align:center; font-family: var(--font-mono); font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color: var(--green); margin-bottom: 20px; }

/* ---------- Thank-you page ---------- */
.ty-hero{ background: var(--bg-alt); border-bottom: 1px solid var(--card-border); padding: 50px 0 40px; text-align:center; }
.ty-hero .eyebrow{ justify-content:center; }
.ty-hero h1{ color:#fff; font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 12px 0 14px; }
.ty-hero p{ color: var(--text-dim); max-width: 640px; margin: 0 auto; }
.ty-math{ font-family: var(--font-mono); color: var(--text-dimmer); font-size:.85rem; margin-top: 14px; }

.ty-body{ padding: 46px 0 70px; }
.ty-guide{ max-width: 760px; margin: 0 auto 40px; }
.ty-guide h2{ color:#fff; }
.ty-guide ol, .ty-guide ul{ color: var(--text); padding-left: 1.3em; }
.ty-guide li{ margin-bottom: .6em; }

.related-strip{ padding: 40px 0 70px; border-top: 1px solid var(--card-border); background: var(--bg-alt); }
.related-strip h2{ text-align:center; color:#fff; margin-bottom: 24px; font-size: 1.4rem; }

/* ---------- Reusable tool widgets shared across products ---------- */
.timer-display{ font-family: var(--font-mono); font-size: 3.4rem; font-weight:800; color:#fff; text-align:center; letter-spacing:.02em; margin: 10px 0; }
.timer-display.locked{ color: var(--red); }
.timer-display.clear{ color: var(--green); }
.timer-sub{ text-align:center; color: var(--text-dim); font-size:.92rem; margin-bottom: 6px; }
.timer-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top: 20px; }

.streak-grid{ display:grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 18px 0; }
.streak-cell{ aspect-ratio: 1; border-radius: 4px; background: var(--bg); border: 1px solid var(--card-border); display:flex; align-items:center; justify-content:center; font-family: var(--font-mono); font-size:.62rem; color: var(--text-dimmer); cursor:pointer; user-select:none; }
.streak-cell.hit{ background: rgba(22,199,132,0.18); border-color: var(--green); color: var(--green); }
.streak-cell.miss{ background: rgba(234,57,67,0.14); border-color: var(--red); color: var(--red); }
.streak-cell.today{ box-shadow: 0 0 0 2px var(--amber) inset; }

.journal-list{ display:flex; flex-direction:column; gap: 10px; margin-top: 18px; }
.journal-entry{ background: var(--bg); border: 1px solid var(--card-border); border-radius: 8px; padding: 14px 16px; }
.journal-entry .je-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:8px; flex-wrap:wrap; gap:8px; }
.journal-entry .je-time{ font-family: var(--font-mono); font-size:.74rem; color: var(--text-dimmer); }
.journal-entry .je-tag{ font-family: var(--font-mono); font-size:.68rem; padding:3px 10px; border-radius:20px; border:1px solid var(--card-border); color: var(--text-dim); }
.journal-entry .je-tag.tilt{ color: var(--red); border-color: rgba(234,57,67,0.4); }
.journal-entry .je-tag.plan{ color: var(--green); border-color: rgba(22,199,132,0.4); }
.journal-entry .je-note{ color: var(--text); font-size:.92rem; margin:0; }
.journal-empty{ color: var(--text-dimmer); font-size:.9rem; text-align:center; padding: 20px 0; }

.script-output{ background: var(--bg); border: 1px solid var(--amber-dim); border-left: 3px solid var(--amber); border-radius: 0 8px 8px 0; padding: 20px 22px; margin-top: 20px; white-space: pre-wrap; font-size: .98rem; line-height: 1.7; color: var(--text); min-height: 60px; }
.script-output .so-line{ display:block; margin-bottom: .6em; }
.script-output .so-line:last-child{ margin-bottom:0; }

.tally-list{ display:flex; flex-direction:column; gap: 10px; margin-top: 18px; }
.tally-row{ display:grid; grid-template-columns: 150px 1fr 34px; align-items:center; gap: 12px; }
.tally-row .tl-label{ font-size:.88rem; color: var(--text); }
.tally-row .tl-bar-wrap{ height: 16px; background: var(--bg); border: 1px solid var(--card-border); border-radius: 20px; overflow:hidden; }
.tally-row .tl-bar{ height:100%; background: linear-gradient(90deg, var(--amber-dim), var(--red)); border-radius:20px; transition: width .25s; }
.tally-row .tl-count{ font-family: var(--font-mono); color:#fff; font-weight:700; text-align:right; font-size:.85rem; }
@media (max-width: 560px){ .tally-row{ grid-template-columns: 100px 1fr 28px; } }

.state-slider-wrap{ margin: 20px 0; }
.state-slider-wrap input[type=range]{ width:100%; accent-color: var(--amber); }
.state-slider-labels{ display:flex; justify-content:space-between; font-family: var(--font-mono); font-size:.72rem; color: var(--text-dimmer); margin-top: 6px; }

.log-form{ display:grid; gap: 12px; margin-top: 6px; }
.log-form select, .log-form textarea{
  width:100%; background: var(--bg); border:1px solid var(--card-border); border-radius:8px; padding:11px 14px;
  color:#fff; font-family: var(--font-body); font-size:.94rem;
}
.log-form textarea{ resize: vertical; min-height: 60px; }
.log-form label{ font-size:.82rem; color: var(--text-dim); margin-bottom:4px; display:block; }
.flag-row{ margin-top: -4px; }
.flag-check{ display:flex !important; align-items:center; gap:8px; cursor:pointer; font-size:.85rem !important; color: var(--text-dim); }
.flag-check input{ width:16px; height:16px; accent-color: var(--amber); cursor:pointer; }

/* ---------- Guided breathing widget (The Tilt-Recovery Breathing Timer) ---------- */
.breathe-wrap{ display:flex; justify-content:center; align-items:center; padding: 26px 0 6px; }
.breathe-circle{
  width:170px; height:170px; border-radius:50%;
  background: radial-gradient(circle at 35% 30%, rgba(240,185,11,0.32), rgba(22,199,132,0.14) 60%, transparent 100%);
  border: 2px solid var(--amber); display:flex; align-items:center; justify-content:center;
  transform: scale(1); transition: transform 4s ease-in-out;
  color:#fff; font-family: var(--font-mono); font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; text-align:center;
}
