/* ============================================================
   LME Læringsverksted — katalog- og produktsidestil, samme
   fargetokens og fontregler som resten av LME (Playpen Sans på
   overskrifter, Sasson Montessori på brødtekst, arves fra siden).
   Brukt av laeringsverksted.html, academy/laeringsverksted-ressurs.html,
   laeringsverksted-bygger.html og butikk.html sin ressursseksjon.
   ============================================================ */

.lv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.lv-grid-small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.lv-card { position: relative; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(26,26,26,0.08); transition: transform .15s ease, box-shadow .15s ease; }
.lv-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(26,26,26,0.14); }
.lv-card-example { outline: 2px dashed var(--sun, #F7C72E); outline-offset: -2px; }
.lv-card-link { display: block; text-decoration: none; color: inherit; }
.lv-card-media { position: relative; aspect-ratio: 4 / 3; background: linear-gradient(135deg, #FFF4F6, #FBF6F0); }
.lv-card-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.lv-cover-ph { display: flex; align-items: center; justify-content: center; font-size: 40px; opacity: .55; }
.lv-tag-example, .lv-tag-featured { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; }
.lv-tag-example { background: var(--sun, #F7C72E); color: #4a3a00; }
.lv-tag-featured { background: var(--cerise, #E91E89); color: #fff; }
.lv-card-body { padding: 14px 16px 16px; }
.lv-card-title { font-size: 16px; line-height: 1.3; margin: 0 0 4px; }
.lv-card-sub { font-size: 13px; color: var(--grey, #4A4A4A); margin: 0 0 10px; }
.lv-card-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.lv-fav-btn { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: none; background: rgba(255,255,255,0.92); color: var(--cerise, #E91E89); font-size: 17px; cursor: pointer; box-shadow: 0 3px 10px rgba(26,26,26,0.15); }
.lv-fav-btn:disabled { opacity: .5; cursor: default; }

.lv-badge { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--cream, #FBF6F0); color: var(--ink, #1A1A1A); border: 1px solid var(--line, rgba(26,26,26,0.1)); }
.lv-badge-free { background: #E9F6DC; color: #3f6a12; border-color: transparent; }
.lv-badge-member { background: #FDE7F1; color: #a01364; border-color: transparent; }
.lv-badge-paid { background: #FFF3D6; color: #7a5600; border-color: transparent; }
.lv-badge-age, .lv-badge-type { background: #FBF6F0; }

.lv-empty { text-align: center; padding: 60px 20px; color: var(--grey, #4A4A4A); }
.lv-empty-icon { font-size: 38px; margin-bottom: 10px; }

/* -------- Produktside (detalj) -------- */
.lv-shell { max-width: 760px; margin: 0 auto; }
.lv-example-banner { background: #FFF3D6; color: #7a5600; font-weight: 700; font-size: 13px; text-align: center; padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.lv-hero { border-radius: 20px; overflow: hidden; background: var(--cream, #FBF6F0); box-shadow: 0 8px 26px rgba(26,26,26,0.08); }
.lv-hero-cover { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.lv-hero-cover.lv-cover-ph { aspect-ratio: 16/9; font-size: 52px; }
.lv-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 2px; -webkit-overflow-scrolling: touch; }
.lv-thumb { width: 96px; height: 66px; object-fit: cover; border-radius: 10px; flex: none; border: 1px solid var(--line, rgba(26,26,26,0.1)); }

.lv-kick { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cerise, #E91E89); margin-top: 18px; }
.lv-title { font-size: 30px; line-height: 1.15; margin: 6px 0 14px; }
.lv-detail-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lv-lede { font-size: 16px; line-height: 1.6; color: var(--grey, #4A4A4A); margin: 0 0 22px; white-space: pre-wrap; }

.lv-buybox { background: linear-gradient(135deg, #FFF4F6, #FBF6F0); border-radius: 18px; padding: 20px 22px; margin-bottom: 22px; }
.lv-memberprice { display: block; font-size: 13px; color: var(--grey, #4A4A4A); margin-top: 6px; }
.lv-license-picker { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; max-width: 340px; }
.lv-license-label { font-size: 12px; font-weight: 700; color: var(--cerise, #E91E89); text-transform: uppercase; letter-spacing: .04em; }
.lv-license-select { font-family: inherit; font-size: 14.5px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, rgba(26,26,26,0.15)); background: #fff; }
.lv-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.lv-cta { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: none; cursor: pointer; background: linear-gradient(135deg, var(--yellow, #F7C72E), #F5B301); color: #4a3a00; font-family: var(--font-body, 'Sasson Montessori', system-ui, sans-serif); font-size: 15px; font-weight: 700; border-radius: 999px; padding: 13px 22px; box-shadow: 0 8px 22px rgba(247,199,46,0.35); }
.lv-cta:hover { transform: translateY(-1px); }
.lv-cta-secondary { background: linear-gradient(135deg, var(--cerise, #E91E89), #c8106e); color: #fff; box-shadow: 0 8px 22px rgba(233,30,137,0.3); }
.lv-cta-ghost { background: #fff; color: var(--ink, #1A1A1A); border: 1px solid var(--line, rgba(26,26,26,0.15)); box-shadow: none; }

.lv-section { margin: 26px 0; }
.lv-h2 { font-size: 19px; margin-bottom: 10px; }
.lv-list { padding-left: 22px; margin: 0; color: var(--grey, #4A4A4A); font-size: 15px; line-height: 1.6; }
.lv-list li { margin-bottom: 6px; }

.lv-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px 20px; }
.lv-fact { display: flex; flex-direction: column; gap: 2px; }
.lv-fact-k { font-size: 12px; font-weight: 700; color: var(--cerise, #E91E89); text-transform: uppercase; letter-spacing: .05em; }
.lv-fact-v { font-size: 14.5px; color: var(--ink, #1A1A1A); }

.lv-montessori { background: #FBF6F0; border-radius: 16px; padding: 16px 18px; }
.lv-ma-row { font-size: 14.5px; line-height: 1.6; color: var(--grey, #4A4A4A); margin-bottom: 8px; }
.lv-ma-row strong { color: var(--ink, #1A1A1A); }

.lv-next { text-align: center; background: linear-gradient(135deg, var(--pink, #F8D7DA), var(--pink-mid, #F5A8B8)); border-radius: 20px; padding: 28px 22px; margin: 26px auto; max-width: 480px; }
.lv-next .lv-cta { margin-top: 14px; }

/* -------- Filterpanel (katalog) -------- */
.lv-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.lv-search { flex: 1 1 240px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line, rgba(26,26,26,0.15)); font-family: inherit; font-size: 14.5px; }
.lv-filters { display: flex; flex-wrap: wrap; gap: 16px 22px; background: #fff; border-radius: 16px; padding: 16px 18px; margin-bottom: 20px; box-shadow: 0 4px 14px rgba(26,26,26,0.06); }
.lv-filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 150px; flex: 1 1 150px; }
.lv-filter-group label { font-size: 12px; font-weight: 700; color: var(--cerise, #E91E89); text-transform: uppercase; letter-spacing: .04em; }
.lv-filter-group select, .lv-filter-group input { font-family: inherit; font-size: 14px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line, rgba(26,26,26,0.15)); }
.lv-result-count { font-size: 13.5px; color: var(--grey, #4A4A4A); margin: 0 0 14px; }

@media (max-width: 720px) {
  .lv-filters { display: flex; flex-direction: column; gap: 14px; }
  .lv-filter-group { min-width: 0; }
  .lv-title { font-size: 24px; }
}
