/* 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); }

/* 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); }

/* 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; gap: 24px; padding: 28px 0 64px; }
.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 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; }
}
