:root {
  --background: #f6f3ec;
  --ink: #14201b;
  --muted: #4d5c54;
  --primary: #1b4d3e;
  --accent: #c45c26;
  --fog: #e7efe8;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--background);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(246,243,236,.96);
  backdrop-filter: blur(10px);
}
.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-height: 4rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 2.25rem;
  width: auto;
  max-width: 10rem;
  object-fit: contain;
}
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  justify-self: end;
  grid-column: 3;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 1.25rem;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 1px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .15rem 1.35rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .4rem 0;
  color: var(--ink);
  background: none;
  border: none;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.nav-link:hover { color: var(--primary); }
.nav-link-accent { color: #b8860b; }
.nav-link-accent:hover { color: #966f09; }
.nav-chevron { opacity: .7; transition: transform .15s; }
.nav-dropdown { position: relative; }
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + .35rem);
  left: 0;
  min-width: 12.5rem;
  padding: .5rem;
  background: #fff;
  border-radius: .75rem;
  box-shadow: 0 12px 32px rgba(20, 32, 27, .12);
  border: 1px solid rgba(0,0,0,.06);
  z-index: 50;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: .9rem;
}
.nav-dropdown.is-open .nav-dropdown-menu { display: block; }
@media (min-width: 861px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
  .nav-dropdown:hover .nav-chevron,
  .nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }
}
.nav-dropdown-menu a {
  display: block;
  padding: .55rem .75rem;
  border-radius: .45rem;
  color: var(--ink);
}
.nav-dropdown-menu a:hover {
  background: var(--fog);
  color: var(--primary);
}
.nav-icons {
  display: flex;
  align-items: center;
  gap: .35rem;
  justify-self: end;
}
.nav-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--ink);
  border-radius: .5rem;
}
.nav-icon:hover { color: var(--primary); background: rgba(27,77,62,.06); }
.nav-icon-cart .badge {
  position: absolute;
  top: .15rem;
  right: .05rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 .3rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
}
@media (max-width: 860px) {
  .site-header-inner {
    grid-template-columns: 1fr auto auto;
  }
  .nav-burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .75rem 1.25rem 1.25rem;
    background: rgba(246,243,236,.98);
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 12px 24px rgba(0,0,0,.06);
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: .75rem 0; justify-content: space-between; width: 100%; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 .5rem 0.75rem;
    min-width: 0;
  }
  .nav-dropdown.is-open .nav-dropdown-menu { display: block; }
}

