/* Jerseyniho design tokens: the ONLY place for colours, type, radii, shadows and spacing.
   Every other stylesheet reads these variables. Fonts are self-hosted (SIL OFL, see assets/fonts/README). */

@font-face{font-family:"Heebo";font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/heebo-hebrew.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Heebo";font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/heebo-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:"Karantina";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/karantina-700-hebrew.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Karantina";font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/karantina-700-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:"Anton";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/anton-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}

:root{
  /* colour */
  --ink:#0e0e0f;          /* text, dark buttons */
  --ink-2:#36363a;        /* secondary text */
  --mute:#6b6b70;         /* captions, counts (AA: 5.3 on white, 4.7 on --tile) */
  --line:#e6e6e2;         /* hairlines */
  --tile:#f2f2ef;         /* product image wells, soft fills */
  --soft:#f8fafc;         /* tile gradient end */
  --chip:#f1f5f9;         /* tab track */
  --paper:#fff;
  --charcoal:#262626;     /* pill buttons */
  --night:#0b0b0c;        /* dark band, footer */
  --night-2:#151517;      /* cards on the dark band */
  --night-line:#232326;
  --on-night:#d6d6d9;
  --on-night-mute:#a9a9ad;
  --brand:#ffd400;        /* Jerseyniho yellow */
  --brand-ink:#1a1600;
  --sale:#e0202b;         /* promo red */
  --ok:#16823a;
  --star:#fbbc04;
  --wa:#25d366;           /* WhatsApp green */
  --scrim:rgba(10,10,12,.45);
  --scrim-soft:rgba(10,10,12,.35); /* behind an open mega panel */
  --black:#000;           /* promo bar, card label, dark help box */
  --line-strong:#cfcfcb;  /* form field borders, slider dots */
  --night-edge:#3a3a3e;   /* outlined button on the dark footer */
  --on-night-dim:#8a8a8f; /* footer bottom line */
  --avatar:#4f7cff;       /* review initials */
  --print-default:#f2b233;/* name-on-the-back print, when the shirt sets none */
  --demo-line:#c9a800;    /* "sample" note (preview mode) */
  --demo-bg:#fffbe0;
  --demo-ink:#6b5600;
  /* product page */
  --price-now:#16a34a;    /* current price */
  --price-was:#dc2626;    /* struck price (AA: 4.8 on white) */
  --slate:#0f172a;        /* packs, dark pack card */
  --slate-mute:#64748b;
  --slate-line:#e2e8f0;   /* option cards, difference card */
  --chip-on:#111827;      /* chosen option */
  --chip-on-ink:#d1d5db;
  --chip-top:#f1f3f6;     /* option button gradient end */
  --free:#00c853;         /* "free" flag */
  --free-ink:var(--ink);  /* text on the free flag (AA: 8.6; white was 2.2) */
  --ship:#108043;         /* free shipping line */
  --att-bg:#fff8f8;       /* the fit note */
  --att-line:#ffc9c9;
  --att-ink:#791a1a;
  --att-strong:#b91c1c;
  --ok-bg:#eef8f1;
  --patch-none:#e2e2de;
  --backdrop:rgba(0,0,0,.45);
  /* Kitline and its plugins read these when set (their own colours otherwise, so FTBL is unchanged) */
  --kitline-mute:var(--slate-mute);  /* filter counts, inactive login tab (#94a3b8 = 2.6) */
  --kitline-was:var(--mute);         /* struck prices in the cart, checkout, mystery box (#9a9a9a = 2.8) */
  --kitline-meta-label:var(--mute);  /* "מידה:" labels of cart lines (#8a8a8a = 3.5) */
  --kitline-fl-chev-closed:135deg;   /* closed filter group chevron points to the reading direction (RTL: left) */
  --kitline-gift:#1e7e34;            /* checkout gift box label (AA: 4.9 on #f8f9fa; #28a745 = 3.0) */
  --kitline-gift-desc:var(--mute);   /* gift box hint (#6c757d = 4.45 on #f8f9fa) */
  --kitline-saved:#c81e1e;           /* "חסכת" line in the order summary (AA: 5.1 on --tile; #e10600 = 4.4) */
  --lb-bg:rgba(10,10,12,.92);
  /* checkbox + radio: the one "choice" component of every form (base.css) */
  --choice:20px;                     /* the box / circle */
  --choice-r:5px;                    /* checkbox corner */
  --choice-line:#8a8a8f;             /* unchecked border (3.4:1 on white, the 3:1 floor of a control) */
  --choice-on:var(--ink);            /* checked fill */
  --choice-mark:var(--paper);        /* the tick and the radio dot */
  --choice-err:var(--sale);          /* a required box left empty */
  --choice-gap:var(--s-3);           /* box -> its label text */
  --choice-tap:44px;                 /* the label's height on touch screens */
  --choice-cta:var(--s-5);           /* a checkbox row -> the button under it (login, terms -> place order) */
  --tick:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4l2.5 2.4 5.1-5.6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --kitline-fl-box:var(--choice);    /* Kitline's filter checkboxes take the same size */

  /* type */
  --display:"Karantina","Heebo",system-ui,sans-serif;
  --body:"Heebo",system-ui,-apple-system,"Segoe UI",sans-serif;
  --print:"Anton","Heebo",sans-serif;
  --fs-xs:11.5px;
  --fs-sm:13.5px;
  --fs-base:15px;
  --fs-md:16px;
  --fs-field:16px;        /* text fields and selects on phones / touch screens: iOS Safari zooms the page on a smaller one */
  --fs-h2:44px;
  --fs-h3:24px;

  /* shape */
  --r-sm:8px;
  --r:10px;
  --r-md:14px;
  --r-lg:16px;
  --r-xl:18px;
  --pill:999px;
  --shadow:0 4px 12px rgba(0,0,0,.05);
  --shadow-tile:0 8px 16px -8px rgba(0,0,0,.12);
  --shadow-pop:0 24px 48px -20px rgba(0,0,0,.3);

  /* space: one scale on a 4/8 grid. Layout distances never use a raw number: they read a role below. */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px; --s-9:80px;
  --wrap:1320px;          /* grids, shop, home sections */
  --prose:68ch;           /* reading column of text pages (title, intro and text share it) */
  --narrow:440px;         /* a single card (login, an empty state's text) */
  --gut:var(--s-4);       /* side gutter: 24 from 600px, 32 from 1024px */
  --sec:var(--s-7);       /* section padding top and bottom: 64 from 768px */
  --page-top:var(--s-5);  /* header -> first line of every page (breadcrumb / page head): 32 from 1024px */
  --page-bottom:var(--sec); /* last content -> footer, every page */
  --head-gap:var(--s-5);  /* section / page heading -> its content: 32 from 1024px */
  --stack:var(--s-4);     /* between blocks inside a section */
  --grid-x:10px;          /* between cards, slides and tiles across: 16 from 768px */
  --grid-y:var(--s-5);    /* between card rows: 32 from 768px */
  --cta-gap:var(--s-5);   /* grid or slider -> its "all products" button */
  --ftr-top:var(--s-7);   /* footer padding: 64 from 1024px */
  --ftr-bottom:var(--s-6);
  --hdr-h:64px;
  --hdr-stack:calc(var(--hdr-h) + 1px); /* sticky header height incl. border: things that stick below it start here */
  --bar-h:46px;

  /* motion: one system for the whole site (assets/css/motion.css, the helpers in assets/js/ui.js) */
  --dur-1:120ms;   /* hover, press, colour, focus ring */
  --dur-2:180ms;   /* popover, tab panel, chevron, menu in */
  --dur-3:260ms;   /* drawer, dialog, accordion height, line removal */
  --dur-4:400ms;   /* image zoom, reveal on scroll */
  --ease-out:cubic-bezier(.2,.8,.2,1);   /* entering */
  --ease-in:cubic-bezier(.4,0,1,1);      /* leaving */
  --ease-io:cubic-bezier(.65,0,.35,1);   /* height */
  --rise:6px;      /* popover / menu offset */
  --rise-lg:12px;  /* reveal on scroll, dialogs */
  --press:.98;     /* :active scale */
  --zoom:1.03;     /* card image */
  --hover-dark:color-mix(in srgb,var(--ink) 84%,#fff); /* dark buttons on hover */
  --chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230e0e0f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); /* select arrow (ink) */
  --ring:0 0 0 3px color-mix(in srgb,var(--ink) 12%,transparent); /* soft focus ring of text fields */
  --ease:var(--ease-out); --t:var(--dur-2);   /* old names, kept */
  /* Kitline reads these when set (FTBL keeps its own values) */
  --kitline-dur-1:var(--dur-1); --kitline-dur-2:var(--dur-2); --kitline-dur-3:var(--dur-3); --kitline-ease:var(--ease-out);

  color-scheme:light;
}
@media (min-width:600px){ :root{ --gut:var(--s-5); } }
@media (min-width:768px){ :root{ --sec:var(--s-8); --grid-x:var(--s-4); --grid-y:var(--s-6); --fs-h2:60px; --fs-h3:30px; } }
@media (min-width:1024px){ :root{ --gut:var(--s-6); --page-top:var(--s-6); --head-gap:var(--s-6); --ftr-top:var(--s-8); } }
@media (min-width:1024px){ :root{ --hdr-h:72px; --hdr-stack:calc(var(--hdr-h) + 45px); } } /* + the nav row */
@media (prefers-reduced-motion:reduce){ :root{ --dur-1:0ms; --dur-2:0ms; --dur-3:0ms; --dur-4:0ms; --rise:0px; --rise-lg:0px; --press:1; --zoom:1; } }
