/* ═══════════════════════════════════════════════════
   Atomi — Button Component
   Canonical definitions. Section overrides live in
   their respective section CSS files.
   ═══════════════════════════════════════════════════ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 0 32px; min-height: 56px;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  font-family: var(--font-ui); font-size: 0.95rem; font-weight: 620;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              border-color 0.28s var(--ease), background 0.28s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: 0 24px; font-size: 0.85rem; border-radius: var(--radius-btn); }
.btn-arrow { font-size: 1.2rem; line-height: 1; transition: transform 0.28s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary {
  color: oklch(0.98 0.01 82);
  background:
    radial-gradient(circle at 18% 18%, oklch(0.73 0.18 303 / 0.42), transparent 34%),
    linear-gradient(135deg, oklch(0.24 0.14 292), oklch(0.18 0.12 288));
  box-shadow:
    inset 0 1px 0 oklch(0.98 0.01 82 / 0.24),
    inset 0 -18px 42px oklch(0.1 0.08 290 / 0.22),
    0 22px 48px oklch(0.36 0.16 294 / 0.38),
    0 0 0 1px oklch(0.72 0.14 304 / 0.44);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 oklch(0.98 0.01 82 / 0.25),
    0 26px 58px oklch(0.36 0.16 294 / 0.42),
    0 0 0 7px oklch(0.64 0.17 303 / 0.11);
}

.btn-ghost {
  color: var(--ink);
  background: oklch(0.99 0.01 82 / 0.58);
  border-color: oklch(0.77 0.09 69 / 0.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 oklch(0.99 0.01 82 / 0.52),
    0 18px 42px oklch(0.44 0.05 70 / 0.08);
}
.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: oklch(0.82 0.12 74 / 0.68);
}

/* Global focus-visible ring for all interactive elements */
:where(.btn, .fp-cta, .v-cta, .product-row-see-all, .fp-see-all, .pop-tab, .product-link, .pr-card, .hero-action-card, .hero-mobile-action):focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}
