/*
 * Storefront design tokens — the KuteShop look (home variant 13) written as this shop's own values.
 *
 * Custom properties only; nothing here draws anything. The values are read from the template's LESS
 * sources and from the template's pages as seen, and nine of them depart from the template on purpose
 * because the template's colours fail the text-contrast floor of 4.5:1 or the control-boundary floor of
 * 3:1. Every departure is recorded beside its value and in the task-state file, and a test computes the
 * ratios from this file, so a value changed here without its partner is caught.
 */

:root {
    /* Accent: fills, rules, underlines, stars. Never text on white (1.87:1). */
    --sf-accent: #ffad00;

    /* Departure 1: text and icons on an accent fill are dark, not white (white is 1.87:1; this is 8.81:1). */
    --sf-on-accent: #1f1f1f;

    /* The accent fill under the pointer (dark text on it 7.16:1). */
    --sf-accent-hover: #e69c00;

    /* Departure 10: the amber frame of a field is #c28400 (3.18:1 on white), so the search box's edge is
       findable; the template's #ffad00 frame is 1.87:1. */
    --sf-accent-edge: #c28400;

    /* Departure 2: accent-coloured text and links on a light ground (5.52:1 on white, 5.20:1 on the alt surface). */
    --sf-accent-ink: #8f5f00;

    --sf-ink: #333333;
    --sf-ink-secondary: #666666;

    /* Departure 3: muted text is #6b6b6b, not the template's #999 (2.85:1); 5.02:1 on the alt surface. */
    --sf-ink-muted: #6b6b6b;

    --sf-surface: #ffffff;
    --sf-surface-alt: #f8f8f8;

    /* Frames and separators. Decoration only, never the only edge of a control. */
    --sf-line: #eeeeee;

    /* Departure 4: the edge of a field is findable (3.45:1 on white) rather than #eee. */
    --sf-control-border: #8a8a8a;

    /* Google's own light theme for the "Sign in with Google" button (Google's branding guidelines): its edge
       (4.53:1 on white) and its label (16.48:1 on white). The fill is --sf-surface, Google's white. */
    --sf-google-edge: #747775;
    --sf-google-ink: #1f1f1f;

    /* The dark title bar of the category menu and the drawer buttons. */
    --sf-bar: #333333;
    --sf-on-bar: #ffffff;

    /* Departure 5: the "new" sticker and the in-stock line (white on it 5.76:1; the template's green is 3.06:1). */
    --sf-positive: #1d7449;
    --sf-on-positive: #ffffff;

    --sf-danger: #b30000;

    /* A warning that must be read before a choice is made: a tinted amber ground, a strong amber edge and dark text
       (text 12.9:1 on the ground; the edge 4.19:1, above the 3:1 boundary floor). */
    --sf-warning-surface: #fff6e0;
    --sf-warning-edge: #a36b00;
    --sf-warning-ink: #3b2a00;

    /* The unfilled stars. Decoration: the score is always written beside them in words and digits. */
    --sf-star-track: #d6d6d6;

    /* Departure 6: a focus ring on every control. The template has none. */
    --sf-focus: #1f1f1f;
    --sf-focus-on-bar: #ffad00;
    --sf-focus-width: 2px;
    --sf-focus-offset: 2px;

    --sf-radius: 0;
    --sf-radius-round: 50%;

    --sf-shadow-strip: 0 1px 2px rgba(0, 0, 0, 0.08);
    --sf-shadow-panel: 0 6px 18px rgba(0, 0, 0, 0.12);

    /* Minimum heights, never fixed heights on text: Persian runs taller than Latin. */
    --sf-height-strip: 2.375rem;
    --sf-height-control: 2.8125rem;
    --sf-height-bar: 3.125rem;

    --sf-sidebar-width: 16.875rem;
    --sf-container-max: 75rem;
    --sf-gutter: 0.9375rem;

    --sf-font-latin: "DM Sans", system-ui, "Segoe UI", Roboto, Arial, sans-serif;
    --sf-font-persian: "IRANYekanX", "Segoe UI", Tahoma, Arial, sans-serif;

    /* Departure 8: rem sizes, nothing under 12px, weight 400 where the template uses 300. */
    --sf-text-body: 0.9375rem;
    --sf-text-small: 0.8125rem;
    --sf-text-smallest: 0.75rem;
    --sf-text-block-title: 1rem;
    --sf-text-page-heading: 1.5rem;
    --sf-leading-persian: 1.75;
    --sf-leading-latin: 1.55;

    /* Departure 9: short transitions, removed entirely under reduced motion (base.css). */
    --sf-transition: 150ms ease-out;
}
