/* =============================================
   Gmingo - Global styles, animations, hover & scroll effects
   ============================================= */

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* ---- Top bar promotional “popup” chip — 3D-style enter / exit ---- */
.gmingo-promo-ticker-viewport {
  perspective: 720px;
}
@media (prefers-reduced-motion: no-preference) {
  .gmingo-promo-popup {
    transform-origin: 50% 50%;
    transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
    opacity: 1;
    filter: blur(0);
    border-radius: 9999px;
    padding: 0.35rem 0.85rem 0.35rem 0.65rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.99) 0%, rgba(241, 245, 249, 0.97) 100%);
    border: 1px solid rgba(203, 213, 225, 0.65);
    box-shadow:
      0 10px 34px -8px rgba(15, 23, 42, 0.35),
      0 4px 12px -4px rgba(30, 64, 175, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
      opacity 0.58s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.65s cubic-bezier(0.2, 0.9, 0.35, 1.12),
      filter 0.55s ease,
      box-shadow 0.55s ease;
    will-change: transform, opacity, filter;
  }
  .gmingo-promo-popup.is-leaving {
    opacity: 0;
    transform: translate3d(0, -22px, 0) scale(0.86) rotateX(14deg);
    filter: blur(6px);
    box-shadow: 0 4px 12px -6px rgba(15, 23, 42, 0.15);
  }
  .gmingo-promo-popup.is-entering {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.82) rotateX(-12deg);
    filter: blur(8px);
    transition: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gmingo-promo-popup {
    border-radius: 9999px;
    padding: 0.35rem 0.85rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  }
}

