/* Maxmart redesign — design tokens.
   Every colour, radius, shadow and size used by mm-* styles comes from here.
   Values are taken from the client boards (docs/redesign/boards). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, 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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-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: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, 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; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/inter-tight-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: "Inter Tight"; font-style: normal; font-weight: 600 800; font-display: swap;
  src: url("../fonts/inter-tight-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  /* brand */
  --mm-brand: #166493;          /* header, links, primary outline */
  --mm-brand-dark: #0E4A6E;     /* hover, footer, hero */
  --mm-brand-mid: #1D6E9E;
  --mm-brand-soft: #E6F0F6;     /* icon tiles, selected rows */
  --mm-brand-tint: #F3F8FB;     /* selected option card */
  --mm-brand-ink: #CFE2EE;      /* text on brand-dark */
  --mm-on-brand-muted: #E3EEF5; /* category strip links */

  --mm-accent: #F8D007;         /* yellow CTA */
  --mm-accent-hover: #FFD84D;
  --mm-accent-soft: #FFF6C2;    /* category icon circles */

  --mm-ink: #12171D;            /* text on yellow, top bar, dark banners */
  --mm-ink-2: #2A333D;
  --mm-text: #1B1F24;
  --mm-text-2: #3A444F;
  --mm-muted: #5C6773;
  --mm-muted-2: #616C78;        /* board #6B7682, darkened to pass 4.5:1 on the grey page background */
  --mm-subtle: #8A95A1;
  --mm-placeholder: #C3CBD3;
  --mm-on-dark: #C9D1DA;
  --mm-on-dark-2: #B6C0CA;

  --mm-sale: #C8193C;           /* promo pill, sale price */
  --mm-discount: #D32F2F;       /* discount badge; board #E53935 darkened to pass 4.5:1 with white text */
  --mm-success: #1E7A3E;        /* in stock, free */
  --mm-success-soft: #EAF6EE;
  --mm-success-ink: #1E5E34;
  --mm-warning-soft: #FFF6C2;

  /* surfaces */
  --mm-bg: #F2F4F7;
  --mm-surface: #FFFFFF;
  --mm-surface-2: #F6F7F9;      /* product image well */
  --mm-border: #E3E7EC;
  --mm-border-strong: #D5DBE1;

  /* type */
  --mm-font: Inter, "Helvetica Neue", Arial, sans-serif;
  --mm-font-display: "Inter Tight", Inter, Arial, sans-serif;
  --mm-fs-xs: 12px;
  --mm-fs-sm: 13px;
  --mm-fs-md: 14px;
  --mm-fs-base: 15px;
  --mm-fs-lg: 18px;
  --mm-fs-h3: 22px;
  --mm-fs-h2: 28px;
  --mm-fs-h1: 36px;
  --mm-fs-hero: 52px;

  /* shape */
  --mm-r-xs: 4px;
  --mm-r-sm: 6px;
  --mm-r-md: 8px;
  --mm-r-btn: 10px;
  --mm-r-lg: 12px;
  --mm-r-tile: 14px;
  --mm-r-card: 16px;
  --mm-r-xl: 20px;
  --mm-r-pill: 999px;

  --mm-shadow-sm: 0 1px 2px rgba(18, 23, 29, .06);
  --mm-shadow-md: 0 6px 20px rgba(18, 23, 29, .10);
  --mm-shadow-lg: 0 18px 48px rgba(18, 23, 29, .18);
  --mm-focus: 0 0 0 3px rgba(22, 100, 147, .35);

  /* layout */
  --mm-container: 1280px;
  --mm-gutter: 24px;
  --mm-section-gap: 48px;
  --mm-control-h: 48px;
  --mm-btn-h: 44px;
  --mm-btn-h-lg: 52px;
  --mm-tabbar-h: 64px;
}

@media (max-width: 767.98px) {
  :root {
    --mm-gutter: 16px;
    --mm-section-gap: 32px;
    --mm-fs-h1: 26px;
    --mm-fs-h2: 22px;
    --mm-fs-hero: 30px;
  }
}
