/* Webstore: offer, cart, product pages and blocks. Colours come from the active template (--wm-*) with Bootstrap fallbacks. */
:root {
    --ws-head: var(--wm-head, #0f4c81);
    --ws-head-2: var(--wm-head-2, #1479cc);
    --ws-lime: var(--wm-lime, #8cc63f);
    --ws-leaf: var(--wm-leaf, #4b7f12);
    --ws-ember: var(--wm-ember, #d24000);
    --ws-paper: var(--wm-paper, var(--bs-tertiary-bg, #f3f6f9));
    --ws-surface: var(--wm-surface, var(--bs-body-bg, #fff));
    --ws-surface-2: var(--wm-surface-2, var(--bs-secondary-bg, #e9f0f6));
    --ws-ink: var(--wm-ink, var(--bs-body-color, #10263a));
    --ws-muted: var(--wm-muted, var(--bs-secondary-color, #556779));
    --ws-line: var(--wm-line, var(--bs-border-color, #d5e0ea));
    --ws-link: var(--wm-link, var(--bs-link-color, #0f66b0));
    --ws-title: var(--wm-title, var(--ws-head));
    --ws-on-head: #fff;
    --ws-on-head-muted: var(--wm-on-head-muted, #b9d3ea);
    --ws-code-bg: var(--wm-code-bg, #0c1d2c);
    --ws-shadow: var(--wm-shadow, 0 1px 2px rgba(16, 38, 58, .06), 0 8px 24px rgba(16, 38, 58, .07));
    --ws-display: var(--wm-f-display, inherit);
    --ws-mono-font: var(--wm-f-mono, ui-monospace, SFMono-Regular, Consolas, monospace);
    --ws-wrap: var(--wm-wrap, 1180px);
    --ws-r: 10px;
    --ws-on-lime: #11280a;
}

.ws-container { max-width: var(--ws-wrap); margin-inline: auto; padding-inline: 16px; }
.ws-view { display: flex; flex-direction: column; gap: 48px; padding-block: 8px 24px; min-width: 0; }
.ws-section { min-width: 0; }
.ws-stack { display: flex; flex-direction: column; gap: 12px; }
.ws-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ws-muted { color: var(--ws-muted); margin: 0; }
.ws-note { color: var(--ws-muted); font-size: .84rem; margin: 0; }
.ws-mono { font-family: var(--ws-mono-font); font-variant-numeric: tabular-nums; }
.ws-more { white-space: nowrap; font-weight: 500; }
.ws-eyebrow { font-family: var(--ws-mono-font); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ws-muted); margin: 0; }
.ws-eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--ws-lime); margin-right: 8px; vertical-align: 1px; }
.ws-eyebrow--lime { color: var(--ws-lime); }

.ws-view h1, .ws-view h2, .ws-view h3, .ws-head h1, .ws-hero h1, .ws-section h2, .ws-section h3, .ws-newsfeed h2, .ws-demo-strip h2 { font-family: var(--ws-display); line-height: 1.15; margin: 0; }
.ws-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ws-sec-head h2 { font-size: var(--cms-section-title-size, clamp(1.45rem, 2.6vw, 1.95rem)); font-weight: 750; color: var(--ws-title); padding-left: 14px; border-left: 5px solid var(--ws-lime); margin-top: 6px; }
.ws-block-title { position: relative; color: var(--ws-title); font-size: 1.05rem; font-weight: 700; padding-bottom: 10px; margin: 0 0 4px; border-bottom: 2px solid var(--ws-line); }
.ws-block-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--ws-lime); }

/* buttons */
.ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .95rem; line-height: 1; padding: 12px 18px; border-radius: 8px; border: 1px solid var(--ws-line); background: var(--ws-surface); color: var(--ws-ink); text-decoration: none; cursor: pointer; }
.ws-btn:hover { border-color: var(--ws-link); color: var(--ws-ink); }
.ws-btn--lime { background: var(--ws-lime); border-color: var(--ws-lime); color: var(--ws-on-lime); }
.ws-btn--lime:hover { filter: brightness(1.06); border-color: var(--ws-lime); color: var(--ws-on-lime); }
.ws-btn--blue { background: var(--ws-link); border-color: var(--ws-link); color: #fff; }
.ws-btn--blue:hover { color: #fff; filter: brightness(1.08); }
.ws-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.ws-btn--ghost:hover { border-color: #fff; color: #fff; }
.ws-btn--sm { padding: 8px 12px; font-size: .85rem; }
.ws-btn--block { width: 100%; }
.ws-btn.is-added { background: var(--ws-leaf); border-color: var(--ws-leaf); color: #fff; }
.ws-btn[disabled] { opacity: .5; cursor: not-allowed; }
.ws-add-form { margin: 0; }
.ws-link-button { background: none; border: 0; padding: 0; color: var(--ws-link); text-decoration: underline; font-size: .84rem; cursor: pointer; }

/* cards and grids */
.ws-card { background: var(--ws-surface); border: 1px solid var(--ws-line); border-radius: var(--ws-r); padding: 22px; min-width: 0; color: var(--ws-ink); }
.ws-card__title { font-size: 1.12rem; font-weight: 700; color: var(--ws-title); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.ws-grid { display: grid; gap: 20px; }
.ws-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ws-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ws-grid--2 .ws-card p, .ws-mod p { margin-top: 10px; }
.ws-main-aside { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
@media (max-width: 980px) {
    .ws-grid--3, .ws-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ws-main-aside { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
    .ws-grid--2, .ws-grid--3, .ws-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

/* tags */
.ws-tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--ws-mono-font); font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; border: 1px solid var(--ws-line); color: var(--ws-muted); background: var(--ws-surface); font-weight: 500; }
.ws-tag::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: currentColor; }
.ws-tag--sys { color: var(--ws-link); }
.ws-tag--mod { color: var(--ws-leaf); }
.ws-tag--sec { color: var(--ws-ember); }
.ws-tag--new { color: #fff; background: var(--ws-ember); border-color: var(--ws-ember); }
.ws-tag--new::before { display: none; }

/* page head */
.ws-head { background: var(--ws-head); color: var(--ws-on-head); padding: 36px 24px 40px; border-radius: var(--ws-r); position: relative; overflow: hidden; }
.ws-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255, 255, 255, .035) 22px 44px); }
.ws-head__inner { position: relative; max-width: var(--ws-wrap); margin-inline: auto; }
.ws-head h1 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.ws-head .ws-eyebrow { color: var(--ws-lime); }
.ws-head__lead { color: var(--ws-on-head-muted); font-size: 1.1rem; max-width: 62ch; margin: 10px 0 0; }
.ws-head__crumbs { font-size: .85rem; color: var(--ws-on-head-muted); margin-bottom: 14px; }
.ws-head__crumbs a { color: var(--ws-on-head-muted); }
.ws-head__crumbs a:hover { color: #fff; }

/* filters */
.ws-filters { display: flex; gap: 6px; flex-wrap: wrap; }
.ws-filters button { font-weight: 500; font-size: .85rem; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--ws-line); background: var(--ws-surface); color: var(--ws-ink); cursor: pointer; }
.ws-filters button[aria-pressed="true"] { background: var(--ws-ink); color: var(--ws-surface); border-color: var(--ws-ink); }
.ws-filters-row { margin-bottom: 22px; }

/* forms */
.ws-input { display: block; width: 100%; font: inherit; font-size: .95rem; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--ws-line); background: var(--ws-paper); color: var(--ws-ink); }
.ws-input:focus { outline: 3px solid color-mix(in srgb, var(--ws-lime) 70%, transparent); outline-offset: 1px; }
.ws-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.ws-check { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; }
.ws-check input { margin-top: 4px; }
.ws-kv { list-style: none; margin: 0; padding: 0; font-size: .9rem; }
.ws-kv li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--ws-line); }
.ws-kv li:last-child { border-bottom: 0; }
.ws-kv li > span:first-child { color: var(--ws-muted); }
.ws-kv li > span:last-child { text-align: right; overflow-wrap: anywhere; }
.ws-kv--spaced { margin-top: 18px; }

/* feed */
.ws-feed { display: flex; flex-direction: column; }
.ws-feed__item { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 20px; padding-block: 22px; border-top: 1px solid var(--ws-line); }
.ws-feed__item:first-child { border-top: 0; padding-top: 4px; }
.ws-feed__date { font-family: var(--ws-mono-font); font-size: .8rem; color: var(--ws-muted); padding-top: 3px; }
.ws-feed__ver { display: block; color: var(--ws-ink); font-weight: 500; font-size: .95rem; margin-bottom: 2px; }
.ws-feed__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.ws-feed__body h3 { font-size: 1.15rem; font-weight: 700; margin: 8px 0; }
.ws-feed__body h3 a { color: var(--ws-ink); text-decoration: none; }
.ws-feed__body h3 a:hover { color: var(--ws-link); }
.ws-feed__body p { color: var(--ws-muted); max-width: 68ch; margin: 0; }
@media (max-width: 620px) {
    .ws-feed__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .ws-feed__ver { display: inline; margin-right: 8px; }
}

/* hero */
.ws-hero { background: linear-gradient(160deg, var(--ws-head) 0%, var(--ws-head-2) 130%); color: #fff; position: relative; overflow: hidden; }
.ws-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: repeating-linear-gradient(-45deg, transparent 0 22px, rgba(255, 255, 255, .035) 22px 44px); }
.ws-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; padding-block: 56px 64px; }
.ws-hero__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 800; letter-spacing: -.02em; margin-top: 12px !important; text-wrap: balance; }
.ws-hero__hl { color: var(--ws-lime); }
.ws-hero__lead { color: var(--ws-on-head-muted); font-size: 1.125rem; max-width: 62ch; margin: 18px 0 0; }
.ws-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.ws-hero__meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px; font-size: .88rem; color: var(--ws-on-head-muted); }
.ws-hero__meta strong { color: #fff; font-family: var(--ws-mono-font); font-weight: 500; }
@media (max-width: 900px) { .ws-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* hero: "home" fills the first screen, "page" is the compact head of a subpage; the image sits on the right */
.ws-hero:not(.has-media) .ws-hero__grid { grid-template-columns: minmax(0, 1fr); }
.ws-hero__media { min-width: 0; display: flex; justify-content: center; }
.ws-hero__media img { display: block; max-width: 100%; height: auto; max-height: 520px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .28)); }
.ws-hero__meta a { color: inherit; text-decoration: none; }
.ws-hero__meta a:hover strong { text-decoration: underline; }
.ws-hero__crumbs { font-size: .85rem; color: var(--ws-on-head-muted); margin-bottom: 14px; }
.ws-hero__crumbs a { color: var(--ws-on-head-muted); }
.ws-hero__crumbs a:hover { color: #fff; }
.ws-hero--page .ws-hero__grid { padding-block: 36px 42px; gap: 36px; }
.ws-hero--page .ws-hero__title { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-top: 6px !important; }
.ws-hero--page .ws-hero__lead { font-size: 1.1rem; margin-top: 10px; }
.ws-hero--page .ws-hero__actions, .ws-hero--page .ws-hero__meta { margin-top: 20px; }
.ws-hero--page .ws-hero__media img { max-height: 260px; }
@media (max-width: 900px) { .ws-hero__media img { max-height: 340px; } }

/* version box */
.ws-version { background: var(--ws-head); color: #fff; border-radius: var(--ws-r); padding: 20px; }
.ws-version__num { font-family: var(--ws-display); font-weight: 850; font-size: 2.6rem; line-height: 1; margin: 8px 0 2px; letter-spacing: -.02em; }
.ws-version__meta { color: var(--ws-on-head-muted); font-size: .88rem; margin: 0; }
.ws-version__list { list-style: none; margin: 14px 0 0; padding: 0; font-size: .86rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.ws-version__list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ws-version__actions { margin-top: 16px; }

/* demo */
.ws-demo-strip { background: var(--ws-surface); border-block: 1px solid var(--ws-line); }
.ws-demo-strip__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 32px; align-items: center; padding-block: 40px; }
.ws-demo-strip h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 750; }
@media (max-width: 900px) { .ws-demo-strip__grid { grid-template-columns: minmax(0, 1fr); } }
.ws-demo-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 620px) { .ws-demo-links { grid-template-columns: minmax(0, 1fr); } }
.ws-demo-link { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ws-ink); border: 1px solid var(--ws-line); border-radius: 8px; padding: 12px 14px; background: var(--ws-paper); }
.ws-demo-link:hover { border-color: var(--ws-link); color: var(--ws-ink); }
.ws-demo-link span { font-family: var(--ws-mono-font); font-size: .76rem; color: var(--ws-link); }
.ws-cred { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: .88rem; }
.ws-cred code { font-family: var(--ws-mono-font); background: var(--ws-surface-2); color: var(--ws-ink); border: 1px solid var(--ws-line); padding: 2px 8px; border-radius: 5px; }
.ws-cred--dark { color: var(--ws-on-head-muted); margin-top: 18px; }
.ws-copy { font-size: .78rem; font-weight: 500; border: 1px solid var(--ws-line); background: var(--ws-surface); color: var(--ws-ink); border-radius: 6px; padding: 3px 8px; cursor: pointer; }
.ws-demo { display: flex; flex-direction: column; gap: 12px; }
.ws-demo__actions { margin-top: auto; }
.ws-addr { font-family: var(--ws-mono-font); font-size: .82rem; color: var(--ws-link); text-decoration: none; overflow-wrap: anywhere; }
.ws-addr--muted { color: var(--ws-muted); }
.ws-callout { border: 1px solid var(--ws-line); border-left: 4px solid var(--ws-link); background: var(--ws-surface); padding: 14px 16px; border-radius: 0 8px 8px 0; font-size: .93rem; }

/* drawn site thumbnails */
.ws-shot { display: block; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--ws-line); }
.ws-mini { width: 100%; height: 100%; display: flex; flex-direction: column; background: var(--ws-mini-bg); }
.ws-mini__top { height: 18%; background: var(--ws-mini-top); }
.ws-mini__grid { flex: 1; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1.3fr 1fr 1fr; gap: 5%; padding: 6%; }
.ws-mini__grid i { border-radius: 3px; background: var(--ws-mini-top); opacity: .14; }
.ws-mini__grid i:nth-child(1) { background: var(--ws-mini-a); opacity: 1; }
.ws-mini__grid i:nth-child(2) { background: var(--ws-mini-b); opacity: .8; }
.ws-mini__grid i:nth-child(6) { background: var(--ws-mini-a); opacity: .35; }

/* modules grid */
.ws-mod { display: flex; flex-direction: column; gap: 8px; }
.ws-mod__icon { width: 40px; height: 40px; border-radius: 9px; display: grid; place-items: center; background: var(--ws-surface-2); color: var(--ws-link); font-size: 1.2rem; }
.ws-mod__kind { font-family: var(--ws-mono-font); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ws-muted); }
.ws-mod__kind.is-ext { color: var(--ws-leaf); }
.ws-mod h3 { font-size: 1.1rem; font-weight: 700; color: var(--ws-title); }
.ws-mod p { color: var(--ws-muted); font-size: .92rem; margin: 0; }

/* realizations */
.ws-real { display: flex; flex-direction: column; padding: 0; overflow: hidden; text-decoration: none; }
.ws-real .ws-shot { aspect-ratio: 16 / 10; border: 0; border-bottom: 1px solid var(--ws-line); border-radius: 0; }
.ws-real__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ws-real p { font-size: .93rem; }
.ws-real--compact:hover { border-color: var(--ws-link); color: var(--ws-ink); }
.ws-real--compact .ws-real__body { gap: 4px; }
.ws-real--featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.ws-real--featured .ws-shot { aspect-ratio: auto; min-height: 280px; border-bottom: 0; border-right: 1px solid var(--ws-line); }
@media (max-width: 860px) {
    .ws-real--featured { grid-template-columns: minmax(0, 1fr); }
    .ws-real--featured .ws-shot { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--ws-line); }
}
.ws-real-featured { margin-bottom: 20px; }
.ws-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ws-chip { font-size: .75rem; padding: 3px 8px; border-radius: 5px; background: var(--ws-surface-2); color: var(--ws-ink); }
.ws-facts { display: flex; gap: 18px; flex-wrap: wrap; font-size: .82rem; color: var(--ws-muted); margin-top: auto; padding-top: 6px; }
.ws-facts b { display: block; font-family: var(--ws-mono-font); font-weight: 500; color: var(--ws-ink); font-size: .95rem; }
.ws-cta { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-top: 28px; }
.ws-cta p { margin-top: 4px; }

/* offer */
.ws-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
@media (max-width: 900px) { .ws-plans { grid-template-columns: minmax(0, 1fr); } }
.ws-plan { display: flex; flex-direction: column; gap: 14px; position: relative; }
.ws-plan.is-featured { border: 2px solid var(--ws-link); box-shadow: var(--ws-shadow); }
.ws-plan__ribbon { position: absolute; top: -12px; left: 22px; background: var(--ws-link); color: #fff; font-family: var(--ws-mono-font); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.ws-plan__title { font-size: 1.2rem; font-weight: 700; color: var(--ws-title); }
.ws-plan__action { margin-top: auto; }
.ws-plan__action .ws-btn { width: 100%; }
.ws-price { font-family: var(--ws-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.ws-price small { font-family: inherit; font-size: .9rem; font-weight: 500; color: var(--ws-muted); }
.ws-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: .93rem; }
.ws-checks li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; }
.ws-checks li::before { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--ws-leaf); border-bottom: 2.5px solid var(--ws-leaf); transform: rotate(-45deg) translate(1px, 5px); }
.ws-table-wrap { position: relative; overflow-x: auto; background: var(--ws-surface); border: 1px solid var(--ws-line); border-radius: var(--ws-r); }
.ws-table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 620px; color: var(--ws-ink); }
.ws-table th { text-align: left; font-weight: 600; color: var(--ws-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; padding: 10px 12px; border-bottom: 1px solid var(--ws-line); }
.ws-table td { padding: 14px 12px; border-bottom: 1px solid var(--ws-line); vertical-align: middle; }
.ws-table tr:last-child td { border-bottom: 0; }
.ws-table .ws-num { text-align: right; white-space: nowrap; font-family: var(--ws-mono-font); }
.ws-table__name { font-weight: 600; }
.ws-table__desc { color: var(--ws-muted); font-size: .86rem; }
.ws-table__action { text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
    .ws-table { min-width: 0; }
    .ws-table thead { display: none; }
    .ws-table tr { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 6px 12px; padding: 14px 12px; border-bottom: 1px solid var(--ws-line); }
    .ws-table tr:last-child { border-bottom: 0; }
    .ws-table td { padding: 0; border: 0; }
    .ws-table td:first-child { grid-column: 1 / -1; }
    .ws-table td:nth-child(2), .ws-table td:nth-child(3) { color: var(--ws-muted); font-size: .84rem; }
}
.ws-section .ws-note { margin-top: 10px; }
.ws-cart-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 14px; padding: 14px 18px; background: var(--ws-surface); border: 1px solid var(--ws-line); border-left: 5px solid var(--ws-lime); border-radius: var(--ws-r); color: var(--ws-ink); }
.ws-cart-next__info { margin: 0; }
@media (max-width: 520px) { .ws-cart-next .ws-btn { width: 100%; } }

/* cart */
.ws-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.ws-steps span { font-size: .82rem; padding: 5px 10px; border-radius: 999px; background: var(--ws-surface-2); color: var(--ws-muted); }
.ws-steps span.is-on { background: var(--ws-ink); color: var(--ws-surface); }
.ws-cart-lines { display: flex; flex-direction: column; }
.ws-cart-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--ws-line); }
.ws-cart-line--static { grid-template-columns: minmax(0, 1fr) auto; }
.ws-cart-line form { margin: 0; }
.ws-cart-line__name { font-weight: 600; }
.ws-cart-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 1.05rem; }
.ws-cart-total .ws-mono { font-size: 1.5rem; font-weight: 500; }
.ws-ok { border-color: var(--ws-leaf); background: color-mix(in srgb, var(--ws-lime) 14%, var(--ws-surface)); }

/* header cart link */
.ws-cart-link { position: relative; display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 7px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; white-space: nowrap; }
.ws-cart-link:hover { border-color: #fff; color: #fff; }
.ws-cart-link__count { min-width: 20px; height: 20px; border-radius: 10px; background: var(--ws-lime); color: var(--ws-on-lime); font: 600 .72rem/20px var(--ws-mono-font); text-align: center; padding: 0 5px; }
@media (max-width: 520px) { .ws-cart-link__label { display: none; } }

/* top bar block (header_outer): logo, menu, cart, theme switch, account */
.ws-topbar { background: var(--ws-head); color: var(--ws-on-head); border-bottom: 4px solid var(--ws-lime); box-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.ws-topbar__inner { position: relative; display: flex; align-items: center; gap: 18px; min-height: 68px; max-width: var(--ws-wrap); margin-inline: auto; padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px)); }
.ws-topbar__brand { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--ws-on-head) !important; text-decoration: none; }
.ws-topbar__logo { display: block; height: 42px; width: auto; max-width: 240px; object-fit: contain; }
.ws-topbar__name, .ws-footer__name { font-family: var(--ws-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; line-height: 1.1; white-space: nowrap; }
.ws-topbar__nav { margin-left: auto; }
.ws-topbar__list { display: flex; gap: 2px; align-items: center; list-style: none; margin: 0; padding: 0; }
.ws-topbar__list > li { position: relative; }
.ws-topbar__nav a { display: block; color: var(--ws-on-head-muted); text-decoration: none; font-weight: 500; font-size: .93rem; padding: 8px 11px; border-radius: 6px; white-space: nowrap; }
.ws-topbar__nav a:hover { color: var(--ws-on-head); background: rgba(255, 255, 255, .07); }
.ws-topbar__nav a[aria-current="page"] { color: var(--ws-on-head); background: rgba(255, 255, 255, .13); }
.ws-topbar__submenu { display: none; position: absolute; top: 100%; left: 0; z-index: 5; min-width: 220px; list-style: none; margin: 0; padding: 6px; background: var(--ws-head); border: 1px solid rgba(255, 255, 255, .12); border-radius: 8px; box-shadow: var(--ws-shadow); }
.ws-topbar__list > li:hover > .ws-topbar__submenu, .ws-topbar__list > li:focus-within > .ws-topbar__submenu { display: block; }
.ws-topbar__tools { display: flex; gap: 8px; align-items: center; }
.ws-topbar__nav + .ws-topbar__tools { margin-left: 4px; }
.ws-topbar__brand + .ws-topbar__tools { margin-left: auto; }
.ws-topbar__icon.cms-theme-toggle, .ws-topbar__cart, .ws-topbar__account, .ws-topbar__menu-btn { height: 38px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 8px; background: transparent; color: var(--ws-on-head) !important; text-decoration: none; }
.ws-topbar__icon.cms-theme-toggle { width: 38px; min-width: 38px; padding: 0; }
.ws-topbar__icon:hover, .ws-topbar__cart:hover, .ws-topbar__account:hover, .ws-topbar__menu-btn:hover { border-color: var(--ws-on-head); }
.ws-topbar__cart { display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; font-weight: 600; font-size: .85rem; }
.ws-topbar__count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ws-lime); color: var(--ws-on-lime); font-family: var(--ws-mono-font); font-size: .72rem; line-height: 20px; text-align: center; }
.ws-topbar__account { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; font-weight: 600; font-size: .85rem; white-space: nowrap; border-color: rgba(255, 255, 255, .35); }
.ws-topbar__menu-btn { display: none; align-items: center; gap: 6px; padding: 0 10px; font-weight: 600; font-size: .85rem; cursor: pointer; }
@media (max-width: 1100px) {
    .ws-topbar__menu-btn { display: inline-flex; margin-left: auto; }
    .ws-topbar__nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 5; margin: 0; background: var(--ws-head); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .ws-topbar__nav.is-open { display: block; }
    .ws-topbar__list { flex-direction: column; align-items: stretch; }
    .ws-topbar__nav a { padding: 12px; }
    .ws-topbar__nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--ws-lime); border-radius: 0; }
    .ws-topbar__submenu { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 0 16px; }
    .ws-topbar__nav + .ws-topbar__tools { margin-left: 0; }
    .ws-topbar__account { display: none; }
}
@media (max-width: 520px) {
    .ws-topbar__inner { gap: 10px; }
    .ws-topbar__logo { height: 32px; max-width: 160px; }
    .ws-topbar__name { font-size: 1.2rem; }
    .ws-topbar__cart-label, .ws-topbar__menu-label { display: none; }
    .ws-topbar__menu-btn { width: 38px; justify-content: center; padding: 0; }
}

