/* momojord — tarp landing page (template-mj-tarp.php).
   Bygger på samma tokens och ed-hero som om-sidan; bara det som är eget här. */

.mj-scope .tarp-hero .inner > .wrap{ grid-template-columns: 1fr; max-width: 780px; }
.mj-scope .tarp-hero .sub{ max-width: 54ch; }

/* --- de tre korten --- */
.mj-scope .tarp-picker{ padding: 88px 0 8px; }
.mj-scope .tarp-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px;
}
.mj-scope .tarp-card{
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 10px;
  overflow: hidden; transition: border-color .18s ease, transform .18s ease;
}
.mj-scope .tarp-card:hover{ border-color: var(--hairline-strong); transform: translateY(-2px); }
.mj-scope .tarp-card .shot{ position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.mj-scope .tarp-card .shot img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mj-scope .tarp-card:hover .shot img{ transform: scale(1.03); }
.mj-scope .tarp-card .flag{
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 3px; background: var(--ink); color: var(--paper);
}
.mj-scope .tarp-card .flag.sale{ background: var(--ember); }
.mj-scope .tarp-card.out-of-stock .shot img{ filter: grayscale(.55) opacity(.75); }
.mj-scope .tarp-card .body{ padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.mj-scope .tarp-card .eyebrow{
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .07em;
  color: var(--ink-mute); text-transform: uppercase; margin-bottom: 8px;
}
.mj-scope .tarp-card h3{ font-family: var(--ff-display); font-weight: var(--display-weight); font-size: 30px; line-height: 1.1; margin-bottom: 10px; }
.mj-scope .tarp-card p{ color: var(--ink-soft); font-size: 14px; margin: 0 0 20px; flex: 1; }
.mj-scope .tarp-card .foot{ display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 16px; border-top: 1px solid var(--hairline); flex-wrap: wrap; }
.mj-scope .tarp-card .price{ font-size: 15px; font-weight: 600; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
/* Omnibus-raden (lägsta pris 30 dagar) injiceras i get_price_html() och måste
   få egen rad i kortfoten i stället för att trycka undan knappen. */
.mj-scope .tarp-card .price .mj-omnibus,
.mj-scope table.cmp .mj-omnibus{ font-size: 11px; color: var(--ink-mute); font-weight: 400; letter-spacing: 0; }
.mj-scope .tarp-card .price del{ color: var(--ink-mute); font-weight: 400; margin-right: 6px; }
.mj-scope .tarp-card .price ins{ text-decoration: none; color: var(--ember); }
.mj-scope .tarp-card .btn{
  font-size: 13px; font-weight: 500; padding: 9px 16px; border-radius: 4px;
  background: var(--brand); color: #fff; white-space: nowrap; transition: background .16s ease;
}
.mj-scope .tarp-card .btn:hover{ background: var(--brand-deep); }

/* --- jämförelsetabellen --- */
.mj-scope .tarp-compare{ padding: 80px 0; }
.mj-scope .tarp-compare .table-scroll{ overflow-x: auto; margin-top: 28px; -webkit-overflow-scrolling: touch; }
.mj-scope table.cmp{ width: 100%; border-collapse: collapse; min-width: 640px; font-size: 14px; }
.mj-scope table.cmp th, .mj-scope table.cmp td{
  text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top;
}
.mj-scope table.cmp thead th{
  font-family: var(--ff-display); font-weight: var(--display-weight); font-size: 22px;
  border-bottom: 1px solid var(--hairline-strong); padding-bottom: 10px;
}
.mj-scope table.cmp tbody th[scope="row"]{
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 400; white-space: nowrap; width: 1%;
}
.mj-scope table.cmp tbody tr:nth-child(odd) td, .mj-scope table.cmp tbody tr:nth-child(odd) th{ background: color-mix(in oklab, var(--paper-2) 55%, transparent); }
.mj-scope table.cmp tr.price-row td{ font-weight: 600; }
.mj-scope table.cmp tr.price-row del{ color: var(--ink-mute); font-weight: 400; margin-right: 6px; }
.mj-scope table.cmp tr.price-row ins{ text-decoration: none; color: var(--ember); }

/* --- vägledning --- */
.mj-scope .tarp-guide{ padding: 8px 0 88px; }
.mj-scope .guide-shell{ display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: start; }
.mj-scope .guide-text h2{ font-family: var(--ff-display); font-weight: var(--display-weight); font-size: 40px; line-height: 1.08; margin-bottom: 20px; }
.mj-scope .guide-text p{ color: var(--ink-soft); margin: 0 0 16px; max-width: 60ch; }
.mj-scope .guide-aside{ background: var(--paper-2); border: 1px solid var(--hairline); border-radius: 10px; padding: 26px; }
.mj-scope .guide-aside h5{
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 10px;
}
.mj-scope .guide-aside > p{ font-size: 14px; color: var(--ink-soft); margin: 0 0 18px; }
.mj-scope .guide-aside .addon{
  display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hairline);
}
.mj-scope .guide-aside .addon img{ width: 46px; height: 46px; object-fit: cover; border-radius: 5px; flex: none; }
.mj-scope .guide-aside .addon span{ display: flex; flex-direction: column; gap: 2px; }
.mj-scope .guide-aside .addon b{ font-size: 14px; font-weight: 500; }
.mj-scope .guide-aside .addon i{ font-style: normal; font-size: 13px; color: var(--ink-mute); }
.mj-scope .guide-aside .addon:hover b{ color: var(--brand); }

/* --- fot --- */
.mj-scope .tarp-foot{ padding: 0 0 96px; }
.mj-scope .btn-ghost{
  display: inline-block; padding: 12px 22px; border: 1px solid var(--hairline-strong);
  border-radius: 4px; font-size: 14px; transition: background .16s ease, border-color .16s ease;
}
.mj-scope .btn-ghost:hover{ background: var(--paper-2); border-color: var(--ink-mute); }

@media (max-width: 980px){
  .mj-scope .tarp-grid{ grid-template-columns: 1fr; }
  .mj-scope .guide-shell{ grid-template-columns: 1fr; gap: 32px; }
  .mj-scope .guide-text h2{ font-size: 32px; }
  .mj-scope .tarp-picker{ padding-top: 56px; }
  .mj-scope .tarp-compare{ padding: 56px 0; }
}
