/*
 * Owner 24 Nov 2026 (Valfood Very New only): the ValFood Brand Guidelines 2026.
 * Primary: French Blue #034EA1 and Desert Oasis #FFEFCF. Secondary (from the packaging): Dark Crimson #A71C20,
 * Coffee Brown #743D27, Arab Green #005B31, Classic Pink #D68F88, Classic Copper #CC7C5A, Classic Green #50B748.
 * The guideline typefaces (Como, SignPainter, 29LT Kaff) are paid; Quicksand stands in for Como until a web licence is known.
 * Loaded last, only on a site that has this file.
 */
html:root, html:root body {
  --vfb-blue: #034ea1;
  --vfb-blue-deep: #023b7a;
  --vfb-blue-soft: #e6eef8;
  --vfb-oasis: #ffefcf;
  --vfb-oasis-light: #fff8ea;
  --vfb-oasis-mid: #fff3dc;
  /* Owner 24 Nov 2026: backgrounds in very light tints of Classic Pink #D68F88 (the owner chose it over Jewel Blue #75BEE9, green and copper). The --vfb-sky names are kept for the background role. */
  --vfb-jewel: #75bee9;
  --vfb-sky: #f4d6d3;
  --vfb-sky-mid: #faeae8;
  --vfb-sky-light: #fdf3f2;
  --vfb-crimson: #a71c20;
  --vfb-coffee: #743d27;
  --vfb-copper: #cc7c5a;
  --vfb-pink: #d68f88;
  --vfb-green: #005b31;
  --vfb-rule: rgba(3, 78, 161, .16);
  --vfb-heading-en: 'Quicksand', 'Plus Jakarta Sans', Arial, sans-serif;

  /* the plugin's tokens */
  --vfp-ink: var(--vfb-blue);
  --vfp-ink-deep: var(--vfb-blue-deep);
  --vfp-paper: var(--vfb-sky-light);
  --vfp-cream: var(--vfb-sky);
  --vfp-wash: var(--vfb-sky-mid);
  --vfp-latte: var(--vfb-sky);
  --vfp-gold: var(--vfb-coffee);
  --vfp-rule: var(--vfb-rule);
  --vfp-tone-a: var(--vfb-sky);
  --vfp-tone-b: var(--vfb-sky-light);
  --vfp-tone-c: #efc9c5;
  --vfp-tone-page: var(--vfb-sky-light);

  /* the theme's tokens */
  --valfood-blue: var(--vfb-blue);
  --valfood-ink: #0d2f5c;
  --cream: var(--vfb-sky-light);
  --line: #f1d6d3;
  --cocoa: var(--vfb-coffee);
  --caramel: var(--vfb-copper);
  --vf-navy: var(--vfb-blue);
  --vf-navy-deep: var(--vfb-blue-deep);
  --vf-ivory: var(--vfb-sky-light);
  --vf-sand: var(--vfb-sky);
  --vf-bronze: var(--vfb-coffee);
}