/* Promo chip copy: high contrast, professional palette */
.gmingo-promo-ticker-text {
  color: #0f172a;
  font-weight: 600;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.gmingo-promo-ticker-text a {
  color: #1e40af;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.gmingo-promo-ticker-text a:hover {
  color: #1e3a8a;
}

.gmingo-promo-ticker-text .gmingo-promo-link {
  text-decoration: none;
}

.gmingo-promo-ticker-text .gmingo-promo-cta-btn {
  margin-left: 0.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1e40af;
  border: 1px solid rgba(30, 64, 175, 0.34);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition:
    border-color 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.26s ease,
    transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.gmingo-promo-ticker-text .gmingo-promo-cta-btn:hover,
.gmingo-promo-ticker-text .gmingo-promo-cta-btn:focus-visible {
  color: #1e3a8a;
  border-color: rgba(30, 58, 138, 0.55);
  background: rgba(239, 246, 255, 0.95);
  box-shadow: 0 4px 14px -8px rgba(30, 64, 175, 0.45);
  transform: translateY(-1px);
}

.gmingo-promo-ticker-text .gmingo-promo-cta-btn:active {
  transform: translateY(0);
}
.gmingo-promo-popup-icon {
  color: #1d4ed8;
}

@keyframes gmingo-popup-intro {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.88) rotateX(-10deg);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .gmingo-promo-popup.gmingo-promo-popup--intro {
    animation: gmingo-popup-intro 0.88s cubic-bezier(0.2, 0.9, 0.35, 1.12) forwards;
  }
}

html {
  -webkit-tap-highlight-color: transparent;
}
body {
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Transitions (smooth) ---- */
a, button, .transition-smooth {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Toast notifications ---- */
#toast-container {
  z-index: 100100;
  pointer-events: none;
}
#toast-container .toast-gmingo {
  pointer-events: auto;
}
.toast-gmingo {
  max-width: 22rem;
  width: min(22rem, calc(100dvw - 2rem));
  opacity: 0;
  transform: translateX(0.75rem);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast-gmingo.toast-gmingo-enter {
  opacity: 1;
  transform: translateX(0);
}
.toast-gmingo.toast-gmingo-leave {
  opacity: 0;
  transform: translateX(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast-gmingo-inner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem 0.75rem 0.875rem 0.875rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid rgb(226 232 240);
  border-left-width: 4px;
  box-shadow: 0 10px 40px -8px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.04);
}
.toast-gmingo-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast-gmingo-text {
  flex: 1;
  min-width: 0;
}
.toast-gmingo-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgb(15 23 42);
}
.toast-gmingo-msg {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgb(71 85 105);
  word-wrap: break-word;
}
.toast-gmingo-close {
  flex-shrink: 0;
  margin: -0.25rem -0.25rem 0 0;
  padding: 0.35rem;
  border: none;
  background: transparent;
  color: rgb(148 163 184);
  border-radius: 0.375rem;
  cursor: pointer;
  line-height: 0;
  transition: color 0.15s ease, background 0.15s ease;
}
.toast-gmingo-close:hover {
  color: rgb(71 85 105);
  background: rgb(241 245 249);
}
.toast {
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ---- Product cards: hover lift + shadow ---- */
.product-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(26, 58, 124, 0.18);
}

/* ---- Home page promo cards: always visible (marquee uses different structure) ---- */
.home-promo-row { opacity: 1 !important; transform: none !important; }
.home-promo-row .home-promo-card { opacity: 1 !important; transform: none !important; }
a.home-promo-card { border-radius: 1rem !important; -webkit-border-radius: 1rem !important; border: 1px solid #3b82f6 !important; transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s ease !important; }
a.home-promo-card:hover { transform: translateY(-6px) !important; box-shadow: 0 20px 40px -12px rgba(0,0,0,0.12) !important; border-color: #2563eb !important; }
.home-promo-icon-wrap { border-radius: 0.75rem !important; -webkit-border-radius: 0.75rem !important; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1) !important; }
a.home-promo-card:hover .home-promo-icon-wrap { transform: scale(1.1) !important; }

/* ---- Home product section heading bars ---- */
.gmingo-section-heading {
  border-radius: 0.78rem;
  padding: 0.42rem 0.8rem;
  border: 1px solid transparent;
  box-shadow: 0 8px 22px -16px rgba(15, 23, 42, 0.24);
}
.gmingo-section-heading-title {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.gmingo-section-heading-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.2rem 0.58rem;
  font-size: 0.68rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.14);
}
.gmingo-section-heading--flash {
  background: linear-gradient(90deg, #1a3a7c 0%, #2c64d3 50%, #1a3a7c 100%);
  border-color: rgba(147, 197, 253, 0.28);
}
.gmingo-section-heading--featured {
  background: linear-gradient(90deg, #1a3a7c 0%, #2c64d3 50%, #1a3a7c 100%);
  border-color: rgba(147, 197, 253, 0.28);
}
.gmingo-section-heading--latest {
  background: linear-gradient(90deg, #1a3a7c 0%, #2c64d3 50%, #1a3a7c 100%);
  border-color: rgba(147, 197, 253, 0.28);
}

/* ---- Promo / deal cards ---- */
.promo-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.promo-card:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12);
}

/* ---- Buttons: subtle scale on hover ---- */
.btn-hover-lift:hover {
  transform: translateY(-1px);
}
.btn-hover-lift:active {
  transform: translateY(0);
}

/* ---- Scroll-triggered fade-in (for sections) ---- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Home page: Categories menu ---- */
.home-categories-menu {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.home-categories-menu:hover {
  transform: translateY(-2px);
}
.home-category-item {
  position: relative;
  transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.home-category-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.15), transparent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.home-category-item:hover {
  background-color: rgba(59, 130, 246, 0.08);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.15);
}
.home-category-item:hover::before {
  width: 4px;
}

/* ---- Category nav icons (semantic placeholder when no photo) ---- */
.gmingo-caticon {
  position: relative;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.3s ease;
}
.gmingo-caticon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%);
  opacity: 0.95;
}
.gmingo-caticon__svg {
  position: relative;
  z-index: 1;
  width: 56%;
  height: 56%;
  max-width: 1.35rem;
  max-height: 1.35rem;
  stroke: currentColor;
  vector-effect: non-scaling-stroke;
}
.gmingo-caticon--sidebar {
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 0.55rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 2px 6px -2px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}
.gmingo-caticon--sidebar .gmingo-caticon__svg {
  width: 54%;
  height: 54%;
  max-width: 1.15rem;
  max-height: 1.15rem;
}
.gmingo-caticon--card {
  width: 4rem;
  height: 4rem;
  border-radius: 0.85rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 6px 18px -8px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.65);
}
.gmingo-caticon--card .gmingo-caticon__svg {
  width: 48%;
  height: 48%;
  max-width: 1.65rem;
  max-height: 1.65rem;
}
.home-category-item:hover .gmingo-caticon,
.cat-link-card:hover .gmingo-caticon {
  transform: translateY(-1px) scale(1.06);
  filter: saturate(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 8px 20px -10px rgba(37, 99, 235, 0.35),
    0 0 0 1px rgba(59, 130, 246, 0.12);
}
.cat-link-card:hover .gmingo-caticon--card {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 12px 28px -10px rgba(37, 99, 235, 0.28),
    0 0 0 1px rgba(59, 130, 246, 0.14);
}
.home-category-item:focus-visible .gmingo-caticon,
.cat-link-card:focus-visible .gmingo-caticon {
  outline: 2px solid rgba(59, 130, 246, 0.55);
  outline-offset: 2px;
}

/* Accent palettes (icon + tile harmonize with category “family”) */
.gmingo-caticon--accent-tech {
  background: linear-gradient(148deg, #eef2ff 0%, #e0e7ff 42%, #c7d2fe 100%);
  color: #312e81;
}
.gmingo-caticon--accent-fashion {
  background: linear-gradient(148deg, #fff1f2 0%, #ffe4e6 45%, #fecdd3 100%);
  color: #9f1239;
}
.gmingo-caticon--accent-beauty {
  background: linear-gradient(148deg, #fdf4ff 0%, #fae8ff 45%, #f5d0fe 100%);
  color: #86198f;
}
.gmingo-caticon--accent-food {
  background: linear-gradient(148deg, #fffbeb 0%, #fef3c7 45%, #fde68a 100%);
  color: #92400e;
}
.gmingo-caticon--accent-home {
  background: linear-gradient(148deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
  color: #1e293b;
}
.gmingo-caticon--accent-sport {
  background: linear-gradient(148deg, #fff7ed 0%, #ffedd5 45%, #fed7aa 100%);
  color: #9a3412;
}
.gmingo-caticon--accent-edu {
  background: linear-gradient(148deg, #f5f3ff 0%, #ede9fe 45%, #ddd6fe 100%);
  color: #5b21b6;
}
.gmingo-caticon--accent-auto {
  background: linear-gradient(148deg, #f1f5f9 0%, #e2e8f0 48%, #cbd5e1 100%);
  color: #0f172a;
}
.gmingo-caticon--accent-pets {
  background: linear-gradient(148deg, #ecfdf5 0%, #d1fae5 45%, #a7f3d0 100%);
  color: #065f46;
}
.gmingo-caticon--accent-kids {
  background: linear-gradient(148deg, #eff6ff 0%, #dbeafe 45%, #bfdbfe 100%);
  color: #1e40af;
}
.gmingo-caticon--accent-health {
  background: linear-gradient(148deg, #fef2f2 0%, #fee2e2 45%, #fecaca 100%);
  color: #991b1b;
}
.gmingo-caticon--accent-retail {
  background: linear-gradient(148deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  color: #1d4ed8;
}
.gmingo-caticon--accent-slate {
  background: linear-gradient(148deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  color: #334155;
}
.gmingo-caticon--accent-ocean {
  background: linear-gradient(148deg, #ecfeff 0%, #cffafe 45%, #a5f3fc 100%);
  color: #0e7490;
}
.gmingo-caticon--accent-dusk {
  background: linear-gradient(148deg, #eef2ff 0%, #e0e7ff 40%, #c7d2fe 100%);
  color: #3730a3;
}
.gmingo-caticon--accent-forest {
  background: linear-gradient(148deg, #f0fdf4 0%, #dcfce7 45%, #bbf7d0 100%);
  color: #166534;
}
.gmingo-caticon--accent-pilot {
  background: linear-gradient(148deg, #f8fafc 0%, #e2e8f0 42%, #cbd5e1 100%);
  color: #0f172a;
}

@media (prefers-reduced-motion: reduce) {
  .gmingo-caticon,
  .home-category-item:hover .gmingo-caticon,
  .cat-link-card:hover .gmingo-caticon {
    transition: none;
    transform: none;
    filter: none;
  }
}

/* ---- Stagger children (e.g. product grid) ---- */
.stagger-children .stagger-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.stagger-children.visible .stagger-item {
  opacity: 1;
  transform: translateY(0);
}
.stagger-children .stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger-children .stagger-item:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .stagger-item:nth-child(3) { transition-delay: 0.15s; }
.stagger-children .stagger-item:nth-child(4) { transition-delay: 0.2s; }
.stagger-children .stagger-item:nth-child(5) { transition-delay: 0.25s; }
.stagger-children .stagger-item:nth-child(6) { transition-delay: 0.3s; }
.stagger-children .stagger-item:nth-child(7) { transition-delay: 0.35s; }
.stagger-children .stagger-item:nth-child(8) { transition-delay: 0.4s; }
.stagger-children .stagger-item:nth-child(9) { transition-delay: 0.45s; }
.stagger-children .stagger-item:nth-child(10) { transition-delay: 0.5s; }
.stagger-children .stagger-item:nth-child(11) { transition-delay: 0.55s; }
.stagger-children .stagger-item:nth-child(12) { transition-delay: 0.6s; }

/* ---- Flash deal badge pulse (optional) ---- */
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
.flash-badge {
  animation: pulse-soft 2s ease-in-out infinite;
}

/* ---- Star rating ---- */
.star-filled { color: #38B35A; }
.star-empty { color: #e2e8f0; }

/* ---- Primary / Accent buttons ---- */
.btn-primary { background-color: #2C64D3; }
.btn-primary:hover { background-color: #1e4a9e; }
.btn-accent { background-color: #38B35A; }
.btn-accent:hover { background-color: #2d8f47; }

/* ---- Modal overlay ---- */
.modal-overlay {
  background: rgba(26, 58, 124, 0.4);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Mega menu dropdown ---- */
.mega-menu {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
}
.mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Mobile: native disclosure for category list */
.mobile-categories-panel > summary {
  list-style: none;
}
.mobile-categories-panel > summary::-webkit-details-marker {
  display: none;
}
.mobile-categories-panel[open] > summary .mobile-cat-chevron {
  transform: rotate(180deg);
}

/* User avatars: always fill rounded frame */
.gmingo-avatar-frame {
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  flex-shrink: 0;
}
.gmingo-avatar-frame img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Login / register: motion (respect reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .gmingo-auth-page {
    animation: gmingo-auth-page-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .gmingo-auth-card {
    animation: gmingo-auth-card-in 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
  }
  .gmingo-auth-card-header {
    animation: gmingo-auth-header-breathe 5s ease-in-out infinite;
  }
  .gmingo-auth-input {
    transition:
      border-color 0.22s ease,
      box-shadow 0.28s ease,
      transform 0.22s ease,
      background-color 0.22s ease;
  }
  .gmingo-auth-input:hover {
    border-color: rgb(148 163 184 / 0.9);
    box-shadow: 0 4px 14px -6px rgba(15, 23, 42, 0.12);
  }
  .gmingo-auth-submit {
    transition:
      transform 0.22s ease,
      box-shadow 0.28s ease,
      background-color 0.22s ease;
  }
  .gmingo-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -8px rgba(44, 100, 211, 0.45);
  }
  .gmingo-auth-submit:active {
    transform: translateY(0);
    transition-duration: 0.1s;
  }
  .gmingo-auth-card a.text-primary-600 {
    transition: color 0.2s ease, opacity 0.2s ease;
  }
}
@keyframes gmingo-auth-page-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes gmingo-auth-card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes gmingo-auth-header-breathe {
  0%,
  100% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.04) saturate(1.05);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gmingo-auth-page,
  .gmingo-auth-card,
  .gmingo-auth-card-header {
    animation: none !important;
  }
}

/* ---- Front header: primary nav — smooth hover, lift, icon nudge ---- */
@media (prefers-reduced-motion: no-preference) {
  .gmingo-nav-item {
    transition:
      color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.3s ease;
  }
  .gmingo-nav-item:hover,
  .gmingo-nav-item:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -8px rgba(26, 58, 124, 0.18);
  }
  .gmingo-nav-item:active {
    transform: translateY(0);
    transition-duration: 0.12s;
  }
  .gmingo-nav-item svg {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s ease;
  }
  .gmingo-nav-item:hover svg,
  .gmingo-nav-item:focus-visible svg {
    transform: scale(1.06);
  }
  .gmingo-nav-categories {
    transition:
      background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      border-color 0.25s ease,
      box-shadow 0.3s ease,
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .gmingo-nav-categories:hover,
  .gmingo-nav-categories:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.12);
  }
  .mega-menu a {
    transition:
      background-color 0.24s ease,
      color 0.2s ease,
      transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
      padding-left 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .mega-menu a:hover,
  .mega-menu a:focus-visible {
    transform: translateX(4px);
  }
  .mobile-menu-link {
    transition:
      transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
      background-color 0.28s ease,
      color 0.22s ease,
      box-shadow 0.28s ease;
  }
  .mobile-menu-link:hover,
  .mobile-menu-link:focus-visible {
    transform: translateX(6px);
  }
  .mobile-menu-link:active {
    transform: translateX(3px);
    transition-duration: 0.12s;
  }
}

@keyframes gmingo-logo-breathe {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 2px 6px rgba(26, 58, 124, 0.1));
  }
  50% {
    transform: scale(1.045);
    filter: drop-shadow(0 6px 18px rgba(26, 58, 124, 0.22));
  }
}

@keyframes gmingo-signup-breathe {
  0%,
  100% {
    transform: scale(1) translateY(0);
    box-shadow: 0 2px 10px -4px rgba(44, 100, 211, 0.38);
  }
  50% {
    transform: scale(1.045) translateY(0);
    box-shadow: 0 8px 22px -6px rgba(59, 105, 209, 0.55);
  }
}

@keyframes gmingo-register-submit-breathe {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 10px -4px rgba(56, 179, 90, 0.35);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 8px 22px -6px rgba(56, 179, 90, 0.45);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .gmingo-header-logo {
    animation: gmingo-logo-breathe 4s ease-in-out infinite;
    animation-iteration-count: infinite;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  }
  .gmingo-header-logo:hover,
  .gmingo-header-logo:focus-visible {
    animation: none;
    transform: scale(1.08);
    filter: drop-shadow(0 8px 22px rgba(26, 58, 124, 0.28));
  }
  .gmingo-nav-signup {
    animation: gmingo-signup-breathe 3.2s ease-in-out infinite;
    animation-iteration-count: infinite;
    transition:
      transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      background-color 0.28s ease,
      box-shadow 0.4s ease;
  }
  .gmingo-nav-signup:hover,
  .gmingo-nav-signup:focus-visible {
    animation: none;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 28px -8px rgba(44, 100, 211, 0.55);
  }
  .gmingo-nav-signup:active {
    transform: translateY(-1px) scale(1.01);
  }
  .gmingo-nav-signup-mobile {
    animation: gmingo-signup-breathe 3.2s ease-in-out infinite;
    animation-iteration-count: infinite;
    transition: transform 0.35s ease, box-shadow 0.4s ease, background-color 0.25s ease;
  }
  .gmingo-nav-signup-mobile:hover,
  .gmingo-nav-signup-mobile:focus-visible {
    animation: none;
    transform: scale(1.02);
    box-shadow: 0 10px 24px -6px rgba(44, 100, 211, 0.45);
  }
  .gmingo-register-submit {
    animation: gmingo-register-submit-breathe 3.2s ease-in-out infinite;
    animation-iteration-count: infinite;
    transition: transform 0.35s ease, box-shadow 0.4s ease, background-color 0.25s ease;
  }
  .gmingo-register-submit:hover,
  .gmingo-register-submit:focus-visible {
    animation: none;
    transform: scale(1.02);
    box-shadow: 0 12px 28px -8px rgba(56, 179, 90, 0.5);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gmingo-header-logo {
    transition: transform 0.3s ease, filter 0.3s ease;
  }
  .gmingo-header-logo:hover,
  .gmingo-header-logo:focus-visible {
    transform: scale(1.03);
  }
}

/* Account dropdown (desktop): slide + background */
#user-menu a {
  transition: background-color 0.22s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
@media (prefers-reduced-motion: no-preference) {
  #user-menu a:hover,
  #user-menu a:focus-visible {
    transform: translateX(4px);
  }
}

.gmingo-dropdown-link {
  transition: background-color 0.22s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .gmingo-dropdown-link:hover,
  .gmingo-dropdown-link:focus-visible {
    transform: translateX(4px);
  }
}

/* ---- Skeleton loading (optional) ---- */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton 1.2s ease-in-out infinite;
  border-radius: 4px;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---- Image zoom on hover (product card) ---- */
.product-card .product-image-wrap {
  overflow: hidden;
}
.product-card:hover .product-image-wrap img:not(.product-image-contain) {
  transform: scale(1.06);
  transition: transform 0.4s ease;
}
.product-card .product-image-wrap img:not(.product-image-contain) {
  transition: transform 0.4s ease;
}

/* Full product image visible in grid (no edge crop); optional hover excerpt */
.product-image-frame {
  background: #f1f5f9;
}
.product-card-hover-desc {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 0.65rem 0.75rem 0.7rem;
  background: linear-gradient(to top, rgba(26, 58, 124, 0.93) 0%, rgba(26, 58, 124, 0.48) 40%, transparent 72%);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1.45;
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  text-align: left;
}
.product-card.group:hover .product-card-hover-desc {
  opacity: 1;
}
@media (hover: none) {
  .product-card-hover-desc {
    opacity: 0 !important;
  }
}

/* ---- Product card demo video preview + cart icon ---- */
.product-card .product-preview-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 2;
}
.product-card.previewing-video .product-preview-video {
  opacity: 1;
}
.product-card .product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.product-card .product-card-cart-btn {
  position: static;
  width: 1.95rem;
  height: 1.95rem;
  flex: 0 0 auto;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.25);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease, color 0.2s ease;
}
.product-card .product-card-cart-btn:hover {
  background: #2563eb;
  color: #fff;
}

/* ---- Home: subtle “breathing” motion on product cards + cart affordance ---- */
@keyframes gmingo-breathe-card {
  0%, 100% {
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.06), 0 1px 2px -1px rgb(0 0 0 / 0.06);
    transform: translateZ(0) scale(1);
  }
  50% {
    box-shadow: 0 12px 28px -10px rgb(37 99 235 / 0.2), 0 4px 12px -4px rgb(15 23 42 / 0.08);
    transform: translateZ(0) scale(1.006);
  }
}

@keyframes gmingo-breathe-cart {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 18px -10px rgba(15, 23, 42, 0.35);
  }
  50% {
    transform: scale(1.07);
    box-shadow: 0 8px 22px -8px rgba(37, 99, 235, 0.42);
  }
}

.gmingo-home a.product-card {
  animation: gmingo-breathe-card 5.2s ease-in-out infinite;
}
.gmingo-home .stagger-item:nth-child(2n) a.product-card {
  animation-delay: 0.65s;
}
.gmingo-home .stagger-item:nth-child(3n) a.product-card {
  animation-delay: 1.15s;
}
.gmingo-home .stagger-item:nth-child(5n) a.product-card {
  animation-delay: 0.35s;
}

.gmingo-home .product-card-cart-btn {
  animation: gmingo-breathe-cart 2.75s ease-in-out infinite;
}
.gmingo-home .product-card-cart-btn.is-adding {
  animation: none;
  opacity: 0.72;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .gmingo-home a.product-card,
  .gmingo-home .product-card-cart-btn {
    animation: none !important;
  }
}

/* ---- Top bar: dark-to-light blue gradient (matches promo section) ---- */
.top-bar-contact.top-bar-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 15%, #93c5fd 50%, #dbeafe 100%) !important;
}
.top-bar-gradient,
.top-bar-gradient *,
.top-bar-gradient a,
.top-bar-gradient span,
.top-bar-gradient .text-accent-600,
.top-bar-gradient .text-slate-600,
.top-bar-gradient .text-primary-500 {
  color: #fff !important;
}
.top-bar-gradient a:hover {
  color: #fff !important;
  opacity: 0.9;
}
.top-bar-gradient svg {
  color: inherit;
}
.top-bar-gradient .w-8.h-8.rounded-full {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
}
.top-bar-gradient .w-8.h-8.rounded-full:hover {
  background: rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
}
.top-bar-gradient .top-social-icon {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #1e3a8a !important;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.top-bar-gradient .top-social-icon:hover {
  background: #ffffff !important;
  color: #1d4ed8 !important;
  transform: translateY(-1px) scale(1.1);
  box-shadow:
    0 6px 14px rgba(30, 58, 138, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
.top-bar-gradient .top-social-icon:focus-visible {
  background: #ffffff !important;
  color: #1e40af !important;
}

/* Promo chip sits on white/frosted pill — must not inherit top-bar forced white text */
#gmingo-promo-ticker .gmingo-promo-ticker-text {
  color: #0f172a !important;
}
#gmingo-promo-ticker .gmingo-promo-ticker-text a {
  color: #1e40af !important;
}
#gmingo-promo-ticker .gmingo-promo-ticker-text a:hover {
  color: #1e3a8a !important;
  opacity: 1 !important;
}
#gmingo-promo-ticker .gmingo-promo-popup-icon {
  color: #1d4ed8 !important;
}

#gmingo-promo-ticker .gmingo-promo-cta-btn {
  color: #1e40af !important;
}

/* ---- Mobile responsive: touch targets & safe areas ---- */
@media (max-width: 1023px) {
  /* Safety reminder: keep visible on phones with tighter spacing (was hidden — bad for trust). */
  section.gmingo-nav-safety .gmingo-nav-trust-note .max-w-7xl {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    gap: 0.375rem !important;
  }
  section.gmingo-nav-safety .gmingo-nav-trust-note {
    font-size: 0.8125rem;
    line-height: 1.35;
  }
  section.gmingo-nav-safety .gmingo-nav-trust-view {
    font-size: 0.75rem;
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
  }

  /* Keep top bar visible so promo + social stay reachable on phones (footer also lists social). */
  .top-bar-contact {
    overflow-x: hidden;
  }
  .top-bar-contact > .max-w-7xl {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
  }
  .top-bar-gradient a.top-social-icon {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
  }
  html,
  body {
    overflow-x: hidden;
  }
  button, a[role="button"], .btn-primary, .btn-accent {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ---- Safe area padding (notched devices) ---- */
@supports (padding: env(safe-area-inset-bottom)) {
  body { padding-bottom: env(safe-area-inset-bottom); }
}
#ai-chatbot-toggle {
  bottom: calc(6rem + env(safe-area-inset-bottom, 0px));
}
#scroll-to-top {
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

/* ---- Buttons: active press feedback ---- */
.btn-primary:active, .btn-accent:active, .btn-hover-lift:active {
  transform: translateY(0) scale(0.98);
}

/* ---- Global: subtle “breathing” on interactive buttons (entire site) ---- */
@keyframes gmingo-btn-breathe {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(44, 100, 211, 0);
    filter: brightness(1);
  }
  50% {
    box-shadow: 0 4px 18px -6px rgba(44, 100, 211, 0.22);
    filter: brightness(1.03);
  }
}

@media (prefers-reduced-motion: no-preference) {
  button:not(:disabled):not(.no-gmingo-breathe):not(.toast-gmingo-close):not(#scroll-to-top):not(#ai-chatbot-toggle):not(.gmingo-register-submit),
  input[type='submit']:not(:disabled):not(.no-gmingo-breathe):not(.gmingo-register-submit),
  input[type='button']:not(:disabled):not(.no-gmingo-breathe),
  input[type='reset']:not(:disabled):not(.no-gmingo-breathe),
  a[class~='bg-accent-500']:not(.no-gmingo-breathe):not(.gmingo-nav-signup):not(.gmingo-nav-signup-mobile),
  a[class~='bg-accent-400']:not(.no-gmingo-breathe):not(.gmingo-nav-signup):not(.gmingo-nav-signup-mobile),
  a[class~='bg-primary-600']:not(.no-gmingo-breathe):not(.gmingo-nav-signup):not(.gmingo-nav-signup-mobile),
  a[class~='bg-primary-500']:not(.no-gmingo-breathe):not(.gmingo-nav-signup):not(.gmingo-nav-signup-mobile),
  a[class~='bg-primary-700']:not(.no-gmingo-breathe):not(.gmingo-nav-signup):not(.gmingo-nav-signup-mobile),
  a[class~='bg-amber-500']:not(.no-gmingo-breathe):not(.gmingo-nav-signup):not(.gmingo-nav-signup-mobile),
  a[class~='bg-amber-600']:not(.no-gmingo-breathe):not(.gmingo-nav-signup):not(.gmingo-nav-signup-mobile) {
    animation: gmingo-btn-breathe 4.6s ease-in-out infinite;
    animation-iteration-count: infinite;
  }
}

/* ---- Table horizontal scroll (mobile) ---- */
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

/* ---- Quick view modal: mobile-friendly ---- */
@media (max-width: 639px) {
  #quick-view-modal { align-items: flex-end; padding: 0; }
  #quick-view-modal .modal-content {
    max-height: 90vh;
    border-radius: 1rem 1rem 0 0;
    margin: 0;
  }
  #quick-view-modal #quick-view-content {
    max-height: calc(90vh - 3rem);
    -webkit-overflow-scrolling: touch;
  }
}

/* ---- Button hover enhancements ---- */
button:not(:disabled):hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
input:focus, textarea:focus, select:focus {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ---- Product link cards: smooth hover ---- */
a.product-card, .product-card a {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* ---- Mobile menu: overlay + panel ---- */
.mobile-menu-overlay {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
}
.mobile-menu-panel {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.mobile-menu-open {
  overflow: hidden;
  touch-action: none;
}

/* ---- Mobile hamburger icon: animate to X ---- */
.mobile-menu-icon {
  display: block;
  position: relative;
  width: 24px;
  height: 24px;
}
.mobile-menu-icon .mobile-menu-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s;
}
.mobile-menu-icon .mobile-menu-bar.top { top: 5px; }
.mobile-menu-icon .mobile-menu-bar.mid { top: 11px; }
.mobile-menu-icon .mobile-menu-bar.bot { bottom: 5px; top: auto; }
body.mobile-menu-open .mobile-menu-icon .mobile-menu-bar.top {
  transform: translateY(6px) rotate(45deg);
}
body.mobile-menu-open .mobile-menu-icon .mobile-menu-bar.mid {
  opacity: 0;
}
body.mobile-menu-open .mobile-menu-icon .mobile-menu-bar.bot {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---- Header trust strip: smooth reveal, hover polish, gentle breathing ---- */
@keyframes gmingo-trust-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.98;
    filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.12));
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.22));
  }
}

@keyframes gmingo-trust-enter {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .gmingo-nav-safety {
    animation: gmingo-trust-enter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .gmingo-nav-trust-item {
    transition:
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      color 0.2s ease,
      opacity 0.2s ease;
  }

  .gmingo-nav-trust-item svg {
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  }

  .gmingo-nav-trust-item:hover,
  .gmingo-nav-trust-item:focus-within {
    transform: translateY(-1px);
  }

  .gmingo-nav-trust-item:hover svg,
  .gmingo-nav-trust-item:focus-within svg {
    transform: scale(1.1);
  }

  .gmingo-nav-trust-title-icon {
    animation: gmingo-trust-breathe 3.2s ease-in-out infinite;
  }

  .gmingo-nav-trust-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.22rem 0.62rem;
    border: 1px solid rgba(30, 64, 175, 0.36);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition:
      transform 0.26s cubic-bezier(0.16, 1, 0.3, 1),
      color 0.2s ease,
      text-shadow 0.2s ease,
      border-color 0.22s ease,
      background-color 0.22s ease,
      box-shadow 0.26s ease;
  }

  .gmingo-nav-trust-view svg {
    transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .gmingo-nav-trust-view:hover,
  .gmingo-nav-trust-view:focus-visible {
    transform: translateY(-1px);
    text-shadow: 0 1px 8px rgba(37, 99, 235, 0.18);
    background: rgba(239, 246, 255, 0.96);
    border-color: rgba(30, 58, 138, 0.55);
    box-shadow: 0 4px 14px -8px rgba(30, 64, 175, 0.45);
  }

  .gmingo-nav-trust-view:hover svg,
  .gmingo-nav-trust-view:focus-visible svg {
    transform: translateX(2px);
  }

  .gmingo-nav-trust-view:active {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 640px) {
  .gmingo-safety-reminder-track {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    min-width: 8rem;
    border-radius: 9999px;
    padding: 0.14rem 0.55rem;
    background: linear-gradient(90deg, rgba(219, 234, 254, 0.55) 0%, rgba(239, 246, 255, 0.8) 45%, rgba(219, 234, 254, 0.55) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.82),
      0 4px 14px -10px rgba(30, 64, 175, 0.28);
  }

  .gmingo-safety-reminder-ticker {
    display: inline-block;
    white-space: nowrap;
    transform: translateX(0);
    opacity: 1;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1e3a8a;
    text-shadow:
      0 1px 0 rgba(255, 255, 255, 0.7),
      0 2px 10px rgba(59, 130, 246, 0.16);
    will-change: transform, opacity, filter;
  }

  .gmingo-safety-reminder-ticker.is-scroll-run {
    animation: gmingo-safety-marquee var(--gmingo-safety-duration) linear forwards;
  }

  .gmingo-safety-reminder-ticker.is-scroll-loop {
    animation: gmingo-safety-marquee-loop var(--gmingo-safety-duration) linear infinite;
  }

  .gmingo-safety-reminder-ticker.is-keyburn-enter {
    animation: gmingo-safety-keyburn-enter 0.82s cubic-bezier(0.2, 0.9, 0.35, 1) forwards;
  }

  .gmingo-safety-reminder-ticker.is-keyburn-exit {
    animation: gmingo-safety-keyburn-exit 1.3s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gmingo-nav-safety,
  .gmingo-nav-trust-item,
  .gmingo-nav-trust-view,
  .gmingo-nav-trust-title-icon {
    animation: none !important;
    transition: none !important;
  }

  .gmingo-safety-reminder-ticker {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

@keyframes gmingo-safety-marquee {
  from {
    opacity: 0.98;
    transform: translateX(100%);
    filter: blur(0.4px);
  }
  10% {
    opacity: 1;
    filter: blur(0);
  }
  90% {
    opacity: 1;
  }
  to {
    opacity: 0.99;
    transform: translateX(calc(-1 * var(--gmingo-safety-distance)));
    filter: blur(0);
  }
}

@keyframes gmingo-safety-marquee-loop {
  from {
    transform: translateX(var(--gmingo-safety-start));
  }
  to {
    transform: translateX(calc(-1 * var(--gmingo-safety-distance)));
  }
}

@keyframes gmingo-safety-keyburn-enter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.92);
    filter: blur(2.2px);
  }
  60% {
    opacity: 1;
    transform: translateY(-4px) scale(1.035);
    filter: blur(0.3px);
  }
  78% {
    transform: translateY(1px) scale(0.992);
    filter: blur(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes gmingo-safety-keyburn-exit {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
    filter: blur(1.8px);
  }
}

/* ---- Vendor storefront hero ---- */
.vendor-store-hero {
  position: relative;
  overflow: hidden;
}
.vendor-store-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

/* ---- Global: smooth breathing on UI icons (entire site) ---- */
/* Opt out: add class .no-gmingo-icon-breathe on the svg or a parent wrapper */
@keyframes gmingo-icon-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.07);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  :where(
    svg[viewBox='0 0 24 24'],
    svg[viewBox='0 0 20 20'],
    svg[viewBox='0 0 16 16'],
    svg.w-3,
    svg.w-4,
    svg.w-5,
    svg.w-6,
    svg.w-7,
    svg.w-8,
    svg.w-9,
    svg.w-10,
    svg.w-11,
    svg.w-12,
    svg.h-3,
    svg.h-4,
    svg.h-5,
    svg.h-6,
    svg.h-7,
    svg.h-8,
    svg.h-9,
    svg.h-10,
    svg.h-11,
    svg.h-12,
    [class*='-icon'] svg,
    [class*='-icon'] > svg,
    .dash-hub-stat-icon svg,
    .dash-nav-item svg,
    .material-icons,
    .material-icons-outlined
  ):not(.no-gmingo-icon-breathe):not(.animate-spin):not(.gmingo-nav-trust-title-icon):not(.recharts-surface):not([class*='w-14']):not([class*='w-16']):not([class*='w-20']):not([class*='w-24']):not([class*='w-32']):not([class*='h-14']):not([class*='h-16']):not([class*='h-20']):not([class*='h-24']):not([class*='h-32']) {
    transform-origin: center;
    transform-box: fill-box;
    animation: gmingo-icon-breathe 4.2s ease-in-out infinite;
    will-change: transform, opacity;
  }

  .no-gmingo-icon-breathe svg,
  .no-gmingo-icon-breathe :where(svg[viewBox], svg.w-3, svg.w-4, svg.w-5, svg.w-6) {
    animation: none !important;
    will-change: auto;
  }

  .recharts-wrapper svg,
  .recharts-surface,
  svg.recharts-surface {
    animation: none !important;
    will-change: auto;
  }
}
