/* Trgovina z vodiči: nadgradnja sloga B2 (assets/styles.css). Brez zunanjih pisav in sledilnikov. */
body.shop { padding-bottom: 0; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--ivory); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.demo-bar { background: var(--butter); color: var(--ink); text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; padding: 7px 12px; border-bottom: 1px solid var(--hair); }
.nav nav { gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a, .navbtn { font-size: 14.5px; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; padding: 6px 0; min-height: 44px; display: inline-flex; align-items: center; }
.navbtn:hover { text-decoration: underline; text-underline-offset: 5px; }
form.inline { display: inline; margin: 0; }
.pad { padding: clamp(36px, 7vw, 76px) 0 clamp(24px, 5vw, 48px); }
.pad.head h1 { margin-bottom: 18px; }
main h1 { margin-bottom: .35em; }
main h1 + .lead, main h1 + p { margin-top: 0; }
.narrow { max-width: 620px; }
.small { font-size: 14px; }
.h2s { font-size: clamp(24px, 4vw, 32px); margin: 44px 0 16px; }
.h3s { font-size: 18px; margin: 0 0 6px; }
.prose p, .prose li { max-width: 40em; }

/* Oznake stanja */
.chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--ink); }
.st-free { background: var(--blue); } .st-on { background: var(--blush); } .st-prep { background: var(--butter); } .st-soon { background: var(--ivory); }

