/* ═══════════════════════════════════════════════════════════
   SOLARIUM DOCK — sitewide floating navbar + mobile sheet
   Shared by home and all interior pages.
   ═══════════════════════════════════════════════════════════ */

.a62-store {
  --sol-ink: #141812;
  --sol-ink-soft: #3A4338;
  --sol-mute: #6B7568;
  --sol-paper: #EEF2EA;
  --sol-panel: #F7FAF4;
  --sol-line: #C9D4C2;
  --sol-grove: #1F5C45;
  --sol-grove-deep: #143D2E;
  --sol-acid: #C6F547;
  --sol-coral: #E85D4C;
  --sol-sky: #A8C8D8;
  --sol-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sol-sans: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --sol-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sol-snap: cubic-bezier(0.34, 1.35, 0.64, 1);
  --sol-dock-h: 4.25rem;
}

/* Hide legacy top ledger / aisle ribbon / bottom tray when dock is live */
.a62-store .rm-ledger,
.a62-store .rm-aisle-ribbon,
.a62-store .rm-tray,
.a62-store .rm-drawer {
  display: none !important;
}

.sol-stage {
  width: 100%;
  padding-bottom: calc(var(--sol-dock-h) + 2.5rem);
}

/* Interior stages: clear bottom dock; no top ledger offset */
.a62-store .rm-stage {
  padding-top: 1.15rem;
  padding-bottom: calc(var(--sol-dock-h) + 2.75rem);
}

/* ─── Floating dock ─── */
.sol-dock {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 1.15rem;
  width: min(960px, calc(100vw - 1.5rem));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.4rem 0.55rem;
  border-radius: 1.15rem;
  font-family: var(--sol-sans);
  color: var(--sol-ink);
  background: color-mix(in srgb, var(--sol-panel) 88%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid color-mix(in srgb, var(--sol-line) 70%, transparent);
  box-shadow: 0 10px 28px rgba(20, 24, 18, 0.1);
  animation: sol-dock-in 0.7s var(--sol-snap) both;
  box-sizing: border-box;
}

@keyframes sol-dock-in {
  from { opacity: 0; transform: translateY(1.4rem); }
  to { opacity: 1; transform: translateY(0); }
}

.sol-dock-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--sol-ink);
  flex-shrink: 0;
  height: 2.55rem;
  padding: 0 0.45rem 0 0.2rem;
  border-radius: 0.75rem;
  transition: background 0.25s var(--sol-ease);
  justify-self: start;
}

.sol-dock-brand:hover {
  background: color-mix(in srgb, var(--sol-acid) 35%, transparent);
}

.sol-dock-mark {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  flex-shrink: 0;
  border-radius: 0.65rem;
  background: var(--sol-grove);
  color: var(--sol-acid);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.sol-dock-word {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
}

.sol-dock-word strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.sol-dock-word em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--sol-mute);
  font-weight: 500;
  line-height: 1.15;
}

.sol-dock-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.1rem;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0;
}

.sol-dock-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.55rem;
  padding: 0 0.85rem;
  border-radius: 0.7rem;
  text-decoration: none;
  color: var(--sol-ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.2s var(--sol-ease), background 0.2s var(--sol-ease);
}

.sol-dock-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.4rem;
  width: 0;
  height: 2px;
  border-radius: 1px;
  background: var(--sol-coral);
  transform: translateX(-50%);
  transition: width 0.28s var(--sol-snap);
}

.sol-dock-link:hover,
.sol-dock-link.is-active {
  color: var(--sol-ink);
  background: color-mix(in srgb, var(--sol-grove) 8%, transparent);
}

.sol-dock-link:hover::after,
.sol-dock-link.is-active::after {
  width: 1.1rem;
}

.sol-dock-tools {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  height: 2.55rem;
  margin: 0;
  padding-left: 0.55rem;
  border-left: 1px solid var(--sol-line);
  justify-self: end;
}

.sol-dock-search {
  display: none;
  margin: 0;
  align-self: center;
}

