/* ==========================================================
   World Fresh QC — minimal stylesheet
   Replaces the Tailwind utility classes used in the app, plus
   small global resets and the boot screen shown before React mounts.
   ========================================================== */

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #F4EFE3;
  color: #1A1814;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
button { font: inherit; }

/* Boot screen — shown until React renders */
.boot-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
}
.boot-logo  { width: 80px; height: 80px; border-radius: 40px; }
.boot-title { font-family: 'Fraunces', Georgia, serif; font-size: 22px; font-weight: 700; }
.boot-subtitle { font-size: 13px; color: #86806F; letter-spacing: 0.06em; text-transform: uppercase; }

/* === Layout === */
.flex      { display: flex; }
.flex-col  { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.grid      { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.relative { position: relative; }
.sticky   { position: sticky; }
.top-0    { top: 0; }
.z-10     { z-index: 10; }

.w-full        { width: 100%; }
.min-w-0       { min-width: 0; }
.min-h-screen  { min-height: 100vh; }

/* === Alignment === */
.items-center   { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }

/* === Spacing — gap === */
.gap-1\.5 { gap: 6px; }
.gap-2    { gap: 8px; }
.gap-2\.5 { gap: 10px; }
.gap-3    { gap: 12px; }
.gap-4    { gap: 16px; }

/* === Spacing — margin === */
.mb-1    { margin-bottom: 4px; }
.mb-1\.5 { margin-bottom: 6px; }
.mb-3    { margin-bottom: 12px; }
.mb-4    { margin-bottom: 16px; }
.mb-5    { margin-bottom: 20px; }
.mt-4    { margin-top: 16px; }
.mt-5    { margin-top: 20px; }
.mt-6    { margin-top: 24px; }

/* === Spacing — padding === */
.pt-2  { padding-top: 8px; }
.pt-3  { padding-top: 12px; }
.pt-4  { padding-top: 16px; }
.pb-1  { padding-bottom: 4px; }
.pb-3  { padding-bottom: 12px; }
.pb-4  { padding-bottom: 16px; }
.pb-5  { padding-bottom: 20px; }
.pb-8  { padding-bottom: 32px; }
.pb-32 { padding-bottom: 128px; }
.py-1\.5 { padding-top: 6px; padding-bottom: 6px; }
.px-5  { padding-left: 20px; padding-right: 20px; }
.px-6  { padding-left: 24px; padding-right: 24px; }

/* === Typography === */
.text-xs        { font-size: 12px; line-height: 1.4; }
.uppercase      { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.font-semibold  { font-weight: 600; }

/* === Interactivity === */
.cursor-pointer { cursor: pointer; }
.transition-transform { transition: transform 0.12s ease; }
.\[active\:scale-\[0\.99\]\]:active,
.active\:scale-\[0\.99\]:active { transform: scale(0.99); }

/* Scrollbars: hide for the phone-frame illusion */
::-webkit-scrollbar { width: 0; height: 0; }

/* iOS / Android: don't highlight on tap */
* { -webkit-tap-highlight-color: transparent; }
select::-ms-expand { display: none; }

/* On full-width mobile, drop the phone-frame's outer chrome so the app fills the screen */
@media (max-width: 460px) {
  body { background: #F4EFE3; }
}
