/* ==========================================================================
   AnnPick v3 — Utility Classes (Tailwind-style, curated subset)
   ========================================================================== */

/* ---------- Display ---------- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }

/* ---------- Flex Utilities ---------- */
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.grow-1 { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: .8rem; }
.gap-2 { gap: 1.6rem; }
.gap-3 { gap: 2.4rem; }
.gap-4 { gap: 4rem; }

/* ---------- Spacing ---------- */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mt-1 { margin-top: .8rem; }
.mt-2 { margin-top: 1.6rem; }
.mt-3 { margin-top: 2.4rem; }
.mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: .8rem; }
.mb-2 { margin-bottom: 1.6rem; }
.mb-3 { margin-bottom: 2.4rem; }
.mb-4 { margin-bottom: 4rem; }
.py-2 { padding-top: 1.6rem; padding-bottom: 1.6rem; }
.py-3 { padding-top: 2.4rem; padding-bottom: 2.4rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }
.px-4 { padding-left: 4rem; padding-right: 4rem; }
.px-2 { padding-left: 1.6rem; padding-right: 1.6rem; }

/* ---------- Text ---------- */
.text-sm { font-size: 1.3rem; }
.text-base { font-size: 1.4rem; }
.text-lg { font-size: 1.6rem; }
.text-xl { font-size: 2rem; }
.text-2xl { font-size: 2.4rem; }
.text-3xl { font-size: 3rem; }
.text-4xl { font-size: 4rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-muted { color: var(--color-muted); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-heading { color: var(--color-heading); }

/* ---------- Grid ---------- */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Width ---------- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.h-full { height: 100%; }

/* ---------- Position ---------- */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; top: 0; }

/* ---------- Border / Radius ---------- */
.rounded { border-radius: var(--card-radius); }
.rounded-full { border-radius: 9999px; }
.rounded-sm { border-radius: var(--button-radius); }

/* ---------- Shadows ---------- */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ---------- Background ---------- */
.bg-surface { background: var(--color-surface); }
.bg-surface-alt { background: var(--color-surface-alt); }
.bg-primary { background: var(--color-primary); color: var(--color-text-inverse); }
.bg-accent { background: var(--color-accent); }
.bg-transparent { background: transparent; }

/* ---------- Overflow ---------- */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* ---------- Hover ---------- */
.hover-underline:hover { text-decoration: underline; }

/* ---------- Mobile-only / Tablet-only ---------- */
@media (max-width: 749px) {
  .tablet-up { display: none !important; }
}
@media (min-width: 750px) {
  .mobile-only { display: none !important; }
}