body { background: var(--vfb-sky-light); color: #0d2f5c; }

/* Header: light sky bar, French Blue text, the cart in Dark Crimson (the guideline's colour for buying). */
.vf-header,
body.vfp-experience-home .vf-header { background: rgba(253, 243, 242, .97); border-bottom: 1px solid var(--vfb-rule); }
.vf-primary-nav a,
body.vfp-experience-home .vf-primary-nav a { color: var(--vfb-blue); }
.vf-primary-nav a:hover,
.vf-primary-nav a:focus-visible,
body.vfp-experience-home .vf-primary-nav a:hover { color: var(--vfb-crimson); }
.vf-primary-nav a::after { background: var(--vfb-crimson); }
.vf-cart,
body.vfp-experience-home .vf-cart,
body.vfp-experience-site .vf-cart,
body.vfp-experience-site .vf-cart:hover { color: #fff; background: var(--vfb-crimson); border-radius: 999px; }
body.vfp-experience-home .vf-cart b { color: var(--vfb-crimson); }

/* Headings: rounded, friendly letterforms like the logo (English); Arabic keeps the site's Arabic face. */
.vfp-hero__copy .vfp-hero__title,
.vfp-heading h2,
.vfp-collection h3,
.vfp-product h3,
.vfp-promise h2,
.vfp-recipe h3,
.vfp-story h2,
.vf-page-hero h1,
.vfp-about__hero h1,
.vfp-recipes-archive__intro h1 { font-family: var(--vfb-heading-en); font-weight: 700; letter-spacing: -.02em; color: var(--vfb-blue); }
body.rtl .vfp-hero__copy .vfp-hero__title,
body.rtl .vfp-heading h2,
body.rtl .vfp-collection h3,
body.rtl .vfp-product h3,
body.rtl .vfp-promise h2,
body.rtl .vfp-recipe h3,
body.rtl .vfp-story h2,
body.rtl .vf-page-hero h1 { font-family: var(--vf-font-ar, 'Tajawal', Arial, sans-serif); font-weight: 800; letter-spacing: 0; }
.vfp-kicker { color: var(--vfb-coffee); }

/* Buttons: French Blue pills; the buying buttons Dark Crimson. */
.vfp-button,
.vf-button,
.vf-button--primary { color: #fff; background: var(--vfb-blue); border-color: var(--vfb-blue); border-radius: 999px; }
.vfp-button:hover,
.vf-button:hover,
.vf-button--primary:hover { color: var(--vfb-blue); background: transparent; }
.single_add_to_cart_button,
.add_to_cart_button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.vf-buy,
[class*="add-to-cart"] .button { color: #fff !important; background: var(--vfb-crimson) !important; border-color: var(--vfb-crimson) !important; border-radius: 999px !important; }
.vfp-button--light { color: var(--vfb-blue); background: #fff; border-color: #fff; }
.vfp-link, .vfp-all-recipes { color: var(--vfb-blue); }
.vfp-link span, .vfp-all-recipes span { color: var(--vfb-crimson); }

/* Page headers: Desert Oasis with the guideline's food-illustration pattern, very faint. */
body.vfp-experience-site .vfp-about__hero,
body.vfp-experience-site .vfp-recipes-archive__intro,
body.vfp-experience-site:not(.vfp-experience-home) .vf-page-hero {
  position: relative;
  isolation: isolate;
  background: var(--vfb-sky);
}
body.vfp-experience-site .vfp-about__hero::before,
body.vfp-experience-site .vfp-recipes-archive__intro::before,
body.vfp-experience-site:not(.vfp-experience-home) .vf-page-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('../../../themes/valfood-next/assets/images/valfood-media/patterns/icons.webp') center / 1150px auto repeat-x;
  opacity: .07;
  filter: saturate(0) brightness(.4);
  pointer-events: none;
  content: '';
}

/* Home */
.vfp-hero { background: var(--vfb-sky); }
.vfp-hero__art { background: #efc9c5; border-color: var(--vfb-rule); border-radius: 28px; }
.vfp-hero__art::before { background: linear-gradient(90deg, rgba(244, 214, 211, .85), rgba(244, 214, 211, .02) 35%), linear-gradient(0deg, rgba(3, 59, 122, .18), transparent 52%); }
.vfp-dot.is-active::after { background: var(--vfb-blue); }
.vfp-quick-links { background: #fff; border-color: var(--vfb-rule); border-radius: 22px; overflow: hidden; }
.vfp-quick-links a { color: var(--vfb-blue); border-color: var(--vfb-rule); }
.vfp-quick-links a:hover { background: var(--vfb-sky-mid); }
.vfp-quick-links i { color: var(--vfb-crimson); border-color: rgba(167, 28, 32, .45); }
.vfp-quick-links b { color: var(--vfb-crimson); }
.vfp-products { background: var(--vfb-sky-mid); border-top-color: var(--vfb-rule); }
.vfp-product { background: #fff; border-color: var(--vfb-rule); border-radius: 22px; overflow: hidden; }
.vfp-product__image { background: var(--vfb-sky); }
.vfp-product small { color: var(--vfb-coffee); }

/* The brand sections in French Blue with the VF logo pattern, as in the guideline. */
.vfp-promise,
.vfp-story {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--vfb-blue);
}
.vfp-promise::before,
.vfp-story::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url('../../../themes/valfood-next/assets/images/valfood-media/patterns/logo.webp') center / 1150px auto repeat;
  opacity: .12;
  pointer-events: none;
  content: '';
}
.vfp-promise h2, .vfp-story h2 { color: #fff; }
.vfp-promise .vfp-kicker, .vfp-story .vfp-kicker { color: #bfe3f8; }
.vfp-promise__top p, .vfp-story p:not(.vfp-kicker) { color: rgba(255, 255, 255, .82); }
.vfp-promise__items span { color: #fff; border-color: rgba(255, 255, 255, .25); }
.vfp-story__mark { border-color: rgba(255, 255, 255, .55); background: rgba(2, 59, 122, .35); }
.vfp-recipe { background: var(--vfb-blue); border-radius: 22px; }
.vfp-recipe::after { background: linear-gradient(0deg, rgba(2, 59, 122, .88), rgba(2, 59, 122, .02) 72%); }
.vfp-recipe small { color: #bfe3f8; }

/* Claim marks: the guideline's brand stamps. */
.vf-claim-icon { border-radius: 50%; }

/* Footer */
.vf-footer { background: var(--vfb-blue-deep); color: #fff; }
.vf-footer a { color: #fff; }

@media (max-width: 700px) {
  body.vfp-experience-site:not(.vfp-experience-home) .vf-page-hero::before { background-size: 700px auto; }
  .vfp-promise::before, .vfp-story::before { background-size: 700px auto; }
}

/* Shop filters: the chosen filter in French Blue; small labels in Coffee Brown from the palette. */
body.vfp-experience-site .vf-filter-row a,
.vf-filter-row a { color: var(--vfb-blue); border-color: var(--vfb-rule); border-radius: 999px; }
body.vfp-experience-site .vf-filter-row a.is-active,
body.vfp-experience-site .vf-filter-row a:hover,
.vf-filter-row a.is-active { color: #fff; background: var(--vfb-blue) !important; border-color: var(--vfb-blue); }

/* Home "shop by need" links: the same brand marks as the product badges instead of GF / SF / PKU / RC letters. */
.vfp-quick-links i { width: 46px; height: 46px; border: 0; border-radius: 50%; color: transparent; font-size: 0; background: center / cover no-repeat; }
.vfp-quick-links a:nth-child(1) i { background-image: url('../../../themes/valfood-next/assets/images/valfood-media/icons/gluten-free.webp'); }
.vfp-quick-links a:nth-child(2) i { background-image: url('../../../themes/valfood-next/assets/images/valfood-media/icons/sugar-free.webp'); }
.vfp-quick-links a:nth-child(3) i { background-image: url('../../../themes/valfood-next/assets/images/valfood-media/icons/pku.webp'); }
.vfp-quick-links a:nth-child(4) i { background-image: url('../../../themes/valfood-next/assets/images/valfood-media/icons/recipes.webp'); }

/* Owner screenshots 24 Nov 2026: recipe titles were French Blue on the dark photo shade (unreadable): white on the photo. */
.vfp-recipe h3,
body.rtl .vfp-recipe h3,
.vfp-recipe span,
.vfp-recipe small { color: #fff; text-shadow: 0 1px 10px rgba(2, 30, 62, .45); }
/* The four need cards sat inside a white panel: no panel, the cards alone. */
.vfp-quick-links,
body.vfp-experience-home .vfp-quick-links { background: transparent !important; border: 0 !important; box-shadow: none !important; }

/* Owner 28 Nov 2026: bigger logo, card icons and phones; the logo in place of the word ValFood; NFSA line; sizes from the settings page. */
.vf-header .vf-brand img, body.vfp-experience-site .vf-brand img, body.vfp-experience-home .vf-brand img { width: var(--vfb-logo-w, 240px) !important; height: auto !important; max-height: 96px; }
.vf-footer__valfood-logo { width: calc(var(--vfb-logo-w, 240px) * 1.1) !important; height: auto !important; }
/* Owner 29 Nov 2026 («الويب سايت بقي وحش»): on a phone the 240px logo pushed the menu button off the screen and the whole
   page slid sideways. The logo never takes more than 44% of the screen width; the settings size still rules on wide screens. */
@media (max-width: 700px) {
  .vf-header .vf-brand img, body.vfp-experience-site .vf-brand img, body.vfp-experience-home .vf-brand img { width: min(var(--vfb-logo-w, 240px), 44vw) !important; }
  .vf-footer__valfood-logo { width: min(calc(var(--vfb-logo-w, 240px) * 1.1), 70vw) !important; }
}
.vfp-quick-links i { width: var(--vfb-card-icon, 84px) !important; height: var(--vfb-card-icon, 84px) !important; }
.vf-footer .vf-phone, body.vfp-experience-site .vf-footer .vf-phone { font-size: var(--vfb-phone-size, 19px) !important; font-weight: 800; letter-spacing: .02em; }
.vf-footer__nfsa { margin: 6px 0 8px !important; color: #fff !important; font-weight: 700; font-size: .92rem; }
.vfb-word-logo { display: inline-block; height: 1.35em; width: auto; vertical-align: -0.38em; margin: 0 .12em; }
h1 .vfb-word-logo, h2 .vfb-word-logo { height: 1.1em; vertical-align: -0.2em; }
/* Owner 28 Nov 2026: a shorter slider whose picture is shown whole by height (it used to be scaled to the screen width and
   cropped, so the box on it grew taller than the slider). The picture sits on the right; the left fades into the page tone. */
.vfp-hero, .vfp-hero__content, body.vfp-experience-home .vfp-hero, body.vfp-experience-home .vfp-hero__content { min-height: var(--vfb-hero-h, 520px) !important; height: var(--vfb-hero-h, 520px); }
.vfp-hero__slide { background-size: auto 100% !important; background-position: right center !important; background-repeat: no-repeat !important; background-color: #f6f3ee !important; }
.vfp-hero__slide::before { background: linear-gradient(90deg, #f6f3ee 0%, #f6f3ee 30%, rgba(246, 243, 238, 0) 52%) !important; }
@media (max-width: 700px) {
  .vfp-hero, .vfp-hero__content, body.vfp-experience-home .vfp-hero, body.vfp-experience-home .vfp-hero__content { min-height: 460px !important; height: auto; }
  .vfp-hero__slide { background-size: cover !important; background-position: 70% center !important; }
}
/* Owner screenshot 28 Nov 2026: the blue logo file has a white background, so inside text it showed a white box. It blends into
   the card like the header logo does (multiply); the white logo on dark sections is already transparent. */
.vfb-word-logo:not([src*="white"]) { mix-blend-mode: multiply; }
.vfb-word-logo { height: 1.6em; vertical-align: -0.5em; margin: 0 .08em; }
h1 .vfb-word-logo, h2 .vfb-word-logo, h3 .vfb-word-logo, strong .vfb-word-logo { height: 1.45em; vertical-align: -0.38em; }
/* Owner screenshot 28 Nov 2026: photo cards stretch every <img> inside them over the whole card (.vfp-recipe img, product and
   collection images), which blew the inline logo up over the photo. The inline logo keeps its own size everywhere. */
img.vfb-word-logo, .vfp-recipe img.vfb-word-logo, .vfp-collection img.vfb-word-logo, .vfp-product img.vfb-word-logo, .vf-product-card img.vfb-word-logo, .vfp-recipe-wall__card img.vfb-word-logo {
  position: static !important; inset: auto !important; display: inline-block !important; width: auto !important; max-width: none !important;
  height: 1.45em !important; min-height: 0 !important; object-fit: contain !important; transform: none !important; filter: none !important; transition: none !important;
  vertical-align: -0.38em !important; margin: 0 .08em !important; box-shadow: none !important; border-radius: 0 !important; opacity: 1 !important; z-index: auto !important;
}
/* Owner 28 Nov 2026 («اللوجو بنفس حجم الكلمة»): in headings the logo is as tall as the word it replaces. */
h1 img.vfb-word-logo, h2 img.vfb-word-logo, h3 img.vfb-word-logo { height: 1.6em !important; vertical-align: -0.62em !important; }
/* Owner 28 Nov 2026 («اظبط اللوجو على الخط وحط كلمة range جنبها»): a heading holding the logo is not width-capped, so the words
   around the logo stay on its line. */
h1:has(img.vfb-word-logo), h2:has(img.vfb-word-logo), h3:has(img.vfb-word-logo) { max-width: none !important; }
/* Owner 28 Nov 2026 («الـVF بايظة مش مظبوطة»): the strip cut from the guideline repeated with half-cut rows at its edges. A seamless
   tile of one whole VF mark on a staggered grid replaces it, so every mark is complete. */
.vfp-promise::before, .vfp-story::before, .vfp-hero::before { background-image: url('../../../themes/valfood-next/assets/images/valfood-media/patterns/vf-tile.webp') !important; background-size: 150px auto !important; background-repeat: repeat !important; background-position: center top !important; opacity: .14 !important; }

/* Owner 29 Nov 2026 («في كلام كتير صغير قوي مش باين»): menu, labels, buttons and card lines were 10-13px. Nothing a person
   reads is under 14px now; Arabic small text gets normal letter spacing and room between lines. */
html body .vf-primary-nav a { font-size: 16px !important; font-weight: 700; }
html body .vf-nav-tool, html body .vf-nav-tool span, html body .vf-cart__label, html body .vf-community-link__text { font-size: 14px !important; }
html body .vf-cart b { font-size: 12px !important; min-width: 20px; min-height: 20px; }
html body :is(.vf-eyebrow, .vfp-eyebrow, .vfp-kicker, .vfp-heading > p:first-child) { font-size: 14px !important; letter-spacing: .02em !important; }
html body :is(.vfp-button, .vfp-link, .vfp-all-recipes, .vf-text-link, .vf-button, .vfp-recipe-filter, .vf-filter-row a, .vfp-recipes-archive__bar a, .vfp-recipes-archive__bar span) { font-size: 15px !important; letter-spacing: 0 !important; }
html body :is(.vfp-collection__content p, .vf-page-hero .vf-shell > p:not(.vf-eyebrow)) { font-size: 16px !important; line-height: 1.7 !important; }
html body :is(.vfp-collection__content small, .vfp-collection__content > span, .vfp-recipe small, .vfp-recipe span, .vfp-product span, .vf-product-card__category, .vfp-quick-links small, .vfp-recipe-wall__rating) { font-size: 14px !important; letter-spacing: 0 !important; line-height: 1.6 !important; }
html body .vfp-hero .vf-shell > span { font-size: 13px !important; }
html body .vf-footer :is(p, h2, span, a) { font-size: max(15px, 1em) !important; }
html body .vf-footer h2 { font-size: 17px !important; margin-bottom: 12px; }
html body :is(.vfp-button, .vfp-link, .vfp-all-recipes, .vf-text-link) :is(span, b) { font-size: inherit !important; }
html body a.vfp-recipe div small, html body a.vfp-recipe div span, html body .vfp-hero p.vfp-kicker, html body section p.vfp-kicker { font-size: 14px !important; letter-spacing: .04em !important; }
html body .vfp-heading > p:not(.vfp-kicker):not(:first-child), html body .vfp-heading > div > p:not(.vfp-kicker) { font-size: 16px !important; line-height: 1.75 !important; }

/* Owner 29 Nov 2026 («السلايدر كبير قوي»): an older pre-final.css rule (51.7% of the screen width, 744px at 1440) won over the
   height in the site settings. The settings height («ارتفاع السلايدر»، 520 by default) now rules on wide screens. */
@media (min-width: 701px) {
  html body:is(.vfp-experience-home, .vfp-experience-site, body) :is(.vfp-hero, .vfp-hero__content.vf-shell, .vfp-hero__content) { min-height: var(--vfb-hero-h, 520px) !important; height: var(--vfb-hero-h, 520px) !important; }
}

/* Owner 29 Nov 2026 («الحته اللي فيها كلام تبقى زي الصورة بدون اللون البيج»): on wide screens the text side shows the same
   photo, enlarged and softly blurred, instead of the beige panel; the sharp photo stays whole on the right and melts into it. */
@media (min-width: 701px) {
  html body:not(.vfb-hero-plain) .vfp-hero__slide:not(.vfp-hero__slide--video) { background-image: none !important; overflow: hidden; isolation: isolate; }
  html body:not(.vfb-hero-plain) .vfp-hero__slide:not(.vfp-hero__slide--video)::before { content: "" !important; position: absolute; inset: -40px; z-index: 0; display: block !important;
    background: var(--vfp-image) center / cover no-repeat !important; filter: blur(26px) saturate(1.05) brightness(1.06); opacity: 1 !important; }
  html body:not(.vfb-hero-plain) .vfp-hero__slide:not(.vfp-hero__slide--video)::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: var(--vfp-image) right center / auto 100% no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent calc(100% - var(--vfb-hero-h, 520px) * 1.78), #000 calc(100% - var(--vfb-hero-h, 520px) * 1.4));
    mask-image: linear-gradient(90deg, transparent 0%, transparent calc(100% - var(--vfb-hero-h, 520px) * 1.78), #000 calc(100% - var(--vfb-hero-h, 520px) * 1.4)); }
  html body:not(.vfb-hero-plain) .vfp-hero__slide:not(.vfp-hero__slide--video) > * { position: relative; z-index: 1; }
}
/* With the shorter slider a text block placed high (33%) ran off the top: it now stays at least 30px inside the slider. */
@media (min-width: 701px) {
  html body .vfp-hero__slide .vfp-hero__copy { top: clamp(210px, calc(var(--vfp-copy-y, 50) * 1%), calc(100% - 210px)) !important; }
}

/* Owner 29 Nov 2026 (footer): the tagline sits centred under the ValFood logo; in the producer card «إنتاج» goes beside the
   company name, and every line in the card is the same bold font, centred, the e-mail included. */
html body .vf-footer__brand-block { display: flex; flex-direction: column; align-items: center; justify-self: start; width: fit-content; text-align: center; }
html body .vf-footer__brand-block p { margin: -18px 0 0 !important; text-align: center !important; font-weight: 700; font-size: 17px !important; }
html body .vf-footer__producer-card { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center !important; }
html body .vf-footer__producer-card > * { margin: 0 !important; text-align: center !important; font-family: inherit !important; font-weight: 700 !important; color: #fff !important; font-size: 15px !important; line-height: 1.7 !important; }
html body .vf-footer__producer-card .vf-footer__epics-logo { margin: 0 auto 4px !important; object-position: center !important; }
html body .vf-footer__producer-card .vf-footer__email { letter-spacing: .01em; }
html body .vf-footer__producer-card .vf-phone { font-size: var(--vfb-phone-size, 19px) !important; font-weight: 800 !important; }

/* Owner 29 Nov 2026 (recipes / about / page heroes): the icon pattern is a 248px strip repeated sideways only, so it drew a
   darker band inside the pink section (two layers). It now covers the whole section evenly: one layer. The line under the
   title is the same clear size and weight on every page. */
html body.vfp-experience-site :is(.vfp-about__hero, .vfp-recipes-archive__intro, .vf-page-hero)::before { background-repeat: repeat !important; background-position: center top !important; }
html body.vfp-experience-site :is(.vfp-about__hero, .vfp-recipes-archive__intro, .vf-page-hero) h1 ~ p:not(.vfp-kicker):not(.vf-eyebrow) { font-size: var(--vfb-subtitle-size, 17px) !important; font-weight: 600 !important; line-height: 1.8 !important; color: #19598d !important; opacity: 1 !important; max-width: 640px; }

/* Owner 29 Nov 2026 (shop page top): no thin line under the page heading; the logo in the line under the title reads about
   as big as the words, with no box behind it. */
html body .vf-page-hero .vf-shell { border-bottom: 0 !important; }
html body .vf-page-hero [data-logo-word] img.vfb-word-logo { height: 1.9em !important; width: auto !important; vertical-align: -0.62em !important; margin: 0 .15em !important; background: none !important; box-shadow: none !important; padding: 0 !important; border: 0 !important; mix-blend-mode: multiply; }
/* The logo picture is half white margin (the mark fills 72% of its width, 48% of its height): it is drawn bigger and the margin
   is taken back with negative margins, so the mark itself is about as tall as the words (the white melts into the page). */
html body .vf-page-hero [data-logo-word] img.vfb-word-logo { height: 2.7em !important; margin: -0.62em -0.6em -0.78em !important; vertical-align: middle !important; }

/* Owner 29 Nov 2026 (contact page): both cards in the same bigger, bold type. */
html body .vf-contact-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 34px 36px !important; }
html body .vf-contact-grid article > * { margin: 0 !important; }
html body .vf-contact-grid .vf-eyebrow { font-size: 16px !important; font-weight: 800 !important; color: #075ca8 !important; letter-spacing: 0 !important; margin-bottom: 6px !important; }
html body .vf-contact-grid h2 { font-size: 28px !important; font-weight: 800 !important; line-height: 1.4 !important; }
html body .vf-contact-grid p:not(.vf-eyebrow) { font-size: 18px !important; font-weight: 700 !important; line-height: 1.8 !important; color: #19598d !important; }
html body .vf-contact-grid .vf-contact-link { font-size: 22px !important; font-weight: 800 !important; color: #034ea1 !important; }
html body .vf-contact-grid .vf-phone { font-size: 21px !important; font-weight: 800 !important; color: #034ea1 !important; }
html body .vf-contact-grid br { display: none; }

/* Owner 29 Nov 2026: «انضم إلى فريقنا» form (themes/valfood-next/page-careers.php). */
.vf-careers__form, .vf-careers__done { max-width: 900px; margin: 0 auto; padding: 36px 40px; border: 1px solid rgba(3, 78, 161, .14); border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(16, 41, 74, .06); }
.vf-careers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.vf-careers__grid label { display: flex; flex-direction: column; gap: 8px; }
.vf-careers__grid label > span:first-child { font-size: 16px; font-weight: 800; color: #10294a; }
.vf-careers__wide { grid-column: 1 / -1; }
.vf-careers__grid input, .vf-careers__grid select, .vf-careers__grid textarea { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #cfd8e3; border-radius: 12px; background: #fbfcfe; font: inherit; font-size: 16px; font-weight: 600; color: #10294a; }
.vf-careers__grid textarea { min-height: 120px; resize: vertical; }
.vf-careers__grid input:focus, .vf-careers__grid select:focus, .vf-careers__grid textarea:focus { outline: 2px solid #1a4c8b; outline-offset: 1px; border-color: #1a4c8b; }
.vf-careers__file input { padding: 12px; background: #f3f7fc; border-style: dashed; cursor: pointer; }
.vf-careers__grid .has-error input, .vf-careers__grid .has-error select { border-color: #b3261e; background: #fff6f5; }
.vf-careers__error { color: #b3261e; font-size: 14px; font-weight: 700; }
.vf-careers__notice { max-width: 900px; margin: 0 auto 18px; padding: 14px 18px; border-radius: 14px; background: #fff3e0; color: #7a4100; font-size: 16px; font-weight: 700; }
.vf-careers__privacy { margin: 22px 0 18px; color: #4d6177; font-size: 15px; font-weight: 600; }
.vf-careers__send { min-width: 200px; min-height: 52px; font-size: 17px !important; border: 0; cursor: pointer; }
.vf-careers__trap { position: absolute !important; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vf-careers__done { text-align: center; }
.vf-careers__done h2 { margin: 0 0 12px; font-size: 30px; font-weight: 800; color: #034ea1; }
.vf-careers__done p { margin: 0 0 22px; font-size: 18px; font-weight: 600; color: #19598d; }
@media (max-width: 700px) {
  .vf-careers__form, .vf-careers__done { padding: 24px 18px; }
  .vf-careers__grid { grid-template-columns: 1fr; }
  .vf-careers__send { width: 100%; }
}
/* With «انضم إلى فريقنا» the menu has five links: each stays on one line. */
@media (min-width: 761px) {
  html body .vf-primary-nav { gap: clamp(12px, 1.6vw, 26px) !important; }
  html body .vf-primary-nav a { white-space: nowrap !important; }
}
@media (min-width: 761px) and (max-width: 1720px) {
  html body .vf-primary-nav a { font-size: 14px !important; }
  html body .vf-nav-tool--account, html body .vf-community-link__text { display: none !important; }
}

/* Owner 29 Nov 2026: in the top section of every page the logo stands for ValFood in the small lines too, trimmed of its
   white margin so the mark reads as big as the words (as on the shop line); the section intro lines are bold. */
html body :is(.vf-page-hero, .vfp-about__hero, .vfp-recipes-archive__intro) :is(p, span, small, a) img.vfb-word-logo { height: 2.7em !important; width: auto !important; margin: -0.62em -0.42em -0.78em !important; vertical-align: middle !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; mix-blend-mode: multiply; }
html body :is(.vf-section__heading, .vfp-heading) > p:not(.vfp-kicker):not(.vf-eyebrow), html body .vfp-heading > div > p:not(.vfp-kicker) { font-size: var(--vfb-intro-size, 17px) !important; font-weight: 700 !important; line-height: 1.8 !important; color: #19598d !important; }

/* Owner 29 Nov 2026: the two contact cards follow the EPICS card in the footer: everything centred, one bold type, the EPICS
   logo on top of the producer card and «إنتاج: إيبكس جروب…» on one line. */
html body .vf-contact-grid article { align-items: center !important; justify-content: center; text-align: center !important; gap: 12px !important; }
html body .vf-contact-grid article > * { text-align: center !important; }
html body .vf-contact-grid article p.vf-eyebrow { font-size: 18px !important; font-weight: 800 !important; color: #10294a !important; margin-bottom: 8px !important; }
html body .vf-contact-producer__logo { width: 92px; height: auto; margin: 0 auto 4px !important; object-fit: contain; }
html body .vf-contact-producer h2 { font-size: 22px !important; font-weight: 800 !important; color: #034ea1 !important; }
html body .vf-contact-grid p:not(.vf-eyebrow) { font-size: 17px !important; max-width: 440px; }
/* Owner 29 Nov 2026 («كبرهم خليهم يملوا الكارت»): bigger content that fills both cards. */
html body .vf-contact-grid article { min-height: 360px; padding: 40px 32px !important; gap: 16px !important; }
html body .vf-contact-grid article p.vf-eyebrow { font-size: 24px !important; margin-bottom: 10px !important; }
html body .vf-contact-producer .vf-contact-producer__logo { width: 140px !important; }
html body .vf-contact-grid .vf-contact-producer h2 { font-size: clamp(22px, 2.1vw, 30px) !important; }
html body .vf-contact-grid article p:not(.vf-eyebrow) { font-size: clamp(17px, 1.45vw, 21px) !important; max-width: 520px; }
html body .vf-contact-grid article .vf-contact-link { font-size: clamp(20px, 2.1vw, 30px) !important; }
html body .vf-contact-grid article .vf-phone { font-size: clamp(21px, 2vw, 28px) !important; }
@media (max-width: 700px) { html body .vf-contact-grid article { min-height: 0; padding: 30px 18px !important; } }
html body .vf-contact-mail-icon { display: grid; place-items: center; width: 120px; height: 120px; margin: 0 auto 4px; border-radius: 50%; background: #034ea1; color: #fff; box-shadow: 0 10px 24px rgba(3, 78, 161, .22); }
@media (max-width: 700px) { html body .vf-contact-mail-icon { width: 92px; height: 92px; } }
html body .vf-contact-address span { display: block; }

/* Owner 1 Dec 2026: the EPICS band's small line («من إيبكس جروب») and its sentence are bold so they read clearly on the blue. */
html body .vfp-story .vfp-story__layout .vfp-kicker { font-weight: 800 !important; }
html body .vfp-story .vfp-story__layout p:not(.vfp-kicker) { font-weight: 700 !important; color: #ffffff !important; }

/* Owner 1 Dec 2026 (live site, phone and tablet): the cropped photo put the words over the box and the food. Up to 900px
   (phones and upright tablets) the slide is two parts: the photo on top and the words under it on a plain background.
   The #vf-m prefix outweighs the wide-screen slider rules above. */
@media (max-width: 900px) {
  html:root body:not(#vf-m) .vfp-hero { --vfm-h: 56.3vw; display: grid !important; height: auto !important; min-height: 0 !important; }
  html:root body:not(#vf-m) .vfp-hero > .vfp-hero__slide { grid-area: 1 / 1; position: relative !important; inset: auto !important; overflow: hidden;
    padding-top: var(--vfm-h); background-image: var(--vfp-image) !important; background-size: auto var(--vfm-h) !important;
    background-position: right top !important; background-repeat: no-repeat !important; background-color: #fdf3f2 !important; }
  html:root body:not(#vf-m) .vfp-hero > .vfp-hero__slide::before, html:root body:not(#vf-m) .vfp-hero > .vfp-hero__slide::after { display: none !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__content { min-height: 0 !important; height: auto !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__copy { position: static !important; inset: auto !important; transform: none !important;
    width: auto !important; max-width: 620px !important; margin: 0 auto !important; padding: 22px 4px 60px !important; text-align: center; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__copy .vfp-hero__title { max-width: none !important; margin-bottom: 10px !important;
    font-size: clamp(2rem, 7.5vw, 3rem) !important; line-height: 1.15 !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__copy > p:not(.vfp-kicker) { max-width: none !important; margin: 0 auto 16px !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__copy .vfp-kicker { margin-inline: auto !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__actions { justify-content: center !important; flex-wrap: wrap; gap: 10px 18px !important; }
  html:root body:not(#vf-m) .vfp-hero > .vfp-hero__slide--video { padding-top: 0; background: linear-gradient(180deg, #f6f6f6, #ececec) !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__slide--video .vfp-hero__content { position: absolute !important; inset: 0 !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__slide--video .vfp-hero__video { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain !important; background: transparent !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__controls { position: absolute !important; bottom: 16px !important; top: auto !important; justify-content: center; }
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__controls span, html:root body:not(#vf-m) .vfp-hero .vfp-hero__controls b { color: #034ea1 !important; text-shadow: none !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-dot::after { background: rgba(3, 78, 161, .3) !important; }
  html:root body:not(#vf-m) .vfp-hero .vfp-dot.is-active::after { background: #034ea1 !important; }
}
/* Phones: a taller crop of the photo's right side keeps the box large; the empty left edge meant for words is cut. */
@media (max-width: 700px) {
  html:root body:not(#vf-m) .vfp-hero { --vfm-h: 62vw; }
}
/* Landscape tablets and small laptops (901–1180px): the photo runs under the words, so they get a soft light backing. */
@media (min-width: 901px) and (max-width: 1180px) {
  html:root body:not(#vf-m) .vfp-hero .vfp-hero__slide:not(.vfp-hero__slide--video) .vfp-hero__copy { padding: 24px 28px !important; border-radius: 22px;
    background: rgba(253, 243, 242, .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(3, 59, 122, .12); }
}
