/* Course site (SityLink Academy) and shop site (SityLink Shop), on top of app.css and landing.css. */
.st-brand { font-weight: 700; color: var(--ink); }
.st-brand b { color: var(--primary); }
.st-links { display: flex; gap: 18px; margin-left: 8px; }
.st-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 6px 2px; border-bottom: 2px solid transparent; }
.st-links a.on, .st-links a:hover { color: var(--primary); border-color: var(--primary); }
.st-cart { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--ink); }
.st-cart .icon { width: 22px; height: 22px; }
.st-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.st-out { margin: 0; }
.st-hero { padding: 48px 0 40px; }
.st-hero h1 { max-width: 22ch; }
.st-narrow .st-card { max-width: 440px; margin: 0 auto; }
.st-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.st-card.flush { padding: 0; overflow: hidden; }
.st-auth h1 { margin-top: 0; }
.st-resend { margin-top: 8px; }

/* Grids of courses and products */
.st-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.st-grid-p { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.st-tile { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
a.st-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 12px 28px rgba(15, 23, 42, .12); color: var(--ink); }
.st-tile-body { padding: 14px 16px 18px; display: grid; gap: 6px; align-content: start; }
.st-tile h2 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.st-tile p { margin: 0; }
.st-cover, .st-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); display: block; }
.st-ph { aspect-ratio: 1; object-fit: contain; padding: 10px; background: #fff; }
.st-cover-blank { display: grid; place-items: center; color: var(--muted); }
.st-cover-blank .icon { width: 42px; height: 42px; opacity: .5; }
.st-cover-lg { border-radius: 18px; box-shadow: var(--shadow); }
.st-chip { display: inline-block; justify-self: start; font-size: .75rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.st-meta { color: var(--muted); font-size: .88rem; }
.st-price { font-size: 1.05rem; }
.st-big { font-size: 1.9rem; font-weight: 800; margin: 0 0 4px; }
.st-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.st-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .92rem; }
.st-chips a.on, .st-chips a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.st-chips small { opacity: .7; }
.st-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-bottom: 26px; }
.st-cats a { text-decoration: none; color: var(--ink); }
.st-search { display: flex; gap: 8px; max-width: 560px; margin: 22px 0 0; }
.st-search input { flex: 1; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2, var(--line)); background: var(--surface); color: var(--ink); font: inherit; }
.st-ship { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--green-bg, var(--primary-soft)); max-width: 640px; }
.st-ship .icon { width: 26px; height: 26px; flex: none; stroke: var(--green, var(--primary)); }

