/* ============================================================
   Muaweb — Flat / digital-tech UI kit
   Pure CSS, no framework. All tokens live in :root.
   ============================================================ */

:root {
  /* palette */
  --c-bg: #ffffff;
  --c-bg-soft: #f7f9fc;
  --c-bg-alt: #edf3fb;
  --c-ink: #0b1220;
  --c-ink-2: #37455a;
  --c-ink-3: #6a788c;
  --c-line: #e4eaf3;
  --c-line-2: #ccd8e8;
  --c-brand: #1d4ed8;
  --c-brand-ink: #1339a8;
  --c-brand-soft: #e7edfe;
  --c-cyan: #06b6d4;
  --c-cyan-soft: #dcf6fb;
  --c-mint: #10c99b;
  --c-mint-soft: #dff8f1;
  --c-amber: #f59e0b;
  --c-rose: #f43f5e;
  --c-white: #ffffff;

  /* gradients & glow */
  --g-brand: linear-gradient(120deg, #1d4ed8 0%, #2f7cf6 45%, #06b6d4 100%);
  --g-ink: linear-gradient(140deg, #0b1220 0%, #16233c 60%, #0d3a63 100%);
  --g-soft: linear-gradient(140deg, #ffffff 0%, #f2f7ff 100%);
  --g-text: linear-gradient(96deg, #1d4ed8 0%, #06b6d4 92%);
  --sh-xs: 0 1px 2px rgba(11, 18, 32, 0.05);
  --sh-sm: 0 6px 18px -8px rgba(11, 18, 32, 0.14);
  --sh-md: 0 18px 40px -22px rgba(11, 18, 32, 0.28);
  --sh-glow: 0 22px 60px -28px rgba(29, 78, 216, 0.55);

  /* type */
  --f-head: "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  /* radius / spacing */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;
  --sp: 8px;
  --wrap: 1200px;

  /* motion */
  --e: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t: 0.28s var(--e);
}


* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink-2);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--f-head);
  color: var(--c-ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 14px; }

a { color: var(--c-brand); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--c-brand-ink); }

img { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 2px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--alt { background: var(--c-bg-alt); }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.vault-support-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.vault-support-grid > * { min-width: 0; }
.vault-support-grid .summary-row span { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .vault-support-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
.row { display: flex; align-items: center; gap: 12px; }
.between { justify-content: space-between; }
.wrapflex { flex-wrap: wrap; }
.mt-0 { margin-top: 0; }
.muted { color: var(--c-ink-3); }
.small { font-size: 0.875rem; }
.tiny { font-size: 0.78rem; }

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-brand);
  background: var(--c-brand-soft);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 16px;
}
.sec-head { max-width: 640px; margin-bottom: 36px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head p { color: var(--c-ink-3); margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 0.94rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 11px 20px;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  background: var(--c-brand);
  color: var(--c-white);
}
.btn:hover { background: var(--c-brand-ink); color: var(--c-white); transform: translateY(-1px); }
.btn--ghost { background: var(--c-white); color: var(--c-ink); border-color: var(--c-line-2); }
.btn--ghost:hover { background: var(--c-bg-soft); color: var(--c-ink); border-color: var(--c-brand); }
.btn--dark { background: var(--c-ink); }
.btn--dark:hover { background: #05203f; }
.btn--sm { padding: 8px 14px; font-size: 0.85rem; }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- badges / chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-head); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px;
  background: var(--c-bg-alt); color: var(--c-ink-2);
}
.badge--new { background: var(--c-cyan-soft); color: #067a90; }
.badge--hot { background: #ffe9d6; color: #b25a05; }
.badge--free { background: var(--c-mint-soft); color: #0b7d55; }
.badge--pro { background: var(--c-brand-soft); color: var(--c-brand-ink); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--c-line); background: var(--c-white);
  border-radius: var(--r-pill); padding: 7px 14px;
  font-size: 0.85rem; color: var(--c-ink-2); cursor: pointer;
  transition: all var(--t);
}
.chip:hover { border-color: var(--c-brand); color: var(--c-brand); }
.chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t);
}
.site-header.is-stuck { box-shadow: 0 1px 0 var(--c-line-2); }
.hdr { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; color: var(--c-ink); }
.logo:hover { color: var(--c-ink); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--c-brand); color: var(--c-white);
  display: grid; place-items: center; font-size: 0.9rem;
}
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a {
  white-space: nowrap;
  font-family: var(--f-head); font-size: 0.92rem; font-weight: 500;
  color: var(--c-ink-2); padding: 8px 12px; border-radius: var(--r-sm);
  transition: all var(--t);
}
.nav a:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.nav a.is-active { color: var(--c-brand); background: var(--c-brand-soft); }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--c-line); background: var(--c-white);
  border-radius: var(--r-sm); cursor: pointer; color: var(--c-ink-2);
  transition: all var(--t); position: relative;
}
.icon-btn:hover { border-color: var(--c-brand); color: var(--c-brand); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px;
  border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-white);
  font-size: 0.68rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px;
}
.burger { display: none; }

