/* ==========================================================================
   The Aromaverse: storefront refinements (Dec 2026)
   Loaded last. Small, careful fixes on top of the existing look:
   one help button on phones that steps aside while you scroll, aligned
   product cards, a "Notify me" path for sold-out perfumes.
   ========================================================================== */

/* Help buttons: on phones only WhatsApp floats (one tap), and it tucks away
   while you scroll down so it never sits on a price or a button. */
.fab-stack { transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .25s ease; }
@media (max-width: 760px) {
  .fab-ask { display: none; }
  .fab-stack.is-tucked { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; }
  .fab-btn.fab-whatsapp { width: 50px; height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .fab-stack { transition: none; } }

/* Product cards: the button row always sits at the bottom, sold out or not */
.pcard-foot { margin-top: auto; }
.pcard-add.pcard-notify { text-decoration: none; color: var(--ink-2, #5F584F); background: transparent; box-shadow: inset 0 0 0 1px var(--hairline-strong, #D9CFBF); }
.pcard-add.pcard-notify:hover { background: var(--oud, #1B1815); color: #fff; box-shadow: none; }
.pcard-add.pcard-notify .icon-sm { display: inline-block; width: 15px; height: 15px; }

/* "Ask a question" from the footer and the phone menu */
.footer-link-btn { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; text-decoration: none; }
.footer-link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.menu-account { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); }
.menu-account button {
  display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border: 0; border-radius: 16px; cursor: pointer;
  background: #fff; box-shadow: var(--panel-shadow); font: inherit; font-size: .78rem; color: var(--oud);
}
.menu-account button .icon-sm { color: var(--saffron-ink); }

/* Sold-out size jump target on the perfume page */
#notify { scroll-margin-top: 110px; }

/* Messages ("Added to cart", "Saved") appear above the sticky buy and checkout bars, never on top of the button */
@media (max-width: 1020px) {
  .has-cartbar .toast-region, .has-buybar .toast-region { bottom: calc(104px + env(safe-area-inset-bottom)); }
}
