/* Bailly & Sweets - Global Styles & Custom Utilities */
html {
  font-size: 16px;
  background-color: #FAF7F2;
  color: #2B1810;
  -webkit-tap-highlight-color: transparent;
}

.text-xs {
  font-size: 0.75rem !important;
  line-height: 1.125rem !important;
}

.hairline-border {
  border-color: #EAE2D9;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes subtlePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.cart-bump {
  animation: subtlePulse 0.3s ease-in-out;
}

dialog::backdrop {
  background: rgba(43, 24, 16, 0.55);
  backdrop-filter: blur(3px);
}

.floating-cart-pos {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  .cart-bump {
    animation: none !important;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
