@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700&display=swap");

/* =========================
   DESIGN TOKENS
========================= */

:root {
  /* FONTS */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Nunito", sans-serif;

  /* FONT WEIGHTS — HEADING */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* FONT WEIGHTS — BODY */
  --fw-body-regular: 400;
  --fw-body-medium: 500;
  --fw-body-semibold: 600;
  --fw-body-bold: 700;

  /* COLORS */
  --color-primary: #cc0000;
  --color-primary-hover: #aa0000;
  --color-accent: #f5a623;
  --color-bg: #fff8f0;
  --color-surface: #f2ede8;
  --color-text: #1a1a1a;
  --color-text-muted: #4c4242;
  --color-white: #ffffff;

  /* TYPOGRAPHY SCALE */
  --fs-h1: clamp(2rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.5rem, 3.5vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 2.5vw, 1.5rem);
  --fs-h4: clamp(1rem, 2vw, 1.25rem);
  --fs-body: clamp(0.875rem, 2vw, 1rem);
  --fs-small: clamp(0.75rem, 1.5vw, 0.875rem);
  --fs-btn: clamp(0.875rem, 2vw, 1rem);

  /* SPACING SYSTEM */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* RADIUS */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* SHADOWS */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
  --shadow-red: 0 4px 20px rgba(204, 0, 0, 0.25);

  /* MOTION SYSTEM */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

/* =========================
   RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
}
main {
  margin: 0 auto;
  max-width: 2000px;
}
/* =========================
   TYPOGRAPHY BASE
========================= */

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
}

h1 {
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-h1);
  line-height: 1.1;
}

h2 {
  font-weight: var(--fw-extrabold);
  font-size: var(--fs-h2);
  line-height: 1.2;
}

h3 {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h3);
}

h4 {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h4);
}

p,
li {
  font-family: var(--font-body);
  font-weight: var(--fw-body-regular);
  font-size: var(--fs-body);
  color: var(--color-text);
  line-height: 1.6;
}

/* =========================
   INTERACTIVE ELEMENTS
========================= */

input,
button,
textarea,
select {
  font: inherit;
}

button {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  font-size: var(--fs-btn);
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  transform: scale(1.04);
  opacity: 0.9;
}

button:active {
  transform: scale(0.98);
  opacity: 0.7;
}

/* =========================
   COMPONENT HELPERS
========================= */

.price {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
}

.tag,
.label {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.caption {
  font-family: var(--font-body);
  font-weight: var(--fw-body-medium);
  font-size: var(--fs-small);
  color: var(--color-text-muted);
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
}

/* =========================
   GLOBAL SAFETY DEFAULTS
========================= */

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}