/* Course page */
.st-course-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.st-facts { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); }
.st-facts li { display: flex; gap: 6px; align-items: center; }
.st-facts .icon { width: 18px; height: 18px; stroke: var(--primary); }
.st-course-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.st-course-grid > aside { position: sticky; top: 86px; }
.st-prose { line-height: 1.65; max-width: 72ch; }
.st-prose h3 { margin: 1.4em 0 .4em; }
.st-prose code { background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.st-outline { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.st-outline > li { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.st-outline h3 { margin: 0; padding: 12px 16px; font-size: 1rem; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.st-outline ul { list-style: none; margin: 0; padding: 4px 0; }
.st-outline ul li > a, .st-outline ul li > span { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 9px 16px; color: var(--ink); text-decoration: none; }
.st-outline ul li > a:hover { background: var(--primary-soft); }
.st-outline li.on > a { background: var(--primary-soft); font-weight: 600; }
.st-outline li.done .st-l-ic .icon { stroke: var(--ok); }
.st-l-ic .icon { width: 18px; height: 18px; stroke: var(--muted); }
.st-l-m { color: var(--muted); font-size: .82rem; text-align: right; }
.st-locked { opacity: .65; }
.st-buy form { margin-top: 12px; }
progress.st-bar { width: 100%; height: 8px; border-radius: 999px; border: 0; background: var(--surface-2); overflow: hidden; appearance: none; }
progress.st-bar::-webkit-progress-bar { background: var(--surface-2); border-radius: 999px; }
progress.st-bar::-webkit-progress-value { background: var(--ok, #16a34a); border-radius: 999px; }
progress.st-bar::-moz-progress-bar { background: var(--ok, #16a34a); border-radius: 999px; }

/* Lesson player */
.st-learn { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding-block: 28px 60px; align-items: start; }
.st-side { position: sticky; top: 86px; max-height: calc(100vh - 100px); overflow: auto; display: grid; gap: 10px; }
.st-side h2 { font-size: 1.05rem; margin: 0; }
.st-back { text-decoration: none; font-weight: 600; }
.st-side-outline summary { cursor: pointer; font-weight: 600; margin-bottom: 8px; }
.st-side .st-outline ul li > a, .st-side .st-outline ul li > span { grid-template-columns: 22px 1fr; padding: 7px 12px; font-size: .92rem; }
.st-side .st-l-m { display: none; }
.st-kind { color: var(--muted); display: flex; gap: 6px; align-items: center; margin: 0; }
.st-kind .icon { width: 18px; height: 18px; }
.st-lesson h1 { margin: 6px 0 18px; }
.st-video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; box-shadow: var(--shadow); margin-bottom: 18px; }
.st-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st-done { margin: 22px 0; }
.st-pulse { animation: st-pulse 1.2s ease-in-out 3; }
@keyframes st-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--primary) 30%, transparent); } }
.st-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.st-pager a { text-decoration: none; font-weight: 600; max-width: 45%; }
.st-deck { display: grid; gap: 16px; outline: none; }
.st-slide { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.st-slide img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 10px; background: #fff; display: block; }
.st-slide h3 { margin: 12px 0 4px; }
.st-slide-n { color: var(--muted); font-size: .82rem; text-align: right; margin: 6px 0 0; }
.st-deck-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.st-deck-js { min-height: 200px; }
.st-quiz { display: grid; gap: 16px; }
.st-q { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--surface); margin: 0; }
.st-q legend { font-weight: 600; padding: 0 4px; }
.st-q.right { border-color: var(--ok); }
.st-q.wrong { border-color: var(--danger, #dc2626); }
.st-opt { display: flex; gap: 10px; align-items: flex-start; padding: 7px 4px; cursor: pointer; }
.st-opt input { margin-top: 4px; }
.st-right { color: var(--ok); font-size: .85rem; display: inline-flex; gap: 4px; align-items: center; }
.st-right .icon { width: 14px; height: 14px; stroke: var(--ok); }
.st-explain { margin: 8px 0 0; padding: 8px 12px; background: var(--surface-2); border-radius: 10px; font-size: .92rem; }
.st-pass { border-color: var(--ok); }
.st-fail { border-color: var(--warn, #d97706); }
.st-sub .pre, .pre { white-space: pre-wrap; }
.st-cert { max-width: 760px; margin: 0 auto; text-align: center; padding: 48px 32px; border: 6px double var(--primary); border-radius: 20px; background: var(--surface); }
.st-cert h1 { font-size: 2.2rem; margin: 6px 0; }
.st-cert-k { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--primary); }
.st-cert-actions { text-align: center; margin-top: 18px; }

/* Shop: product, cart, checkout */
.st-crumbs { color: var(--muted); margin: 0 0 14px; }
.st-product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.st-gallery { display: grid; gap: 10px; }
.st-main { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.st-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.st-thumbs button { padding: 0; border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; width: 64px; height: 64px; overflow: hidden; }
.st-thumbs button.on { border-color: var(--primary); }
.st-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.st-add { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin: 18px 0 6px; }
.st-qty input { width: 90px; }
.st-pdesc { margin-top: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.st-specs th { width: 40%; color: var(--muted); font-weight: 600; }
.st-thumb { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 10px; border: 1px solid var(--line); display: inline-grid; place-items: center; }
.st-cart-t td { vertical-align: middle; }
.st-cart-t .num { text-align: right; }
.st-qty-f { display: flex; gap: 6px; align-items: center; }
.st-qty-f input { width: 70px; }
.st-row { display: flex; justify-content: space-between; gap: 12px; margin: 6px 0; }
.st-total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px; font-size: 1.1rem; }
.st-methods { border: 0; padding: 0; margin: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-method { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.st-method:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.st-method span { display: grid; }
.st-method small { color: var(--muted); }
.st-order { max-width: 640px; margin: 0 auto; }

/* Admin site helpers */
.st-admin-cover { max-width: 100%; border-radius: 12px; margin-bottom: 10px; }
.st-admin-sec { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.st-admin-sec-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.st-admin-lessons { margin: 10px 0 12px 1.4em; padding: 0; display: grid; gap: 4px; }
.st-admin-lessons li form { display: inline; }
.st-num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-weight: 700; margin-right: 6px; }
.st-admin-slide { display: grid; grid-template-columns: 34px 180px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.st-admin-slide img, .st-admin-noimg { width: 180px; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; color: var(--muted); }
.st-admin-q { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.st-admin-photos { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.st-admin-photos figure { margin: 0; width: 150px; display: grid; gap: 6px; }
.st-admin-photos img { width: 150px; height: 150px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.st-model input { max-width: 140px; }

/* Business dashboard recommendations */
.rec-block { margin-bottom: 18px; }
.rec-title { display: flex; gap: 8px; align-items: center; font-size: 1.05rem; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-bottom: 22px; }
.rec-card { border-left: 4px solid var(--amber, #d97706); display: grid; gap: 8px; }
.rec-card h3 { margin: 0; font-size: 1.02rem; }
.rec-card p { margin: 0; }
.rec-head { display: flex; gap: 12px; align-items: center; }
.rec-ic { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--amber-bg, var(--primary-soft)); flex: none; }
.rec-ic .icon { stroke: var(--amber, var(--primary)); }
.rec-product { display: grid; grid-template-columns: 56px 1fr 20px; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface-2); }
.rec-product:hover { border-color: var(--primary); color: var(--ink); }
.rec-product img, .rec-noimg { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 8px; display: grid; place-items: center; }
.rec-product span { display: grid; }
.rec-product small { color: var(--muted); }
.rec-go { transform: rotate(90deg); }
.rec-dismiss { justify-self: end; }
.rec-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.rec-p { display: grid; gap: 6px; text-decoration: none; color: var(--ink); margin: 0; }
.rec-p img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }

@media (max-width: 900px) {
  .st-course-head, .st-course-grid, .st-product, .st-learn, .st-pdesc { grid-template-columns: 1fr; }
  .st-course-grid > aside, .st-side { position: static; max-height: none; }
  .st-links { display: none; }
  .st-admin-slide { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .st-methods { grid-template-columns: 1fr; }
  .st-brand { display: none; }
}
@media print {
  .lp-top, .lp-foot, .st-cert-actions { display: none !important; }
  .st-cert { border-color: #2563eb; }
}
@media (min-width: 1121px) { .st-menu { display: none !important; } }
@media (max-width: 1120px) { .st-menu { display: block; } }
.st-pair { display: flex; gap: 8px; }
.st-pair .input { flex: 1; }
.st-unit { max-width: 110px; }
.st-methods-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .st-methods-3 { grid-template-columns: 1fr; } }
.st-invoice { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); max-width: 900px; margin: 0 auto; }
.st-inv-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 2px solid var(--primary); padding-bottom: 14px; }
.st-inv-head h1 { margin: 0; }
.st-inv-to, .st-inv-plan { margin-top: 16px; }
.st-inv-plan h2 { font-size: 1.05rem; }
.st-inv-table { margin-top: 16px; }
.st-inv-table .num { text-align: right; white-space: nowrap; }
.st-inv-sub td { background: var(--surface-2); }
.st-inv-table tfoot td { font-size: 1.15rem; border-top: 2px solid var(--line); }
.st-inv-actions { justify-content: center; }
@media print { .st-inv-actions, .st-menu { display: none !important; } .st-invoice { box-shadow: none; border: 0; } }

/* Estimate form: questions shown for indoors, outdoors or both. */
[data-when][hidden], [data-when-internet][hidden] { display: none !important; }

/* Instructors and support team. */
.st-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; margin-bottom: 28px; }
.st-person { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--shadow); }
.st-person h3 { margin: 0; }
.st-person p { margin: 4px 0; }
.st-person-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; display: inline-grid; place-items: center; }
.st-person-lg { width: 76px; height: 76px; }
.st-person-blank { background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: 1.4rem; }
.st-person-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px !important; }
.st-socials { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.st-socials .st-chip { text-decoration: none; }
.st-people-admin { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.st-people-admin li { display: flex; gap: 12px; align-items: center; }
.st-included { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.st-included li a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: inherit; background: var(--surface); }
.st-kind-h { margin: 28px 0 12px; }

/* Home page carousel (shop and courses). */
.st-carousel { position: relative; margin: 0 0 26px; }
.st-car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 14px; border-radius: 20px; scrollbar-width: none; }
.st-car-track::-webkit-scrollbar { display: none; }
.st-car-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 22px; padding: 22px; min-height: 260px; border-radius: 20px; background: linear-gradient(135deg, var(--primary-soft), var(--surface)); border: 1px solid var(--line); color: inherit; text-decoration: none; }
.st-car-slide img, .st-car-blank { width: 100%; height: 240px; object-fit: contain; border-radius: 14px; background: #fff; }
.st-car-blank { display: grid; place-items: center; background: var(--primary); color: #fff; }
.st-car-blank .icon { width: 72px; height: 72px; }
.st-car-text { display: grid; gap: 8px; justify-items: start; }
.st-car-text strong { font-size: clamp(1.25rem, 3vw, 1.9rem); line-height: 1.2; }
.st-car-sub { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-car-price { font-weight: 800; font-size: 1.2rem; }
.st-car-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 10px; }
.st-car-nav[hidden] { display: none; }
.st-car-nav .icon-btn { font-size: 1.4rem; line-height: 1; }
.st-car-dots { display: flex; gap: 6px; }
.st-car-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--line); cursor: pointer; }
.st-car-dots button.on { background: var(--primary); width: 22px; border-radius: 5px; }
@media (max-width: 640px) {
  .st-car-slide { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .st-car-slide img, .st-car-blank { height: 180px; }
}
@media (prefers-reduced-motion: reduce) { .st-car-track { scroll-behavior: auto; } }

/* Shop hero: the promise on the left, a grid of real shop content on the right. */
.shop-hero { padding: 40px 0 48px; }
.shop-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.shop-pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--primary); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; box-shadow: var(--shadow); }
.shop-pill .icon { width: 16px; height: 16px; }
.shop-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.03em; max-width: 14ch; margin: 0 0 16px; }
.shop-hero .lp-lead { max-width: 46ch; }
.shop-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 18px; }
.shop-hero .st-search { max-width: 520px; }
.shop-trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: .9rem; }
.shop-trust li { display: inline-flex; align-items: center; gap: 8px; }
.shop-trust .icon { width: 18px; height: 18px; color: var(--primary); }

.shop-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "feature image" "stat image" "list brands"; gap: 14px; }
.bento-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 16px; color: inherit; text-decoration: none; overflow: hidden; }
a.bento-card { transition: transform .25s ease, box-shadow .25s ease; }
a.bento-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(15, 23, 42, .14); }
.bento-feature { grid-area: feature; display: grid; gap: 8px; }
.bento-photo { display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, var(--primary-soft), var(--cyan-bg)); aspect-ratio: 4 / 3; overflow: hidden; }
.bento-photo img { width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(15, 23, 42, .18)); transition: transform .35s ease; }
.bento-feature:hover .bento-photo img { transform: scale(1.04) rotate(-1deg); }
.bento-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bento-name { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bento-row .badge { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.bento-row .badge .icon { width: 12px; height: 12px; }
.bento-price { font-size: 1.45rem; letter-spacing: -.01em; }
.bento-image { grid-area: image; position: relative; padding: 0; min-height: 320px; }
.bento-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 35%; }
.bento-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: #0f172a; font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bento-tag .icon { width: 18px; height: 18px; color: var(--primary); }
.bento-stat { grid-area: stat; display: grid; align-content: center; gap: 2px; text-align: center; color: #fff; border: 0; background: radial-gradient(120% 120% at 0% 0%, #38bdf8 0%, #2563eb 45%, #1e3a8a 100%); }
.bento-stat-n { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.bento-stat-l { font-weight: 600; }
.bento-stat-s { font-size: .8rem; opacity: .85; }
.bento-list { grid-area: list; padding: 14px 14px 8px; }
.bento-list-head { display: flex; justify-content: space-between; font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 4px 8px; border-bottom: 1px solid var(--line); }
.bento-list ul { list-style: none; margin: 0; padding: 0; }
.bento-list li a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 7px 4px; border-radius: 10px; color: inherit; text-decoration: none; }
.bento-list li a:hover { background: var(--primary-soft); }
.bento-list img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.bento-list-name { font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bento-list-price { font-size: .85rem; font-weight: 700; }
.bento-brands { grid-area: brands; display: grid; align-content: start; gap: 10px; }
.bento-brands-l { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.bento-brand-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bento-brand { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2, var(--surface)); color: inherit; text-decoration: none; font-size: .8rem; font-weight: 600; }
.bento-brand:hover { border-color: var(--primary); color: var(--primary); }
.bento-brand img { width: 18px; height: 18px; border-radius: 4px; background: #fff; }
@media (max-width: 980px) {
  .shop-hero-grid { grid-template-columns: 1fr; }
  .shop-hero h1 { max-width: 18ch; }
}
@media (max-width: 560px) {
  .shop-bento { grid-template-columns: 1fr 1fr; grid-template-areas: "feature feature" "image stat" "list list" "brands brands"; }
  .bento-image { min-height: 200px; }
  .bento-tag { display: none; }
}

/* Shop and Academy menu (☰ sits left, next to the logo): open it to the right so it stays on screen, above everything. */
.st-menu { position: relative; }
.st-menu nav { left: 0; right: auto; max-width: calc(100vw - 24px); z-index: 70; }
.lp-top { z-index: 65; }

/* Product cards: details open the product; a round + on the photo adds to the cart; Buy now and Read more underneath. */
.st-prod { position: relative; display: flex; flex-direction: column; }
.st-prod:hover { transform: translateY(-2px); box-shadow: var(--shadow), 0 12px 28px rgba(15, 23, 42, .12); }
.st-prod-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.st-prod-plus { position: absolute; top: 10px; right: 10px; margin: 0; z-index: 2; }
.st-prod-plus button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .4); cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.st-prod-plus button:hover { transform: scale(1.1); filter: brightness(1.08); }
.st-prod-plus .icon { width: 18px; height: 18px; stroke-width: 2.6; }
.st-prod-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px 12px; margin-top: auto; }
.st-prod-actions form { margin: 0; min-width: 0; }
.st-prod-actions .btn { width: 100%; min-width: 0; justify-content: center; padding-left: 8px; padding-right: 8px; white-space: nowrap; font-size: .82rem; }
.st-prod-actions .btn-secondary { border: 1px solid var(--line-2, var(--line)); }
.st-prod-actions > :only-child { grid-column: 1 / -1; }

/* Estimate: what the billing software costs */
.est-billing { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--line)); border-left: 4px solid var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--surface)); }
.est-billing-t { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 700; color: var(--ink); }
.est-billing-t .icon { stroke: var(--primary); }
.est-billing ul { margin: 0 0 6px; padding-left: 20px; display: grid; gap: 3px; }
.est-billing p.small { margin: 0; }

