/*
 * carEV design tokens — values come from CarEV-UXUI-Complete-Kit/design-tokens.css (locked kit),
 * extended with the few semantic tokens the storefront needs. Edit here, never in components.
 */
@font-face { font-family: "Noto Sans Thai"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/carev/fonts/noto-sans-thai-thai.woff2") format("woff2");
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: "Noto Sans Thai"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/carev/fonts/noto-sans-thai-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Sans Thai"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/carev/fonts/noto-sans-thai-latin.woff2") format("woff2");
  unicode-range: U+00??, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;

  /* Surfaces and text (kit) */
  --carev-color-page: #f8f4ed;
  --carev-color-surface: #ffffff;
  --carev-color-surface-soft: #f3ece1;
  --carev-color-surface-dark: #191816;
  --carev-color-surface-dark-raised: #29241e;
  --carev-color-text: #201c17;
  --carev-color-text-muted: #61594e;
  --carev-color-text-on-dark: #ffffff;
  --carev-color-text-on-dark-muted: #cfc4b2;
  --carev-color-text-on-gold: #211a0d;
  --carev-color-border: #ded5c8;

  /* Gold: display accents; use gold-text for body text on light surfaces (kit) */
  --carev-color-gold: #d4aa58;
  --carev-color-gold-light: #e8c982;
  --carev-color-gold-dark: #a47725;
  --carev-color-gold-text: #76500b;
  --carev-color-focus: #805500;
  --carev-color-error: #a4261d;
  --carev-color-success: #1f6b3a;
  --carev-color-success-bg: #e4f3e9;
  --carev-color-warn-bg: #fff3d6;

  --carev-gradient-gold: linear-gradient(180deg, #f2d99d 0%, #d4aa58 100%);
  --carev-gradient-deal: linear-gradient(110deg, #191816 0%, #493522 100%);

  /* Typography (rem follows the user's browser text-size preference) */
  --carev-font-sans: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --carev-text-small: 0.875rem;
  --carev-text-body: 1rem;
  --carev-text-title: 1.5rem;
  --carev-text-hero: clamp(2rem, 4vw, 3.5rem);
  --carev-line-body: 1.6;
  --carev-weight-regular: 400;
  --carev-weight-semibold: 600;
  --carev-weight-bold: 700;

  /* Spacing */
  --carev-space-1: 0.25rem;
  --carev-space-2: 0.5rem;
  --carev-space-3: 0.75rem;
  --carev-space-4: 1rem;
  --carev-space-6: 1.5rem;
  --carev-space-8: 2rem;
  --carev-space-12: 3rem;
  --carev-space-16: 4rem;

  /* Geometry */
  --carev-radius-small: 0.5rem;
  --carev-radius-card: 0.875rem;
  --carev-radius-large: 1.25rem;
  --carev-radius-pill: 999px;
  --carev-content-width: 82.5rem;
  --carev-gutter: clamp(1rem, 3vw, 2rem);
  --carev-control-height: 2.75rem;
  --carev-header-height: 4rem;
  --carev-shadow-card: 0 3px 14px rgb(32 28 23 / 8%);
  --carev-shadow-raised: 0 10px 32px rgb(32 28 23 / 16%);
  --carev-focus-ring: 0 0 0 3px rgb(128 85 0 / 35%);
}