/* ---------- smart search ---------- */
.search {
  position: relative; flex: 1 1 260px; max-width: 380px;
}
.search--hero { max-width: 100%; flex: none; width: 100%; }
.search-field {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--c-line-2); background: var(--c-white);
  border-radius: var(--r-sm); padding: 0 12px; height: 42px;
  transition: border-color var(--t), box-shadow var(--t);
}
.search--hero .search-field { height: 60px; border-radius: var(--r-lg); padding: 0 18px; font-size: 1.05rem; }
.search-field:focus-within { border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-soft); }
.search-field input { flex: 1; border: 0; background: none; outline: none; min-width: 0; }
.search-field input::placeholder { color: var(--c-ink-3); }
.search-kbd {
  font-family: var(--f-head); font-size: 0.7rem; color: var(--c-ink-3);
  border: 1px solid var(--c-line); border-radius: 5px; padding: 2px 6px;
}
.search-panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 10px; z-index: 80;
  max-height: 60vh; overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  box-shadow: 0 12px 32px rgba(14, 23, 38, 0.09);
  text-align: left;
}
.search.is-open .search-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.sp-group { padding: 6px 4px; }
.sp-title {
  font-family: var(--f-head); font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-ink-3);
  padding: 4px 8px;
}
.sp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 8px; border-radius: var(--r-sm); cursor: pointer;
  color: var(--c-ink-2); transition: background var(--t);
}
.sp-item:hover, .sp-item.is-cursor { background: var(--c-bg-soft); color: var(--c-ink); }
.sp-item mark { background: var(--c-cyan-soft); color: var(--c-brand-ink); padding: 0 1px; border-radius: 3px; }
.sp-thumb { width: 46px; height: 32px; border-radius: 6px; flex: none; overflow: hidden; }
.sp-meta { margin-left: auto; font-size: 0.78rem; color: var(--c-ink-3); white-space: nowrap; }
.sp-empty { padding: 18px 10px; color: var(--c-ink-3); font-size: 0.9rem; }
.sp-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.sp-chips .chip { padding: 5px 11px; font-size: 0.8rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--c-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(120% 90% at 20% 10%, #000 20%, transparent 75%);
  opacity: 0.7;
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 48px; align-items: center; padding: 78px 0 84px;
}
.hero h1 span { color: var(--c-brand); }
.hero-lead { font-size: 1.08rem; color: var(--c-ink-2); max-width: 520px; }
.hero-search-wrap { margin-top: 26px; max-width: 560px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; font-size: 0.88rem; color: var(--c-ink-3); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-art { position: relative; min-height: clamp(340px, 36vw, 520px); display: grid; place-items: center; perspective: 1400px; isolation: isolate; }
.hero-preview-stage {
  position: relative; width: min(100%, 560px); aspect-ratio: 1.42 / 1; overflow: hidden;
  border: 1px solid var(--c-line); border-radius: var(--r-xl); background: var(--c-white);
}
.hero-preview { position: absolute; inset: 0; margin: 0; opacity: 0; overflow: hidden; transform: translate3d(28px, 18px, 0) scale(0.965); will-change: opacity, transform; animation: heroPreviewCycle 24s cubic-bezier(0.65, 0, 0.35, 1) infinite both; }
.hero-preview--one { animation-delay: -3s; }
.hero-preview--two { animation-delay: 3s; }
.hero-preview--three { animation-delay: 9s; }
.hero-preview--four { animation-delay: 15s; }
.hero-preview img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; transform: scale(1.04); animation: heroPreviewKenBurns 24s ease-in-out infinite; }
.hero-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 38, 0.02) 40%, rgba(8, 18, 38, 0.78) 100%); pointer-events: none; }
.hero-preview figcaption { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; font-size: 0.78rem; }
.hero-preview figcaption span { padding: 6px 10px; border: 1px solid rgba(255,255,255,0.55); border-radius: var(--r-pill); background: rgba(8,18,38,0.42); backdrop-filter: blur(8px); white-space: nowrap; }
.hero-preview figcaption strong { font-family: var(--f-head); font-size: 0.78rem; font-weight: 700; text-align: right; }
.hero-float {
  position: absolute; background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r); padding: 10px 14px; font-size: 0.82rem;
  display: flex; align-items: center; gap: 9px; color: var(--c-ink);
  font-family: var(--f-head); font-weight: 600;
  animation: bob 4.5s var(--e) infinite;
}
.hero-float--a { left: -14px; top: 18%; }
.hero-float--b { right: -10px; bottom: 16%; animation-delay: 1.2s; }
@keyframes heroPreviewCycle {
  0%, 5% { opacity: 0; transform: translate3d(28px, 18px, 0) scale(0.965); }
  8%, 24% { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  31%, 35%, 100% { opacity: 0; transform: translate3d(-24px, -12px, 0) scale(1.035); }
}
@keyframes heroPreviewKenBurns {
  0%, 100% { transform: scale(1.04); }
  50% { transform: scale(1.1) translate3d(-1%, -0.5%, 0); }
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 1px solid var(--c-line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--f-head); font-size: 2rem; color: var(--c-ink); line-height: 1.1; }
.stat span { font-size: 0.87rem; color: var(--c-ink-3); }

/* ---------- cards ---------- */
.card {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: border-color var(--t), transform var(--t);
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--c-brand); transform: translateY(-3px); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-family: var(--f-head); font-weight: 700; color: var(--c-ink); font-size: 1.02rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px solid var(--c-line); }
.price { font-family: var(--f-head); font-weight: 700; color: var(--c-ink); }
.price s { color: var(--c-ink-3); font-weight: 400; font-size: 0.85em; margin-left: 6px; }
.price--status { display: inline-flex; align-items: center; gap: 7px; color: var(--c-mint); font-size: 0.84rem; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-mint); box-shadow: 0 0 0 4px var(--c-mint-soft); flex: none; }