/* Subscriptions site */
.sb-mark { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 7; background: var(--tint, var(--primary)); color: #fff; font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; padding: 0 12px; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.sb-mark-lg { width: 96px; height: 96px; aspect-ratio: auto; border-radius: 22px; font-size: 2.1rem; flex: none; box-shadow: var(--shadow); }
.sb-head { display: flex; gap: 20px; align-items: center; }
.sb-head h1 { margin: 0 0 4px; }
.sb-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.sb-cats .st-chip { text-decoration: none; padding: 5px 12px; font-size: .85rem; }
.sb-cats .st-chip.on { background: var(--primary); color: #fff; }
.sb-cat-h { margin: 26px 0 12px; font-size: 1.15rem; }
.sb-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.sb-tile h3 { margin: 0; font-size: 1.05rem; }
.sb-from { margin-top: 4px !important; color: var(--muted); }
.sb-from strong { color: var(--ink); font-size: 1.05rem; }
.sb-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.sb-steps li { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.sb-step { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; }
.sb-plans { display: grid; gap: 10px; border: 0; padding: 0; margin: 0 0 14px; }
.sb-plan { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; }
.sb-plan .sb-price { white-space: nowrap; }
.sb-price { text-align: right; align-items: flex-end; }
.sb-price strong { font-size: 1.05rem; }
.sb-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sb-list li { display: flex; gap: 10px; align-items: flex-start; }
.sb-list .icon { flex: none; stroke: var(--green); margin-top: 2px; }
@media (max-width: 560px) { .sb-head { flex-direction: column; align-items: flex-start; } .sb-mark-lg { width: 72px; height: 72px; font-size: 1.6rem; } }
.sb-mark { overflow: hidden; }
.sb-logo img { width: 64px; height: 64px; }
.sb-mark-lg.sb-logo img { width: 54px; height: 54px; }
.sb-photo { place-items: stretch; }
.sb-photo img { width: 100%; height: 100%; object-fit: cover; }