@media (min-width: 900px) {
  .sol-dock-search {
    display: flex;
    align-items: center;
  }
  .sol-dock-search input {
    width: 7.5rem;
    height: 2.35rem;
    padding: 0 0.7rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    background: color-mix(in srgb, var(--sol-paper) 70%, white);
    font: inherit;
    font-size: 0.8rem;
    line-height: 1;
    color: var(--sol-ink);
    box-sizing: border-box;
    transition: width 0.3s var(--sol-ease), border-color 0.2s, background 0.2s;
  }
  .sol-dock-search input:focus {
    outline: none;
    width: 11rem;
    border-color: var(--sol-grove);
    background: #fff;
  }
}

.sol-dock-tool {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 0.7rem;
  color: var(--sol-ink);
  text-decoration: none;
  transition: background 0.2s var(--sol-ease), transform 0.25s var(--sol-snap);
}

.sol-dock-tool:hover,
.sol-dock-tool.is-active {
  background: var(--sol-acid);
  transform: translateY(-2px);
}

.sol-dock-tool .a62-ico {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.sol-dock-tool .a62-ico svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  display: block;
}

.sol-dock-bag em,
.sol-dock-tool em {
  position: absolute;
  top: 0.15rem;
  right: 0.1rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.25rem;
  border-radius: 0.4rem;
  background: var(--sol-coral);
  color: #fff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1rem;
  text-align: center;
}

.sol-dock-more {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 0.7rem;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.sol-dock-more span:not(.visually-hidden) {
  display: block;
  width: 1.05rem;
  height: 2px;
  margin: 0;
  background: var(--sol-ink);
  border-radius: 1px;
  transition: transform 0.25s var(--sol-ease);
}

@media (max-width: 760px) {
  .sol-dock {
    bottom: 0.75rem;
    width: min(100vw - 1rem, 960px);
    grid-template-columns: auto 1fr;
    column-gap: 0.35rem;
    padding: 0.35rem 0.4rem;
  }
  .sol-dock-nav {
    display: none;
  }
  .sol-dock-word {
    display: none;
  }
  .sol-dock-more {
    display: inline-flex;
  }
  .sol-dock-tools {
    border-left: 0;
    padding-left: 0;
    justify-self: end;
  }
}

/* Mobile menu */
.sol-menu[hidden] { display: none; }
.sol-menu:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end stretch;
  font-family: var(--sol-sans);
}

.sol-menu-scrim {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 18, 0.45);
  animation: sol-fade 0.25s ease both;
}

.sol-menu-panel {
  position: relative;
  margin: 0 0.75rem calc(var(--sol-dock-h) + 1.5rem);
  padding: 1.25rem 1.35rem 1.5rem;
  border-radius: 1.25rem 1.25rem 1rem 1rem;
  background: var(--sol-panel);
  border: 1px solid var(--sol-line);
  animation: sol-sheet-up 0.35s var(--sol-snap) both;
}

@keyframes sol-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes sol-sheet-up {
  from { opacity: 0; transform: translateY(1.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

.sol-menu-close {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: var(--sol-mute);
  cursor: pointer;
  margin-bottom: 0.75rem;
}

.sol-menu-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sol-menu-panel a {
  padding: 0.85rem 0.35rem;
  text-decoration: none;
  color: var(--sol-ink);
  font-size: 1.35rem;
  font-family: var(--sol-display);
  border-bottom: 1px solid var(--sol-line);
  transition: color 0.2s, padding-left 0.25s var(--sol-ease);
}

.sol-menu-panel a:hover,
.sol-menu-panel a.is-active {
  color: var(--sol-grove);
  padding-left: 0.55rem;
}

@media (prefers-reduced-motion: reduce) {
  .sol-dock,
  .sol-menu-scrim,
  .sol-menu-panel {
    animation: none !important;
  }
  .sol-dock {
    opacity: 1 !important;
    transform: none !important;
  }
}
