/* Generated from DESIGN.md (Apple-style structure, Silver Cake colours). Components use these tokens only. */
/* Rubik (OFL): one family for Arabic and English, variable weight 300–900, soft rounded corners that suit a sweets shop.
   Two files by script; digits and basic punctuation are in both, so prices never switch font. */
@font-face { font-family: "Rubik"; src: url("/static/fonts/rubik-arabic.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Rubik"; src: url("/static/fonts/rubik-latin.woff2") format("woff2"); font-weight: 300 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2010-2027, U+2030-203A, U+20AC, U+2122, U+2212; }

:root {
  /* Brand: the rose takes the place of Apple's single action colour. */
  --color-primary: #C2294A;          /* buttons and links; white text 5.66:1 */
  --color-primary-active: #A8193A;   /* pressed; white text 7.33:1 */
  --color-brand-rose: #E03C5A;       /* logo rose; decoration only */
  --color-blush: #FBE3E9;            /* soft brand surface */
  --color-on-primary: #FFFFFF;

  /* Neutrals (Apple-style). */
  --color-ink: #1D1D1F;              /* text on white 16.8:1 */
  --color-ink-muted: #6E6E73;        /* secondary text on white 5.07:1, on parchment 4.64:1 */
  --color-canvas: #FFFFFF;
  --color-parchment: #F5F5F7;
  --color-pearl: #FAFAFC;
  --color-hairline: #D2D2D7;
  --color-divider: #E8E8ED;
  --color-header-glass: rgba(255, 255, 255, .82);
  --color-header: #C2294A;           /* rose top bar; white text 5.66:1 */
  --color-header-line: rgba(255, 255, 255, .7);
  --color-whatsapp: #168C45;         /* floating WhatsApp button; white icon 4.31:1, against white page 4.31:1 */
  --color-highlight: #7A5200;        /* product highlight text ("بالسمنة البلدي"); 6.2:1 on its background */
  --color-highlight-bg: #FBEFD5;
  --color-badge: #F5C242;            /* bag count on the rose bar; ink text 9.9:1 */
  --color-dark-tile: #1D1D1F;
  --color-photo-shade: rgba(0, 0, 0, .62);       /* under white words on photos */
  --color-photo-shade-soft: rgba(0, 0, 0, .28);
  --color-photo-chip: rgba(0, 0, 0, .32);        /* dots and pause button on photos */
  --color-photo-dot: rgba(255, 255, 255, .55);

  /* Quoting customers in the style of the app they wrote in (surfaces only, never accents). */
  --color-comment-bubble: #F0F2F5;   /* comment bubble; ink text 15.0:1 */
  --color-chat-wallpaper: #EFEAE2;   /* chat background */
  --color-chat-bubble: #FFFFFF;      /* incoming message bubble */
  --color-chat-name: #8A5A00;        /* sender name on the wallpaper; 4.95:1 */

  /* States. */
  --color-success: #127A5B;
  --color-warning: #8A5A00;
  --color-danger: #B0213F;
  --color-info: #1F5E8A;
  --color-made-to-order: #B64400;    /* eyebrow text like Apple's "New"; 5.2:1 on white */
  --color-focus: #4FB3E8;

  /* Type: Rubik first on every device, so the brand looks the same on iPhone, Android and Windows. */
  --font-latin: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-arabic: "Rubik", -apple-system, BlinkMacSystemFont, "SF Arabic", "Segoe UI", Tahoma, sans-serif;

  --text-hero: clamp(34px, 6vw, 56px);
  --text-display: clamp(28px, 4.4vw, 40px);
  --text-lead: clamp(19px, 2.6vw, 24px);
  --text-tagline: 21px;
  --text-body: 17px;
  --text-caption: 14px;
  --text-fine: 12px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 17px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-section: 80px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;

  /* The one shadow: a product resting on a surface. Chrome has none. */
  --shadow-product: 3px 5px 30px rgba(0, 0, 0, .22);
  --shadow-menu: 0 10px 30px rgba(0, 0, 0, .12);
  --shadow-card-product: 3px 5px 14px rgba(0, 0, 0, .14);
  --shadow-card-hover: 0 18px 36px rgba(0, 0, 0, .16);

  --target-min: 44px;
  --header-height: 84px;             /* the top bar on screens 768 px and wider */
  --content-max: 1080px;
}