/* theme thumbnail (pure CSS mockup) */
.thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line);
}
.thumb-mock { position: absolute; inset: 0; padding: 10px; display: flex; flex-direction: column; gap: 6px; transition: transform 0.5s var(--e); }
.card:hover .thumb-mock { transform: scale(1.04); }
.tm-bar { height: 12px; border-radius: 4px; display: flex; align-items: center; gap: 4px; padding: 0 5px; background: var(--c-white); border: 1px solid var(--c-line); }
.tm-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-line-2); }
.tm-hero { flex: 1.5; border-radius: 6px; }
.tm-row { display: flex; gap: 6px; flex: 1; }
.tm-box { flex: 1; border-radius: 6px; background: var(--c-white); border: 1px solid var(--c-line); }
.tm-lines { display: flex; flex-direction: column; gap: 4px; padding: 6px; }
.tm-line { height: 4px; border-radius: 3px; background: var(--c-line); }
.tm-line.w-70 { width: 70%; }
.tm-line.w-45 { width: 45%; }
.thumb-actions {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(14, 23, 38, 0.6); opacity: 0; transition: opacity var(--t);
}
.card:hover .thumb-actions { opacity: 1; }
.thumb-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }

.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; color: var(--c-ink-3); }
.rating b { color: var(--c-ink); font-family: var(--f-head); }
.stars { color: var(--c-amber); letter-spacing: 1px; }

/* ---------- category tiles ---------- */
.cat-tile {
  display: flex; flex-direction: column; gap: 6px;
  border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 20px; background: var(--c-white); transition: all var(--t);
}
.cat-tile:hover { border-color: var(--c-brand); transform: translateY(-3px); }
.cat-ico { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 6px; }
.cat-tile strong { font-family: var(--f-head); color: var(--c-ink); }
.cat-tile span { font-size: 0.83rem; color: var(--c-ink-3); }

