/* PawPlay Custom Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;700;800&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,700;1,6..12,400&display=swap');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --primary: #a93017;
  --primary-container: #cb482c;
  --primary-fixed: #ffdad3;
  --secondary: #106c47;
  --secondary-container: #a1f4c5;
  --surface: #f7faf5;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f1f4f0;
  --surface-container: #ecefea;
  --surface-container-high: #e6e9e4;
  --on-surface: #191c1a;
  --on-surface-variant: #59413c;
}

body {
  font-family: 'Pretendard', 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #eef2ed;
  color: var(--on-surface);
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

/* Hide scrollbar for clean mobile UI */
.no-scrollbar::-webkit-scrollbar,
::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Material Symbols font settings */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}
.material-symbols-outlined.fill-icon {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

/* Backdrop & Drawer Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.animate-fadeIn {
  animation: fadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slideUp {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-popIn {
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Toast Message */
#toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  width: 90%;
  max-width: 360px;
}

.toast-item {
  background: rgba(25, 28, 26, 0.95);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all 0.3s ease;
}

/* Free Shipping Progress bar */
.shipping-progress {
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Heart pop animation */
@keyframes heartBeat {
  0% { transform: scale(1); }
  35% { transform: scale(1.3); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.heart-active {
  animation: heartBeat 0.35s ease-in-out;
}
