/* Storefront-specific styling. Everything structural comes from the shared
   design system; this file only adds what a shop needs and nothing else has. */

.sk-wordmark { font-weight: 700; color: var(--navy); margin-left: .4rem; }

.sk-course-card { display: flex; flex-direction: column; gap: .6rem; }
.sk-course-card h2 a { color: var(--navy); text-decoration: none; }
.sk-course-card h2 a:hover { text-decoration: underline; }

.sk-price { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.sk-price__net { font-size: 1.35rem; color: var(--ink); }
.sk-price--lg .sk-price__net { font-size: 2rem; }
.sk-price__list { color: var(--muted); }

.sk-course { display: grid; grid-template-columns: minmax(0,1fr) 20rem; gap: 2rem; align-items: start; }
.sk-buybox { position: sticky; top: 1.5rem; }

.sk-list { padding-left: 1.15rem; color: var(--body); line-height: 1.7; }
.sk-list li { margin-bottom: .35rem; }
.sk-prose { color: var(--body); line-height: 1.75; }

/* The buy box below the content on a phone — a sticky sidebar on a 375px
   screen covers the thing the buyer is trying to read. */
@media (max-width: 860px) {
  .sk-course { grid-template-columns: 1fr; }
  .sk-buybox { position: static; }
}

.sk-error {
  background: #fdecea; border: 1px solid var(--red); color: var(--red);
  padding: .6rem .8rem; border-radius: 8px; margin-bottom: 1rem;
}
.sk-notice {
  border-left: 4px solid var(--orange); background: var(--orange-tint);
  margin-bottom: 1.5rem;
}

.sk-summary { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; }
.sk-summary td { padding: .45rem 0; color: var(--body); }
.sk-summary td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.sk-summary__total td { border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }

/* ---- staff screens ---- */
.sk-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.sk-table th, .sk-table td {
  text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.sk-table th {
  background: var(--navy); color: #fff; font-size: .82rem; letter-spacing: .02em;
}
.sk-table td:nth-child(n+3) { font-variant-numeric: tabular-nums; }
.sk-row--current { background: var(--green-tint); }
.sk-netbox {
  background: var(--navy-tint); border: 1px solid var(--line);
  border-radius: 10px; padding: .25rem .9rem; margin: 1rem 0;
}
