/* ═══════════════════════════════════════════════════════════
   NICOZ — CATALOG & BUILD WIZARD (additive layer)
   Everything here is prefixed c- / fab and only styles the
   NEW pages (catalogo, build) + the shared floating button.
   Existing style.css is untouched.
   ═══════════════════════════════════════════════════════════ */

/* ── SHARED FLOATING BUTTON ─────────────────────────────── */
.fab {
  position: fixed;
  right: clamp(.9rem, 2.5vw, 1.75rem);
  bottom: clamp(.9rem, 3vh, 1.6rem);
  z-index: 8500;
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .01em;
  color: #fff;
  background: linear-gradient(120deg, #7c3aed, #5626cf);
  border: 1px solid rgba(167,139,250,.45);
  border-radius: var(--r-pill);
  padding: .8rem 1.35rem;
  box-shadow: 0 14px 34px -12px rgba(124,58,237,.75);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              border-color .35s var(--ease);
}
.fab:hover {
  border-color: var(--mint);
  box-shadow: 0 18px 42px -12px rgba(124,58,237,.95);
  transform: translateY(-2px);
}
.fab svg { width: 15px; height: 15px; flex: none; }
.fab .fab-hint { display: inline; }
@media (max-width: 640px) {
  .fab .fab-hint { display: none; }
  .fab { padding: .95rem; right: 1rem; bottom: 1.25rem; }
  .fab svg { width: 18px; height: 18px; }
}

/* ── CATALOG PAGE ───────────────────────────────────────── */
.c-main { position: relative; z-index: 1; }

.c-hero {
  padding-top: calc(76px + clamp(3rem, 8vw, 5.5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 2rem;
  border-bottom: 1px solid var(--border);
}
.c-hero .h2 { margin-block: 1.1rem 1rem; }
.c-hero .h2 em { color: var(--violet-2); }
.c-hero-sub {
  color: var(--muted); max-width: 60ch;
  font-size: clamp(.9375rem, 1.6vw, 1.05rem); line-height: 1.75;
}
.c-hero-meta {
  margin-top: 1.25rem;
  font-family: var(--font-m);
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dimmed);
}

/* theme segmented control (catalog page only) */
.c-theme {
  display: inline-flex; align-items: center; gap: .3rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: .3rem;
  flex: none;
}
.c-theme button {
  font-size: .75rem; font-weight: 600; letter-spacing: .04em;
  color: var(--muted);
  border-radius: var(--r-pill);
  padding: .45rem 1rem;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.c-theme button.active {
  color: #0a0a0f;
  background: var(--white);
}

/* sections */
.c-section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.c-section-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 1rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.c-section-head h2 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.05;
  margin-top: .75rem;
}
.c-section-head h2 em { color: var(--violet-2); }
.c-section-note {
  font-size: .875rem; color: var(--muted); max-width: 52ch;
}

/* product grid — reuses the signature 1px-gap technique */
.c-filter {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 1.5rem;
}
.c-filter .cf-btn {
  font-size: .8125rem; font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: .55rem 1.15rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color .25s var(--ease), color .25s var(--ease),
              background .25s var(--ease);
}
.c-filter .cf-btn:hover { border-color: var(--border-str); color: var(--white); }
.c-filter .cf-btn.active {
  color: #fff;
  border-color: var(--violet);
  background: rgba(124,58,237,.25);
}
.c-filter .cf-count {
  font-family: var(--font-m);
  font-size: .6rem; letter-spacing: .08em;
  color: var(--dimmed);
}
.c-filter .cf-btn.active .cf-count { color: rgba(255,255,255,.75); }

.c-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}

.c-card {
  background: var(--bg-raise);
  padding: clamp(1.5rem, 3vw, 2.1rem) clamp(1.25rem, 2.5vw, 1.9rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: background .4s var(--ease);
}
.c-card:hover { background: var(--bg-sunken); }

.c-card-emoji {
  font-size: 1.6rem; line-height: 1;
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
}
.c-card h3 {
  font-family: var(--font-h);
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -.01em;
}
.c-card-tagline {
  font-size: .875rem; line-height: 1.7; color: var(--muted);
}
.c-card-includes {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .45rem;
  flex: 1;
}
.c-card-includes li {
  font-size: .8125rem; color: var(--muted); line-height: 1.5;
  padding-left: 1.25rem; position: relative;
}
.c-card-includes li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--mint); font-weight: 700; font-size: .75rem;
  line-height: 1.8;
}
.c-card-upsell {
  font-family: var(--font-m);
  font-size: .625rem; letter-spacing: .08em;
  color: var(--violet-2);
  background: rgba(124,58,237,.08);
  border: 1px dotted rgba(124,58,237,.35);
  border-radius: var(--r-pill);
  padding: .35rem .75rem;
  align-self: flex-start;
}
.c-card-price {
  display: flex; align-items: baseline; gap: .6rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
  margin-top: auto;
}
.c-card-price .price {
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 800; line-height: 1; letter-spacing: -.02em;
}
.c-badge {
  font-family: var(--font-m);
  font-size: .55rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dimmed);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .25rem .6rem;
}
.c-card-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.c-card-actions .btn { padding: .6rem 1.15rem; font-size: .8125rem; }