/* footer block (footer_outer): logo, description, menu columns, copyright */
.ws-footer { background: var(--ws-head); color: var(--ws-on-head-muted); font-size: .9rem; }
.ws-footer__inner { max-width: var(--ws-wrap); margin-inline: auto; padding: 44px max(16px, env(safe-area-inset-right, 0px)) 28px max(16px, env(safe-area-inset-left, 0px)); }
.ws-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .ws-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ws-footer__grid { grid-template-columns: minmax(0, 1fr); } }
.ws-footer__about { display: flex; flex-direction: column; gap: 12px; }
.ws-footer__about p { margin: 0; }
.ws-footer__brand { display: inline-flex; align-items: center; color: var(--ws-on-head) !important; text-decoration: none !important; }
.ws-footer__logo { display: block; height: 34px; width: auto; max-width: 220px; object-fit: contain; }
.ws-footer__name { font-size: 1.25rem; }
.ws-footer h2 { font-family: var(--ws-mono-font); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ws-lime); margin: 0 0 12px; font-weight: 500; }
.ws-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.ws-footer a { color: var(--ws-on-head-muted); text-decoration: none; }
.ws-footer a:hover { color: var(--ws-on-head); text-decoration: underline; }
.ws-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8rem; }

/* content entries: page, cards, images in showcase cards */
.ws-head-extra { margin-bottom: -24px; }
.ws-entry { display: flex; flex-direction: column; gap: 24px; max-width: 860px; }
.ws-entry__meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 16px; font-family: var(--ws-mono-font); font-size: .85rem; color: var(--ws-on-head-muted); }
.ws-entry__media { margin: 0; }
.ws-entry__media img { display: block; max-width: 100%; height: auto; border-radius: var(--ws-r); }
.ws-entry__facts { display: flex; flex-direction: column; gap: 12px; }
.ws-entry__facts .ws-facts { margin-top: 0; }
.ws-entry__content { font-size: 1.02rem; }
.ws-entry__back { margin: 0; }
.ws-entry-card { display: flex; flex-direction: column; gap: 10px; }
.ws-entry-card__media { display: block; margin: -22px -22px 6px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ws-r) var(--ws-r) 0 0; border-bottom: 1px solid var(--ws-line); }
.ws-entry-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-entry-card .ws-card__title a { color: var(--ws-ink); text-decoration: none; }
.ws-entry-card .ws-card__title a:hover { color: var(--ws-link); }
.ws-shot__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ws-real .ws-card__title a { color: var(--ws-ink); text-decoration: none; }
.ws-real .ws-card__title a:hover { color: var(--ws-link); }
.ws-real__actions { margin-top: 6px; }