/* Kartice */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; padding-bottom: 56px; }
.card { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; }
.card-cover { display: block; }
.cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--stone); }
.cover-ph { display: grid; place-items: center; background: linear-gradient(135deg, var(--blush), var(--blue)); }
.cover-ph span { font-family: var(--serif); font-style: italic; font-size: 72px; color: var(--ink); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.card-title { font-size: 24px; margin: 0; } .card-title a { text-decoration: none; }
.card-body p { margin: 0; color: var(--soft); }
.card-body .link, .card-body .btn { align-self: flex-start; margin-top: auto; }
.price { font-weight: 700; margin: 0; } .price.big { font-size: 28px; font-family: var(--display); }

/* Kartica »Prihaja kmalu« (AI Reel Studio): SVG grafika samo z razredi, ker CSP ne dovoli inline slogov */
.card-soon { border-style: dashed; border-color: var(--ink); }
.rs-cover { display: block; line-height: 0; }
.rs-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.rs-s1 { stop-color: var(--blush); } .rs-s2 { stop-color: var(--blue); } .rs-s3 { stop-color: var(--butter); }
.rs-body { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.rs-notch { fill: var(--ink); } .rs-play { fill: #fff; stroke: var(--ink); stroke-width: 2; } .rs-tri { fill: var(--ink); }
.rs-cap { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.rs-dot { fill: var(--stone); stroke: var(--ink); stroke-width: 1; }
.rs-lane { fill: var(--stone); }
.rs-clip1 { fill: var(--blue); stroke: var(--ink); stroke-width: 1.5; } .rs-clip2 { fill: var(--blush); stroke: var(--ink); stroke-width: 1.5; } .rs-clip3 { fill: var(--butter); stroke: var(--ink); stroke-width: 1.5; }
.rs-wave rect { fill: var(--ink); } .rs-head { fill: var(--ink); }

/* Izdelek */
.product-head { display: grid; gap: 24px; padding: clamp(28px, 6vw, 60px) 0 20px; }
.product-head h1 { margin: 14px 0; font-size: clamp(34px, 7vw, 60px); }
.hero-cover { border-radius: var(--r-l); border: 1px solid var(--hair); }
.product-cols { display: grid; gap: 32px; padding-bottom: 64px; }
.buybox { background: #fff; border: 1px solid var(--ink); border-radius: var(--r-l); padding: 22px; align-self: start; box-shadow: 6px 6px 0 var(--blush); }
.buybox h2 { font-size: 24px; margin-bottom: 4px; }
.buy-form { display: flex; flex-direction: column; gap: 10px; }
.buy-form label { font-weight: 600; font-size: 15px; }
.buy-form input:not([type=checkbox]):not([type=radio]), .admin-form input:not([type=checkbox]):not([type=file]), .admin-form textarea, .admin-form select, .inline-row input, .inline-row select {
  width: 100%; font: inherit; padding: 13px 14px; min-height: 48px; border: 1px solid var(--ink); border-radius: var(--r-s); background: var(--ivory); color: var(--ink); }
fieldset { border: 1px solid var(--hair); border-radius: var(--r-s); padding: 8px 14px 12px; margin: 0; }
legend { font-weight: 700; font-size: 14px; padding: 0 6px; }
.opt { display: flex; gap: 10px; align-items: center; min-height: 44px; font-weight: 500 !important; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; line-height: 1.45; padding: 6px 0; }
.chk input { width: 24px; height: 24px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--ink); }
.consent { background: var(--stone); border-radius: var(--r-s); padding: 12px; }
.note { background: var(--butter); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px 16px; }
.note p { margin: 4px 0 8px; } .note.err { background: #fde3e3; border-color: #b53a3a; }
.mod h3 { font-size: 18px; margin: 20px 0 8px; }
.lessons { list-style: none; margin: 0; padding: 0; }
.lessons li { padding: 9px 0; border-bottom: 1px solid var(--hair); font-size: 16px; }
.lk { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; background: var(--stone); border-radius: 6px; padding: 2px 7px; margin-right: 8px; }
.faq details { border-bottom: 1px solid var(--hair); padding: 14px 0; } .faq summary { font-weight: 700; cursor: pointer; min-height: 32px; }
.video-ph { aspect-ratio: 16/9; background: var(--ink); color: var(--ivory); border-radius: var(--r-m); display: grid; place-items: center; text-align: center; padding: 24px; margin: 0 0 20px; }
.video-ph p { color: #d9d4cc; max-width: 30em; margin: 6px auto 0; }

/* Učilnica */
.classroom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 0 64px; } .lesson-view { min-width: 0; } .lesson-view pre.code { background: var(--ink); color: var(--ivory); border-radius: var(--r-m); padding: 16px 18px; overflow-x: auto; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; margin: 14px 0; } .lesson-view pre.code code { background: none; padding: 0; color: inherit; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; } .lesson-view code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; background: var(--stone); padding: 1px 6px; border-radius: 5px; }
.course-nav { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 18px; align-self: start; }
.course-nav a { display: flex; gap: 10px; text-decoration: none; padding: 9px 4px; min-height: 44px; align-items: center; border-radius: 6px; }
.course-nav li.cur a { background: var(--blush); font-weight: 700; padding-left: 10px; }
.tick { width: 18px; flex: 0 0 auto; }
.lesson-view h1 { font-size: clamp(30px, 6vw, 46px); margin: 6px 0 20px; }
.lesson-actions { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.pn { display: flex; justify-content: space-between; gap: 12px; }
.bar { height: 10px; background: var(--stone); border-radius: 999px; overflow: hidden; border: 1px solid var(--hair); } .bar i { display: block; height: 100%; background: var(--ink); width: 0; }

/* Administracija */
.admin-head { padding-top: 26px; } .admin-head h1 { font-size: clamp(30px, 5vw, 44px); }
.admin-form { display: flex; flex-direction: column; gap: 14px; max-width: 760px; background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 20px; }
.admin-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; } .admin-form label.chk { flex-direction: row; }
.two { display: grid; gap: 14px; grid-template-columns: 1fr; }
.inline-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0; } .inline-row input { flex: 1 1 200px; width: auto; } .grow { flex: 1; }
.modbox { border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px; margin: 14px 0; background: #fff; }
.lesson-rows { margin: 10px 0 6px 22px; padding: 0; } .lesson-rows li { padding: 4px 0; }
.btn-sm { padding: 9px 14px; font-size: 14px; min-height: 44px; }
.btn[disabled] { opacity: .35; cursor: not-allowed; }
.danger { border-color: #8a2d2d; color: #8a2d2d; } .danger:hover { background: #8a2d2d; color: #fff; }
.errtxt { color: #8a2d2d; font-size: 13px; }
.thumb { height: 48px; width: auto; border-radius: 6px; vertical-align: middle; }
.stats { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 20px 0; }
.stat { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 16px; } .stat b { display: block; font-size: 30px; font-family: var(--display); } .stat span { color: var(--soft); font-size: 14px; }
.stat.warn { background: var(--butter); border-color: var(--ink); }
.tbl { border-collapse: collapse; width: 100%; font-size: 14.5px; background: #fff; border: 1px solid var(--hair); } .tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair); vertical-align: top; } .tbl th { background: var(--stone); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.shop-foot { border-top: 1px solid var(--hair); margin-top: 40px; padding: 26px 0; color: var(--soft); font-size: 14px; }
.mail { border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px; margin: 12px 0; background: #fff; } .mail pre { white-space: pre-wrap; word-break: break-word; font: inherit; margin: 0; }
.devlinks { display: flex; gap: 18px; list-style: none; padding: 0; flex-wrap: wrap; }
body.mock .buy-form .btn { width: 100%; }

@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(5, 1fr); }
  .two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .product-head { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; }
  .product-cols { grid-template-columns: 1fr 380px; gap: 56px; }
  .buybox { position: sticky; top: 90px; }
  .classroom { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
  .course-nav { position: sticky; top: 90px; }
}
@media (max-width: 600px) {
  .nav .wrap { flex-wrap: wrap; } .nav nav { gap: 10px 16px; }
  .buybox { box-shadow: 4px 4px 0 var(--blush); }
  .btn { width: 100%; }
  .inline-row .btn { width: auto; }
}

/* Pravne strani */
.legal h2 { font-size: clamp(22px, 3.6vw, 28px); margin: 34px 0 10px; }
.legal blockquote { margin: 14px 0; padding: 14px 18px; background: var(--stone); border-left: 4px solid var(--ink); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 16px; }
.legal ul { padding-left: 22px; } .legal li { margin: 6px 0; }
.toc { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px 18px; margin: 18px 0 8px; } .toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.foot-links { margin-top: 6px; } .shop-foot p { margin: 4px 0; }

.prose pre.code { background: var(--ink); color: var(--ivory); border-radius: var(--r-m); padding: 16px 18px; overflow-x: auto; font-size: 14.5px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; margin: 14px 0; }
.prose code { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: .92em; background: var(--stone); padding: 1px 6px; border-radius: 5px; } .prose pre.code code { background: none; padding: 0; color: inherit; }
.prose ol { padding-left: 24px; } .prose li.ck { list-style: none; margin-left: -22px; } .prose h4 { margin: 20px 0 6px; font-size: 18px; }

/* Interaktivni vodič: izbira poti, vprašalnik, generator, knjižnica promptov, ponudniki */
.codewrap { position: relative; } .codewrap .copy { position: absolute; top: 22px; right: 8px; z-index: 1; min-height: 36px; padding: 6px 12px; font-size: 13px; border-radius: 999px; border: 1px solid var(--hair); background: var(--ivory); color: var(--ink); cursor: pointer; }
.codewrap pre.code { padding-top: 44px; }
.pot-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 14px 0; }
.pot-card { border: 1px solid var(--hair); border-radius: var(--r-m); padding: 14px 16px; } .pot-card.on { border-color: var(--ink); background: var(--butter); }
.pot-card legend { font-weight: 700; padding: 0 6px; } .pot-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.qform fieldset.q { border: 1px solid var(--hair); border-radius: var(--r-m); padding: 12px 16px; margin: 0 0 14px; } .qform legend { font-weight: 700; padding: 0 6px; }
.qform textarea, .qform .other input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; min-height: 44px; } .qform input[type=radio], .qform input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--ink); } .qform .other { display: block; margin-top: 8px; font-size: 14px; } .req { color: #b53a3a; }
.saved { margin-left: 12px; font-size: 14px; }
.pcard, .prov { border: 1px solid var(--hair); border-radius: var(--r-m); padding: 12px 16px; margin: 0 0 14px; } .pcard h4, .prov h4 { margin: 0 0 6px; }
.prov dl { margin: 6px 0; } .prov dt { font-weight: 700; font-size: 14px; } .prov dd { margin: 0 0 6px; }
.pathline { margin: 0 0 8px; } figure.shot { margin: 16px 0; } figure.shot img { max-width: 100%; height: auto; border: 1px solid var(--hair); border-radius: var(--r-m); } figure.shot figcaption { font-size: 13px; color: var(--muted, #666); }

.course-nav summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; } .course-nav details[open] > summary { margin-bottom: 8px; }

/* ===== Lekcija: stalni razdelki, koraki, navodila za AI, preglednice (UX faza 1 in 2) ===== */
.lesson-view { max-width: 760px; }
.lesson-view > p, .ls-b > p { margin: 0 0 14px; }
.lesson-view ul, .lesson-view ol { padding-left: 26px; margin: 0 0 14px; }
.lesson-view li { margin: 6px 0; } .lesson-view li > ul, .lesson-view li > ol { margin: 8px 0 4px; }
.lesson-view h3.lh { font-size: 24px; margin: 34px 0 10px; }

.ls-goal { background: #fff; border: 1px solid var(--hair); border-left: 5px solid var(--ink); border-radius: var(--r-m); padding: 16px 20px; margin: 0 0 26px; }
.ls-goal-l { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 4px; }
.ls-goal p { margin: 0; font-size: 19px; line-height: 1.5; font-weight: 600; }

.ls { margin: 30px 0; }
.ls-h { font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; margin: 0 0 12px; }
h5.ls-h { font-size: 18px; }
.ls-b > :last-child { margin-bottom: 0; }

.ls-steps > .ls-b > ol { padding-left: 34px; }
.ls-steps > .ls-b > ol > li { padding: 12px 0 12px 6px; margin: 0; border-top: 1px solid var(--hair); }
.ls-steps > .ls-b > ol > li:first-child { border-top: 0; padding-top: 4px; }
.ls-steps > .ls-b > ol > li::marker { font-weight: 800; font-size: 1.08em; }

.ls-expect { background: rgba(199, 228, 245, .38); border: 1px solid var(--hair); border-radius: var(--r-m); padding: 18px 20px; }
.ls-check { background: #fff; border: 1px solid var(--hair); border-radius: var(--r-m); padding: 18px 20px; }
.ls-expect .ls-h, .ls-check .ls-h { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; }
.lesson-view ul.cklist { list-style: none; padding-left: 0; }
.lesson-view li.ck { display: flex; gap: 12px; align-items: flex-start; list-style: none; margin: 10px 0; }
.lesson-view li.ck .box { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 4px; border: 1.5px solid var(--ink); border-radius: 5px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }

.ls-help { border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--stone); }
.ls-help > summary { cursor: pointer; font-weight: 800; font-size: 18px; padding: 16px 20px; min-height: 44px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ls-help > summary::-webkit-details-marker { display: none; }
.ls-help > summary::after { content: "+"; font-size: 24px; font-weight: 400; line-height: 1; }
.ls-help[open] > summary::after { content: "–"; }
.ls-help > .ls-b { padding: 0 20px 18px; }

.lesson-view .callout { background: rgba(245, 230, 183, .55); border-left: 5px solid #C9A227; border-radius: 0 var(--r-s) var(--r-s) 0; padding: 14px 18px; }

.lesson-view .codewrap { background: var(--ink); border-radius: var(--r-m); overflow: hidden; margin: 14px 0; position: relative; }
.lesson-view .codebar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 8px 10px 8px 18px; border-bottom: 1px solid rgba(255, 249, 241, .14); }
.lesson-view .codelbl { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #d9d4cc; }
.lesson-view .codewrap .copy { position: static; min-height: 44px; padding: 8px 16px; font-size: 14px; font-weight: 700; border-radius: 999px; border: 1px solid var(--ivory); background: var(--ivory); color: var(--ink); cursor: pointer; }
.lesson-view .codewrap pre.code { margin: 0; border-radius: 0; padding: 16px 18px; font-size: 14.5px; }
.lesson-view .codewrap.clip pre.code { max-height: 250px; overflow: hidden; }
.lesson-view .codewrap.clip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 46px; height: 70px; background: linear-gradient(rgba(48, 50, 59, 0), var(--ink)); pointer-events: none; }
.lesson-view .codewrap .more { display: block; width: 100%; min-height: 46px; border: 0; border-top: 1px solid rgba(255, 249, 241, .14); background: #3b3d48; color: var(--ivory); font: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; position: relative; z-index: 1; }
.lesson-view .codewrap .more[hidden] { display: none; }

.tblwrap { margin: 14px 0; overflow-x: auto; }
.ltbl { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--hair); font-size: 16px; }
.ltbl th { text-align: left; background: var(--stone); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 14px; }
.ltbl td { padding: 12px 14px; border-top: 1px solid var(--hair); vertical-align: top; }
.ltbl td:first-child { font-weight: 800; white-space: nowrap; }

.lesson-view .pcard, .lesson-view .prov { background: #fff; padding: 16px 18px; }
.lesson-view .pcard h4, .lesson-view .prov h4 { font-size: 18px; }
.pot-grid .pot-card:first-child { border: 2px solid var(--ink); background: #fff; }
.pot-tools .btn { min-height: 46px; }
.lesson-actions { border-top: 1px solid var(--hair); padding-top: 28px; }

@media (max-width: 599px) {
  .ltbl thead { position: absolute; left: -9999px; }
  .ltbl, .ltbl tbody, .ltbl tr, .ltbl td { display: block; }
  .ltbl tr { border-top: 1px solid var(--hair); padding: 10px 14px; } .ltbl tr:first-child { border-top: 0; }
  .ltbl td { border: 0; padding: 2px 0; white-space: normal !important; }
  .ltbl td::before { content: attr(data-th) ": "; font-weight: 700; color: var(--soft); }
  .ls-goal p { font-size: 18px; }
  .ls-expect, .ls-check, .ls-goal { padding: 16px; }
  .pn { flex-direction: column-reverse; gap: 14px; }
  .pn .link { display: block; border: 1px solid var(--ink); border-radius: var(--r-s); padding: 14px 16px; text-align: center; }
  .pot-tools .btn { width: 100%; }
}
/* Primeri izdelane strani v opisu izdelka in lekcijah */
figure.shot { margin: 18px 0; } figure.shot img { display: block; width: 100%; box-shadow: 0 10px 28px rgba(48, 50, 59, .10); }
figure.shot img[src$="telefon.jpg"] { width: min(300px, 80%); }
figure.shot figcaption { margin-top: 8px; line-height: 1.45; color: var(--soft); }

/* PR-2: kopiranje in dostopnost */
.copy-msg.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.copy-msg.fail { display: block; flex-basis: 100%; box-sizing: border-box; margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff3d6; color: var(--ink); font-size: 14px; font-weight: 600; }
.lesson-view .codewrap .copy:focus-visible, .lesson-view .codewrap .more:focus-visible { outline: 3px solid var(--ivory); outline-offset: 2px; }