/* bundles — highlighted variant */
.c-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.c-bundle {
  position: relative;
  display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color .4s var(--ease), transform .4s var(--ease),
              box-shadow .4s var(--ease);
}
.c-bundle.is-featured {
  border-color: rgba(124,58,237,.45);
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(124,58,237,.12), transparent 70%),
    var(--bg-raise);
  box-shadow: 0 24px 60px -30px rgba(124,58,237,.55);
}
.c-bundle:hover {
  border-color: var(--border-str);
  transform: translateY(-3px);
}
.c-bundle-top { display: flex; align-items: center; gap: .85rem; }
.c-bundle-emoji {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  background: rgba(124,58,237,.12);
  border: 1px solid rgba(124,58,237,.25);
  font-size: 1.4rem;
}
.c-bundle-tag {
  font-family: var(--font-m);
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--violet-2);
  margin-bottom: .2rem;
}
.c-bundle h3 {
  font-family: var(--font-h);
  font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; line-height: 1;
}
.c-bundle-desc { font-size: .875rem; color: var(--muted); line-height: 1.7; }
.c-bundle-items {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: .45rem;
  flex: 1;
}
.c-bundle-items li {
  display: flex; justify-content: space-between; gap: .75rem;
  font-size: .8125rem; color: var(--muted);
  border-bottom: 1px dashed var(--border);
  padding-block: .3rem;
}
.c-bundle-items li b { color: var(--white); font-weight: 500; }
.c-bundle-items li i { font-style: normal; font-family: var(--font-m); color: var(--dimmed); }
.c-bundle-price {
  display: flex; align-items: baseline; gap: .75rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem; margin-top: .25rem;
}
.c-bundle-price .price {
  font-family: var(--font-h);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1;
}
.c-save {
  font-family: var(--font-m);
  font-size: .6rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(6,214,160,.35);
  background: rgba(6,214,160,.08);
  border-radius: var(--r-pill);
  padding: .35rem .7rem;
}
.c-was {
  font-family: var(--font-m); font-size: .7rem;
  color: var(--dimmed); text-decoration: line-through;
}

/* catalog CTA band */
.c-cta {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raise);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  text-align: center;
}
.c-cta h2 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  margin-block: 1rem 1rem;
}
.c-cta h2 em { color: var(--violet-2); }
.c-cta p { color: var(--muted); max-width: 56ch; margin: 0 auto 2rem; }
.c-cta-actions { display: flex; justify-content: center; gap: .875rem; flex-wrap: wrap; }

