/* Elegant Diamond Jewelers install control — brief 2077. Styled from
   the site's own design tokens (ink, paper, gold) so it reads as part
   of the site: a dark ink bar with a gold rule and a gold button, in
   the site's sharp-cornered manner. The bar is built by pwa.js and
   stays hidden until the browser offers installation (Chromium) or
   the visitor is on iOS Safari. It lanes above the chat button on
   small screens and centres clear of it on wide screens. Motion only
   where the visitor has not asked for less. */
.pwa-install {
  position: fixed;
  z-index: 80;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(76px + env(safe-area-inset-bottom));
  width: min(520px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 16px;
  background: var(--ink, #14130f);
  color: #f3efe3;
  border: 1px solid var(--gold-bright, #d1a24a);
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(24, 20, 10, .35);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.35;
}
@media (min-width: 768px) {
  .pwa-install { bottom: calc(16px + env(safe-area-inset-bottom)); }
}
.pwa-install[hidden] { display: none; }
.pwa-install .pwa-install-text { flex: 1 1 auto; }
.pwa-install .pwa-install-btn {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid var(--gold-bright, #d1a24a);
  background: var(--gold-bright, #d1a24a);
  color: var(--ink, #14130f);
  border-radius: 2px;
  padding: 10px 18px;
  min-height: 44px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
.pwa-install .pwa-install-btn:hover { background: var(--gold, #a67924); border-color: var(--gold, #a67924); color: #14130f; }
.pwa-install .pwa-install-dismiss {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: #bbb5a8;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
.pwa-install .pwa-install-btn:focus-visible,
.pwa-install .pwa-install-dismiss:focus-visible {
  outline: 2px solid var(--gold-bright, #d1a24a);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .pwa-install { transition: opacity 0.25s ease, transform 0.25s ease; }
}
html.a11y-reduce-motion .pwa-install { transition: none; }