/* ---------- feature / steps ---------- */
.feature { border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 24px; background: var(--c-white); }
.feature .cat-ico { margin-bottom: 12px; }
.step { position: relative; padding: 24px; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); }
.step-num {
  font-family: var(--f-head); font-size: 0.8rem; font-weight: 700;
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--c-ink); color: var(--c-white); margin-bottom: 12px;
}

/* ---------- slider ---------- */
/* Navigation is paired with the neighbouring slider track by layout.js. */
/* Slider controls are initialized after dynamic cards are rendered. */
.slider { position: relative; }
.slider-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > * { flex: 0 0 300px; scroll-snap-align: start; }
.slider-nav { display: flex; gap: 8px; }

/* ---------- pricing ---------- */
.plan { border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px; background: var(--c-white); display: flex; flex-direction: column; }
.plan.is-featured { border-color: var(--c-brand); background: var(--c-brand-soft); }
.plan-price { font-family: var(--f-head); font-size: 2.3rem; color: var(--c-ink); font-weight: 700; }
.plan ul { display: flex; flex-direction: column; gap: 9px; margin: 18px 0 22px; }
.plan li { display: flex; gap: 9px; font-size: 0.92rem; }
.plan li svg { flex: none; margin-top: 4px; color: var(--c-mint); }

/* ---------- testimonial ---------- */
.quote { border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 22px; background: var(--c-white); }
.avatar { width: 40px; height: 40px; border-radius: var(--r-pill); display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; color: var(--c-white); flex: none; }

/* ---------- accordion ---------- */
.acc { border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-white); overflow: hidden; margin-bottom: 10px; }
.acc-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 16px 18px; display: flex; align-items: center; gap: 12px;
  font-family: var(--f-head); font-weight: 600; color: var(--c-ink);
}
.acc-q i { margin-left: auto; transition: transform var(--t); font-style: normal; color: var(--c-brand); }
.acc.is-open .acc-q i { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--e); }
.acc-a > div { padding: 0 18px 16px; color: var(--c-ink-3); }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-family: var(--f-head); font-size: 0.85rem; font-weight: 600; color: var(--c-ink); }
.input, select.input, textarea.input {
  border: 1px solid var(--c-line-2); border-radius: var(--r-sm);
  padding: 11px 13px; background: var(--c-white); width: 100%;
  transition: border-color var(--t), box-shadow var(--t);
}
.input:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 4px var(--c-brand-soft); }
textarea.input { min-height: 130px; resize: vertical; }
.err { color: var(--c-rose); font-size: 0.8rem; }
.panel { border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); padding: 24px; }

/* ---------- page hero ---------- */
.page-head { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); padding: 46px 0; }
.crumbs { font-size: 0.84rem; color: var(--c-ink-3); display: flex; gap: 8px; margin-bottom: 10px; }
.page-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.page-head p { max-width: 640px; color: var(--c-ink-3); margin: 0; }

/* ---------- catalog ---------- */
.catalog { display: grid; grid-template-columns: 264px 1fr; gap: 28px; align-items: start; }
.filters { border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); padding: 18px; position: sticky; top: 88px; }
.fg { padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.fg:last-child { border-bottom: 0; }
.fg h4 { font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase; color: var(--c-ink-3); margin-bottom: 10px; }
.check { display: flex; align-items: center; gap: 9px; font-size: 0.9rem; padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--c-brand); width: 16px; height: 16px; }
.toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.view-toggle { display: flex; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.view-toggle button { border: 0; background: var(--c-white); padding: 8px 11px; cursor: pointer; color: var(--c-ink-3); }
.view-toggle button.is-active { background: var(--c-ink); color: var(--c-white); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.results.is-list { grid-template-columns: 1fr; }
.results.is-list .card { flex-direction: row; }
.results.is-list .thumb { width: 240px; border-bottom: 0; border-right: 1px solid var(--c-line); aspect-ratio: auto; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; border: 1px solid var(--c-line); background: var(--c-white);
  border-radius: var(--r-sm); cursor: pointer; font-family: var(--f-head); color: var(--c-ink-2);
  transition: all var(--t);
}
.pager button:hover { border-color: var(--c-brand); color: var(--c-brand); }
.pager button.is-active { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-white); }
.pager button:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- detail ---------- */
.detail { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.buybox { border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-white); padding: 22px; position: sticky; top: 88px; }
.gallery-main { border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; background: var(--c-bg-soft); }
.gallery-main .thumb { aspect-ratio: 16 / 10; border-bottom: 0; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery-thumbs button { flex: 1; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; padding: 0; background: none; cursor: pointer; }
.gallery-thumbs button.is-active { border-color: var(--c-brand); }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r); overflow: hidden; }
.spec div { background: var(--c-white); padding: 12px 14px; font-size: 0.9rem; }
.spec div b { font-family: var(--f-head); color: var(--c-ink); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-ink-3); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-line); margin: 30px 0 22px; overflow-x: auto; }
.tabs button {
  border: 0; background: none; cursor: pointer; padding: 12px 16px;
  font-family: var(--f-head); font-weight: 600; color: var(--c-ink-3);
  border-bottom: 2px solid transparent; transition: all var(--t); white-space: nowrap;
}
.tabs button.is-active { color: var(--c-brand); border-bottom-color: var(--c-brand); }
.tabpanel { display: none; }
.tabpanel.is-active { display: block; animation: fadeUp 0.35s var(--e); }