/* ── LIGHT THEME (scoped to the catalog main area) ─────── */
.c-main.light {
  background: #f7f7fa;
  color: #16161d;
}
.c-main.light::selection, ::selection { background: #7c3aed; color: #fff; }
.c-main.light .c-hero { border-bottom-color: rgba(22,22,29,.12); }
.c-main.light .c-hero-sub { color: rgba(22,22,29,.62); }
.c-main.light .c-hero-meta { color: rgba(22,22,29,.38); }
.c-main.light .c-grid {
  background: rgba(22,22,29,.14);
  border-block-color: rgba(22,22,29,.14);
}
.c-main.light .c-card { background: #fff; }
.c-main.light .c-card:hover { background: #efeff4; }
.c-main.light .c-card-tagline,
.c-main.light .c-card-includes li { color: rgba(22,22,29,.62); }
.c-main.light .c-card-price { border-top-color: rgba(22,22,29,.14); }
.c-main.light .c-badge { color: rgba(22,22,29,.45); border-color: rgba(22,22,29,.18); }
.c-main.light .c-bundle,
.c-main.light .c-cta { background: #fff; }
.c-main.light .c-bundle { border-color: rgba(22,22,29,.14); }
.c-main.light .c-bundle:hover { border-color: rgba(22,22,29,.3); }
.c-main.light .c-bundle.is-featured {
  border-color: rgba(124,58,237,.4);
  background: radial-gradient(80% 55% at 50% 0%, rgba(124,58,237,.08), transparent 70%), #fff;
}
.c-main.light .c-bundle-items li { border-bottom-color: rgba(22,22,29,.12); }
.c-main.light .c-bundle-items li b { color: #16161d; }
.c-main.light .c-bundle-price { border-top-color: rgba(22,22,29,.14); }
.c-main.light .c-was { color: rgba(22,22,29,.35); }
.c-main.light .c-section-note { color: rgba(22,22,29,.62); }
.c-main.light .c-filter .cf-btn {
  background: #fff;
  border-color: rgba(22,22,29,.16);
  color: rgba(22,22,29,.62);
}
.c-main.light .c-filter .cf-btn.active {
  border-color: var(--violet);
  background: rgba(124,58,237,.14);
  color: #4f2ec2;
}
.c-main.light .c-filter .cf-count { color: rgba(22,22,29,.4); }
.c-main.light .c-cta { border-color: rgba(22,22,29,.12); }
.c-main.light .c-cta p { color: rgba(22,22,29,.62); }

/* ── BUILD YOUR IDEA — WIZARD ──────────────────────────── */
.wiz {
  max-width: 760px;
  margin-inline: auto;
  padding-top: calc(76px + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.wiz-head { margin-bottom: 2.25rem; }
.wiz-head .h2 { margin-block: 1.1rem .9rem; }
.wiz-head .h2 em { color: var(--violet-2); }
.wiz-head p { color: var(--muted); max-width: 52ch; }

/* progress */
.wiz-progress {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 2.5rem;
}
.wiz-progress .wp-item {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-m);
  font-size: .625rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dimmed);
  white-space: nowrap;
}
.wiz-progress .wp-num {
  display: grid; place-items: center;
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: .6rem; letter-spacing: 0;
  color: var(--muted);
  transition: all .35s var(--ease);
}
.wiz-progress .wp-item.active { color: var(--white); }
.wiz-progress .wp-item.active .wp-num {
  border-color: var(--violet);
  background: rgba(124,58,237,.18);
  color: var(--violet-2);
}
.wiz-progress .wp-item.done .wp-num {
  background: var(--mint);
  border-color: var(--mint);
  color: #06121a;
}
.wiz-progress .wp-line {
  flex: 1; height: 1px; min-width: 20px;
  background: linear-gradient(90deg, var(--border) 0%, var(--border-str) 100%);
}

/* panels */
.wiz-panel { display: none; }
.wiz-panel.active { display: block; animation: wizFade .45s var(--ease); }
@keyframes wizFade {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
.wiz-field {
  margin-bottom: 1.4rem;
}
.wiz-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .8125rem; font-weight: 600;
  margin-bottom: .55rem; color: var(--white);
}
.wiz-label small {
  font-family: var(--font-m);
  font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dimmed); font-weight: 500;
}
.wiz-input, .wiz select, .wiz textarea, .wiz input[type="date"] {
  width: 100%;
  font-family: var(--font-b); font-size: .9rem;
  color: var(--white);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .8rem 1rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.wiz-input:focus, .wiz select:focus, .wiz textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(124,58,237,.06);
}
.wiz textarea { min-height: 110px; resize: vertical; }
.wiz-hint { font-size: .75rem; color: var(--dimmed); margin-top: .4rem; }
.wiz-error {
  font-size: .75rem; color: #fb7185; margin-top: .4rem;
  display: none;
}
.wiz-error.show { display: block; }
input.invalid, textarea.invalid {
  border-color: #fb7185 !important;
}

/* product multi-select chips */
.wiz-chips {
  display: flex; flex-direction: column; gap: .55rem;
  max-height: 420px; overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: .75rem;
  background: var(--bg-raise);
}
.wiz-chip {
  display: flex; align-items: center; gap: .8rem;
  width: 100%; text-align: left;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-md);
  padding: .75rem .9rem;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.wiz-chip:hover { border-color: var(--border-str); }
.wiz-chip.selected {
  border-color: var(--violet);
  background: rgba(124,58,237,.12);
}
.wiz-chip-emoji { font-size: 1.1rem; flex: none; }
.wiz-chip-info { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.wiz-chip-info b { font-size: .875rem; font-weight: 600; }
.wiz-chip-info i {
  font-style: normal; font-size: .75rem; color: var(--dimmed);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wiz-chip-price {
  margin-left: auto; flex: none;
  font-family: var(--font-h); font-weight: 700; font-size: .95rem;
}
.wiz-chip-check {
  width: 20px; height: 20px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--border-str);
  display: grid; place-items: center;
  font-size: .65rem; color: transparent;
  transition: all .25s var(--ease);
}
.wiz-chip.selected .wiz-chip-check {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

/* chip radio groups (budget, domain, contact) */
.wiz-options {
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.wiz-option {
  font-size: .8125rem; font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--r-pill);
  padding: .55rem 1.05rem;
  transition: border-color .25s var(--ease), color .25s var(--ease), background .25s var(--ease);
}
.wiz-option:hover { border-color: var(--border-str); color: var(--white); }
.wiz-option.selected {
  color: #fff;
  border-color: var(--violet);
  background: rgba(124,58,237,.25);
}

/* file upload */
.wiz-file {
  display: flex; align-items: center; gap: .8rem;
  border: 1px dashed var(--border-str);
  border-radius: var(--r-md);
  padding: .85rem 1rem;
  cursor: pointer;
  transition: border-color .3s var(--ease);
}
.wiz-file:hover { border-color: var(--violet); }
.wiz-file input { display: none; }
.wiz-file b { font-size: .8125rem; font-weight: 600; }
.wiz-file i { font-style: normal; font-size: .7rem; color: var(--dimmed); }
.wiz-file.hasfile {
  border-style: solid;
  border-color: var(--mint);
}

/* review summary */
.wiz-review {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-raise);
  padding: 1.35rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.wiz-review dl {
  display: flex; flex-direction: column; gap: .6rem;
  margin: 0;
}
.wiz-review dl > div {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px dashed var(--border);
  padding-bottom: .5rem;
}
.wiz-review dt {
  font-family: var(--font-m);
  font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--dimmed); flex: none;
  padding-top: .25rem;
}
.wiz-review dd { font-size: .875rem; text-align: right; margin: 0; }
.wiz-review dd em { color: var(--violet-2); }
.wiz-review-products {
  display: flex; flex-direction: column; gap: .4rem;
}
.wiz-review-products > div {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .875rem; color: var(--muted);
}
.wiz-review-products b { color: var(--white); font-weight: 500; }
.wiz-review-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.wiz-review-total dt {
  font-size: .875rem; font-weight: 600; color: var(--white);
}
.wiz-review-total dd {
  font-family: var(--font-h);
  font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em;
}

/* navigation buttons */
.wiz-actions {
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
  margin-top: 2rem;
}
.wiz-actions .btn svg { width: 15px; height: 15px; }

/* step 3&4 wrapper: page indicator note */
.wiz-panel-head {
  font-family: var(--font-m);
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--dimmed);
  margin-bottom: 1.5rem;
}

/* success */
.wiz-success {
  text-align: center;
  border: 1px solid rgba(6,214,160,.4);
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(6,214,160,.08), transparent 70%),
    var(--bg-raise);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2.5rem);
}
.ws-check {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: rgba(6,214,160,.12);
  border: 1px solid rgba(6,214,160,.4);
  color: var(--mint);
  font-size: 1.4rem;
}
.wiz-success h2 {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800; letter-spacing: -.02em;
  margin-bottom: .8rem;
}
.wiz-success .ref {
  display: inline-block;
  font-family: var(--font-m);
  font-size: .85rem; letter-spacing: .12em;
  color: var(--mint);
  border: 1px solid rgba(6,214,160,.35);
  border-radius: var(--r-pill);
  padding: .5rem 1.2rem;
  margin-bottom: 1.1rem;
}
.wiz-success p { color: var(--muted); font-size: .9rem; max-width: 46ch; margin: 0 auto 2rem; }
.ws-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
.ws-note { font-size: .75rem; color: var(--dimmed); margin-top: 1.5rem; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .c-grid { grid-template-columns: repeat(2, 1fr); }
  .c-bundle-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .c-hero { padding-top: calc(76px + 2.5rem); }
  .c-theme { order: 1; align-self: flex-start; margin-bottom: -.5rem; }
  .c-grid { grid-template-columns: 1fr; }
  .c-bundle-grid { grid-template-columns: 1fr; }
  .wiz-progress { flex-wrap: wrap; row-gap: .6rem; }
  .wiz-actions { flex-direction: column-reverse; }
  .wiz-actions .btn { width: 100%; justify-content: center; }
  .c-card-actions .btn { flex: 1; justify-content: center; }
}

/* ── MOTION PREFERENCES ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fab { transition: none; }
  .wiz-panel.active { animation: none; }
}


/* -- language switch (EN | IT pill, injected by i18n.js) -- */
.lang-switch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface);
  flex: none;
}
.lang-switch button {
  font-family: var(--font-m);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  padding: .5rem .75rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.lang-switch button + button { border-left: 1px solid var(--border); }
.lang-switch button:hover { color: var(--white); }
.lang-switch button.active {
  color: #fff;
  background: rgba(124,58,237,.4);
}
.lang-switch button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: -2px;
}
.nav-end .lang-switch { margin-right: .9rem; }
.nav-panel-foot .lang-switch { margin-bottom: 1.1rem; align-self: flex-start; }
.nav-panel-foot {
  display: flex;
  flex-direction: column;
}