.hero {
  background: var(--primary);
  color: #fff;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
  width: 100%;
}
.hero-inner--grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: min(88vh, 820px);
}
@media (min-width: 768px) {
  .hero-inner--grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.hero-copy { position: relative; z-index: 1; max-width: 36rem; }
.hero-media {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 280px;
  position: relative;
}
@media (min-width: 768px) {
  .hero-media { min-height: 420px; justify-content: flex-end; }
}
.hero-packshot-img {
  width: 100%;
  max-width: 560px;
  object-fit: contain;
  transform-origin: bottom;
  transform: scale(1.1);
  filter: drop-shadow(0 25px 35px rgba(0,0,0,.35));
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .hero-packshot-img { transform: translateX(1.5rem) scale(1.25); }
}
.hero-kicker {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .75;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: .95;
  text-transform: uppercase;
  margin: 1rem 0 0;
  max-width: 16ch;
}
.hero p { max-width: 36rem; opacity: .9; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Coffre — hero packshot (comme Node) */
.vault-hero {
  background: var(--vault-hero-bg, var(--primary));
  color: #fff;
  min-height: min(70vh, 640px);
  overflow: hidden;
  position: relative;
}
.vault-hero--marsh {
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, color-mix(in srgb, var(--shop-accent, var(--accent)) 35%, transparent), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 20%, color-mix(in srgb, var(--shop-primary, var(--primary)) 40%, white), transparent 50%),
    linear-gradient(165deg, color-mix(in srgb, var(--shop-primary, var(--primary)) 70%, black) 0%, var(--shop-primary, var(--primary)) 45%, color-mix(in srgb, var(--shop-primary, var(--primary)) 75%, #243820) 100%);
}
.vault-marsh-noise {
  position: absolute;
  inset: 0;
  opacity: .4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
}
.vault-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: min(70vh, 640px);
}
@media (min-width: 768px) {
  .vault-hero-inner { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.vault-hero-media {
  order: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 240px;
  position: relative;
}
@media (min-width: 768px) {
  .vault-hero-media { order: 1; min-height: 380px; justify-content: flex-start; }
}
.vault-hero-glow {
  pointer-events: none;
  position: absolute;
  left: -2.5rem;
  bottom: 0;
  height: 70%;
  width: 70%;
  border-radius: 999px;
  opacity: .3;
  filter: blur(48px);
  background: color-mix(in srgb, white 40%, transparent);
}
.vault-hero-packshot {
  width: 100%;
  max-width: 520px;
  object-fit: contain;
  transform-origin: bottom;
  transform: scale(1.1);
  filter: drop-shadow(0 28px 40px rgba(0,0,0,.35));
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) {
  .vault-hero-packshot {
    max-width: none;
    transform: translateX(-1.5rem) scale(1.25);
  }
}
@media (min-width: 1024px) {
  .vault-hero-packshot { transform: translateX(-1.5rem) scale(1.3); }
}
.vault-hero-fallback {
  order: 2;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 2px;
  background: linear-gradient(145deg, #16382d, #3d6b3a 55%, #c45c26);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.vault-hero-fallback p {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
@media (min-width: 768px) { .vault-hero-fallback { order: 1; width: 100%; } }
.vault-hero-copy { order: 1; max-width: 36rem; }
@media (min-width: 768px) {
  .vault-hero-copy { order: 2; justify-self: end; }
}
.vault-kicker {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .35em;
  text-transform: uppercase;
  opacity: .75;
  margin: 0;
}
.vault-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  text-transform: uppercase;
  margin: 1rem 0 0;
}
.vault-lead { margin: 1.25rem 0 0; opacity: .9; font-size: 1.05rem; }
.vault-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.25rem;
}
.vault-steps strong {
  display: block;
  font-size: .875rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}
.vault-steps span {
  display: block;
  margin-top: .25rem;
  font-size: .875rem;
  opacity: .8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: .75rem 1.5rem;
  font-size: .875rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-solid { background: var(--primary); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section h2 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  margin: 0;
}
.muted { color: var(--muted); }
.grid-3 {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  margin-top: 2rem;
}
.card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform .15s ease;
}
.card:hover { transform: translateY(-2px); }
.card-media {
  aspect-ratio: 4/5;
  background: var(--fog);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.card:hover .card-media img { transform: scale(1.04); }
.card-media-fallback {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
}
.card-body { padding: 1rem 1.1rem 1.25rem; }
.card-title { font-weight: 600; margin: 0 0 .35rem; }
.card-price { color: var(--primary); font-weight: 700; }

.cat-band { background: var(--fog); border-block: 1px solid rgba(0,0,0,.05); }
.cat-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 2rem;
}
.cat-card {
  background: var(--primary);
  color: #fff;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: transform .15s ease;
}
.cat-card:hover { transform: translateY(-2px); }
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
}
.cat-card p { margin: .5rem 0 0; font-size: .875rem; color: rgba(209,250,229,.75); }

.site-footer {
  background: color-mix(in srgb, var(--primary) 82%, black);
  color: rgba(255,255,255,.85);
  margin-top: 3rem;
  padding: 2.5rem 1.25rem;
}
.site-footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: .875rem;
}
.footer-meta { margin: .35rem 0 0; opacity: .8; line-height: 1.45; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  font-size: .875rem;
}
.footer-links a { opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

.panel {
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 1rem;
  padding: 1.25rem;
}
.form label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .35rem; }
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .5rem;
  padding: .55rem .75rem;
  font: inherit;
  background: #fff;
  margin-bottom: .9rem;
}
.flash {
  max-width: 72rem;
  margin: 1rem auto 0;
  padding: .75rem 1rem;
  border-radius: .75rem;
  font-size: .875rem;
}
.flash-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.flash-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

@media (max-width: 700px) {
  .nav { display: none; }
  .nav-mobile { display: flex; }
}

/* ——— Pages compte / club / produit ——— */
.page-display {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin: 0;
  line-height: 1.15;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: .25rem;
}
.text-link { color: var(--primary); font-weight: 600; font-size: .875rem; }
.text-link:hover { text-decoration: underline; }
.back-shop { display: inline-block; font-size: .875rem; margin-bottom: .5rem; }

.account-page { max-width: 32rem; margin: 0 auto; padding: 3rem 1.25rem; }
.account-auth {
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .account-auth { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.account-title {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0;
}
.account-card {
  margin-top: 1.5rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,.1);
  border-radius: 1rem;
  padding: 1.5rem;
  font-size: .925rem;
}
.account-name { margin: 0 0 .25rem; }
.account-tier { margin: 1rem 0 .35rem; }
.account-actions { margin-top: 1.5rem; }
.account-form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.account-form input {
  width: 100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .5rem;
  padding: .65rem .85rem;
  font: inherit;
  background: #fff;
}

.club-page { max-width: 72rem; margin: 0 auto; padding: 3rem 1.25rem; }
.club-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) {
  .club-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.club-kicker {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.club-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: .75rem 0 0;
  line-height: 1.1;
}
.club-lead { margin: 1rem 0 0; color: var(--muted); }
.club-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .75rem;
  font-size: .925rem;
}
.club-status {
  margin-top: 1.75rem;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  border-radius: .85rem;
  padding: .85rem 1rem;
  font-size: .9rem;
}
.club-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.club-badge {
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  border: 4px solid rgba(0,0,0,.1);
  background: rgba(255,255,255,.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: .5rem;
}
.club-badge.is-active {
  border-color: var(--accent);
  background: #fff;
}
.club-stars { font-size: 1.15rem; line-height: 1; }
.club-badge-name {
  margin-top: .25rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.club-badge-pct { font-size: .65rem; color: var(--muted); }
.club-arrow { color: #d4d4d8; font-size: 1.5rem; display: none; }
@media (min-width: 640px) { .club-arrow { display: inline; } }

.club-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: .75rem 1.25rem;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.club-fab:hover { filter: brightness(1.05); }

.product-page { max-width: 64rem; }
.product-grid {
  display: grid;
  gap: 2rem;
  margin-top: .75rem;
}
@media (min-width: 768px) {
  .product-grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.product-media {
  aspect-ratio: 4/5;
  background: var(--fog);
  border-radius: 1rem;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-media-fallback {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}
.product-desc { margin: 1rem 0; }
.product-buy {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: end;
}
.qty-label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .8rem;
  font-weight: 600;
}
.qty-label input {
  width: 5rem;
  padding: .55rem .65rem;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .5rem;
  font: inherit;
}
.plant-form-options {
  border: 0;
  margin: 0 0 .25rem;
  padding: 0;
  width: 100%;
  flex: 1 1 100%;
}
.plant-form-options legend {
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: .5rem;
}
.plant-form-option {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .65rem .75rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .5rem;
  margin-bottom: .5rem;
  cursor: pointer;
}
.plant-form-option:has(input:checked) {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}
.plant-form-option.is-disabled {
  opacity: .45;
  cursor: not-allowed;
}
.plant-form-option input {
  margin-top: .2rem;
  accent-color: var(--primary);
}
.plant-form-option strong {
  display: block;
  font-size: .9rem;
}
.plant-form-option .muted {
  font-size: .8rem;
}
.pack-contents { margin: 0; padding-left: 1.1rem; }
.pack-contents a { color: var(--primary); font-weight: 600; }

.search-bar {
  margin: 1rem 0;
  display: flex;
  gap: .5rem;
  max-width: 28rem;
}
.search-bar input {
  flex: 1;
  padding: .6rem .8rem;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .5rem;
  font: inherit;
}

.legal-page { max-width: 40rem; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.1rem;
  margin: 1rem 0 1.5rem;
  font-size: .875rem;
}
.legal-nav a { color: var(--primary); font-weight: 600; }
.legal-body {
  margin-top: 1.25rem;
  white-space: pre-wrap;
  line-height: 1.65;
}

.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 28rem;
  margin: auto;
  background: #14201b;
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: .75rem;
  z-index: 50;
  font-size: .875rem;
}
.cookie-actions {
  margin-top: .75rem;
  display: flex;
  gap: .5rem;
  align-items: center;
}
.cookie-actions a { color: #fff; opacity: .85; }

/* Vault builder (Node-like) */
.vault-builder { padding-bottom: 14rem; }
.vault-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .vault-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .vault-grid { grid-template-columns: 1fr 1fr 1fr; } }
.vault-card {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
}
.vault-card.is-selected { outline: 2px solid var(--primary); outline-offset: -1px; }
.vault-card-media {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #16382d 0%, #2a5a45 45%, #7a8f4a 100%);
}
.vault-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vault-card-body {
  padding: 1rem;
  display: grid;
  gap: .75rem;
}
.vault-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink, #14201b);
}
.vault-card-price {
  margin: .25rem 0 0;
  font-size: .875rem;
  color: var(--muted, #4d5c54);
}
.vault-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.vault-qty {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.vault-qty-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
}
.vault-qty-val { min-width: 1.5rem; text-align: center; font-weight: 700; font-size: .875rem; }
.vault-disc-badge {
  font-size: .75rem;
  font-weight: 700;
  color: #065f46;
}
.vault-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  border-top: 1px solid rgba(0,0,0,.1);
  background: rgba(246, 243, 236, .95);
  backdrop-filter: blur(10px);
}
.vault-bar-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}
.vault-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: .875rem;
}
.vault-bar-sel {
  margin: 0;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink, #14201b);
}
.vault-bar-price {
  margin: 0;
  font-weight: 700;
  text-align: right;
  color: var(--ink, #14201b);
}
.vault-price-strike {
  margin-right: .35rem;
  font-weight: 400;
  color: var(--muted, #4d5c54);
  text-decoration: line-through;
}
.vault-price-pct { color: #065f46; margin-left: .15rem; }
.vault-progress { margin-bottom: 1rem; }
.vault-progress-track {
  position: relative;
  height: .5rem;
  border-radius: 999px;
  background: rgba(0,0,0,.1);
}
.vault-progress-fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 0;
  border-radius: 999px;
  background: var(--vault-accent, var(--accent));
  transition: width .25s ease;
}
.vault-progress-ticks {
  position: relative;
  height: 2rem;
  margin-top: .5rem;
}
.vault-tick {
  position: absolute;
  top: 0;
  white-space: nowrap;
  font-size: 10px;
  line-height: 1.2;
  color: #a1a1aa;
  font-weight: 700;
}
.vault-tick.is-reached { color: var(--ink, #14201b); }
.vault-tick-pct { display: block; }
.vault-tick-amt { display: block; font-weight: 400; }
.vault-bar-error {
  margin: 0 0 .5rem;
  font-size: .875rem;
  color: #b91c1c;
}
.vault-bar-cta {
  width: 100%;
  border: 0;
  border-radius: .75rem;
  padding: .85rem 1rem;
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  background: var(--vault-accent, var(--accent));
  cursor: pointer;
}
.vault-bar-cta:disabled { opacity: .5; cursor: not-allowed; }

.cart-page { max-width: 36rem; }
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.cart-line-actions { display: flex; gap: .5rem; align-items: center; }
.cart-line-actions input[type="number"] {
  width: 4rem;
  padding: .4rem .5rem;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .4rem;
  font: inherit;
}
.cart-totals { margin-top: 1rem; display: grid; gap: .35rem; }
.cart-totals p {
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: .925rem;
}
.cart-disc { color: var(--primary); }
.cart-disc.accent { color: var(--accent); }
.cart-promo {
  margin-top: 1rem;
  display: flex;
  gap: .5rem;
}
.cart-promo input {
  flex: 1;
  padding: .55rem .75rem;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: .5rem;
  font: inherit;
}
.btn-sm { padding: .35rem .65rem; font-size: .8rem; }