/* ---------- cart / table ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px; border-bottom: 1px solid var(--c-line); font-size: 0.93rem; }
.table th { font-family: var(--f-head); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-ink-3); }
.qty { display: inline-flex; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.qty button { border: 0; background: var(--c-white); width: 30px; cursor: pointer; color: var(--c-ink-2); }
.qty span { width: 34px; display: grid; place-items: center; border-left: 1px solid var(--c-line); border-right: 1px solid var(--c-line); font-family: var(--f-head); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.94rem; }
.summary-row.total { border-top: 1px solid var(--c-line); margin-top: 8px; padding-top: 14px; font-family: var(--f-head); font-size: 1.15rem; color: var(--c-ink); font-weight: 700; }

/* ---------- blog ---------- */
.post-card .thumb { aspect-ratio: 16 / 9; }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 34px; }
.article blockquote { border-left: 3px solid var(--c-brand); margin: 22px 0; padding: 4px 0 4px 18px; color: var(--c-ink); font-family: var(--f-head); }
.article ul.dots { list-style: disc; padding-left: 22px; margin-bottom: 16px; }

/* ---------- CTA ---------- */
.cta {
  border-radius: var(--r-lg); border: 1px solid var(--c-brand);
  background: var(--c-brand); color: var(--c-white); padding: 46px 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center;
}
.cta h2, .cta p { color: var(--c-white); }
.cta p { margin: 0; opacity: 0.85; }
.cta form { display: flex; gap: 10px; flex-wrap: wrap; }
.cta .input { min-width: 240px; }

