/**
 * BLOOM Design System Tokens
 * Root visual language derived directly from the SareeKart storefront base.
 */

:root {
  /* SareeKart Brand Palette */
  --wine: #680d2d;
  --wine-dark: #260a16;
  --wine-deep: #55132b;
  --pink: #d71955;
  --pink-hover: #ad1243;
  --gold: #c59a48;
  --gold-light: #f1c26d;
  --ink: #242024;
  --muted: #756b70;
  --cream: #fffaf7;
  --blush: #fff9fb;
  --sand: #f5e9df;
  --sand-soft: #f3e6dc;
  --line: #eee5e7;
  --line-soft: #f3edf0;
  --white: #ffffff;

  /* Semantic Commerce Status Tokens */
  --success: #27874b;
  --success-bg: #eef9f1;
  --warning: #b47d12;
  --warning-bg: #fef8eb;
  --danger: #c62828;
  --danger-bg: #fdeeee;
  --info: #1d4ed8;
  --info-bg: #eff6ff;

  /* Typography */
  --font-serif: Georgia, "Times New Roman", serif;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing & Layout */
  --gutter: 5%;
  --container-max: 1380px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 9px;
  --radius-lg: 12px;
  --radius-xl: 14px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-card: 0 4px 15px rgba(0, 0, 0, 0.03);
  --shadow-overlay: 0 18px 45px rgba(38, 10, 22, 0.18);

  /* Z-Index Scale */
  --z-sticky: 20;
  --z-dropdown: 30;
  --z-drawer: 40;
  --z-modal: 50;
  --z-toast: 60;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
}

img {
  max-width: 100%;
  display: block;
}

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

.bloom-tabular {
  font-variant-numeric: tabular-nums;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
