/* ==========================================================================
   OVEN design tokens
   Source of truth: the OVEN Shopify theme (settings_data.json "current" +
   theme-styles-variables + color-palette + oven-* customizations).
   Every value here is the resolved, rendered value from that theme.
   RTL: logical properties only.
   ========================================================================== */

/* Noto Sans Hebrew — variable font (300–600), self-hosted. */
@font-face {
	font-family: "Noto Sans Hebrew";
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url("../fonts/noto-sans-hebrew-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: "Noto Sans Hebrew";
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url("../fonts/noto-sans-hebrew-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 Hebrew";
	font-style: normal;
	font-weight: 300 600;
	font-display: swap;
	src: url("../fonts/noto-sans-hebrew-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;
}

:root:root {
	/* ---- Palette ------------------------------------------------------ */
	--oven-bg: #ffffff;
	--oven-fg: #1e2321;
	--oven-fg-rgb: 30 35 33;
	--oven-color1: #4d5a56;           /* input text */
	--oven-color2: #ecebe7;           /* hairlines: inputs, variants, drawers */
	--oven-fg-hover: #414c48;         /* primary / selected hover */
	--oven-hover-bg: #f2f2f2;         /* variant hover bg */
	--oven-hover-border: #e1dfd9;     /* variant hover border */
	--oven-secondary-hover-bg: rgba(0, 0, 0, 0.15);
	--oven-muted: rgb(30 35 33 / 0.65); /* ≥4.5:1 on white, #f7f7f5, #fbfaf7 and cream (IS 5568, 28.11.2026). */
	--oven-subdued: rgb(30 35 33 / 0.8);
	--oven-link-hover: rgb(30 35 33 / 0.7);
	--oven-line: rgb(30 35 33 / 0.1);
	--oven-teal: #2e6a63;             /* line icons */
	--oven-teal-light: #3d7f77;       /* highlight link, shipping bar */
	--oven-cream: #f6f3ec;            /* footer, tiles, info cards */
	--oven-sand: #efe7dc;
	--oven-brick: #b42318;            /* cancellation link, errors */
	--oven-success: #1e6b4f;
	--oven-soldout-bg: #f2f1ee;
	--oven-error: #8b0000;
	--oven-color1-rgb: 77 90 86;      /* --oven-color1 as channels, for alpha */
	--oven-teal-rgb: 46 106 99;       /* --oven-teal as channels, for alpha */

	/* ---- Checkout surfaces (design canvas CheckoutC / MobileC) ---------- */
	--oven-co-side-bg: #f7f7f5;       /* summary column */
	--oven-co-soft: #fbfaf7;          /* soft panels */
	--oven-co-strip: #fbfbfa;         /* strips / bars */
	--oven-co-line-soft: #f0efeb;
	--oven-co-line-mid: #e6e5e0;
	--oven-co-open-border: #dcdad3;   /* open step */
	--oven-co-tile-hover-border: #d6d4cd;
	--oven-co-tile-hover-bg: #fcfbf9;
	--oven-co-chip-bg: #e4eeec;       /* teal chip */
	--oven-teal-tint: var(--oven-co-chip-bg); /* light teal ground: timeline ring, chips, success notes (account) */
	/* ---- Account frame (owner-approved 28.11.2026: soft frames, like the cart/checkout summary) */
	--oven-acc-surface: var(--oven-co-side-bg); /* menu panel, open-order cards, payment summary */
	--oven-acc-r: 10px;               /* account cards and framed lists (= checkout step cards) */
	--oven-acc-track: var(--oven-co-line-mid); /* progress track, lines on the surface */
	--oven-brick-tint: #fbeeec;       /* light brick ground: problem chip + problem card */
	--oven-pk-map-bg: var(--oven-color2); /* pickup picker: map ground while tiles load */
	--oven-pk-r-dialog: 10px;         /* pickup picker dialog (design canvas PickupDesk) */
	--oven-pk-r-card: 8px;            /* pickup picker cards, state box, phone tabs (PickupDesk / PickupMobile) */

	/* ---- Type --------------------------------------------------------- */
	--oven-font: "Noto Sans Hebrew", sans-serif;
	--oven-body-size: 1rem;           /* 16px */
	--oven-body-lh: 1.6;
	--oven-h1: clamp(3rem, 5.6vw, 3.5rem);   /* 48 → 56, lh 1   */
	--oven-h2: clamp(2.25rem, 4.8vw, 3rem);  /* 36 → 48, lh 1   */
	--oven-h3: 2rem;                         /* 32,      lh 1.1 */
	--oven-h4: 1.5rem;                       /* 24,      lh 1   */
	--oven-h5: 0.875rem;                     /* 14 / 500, lh 1.2 */
	--oven-h6: 0.75rem;                      /* 12 / 500, lh 1.2 */
	--oven-fs-3xs: 0.625rem;
	--oven-fs-2xs: 0.75rem;
	--oven-fs-xs: 0.8125rem;
	--oven-fs-sm: 0.875rem;
	--oven-fs-md: 1rem;
	--oven-fs-lg: 1.125rem;
	--oven-fs-xl: 1.25rem;
	--oven-fs-2xl: 1.5rem;

	/* ---- Layout ------------------------------------------------------- */
	--oven-page-content: 1920px;
	--oven-page-margin: 16px;         /* 40px ≥ 750px */
	--oven-spacing-scale: 0.7;        /* 1 ≥ 990px; section padding v>20 → max(20px, scale·v) */

	/* ---- Radii -------------------------------------------------------- */
	--oven-r-button: 4px;
	--oven-r-input: 4px;
	--oven-r-variant: 4px;
	--oven-r-badge: 4px;
	--oven-r-popover: 6px;
	--oven-r-tile: 6px;
	--oven-r-pdp-media: 6px;
	--oven-r-thumb: 4px;
	--oven-r-card-media: 0;
	--oven-r-pill: 40px;
	--oven-r-swatch: 32px;

	/* ---- Controls ----------------------------------------------------- */
	--oven-btn-pad-block: 16px;
	--oven-btn-pad-inline: 24px;
	--oven-btn-h-buy: 52px;
	--oven-input-pad: 0.8rem;
	--oven-touch: 44px;
	--oven-focus-width: 1.5px;
	--oven-focus-offset: 0.2em;
	--oven-icon-stroke: 1.5px;

	/* ---- Motion ------------------------------------------------------- */
	--oven-speed: 0.125s;
	--oven-speed-slow: 0.2s;
	--oven-ease: ease-in-out;
	--oven-ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
	--oven-shadow-popover: 0 4px 20px rgb(30 35 33 / 0.15);

	/* ---- Layers ------------------------------------------------------- */
	--oven-layer-flat: 1;
	--oven-layer-sticky: 8;
	--oven-layer-header-menu: 12;
	--oven-layer-overlay: 16;
	--oven-layer-drawer: 18;

	/* ==================================================================
	   Blocksy variable mapping — makes Blocksy's own components use the
	   OVEN system. (This sheet loads after Blocksy's dynamic CSS.)
	   ================================================================== */
	--theme-palette-color-1: #1e2321;
	--theme-palette-color-2: #414c48;
	--theme-palette-color-3: #1e2321;
	--theme-palette-color-4: #1e2321;
	--theme-palette-color-5: #ecebe7;
	--theme-palette-color-6: #f6f3ec;
	--theme-palette-color-7: #ffffff;
	--theme-palette-color-8: #ffffff;

	--theme-text-color: var(--oven-fg);
	--theme-headings-color: var(--oven-fg);
	--theme-border-color: var(--oven-color2);
	--theme-link-initial-color: currentColor;
	--theme-link-hover-color: var(--oven-link-hover);
	--theme-selection-background-color: Highlight;
	--theme-selection-text-color: HighlightText;

	--theme-font-family: var(--oven-font);
	--theme-font-weight: 400;
	--theme-font-size: 16px;
	--theme-line-height: 1.6;
	--theme-letter-spacing: 0em;
	--theme-text-transform: none;

	--theme-button-font-weight: 400;
	--theme-button-font-size: 16px;
	--theme-button-line-height: 1.6;
	--theme-button-min-height: 0px;
	--theme-button-padding: var(--oven-btn-pad-block) var(--oven-btn-pad-inline);
	--theme-button-border-radius: var(--oven-r-button);
	--theme-button-text-initial-color: #ffffff;
	--theme-button-text-hover-color: #ffffff;
	--theme-button-background-initial-color: var(--oven-fg);
	--theme-button-background-hover-color: var(--oven-fg-hover);
	--theme-button-shadow: none;
	--theme-button-transform: none;

	--theme-form-field-height: 51.2px;
	--theme-form-field-border-radius: var(--oven-r-input);
	--theme-form-field-border-width: 1px;
	--theme-form-field-border-initial-color: var(--oven-color2);
	--theme-form-field-border-focus-color: var(--oven-color2);
	--theme-form-field-background-initial-color: #ffffff;
	--theme-form-field-background-focus-color: #ffffff;
	--theme-form-text-initial-color: var(--oven-color1);
	--theme-form-text-focus-color: var(--oven-color1);
	--theme-form-selection-field-initial-color: rgb(30 35 33 / 0.35);
	--theme-form-selection-field-active-color: var(--oven-fg);

	--theme-normal-container-max-width: var(--oven-page-content);
	--theme-container-edge-spacing: calc(100vw - var(--oven-page-margin) * 2);
}

@media (min-width: 750px) {
	:root:root {
		--oven-page-margin: 40px;
	}
}

@media (min-width: 990px) {
	:root:root {
		--oven-spacing-scale: 1;
	}
}

/* Blocksy prints its dynamic CSS (:root / h1–h6 variables) AFTER all enqueued
   stylesheets, so these selectors are deliberately more specific
   (:root:root, :root hN) to win regardless of order. */
:root h1 { --theme-font-size: var(--oven-h1); --theme-font-weight: 400; --theme-line-height: 1; }
:root h2 { --theme-font-size: var(--oven-h2); --theme-font-weight: 400; --theme-line-height: 1; }
:root h3 { --theme-font-size: var(--oven-h3); --theme-font-weight: 400; --theme-line-height: 1.1; }
:root h4 { --theme-font-size: var(--oven-h4); --theme-font-weight: 400; --theme-line-height: 1; }
:root h5 { --theme-font-size: var(--oven-h5); --theme-font-weight: 500; --theme-line-height: 1.2; }
:root h6 { --theme-font-size: var(--oven-h6); --theme-font-weight: 500; --theme-line-height: 1.2; }

body {
	background-color: var(--oven-bg);
}