/* ---------- footer ---------- */
.site-footer { background: var(--c-ink); color: #9fb0c6; padding: 56px 0 26px; margin-top: 0; }
.site-footer h4 { color: var(--c-white); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #9fb0c6; font-size: 0.92rem; }
.site-footer a:hover { color: var(--c-white); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.foot-grid ul { display: flex; flex-direction: column; gap: 9px; }
.foot-logo { color: var(--c-white); }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 34px; padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, 0.15); border-radius: var(--r-sm); display: grid; place-items: center; }
.socials a:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- toast ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--c-ink); color: var(--c-white); border-radius: var(--r);
  padding: 12px 16px; font-size: 0.9rem; display: flex; align-items: center; gap: 10px;
  animation: fadeUp 0.3s var(--e);
}

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 90; visibility: hidden;
}
.drawer.is-open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(14, 23, 38, 0.45); opacity: 0; transition: opacity var(--t); }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
  background: var(--c-white); padding: 20px; transform: translateX(100%);
  transition: transform 0.32s var(--e); overflow: auto;
}
.drawer.is-open .drawer-panel { transform: translateX(0); }
.drawer-panel a { display: block; padding: 12px 6px; border-bottom: 1px solid var(--c-line); font-family: var(--f-head); color: var(--c-ink); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--e), transform 0.6s var(--e); }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .hero-art { order: -1; }
  .hero-float { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; }
  .detail { grid-template-columns: 1fr; }
  .buybox { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 1180px) {
  .hdr .search { max-width: 220px; }
}
@media (max-width: 1040px) {
  .nav a { padding: 8px 8px; font-size: 0.88rem; }
  .hdr .search { display: none; }
}
@media (max-width: 900px) {
  .nav, .hdr .search { display: none; }
  .burger { display: grid; }
  .g-4, .results { grid-template-columns: repeat(2, 1fr); }
  .g-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid var(--c-line); }
  .cta { grid-template-columns: 1fr; }
  .results.is-list .card { flex-direction: column; }
  .results.is-list .thumb { width: 100%; border-right: 0; border-bottom: 1px solid var(--c-line); aspect-ratio: 4/3; }
}
@media (max-width: 620px) {
  .section { padding: 52px 0; }
  .g-2, .g-3, .g-4, .results { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .spec { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .hdr { gap: 12px; }
  .hdr-actions .hdr-cart { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   ENHANCEMENT LAYER — Inter, aurora light, bento
   ============================================================ */

h1, h2, h3, h4, h5 { font-weight: 800; letter-spacing: -0.03em; }
h3, h4, h5 { font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); line-height: 1.06; }
.grad-text {
  background: var(--g-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* eyebrow + section head */
.eyebrow {
  background: color-mix(in srgb, var(--c-brand) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--c-brand) 18%, #fff);
  box-shadow: var(--sh-xs);
}
.sec-head h2 { position: relative; }
.sec-head p { font-size: 1.02rem; }

/* buttons */
.btn { border-radius: var(--r-sm); position: relative; overflow: hidden; box-shadow: var(--sh-xs); }
.btn:not(.btn--ghost):not(.btn--dark) { background: var(--g-brand); background-size: 160% 100%; }
.btn:not(.btn--ghost):not(.btn--dark):hover { background-position: 100% 0; box-shadow: var(--sh-glow); transform: translateY(-2px); }
.btn--dark { background: var(--g-ink); }
.btn--dark:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.btn--ghost:hover { box-shadow: var(--sh-sm); transform: translateY(-2px); }

/* header */
.site-header { background: rgba(255,255,255,0.78); backdrop-filter: blur(16px) saturate(150%); }
.site-header.is-stuck { box-shadow: 0 8px 24px -18px rgba(11,18,32,0.35); }
.logo-mark { background: var(--g-brand); box-shadow: var(--sh-glow); }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  border-radius: 2px; background: var(--g-brand); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

/* ---------- hero: aurora light ---------- */
.hero { background: var(--g-soft); }
.hero::after {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 130%;
  background:
    radial-gradient(38% 46% at 12% 8%, rgba(29,78,216,0.20), transparent 70%),
    radial-gradient(34% 40% at 88% 12%, rgba(6,182,212,0.22), transparent 70%),
    radial-gradient(30% 36% at 62% 92%, rgba(16,201,155,0.16), transparent 72%);
  filter: blur(6px); pointer-events: none;
  animation: aurora 16s ease-in-out infinite alternate;
}
@keyframes aurora {
  0% { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1.08); }
}
.hero-inner { z-index: 1; padding: 92px 0 96px; }
.hero-lead { font-size: 1.12rem; }
.hero h1 span { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-trust span { background: rgba(255,255,255,0.7); border: 1px solid var(--c-line); border-radius: var(--r-pill); padding: 6px 13px; backdrop-filter: blur(6px); }
.search--hero .search-field { box-shadow: var(--sh-md); border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.94); backdrop-filter: blur(8px); }
.search--hero .search-field:focus-within { box-shadow: var(--sh-glow); }

.hero-art::before {
  content: ""; position: absolute; inset: 6% -6% -8% 6%;
  background: var(--g-brand); filter: blur(46px); opacity: 0.35; border-radius: 40px; z-index: 0;
}
.hero-preview-stage { z-index: 1; box-shadow: var(--sh-md); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s var(--e), box-shadow 0.6s var(--e); }
.hero-art:hover .hero-preview-stage { transform: perspective(1200px) rotateY(0deg) rotateX(0deg) translateY(-4px); box-shadow: var(--sh-lg); }
.hero-float { z-index: 2; box-shadow: var(--sh-md); border-radius: var(--r-pill); backdrop-filter: blur(8px); background: rgba(255,255,255,0.92); }

/* ---------- stats ---------- */
.stats { border-radius: var(--r-xl); box-shadow: var(--sh-sm); background: var(--g-soft); }
.stat { position: relative; }
.stat b { font-size: 2.35rem; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat::after { content: ""; position: absolute; left: 24px; top: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--g-brand); }

/* ---------- bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: 18px; }
.bento-item {
  position: relative; overflow: hidden; padding: 26px;
  border: 1px solid var(--c-line); border-radius: var(--r-xl);
  background: var(--c-white); box-shadow: var(--sh-xs);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex; flex-direction: column; gap: 10px;
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: color-mix(in srgb, var(--c-brand) 35%, #fff); }
.bento-item h3 { font-size: 1.22rem; margin: 0; }
.bento-item p { color: var(--c-ink-3); font-size: 0.93rem; margin: 0; }
.bento-item .kpi { font-family: var(--f-head); font-weight: 800; font-size: 2.4rem; line-height: 1; background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.b-w2 { grid-column: span 2; }
.b-w3 { grid-column: span 3; }
.b-h2 { grid-row: span 2; }
.bento-item--dark { background: var(--g-ink); border-color: transparent; color: #b9c9dd; }
.bento-item--dark h3, .bento-item--dark .kpi { color: var(--c-white); -webkit-text-fill-color: currentColor; background: none; }
.bento-item--dark p { color: #9fb0c6; }
.bento-item--dark::after {
  content: ""; position: absolute; right: -20%; bottom: -50%; width: 70%; height: 160%;
  background: radial-gradient(circle at center, rgba(6,182,212,0.45), transparent 65%); filter: blur(10px);
}
.bento-item--brand { background: var(--g-brand); border-color: transparent; color: rgba(255,255,255,0.9); }
.bento-item--brand h3, .bento-item--brand .kpi { color: var(--c-white); -webkit-text-fill-color: currentColor; background: none; }
.bento-item--brand p { color: rgba(255,255,255,0.85); }
.bento-item--soft { background: linear-gradient(150deg, #ffffff 0%, var(--c-cyan-soft) 100%); }
.bento-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.bento-tags i { font-style: normal; font-size: 0.78rem; padding: 5px 11px; border-radius: var(--r-pill); background: rgba(255,255,255,0.14); }
.bento-item:not(.bento-item--dark):not(.bento-item--brand) .bento-tags i { background: var(--c-bg-alt); color: var(--c-ink-2); }
.bento-bars { display: flex; align-items: flex-end; gap: 8px; height: 78px; margin-top: auto; }
.bento-bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--g-brand); opacity: 0.85; animation: grow 1.1s var(--e) both; transform-origin: bottom; }
@keyframes grow { from { transform: scaleY(0.15); opacity: 0.2; } to { transform: scaleY(1); opacity: 0.85; } }

/* ---------- cards ---------- */
.card { border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.card:hover { box-shadow: var(--sh-md); transform: translateY(-5px); border-color: color-mix(in srgb, var(--c-brand) 40%, #fff); }
.card-title { font-size: 1.05rem; }
.thumb-actions { background: linear-gradient(180deg, rgba(11,18,32,0.15), rgba(11,18,32,0.7)); backdrop-filter: blur(2px); }
.badge { border-radius: var(--r-pill); padding: 5px 11px; box-shadow: var(--sh-xs); }

/* tiles / features / steps / quotes / plans */
.cat-tile, .feature, .step, .quote, .plan, .panel, .filters, .buybox, .acc { border-radius: var(--r-lg); box-shadow: var(--sh-xs); }
.cat-tile:hover, .feature:hover, .step:hover, .quote:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.feature, .step, .quote { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.cat-ico { border-radius: 12px; box-shadow: var(--sh-xs); }
.step-num { background: var(--g-brand); box-shadow: var(--sh-glow); }
.plan { border-radius: var(--r-xl); }
.plan.is-featured { background: var(--g-soft); box-shadow: var(--sh-md); position: relative; overflow: hidden; }
.plan.is-featured::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--g-brand); }
.plan-price { background: var(--g-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.avatar { box-shadow: var(--sh-sm); }

/* CTA */
.cta {
  border-radius: var(--r-xl); border-color: transparent; background: var(--g-ink);
  padding: 52px 44px; position: relative; overflow: hidden; box-shadow: var(--sh-md);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(80% 100% at 100% 0%, #000, transparent 70%);
}
.cta::after {
  content: ""; position: absolute; right: -8%; top: -60%; width: 46%; height: 220%;
  background: radial-gradient(circle at center, rgba(6,182,212,0.4), transparent 62%); filter: blur(8px);
}
.cta > * { position: relative; z-index: 1; }

/* page head */
.page-head { background: var(--g-soft); position: relative; overflow: hidden; padding: 56px 0; }
.page-head::after {
  content: ""; position: absolute; right: -6%; top: -120%; width: 46%; height: 300%;
  background: radial-gradient(circle at center, rgba(29,78,216,0.16), transparent 62%);
}
.page-head .wrap { position: relative; z-index: 1; }

/* footer */
.site-footer { background: var(--g-ink); }

/* responsive additions */
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-w3 { grid-column: span 2; }
  .b-h2 { grid-row: span 1; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .b-w2, .b-w3 { grid-column: span 1; }
  .hero-preview-stage { transform: none; }
}

/* polish fixes */
.btn, .nav a, .chip { white-space: nowrap; }
h1 { font-size: clamp(2.05rem, 3.9vw, 3.15rem); }
.hero-lead { margin-top: 18px; }
.bento-item--dark .bento-bars { margin-top: 18px; }
.stat b { font-variant-numeric: tabular-nums; }

/* Real multisite screenshots replace the decorative CSS mockup. Keep the
   same card geometry so the catalogue remains fast and visually consistent. */
.thumb-mock--real {
  padding: 0 !important;
  overflow: hidden;
  background: #eef3f8 !important;
}
.theme-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-main .thumb-mock--real .theme-preview-image {
  object-fit: contain;
  background: #eef3f8;
}
.gallery-thumbs .thumb-mock--real .theme-preview-image {
  object-fit: cover;
}
.card .thumb-mock--real {
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .45s ease;
}
.card:hover .thumb-mock--real {
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.02);
}

/* ---------- legacy theme isolation ----------
   The WordPress install still contains Flatsome and old plugin styles. They
   are useful for legacy pages, but must not change the standalone vault UI. */
body.muaweb-vault-page .row {
  width: auto;
  max-width: none;
  flex-flow: row nowrap;
}
body.muaweb-vault-page .row.wrapflex { flex-wrap: wrap; }
body.muaweb-vault-page .row::before,
body.muaweb-vault-page .row::after { content: none; display: none; }
body.muaweb-vault-page .row > div:not(.col):not([class^="col-"]) {
  width: auto !important;
}
body.muaweb-vault-page button,
body.muaweb-vault-page input,
body.muaweb-vault-page select,
body.muaweb-vault-page textarea,
body.muaweb-vault-page fieldset { margin: 0; }
body.muaweb-vault-page .btn,
body.muaweb-vault-page .chip,
body.muaweb-vault-page .view-toggle button { line-height: 1.2; min-height: 0; }

body.muaweb-vault-page .toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex: 0 0 auto;
  min-width: 0;
}
body.muaweb-vault-page .toolbar-actions .view-toggle {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  flex-wrap: nowrap;
}
body.muaweb-vault-page .toolbar-actions > .input,
body.muaweb-vault-page .toolbar-actions > select.input {
  height: 42px;
  padding-top: 8px;
  padding-bottom: 8px;
}
body.muaweb-vault-page .toolbar-actions .view-toggle button {
  display: grid;
  place-items: center;
  width: auto;
  height: 40px;
  min-width: 42px;
  margin: 0;
  padding: 0 12px;
}

body.muaweb-vault-page .thumb-badges .badge,
body.muaweb-vault-page .thumb-badges .badge + .badge {
  display: inline-flex;
  width: auto !important;
  min-width: 0;
  height: auto !important;
  flex: 0 0 auto;
  white-space: nowrap;
  opacity: 1;
}
body.muaweb-vault-page .card-body > .row { width: 100%; }

@media (max-width: 760px) {
  body.muaweb-vault-page .toolbar-actions {
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }
  body.muaweb-vault-page .toolbar-actions .input { flex: 1 1 auto; }
}
