/* Quick access to the bag and the start of long pages. */
.floating-actions {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: opacity .18s ease;
}
.floating-action {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid #d6b66d;
  border-radius: 50%;
  color: #d6b66d;
  background: #111112;
  box-shadow: 0 5px 22px #0007;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.floating-action[hidden] { display: none; }
.floating-action svg { width: 24px; height: 24px; stroke-width: 1.7; }
.floating-bag { color: #111112; background: #d6b66d; }
.floating-bag-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 23px;
  min-height: 23px;
  height: 1.6em;
  padding: 0 5px;
  border: 1px solid #d6b66d;
  border-radius: 20px;
  color: #f0d99e;
  background: #111112;
  font: 600 .75rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.floating-hint {
  position: absolute;
  right: calc(100% + 12px);
  padding: 6px 11px;
  border: 1px solid #d6b66d55;
  border-radius: 5px;
  color: #f2e8d5;
  background: #111112;
  font: 500 .8125rem/1.5 var(--sans);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
.floating-action:focus-visible .floating-hint { opacity: 1; }
.modal-open .floating-actions { opacity: 0; pointer-events: none; }
.footer-bottom, .policy-footer { padding-right: 88px; }
.toast { max-width: min(480px, calc(100vw - 160px)); }
@media (hover: hover) {
  .floating-action:hover { transform: translateY(-3px); background: #262117; }
  .floating-bag:hover { background: #ecd18f; }
  .floating-action:hover .floating-hint { opacity: 1; }
}
@media (max-width: 650px) {
  .floating-actions { right: max(16px, env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); gap: 10px; }
  .floating-action { width: 50px; height: 50px; }
  .floating-action svg { width: 23px; height: 23px; }
  .floating-hint { display: none; }
  .footer-bottom, .policy-footer { padding-right: 64px; }
  .toast { bottom: calc(18px + env(safe-area-inset-bottom)); max-width: calc(100vw - 150px); }
}
