/* Spritz site fixes, 2026-10-05. Loaded by view website.spritz_fixes_2026_10 (archive that view to switch all of this off).
   Scope: owner feedback (fewer dark blocks, recipe categories, lighter careers page) + mobile polish. */

/* ---------- 1. Header: solid, nothing shows through ---------- */
html body #wrapwrap header#top nav .o_main_nav,
html body #wrapwrap header#top .o_main_nav {
  background-image: linear-gradient(180deg, #46505A 0%, #2A3138 100%) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

/* ---------- 2. Floating shop/social buttons: off on phones (header already has cart + menu) ---------- */
@media (max-width: 767.98px) {
  #spz-dial { display: none !important; }
}

/* ---------- 3. Lighter pages: dark blocks become warm cream ---------- */
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) {
  background: #FBF6EF !important;
  background-image: none !important;
  color: #1B242C !important;
}
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband)::before, html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband)::after { opacity: 0 !important; }
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) > div, html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) > .container, html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) .o_we_bg_filter { background: none !important; background-image: none !important; }
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(h1, h2, h3, h4, h5, h6, strong, b, label, .h1, .h2, .h3) { color: #1B242C !important; }
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(p, li, small, span, div, a:not(.btn)) { color: #4A5660 !important; }
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(h1, h2, h3, h4, h5, h6) :is(span, div) { color: #1B242C !important; }
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(.o, em, i, .acc, [class*="accent"], [class*="hl"], [class*="eyebrow"], [class*="kicker"], [class$="ey"], .jey),
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(h1, h2, h3, h4, h5, h6) .o {
  color: #B5650A !important; -webkit-text-fill-color: #B5650A !important; background: none !important;
}
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(input, select, textarea) {
  background: #FFFFFF !important; color: #1B242C !important; border: 1.5px solid #DCD5CB !important;
}
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(input, textarea)::placeholder { color: #8A939B !important; }
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) .btn:not(.btn-primary), html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) a.btn-outline, html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) [class*="pill"] { color: #1B242C !important; border-color: #1B242C !important; }

/* ---------- 4. Home range: one swipe row on phones instead of five full screens ---------- */
@media (max-width: 767.98px) {
  section.sec .range {
    display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -20px !important; padding: 4px 20px 16px !important; scrollbar-width: none;
  }
  section.sec .range::-webkit-scrollbar { display: none; }
  section.sec .range > .tile { flex: 0 0 78% !important; scroll-snap-align: center; min-height: 0 !important; }
  .spz-swipe-hint { align-items: center; gap: 8px; margin: 4px 0 0; font: 600 13px/1 Inter, sans-serif; color: #4A5660; }
  .spz-swipe-hint i { display: inline-block; width: 22px; height: 2px; background: #B5650A; border-radius: 1px; }
}

/* ---------- 5. Recipes: category chips + compact 2-up cards on phones ---------- */
.spz-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 16px; max-width: 1180px; margin: 0 auto; background: #F3F5F6; scrollbar-width: none; }
@media (max-width: 767.98px) { .spz-chips { position: sticky; top: 76px; z-index: 5; } }
@media (min-width: 768px) { .spz-chips { justify-content: center; padding: 22px 16px 8px; } }
.spz-chips::-webkit-scrollbar { display: none; }
html body .spz-chips :is(button, a) { text-decoration: none !important; color: #1B242C !important; display: inline-flex; align-items: center; flex: 0 0 auto; border: 1.5px solid #D8DCDF; background: #FFFFFF; color: #1B242C; border-radius: 999px;
  padding: 9px 16px; font: 600 14px/1 Inter, sans-serif; min-height: 40px; }
html body .spz-chips :is(button, a).on { background: #1B242C !important; border-color: #1B242C !important; color: #FFFFFF !important; }
@media (max-width: 767.98px) {
  #o_wblog_index_content .row > [class*="col-12"] { flex: 0 0 50% !important; max-width: 50% !important; padding: 0 6px !important; }
  #o_wblog_index_content .row { margin: 0 -6px !important; }
  .o_wblog_post :is(time, .o_wblog_post_date, [class*="date"]) { display: none !important; }
  .o_wblog_post .o_wblog_post_teaser, .o_wblog_post .o_wblog_normalize_font { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px !important; }
  .o_wblog_post :is(h2, h3, .o_wblog_post_title) { font-size: 15px !important; line-height: 1.25 !important; }
}

/* ---------- 6. Careers: room to breathe ---------- */
@media (max-width: 767.98px) {
  html body .spz-jwhy .g { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  html body .spz-jwhy .g > .c { padding: 18px 14px !important; }
  .spz-jwhy p { display: none; }
  .spz-jwhy :is(h3, h4) { font-size: 16px !important; }
  a[href*="/jobs/"] p { display: none !important; }
  a[href*="/jobs/"] .card-body::after { content: "View role →"; display: block; margin-top: 10px; font: 600 14px/1 Inter, sans-serif; color: #B5650A; }
  .spz-japply { padding-top: 56px !important; padding-bottom: 56px !important; }
}

/* photo / video / overlay layers inside a block that is now light */
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) :is(video, .jbg, .jov, [class*="overlay"]) { display: none !important; }
html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) > div:not([class]):empty, html body :is(section.hero:not(.pgtop), section.sec.legacy, section.sec.range ~ section.sec.band, section.sec.band-amb, section.spz-jhero, section.spz-japply, section.spz-rechero, section.credband) > div[style*="absolute"] { display: none !important; }
html body section.spz-jhero .jin span:not(.o) { background: #F1E8DC !important; color: #1B242C !important; }

/* swipe hint lives in the home view; desktop never shows it */
.spz-swipe-hint { display: none; }
@media (max-width: 767.98px) { .spz-swipe-hint { display: flex; } }

/* About: the small line under "25" */
html body section.sec.legacy .big span { color: #4A5660 !important; -webkit-text-fill-color: #4A5660 !important; opacity: 1 !important; }

/* Recipes 2-up: taller photos on phones */
@media (max-width: 767.98px) {
  html body .website_blog #o_wblog_posts_loop .o_wblog_post .o_record_cover_container { padding-top: 72% !important; }
  html body .o_wblog_post .o_record_cover_container > div { border-radius: 14px; }
}

/* ---------- Arabic pages (owner notes 2026-10-07) ---------- */
/* no letter-spacing on Arabic: it breaks joined letters and opens gaps between words */
html[lang^="ar"] body, html[lang^="ar"] body * { letter-spacing: 0 !important; }
/* arrows in icon buttons point the reading direction */
html[lang^="ar"] :is(.fa-arrow-right, .fa-long-arrow-right, .oi-arrow-right, .fa-chevron-right) { transform: scaleX(-1); }
/* Arabic "More flavour. Less oil." band (the English one is baked into a video) */
.spz .spz-cbanner-ar { line-height: 1.2 !important; padding: clamp(56px, 9vw, 96px) 20px; text-align: center;
  background: radial-gradient(60% 120% at 50% 50%, rgba(250,163,32,0.18), rgba(30,39,48,0) 70%), #1E2730; }
.spz .spz-cbanner-ar .cbar { color: #FFFFFF; font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 800; font-size: clamp(30px, 5vw, 56px); }
.spz .spz-cbanner-ar .cbar em { font-style: normal; color: #FAA320; }

/* ---------- 2026-10-11 Arabic spacing (client doc 2) ---------- */
/* small labels above headings: own line, room under them */
html[lang^="ar"] .spz .ey { display: block; margin-bottom: 10px; font-size: 13px; text-transform: none; }
/* Arabic headings need taller lines (hamza / alef ascenders) */
html[lang^="ar"] .spz :is(h1, h2, h3) { line-height: 1.3 !important; }
/* how-to card: margin-left:50% + translateX(-50%) breaks in RTL */
html[lang^="ar"] .ways .waycard { margin-left: 0 !important; margin-right: 50% !important; transform: translateX(50%) !important; }

/* sold out (from Odoo stock) on product cards */
html body .spz-instock.spz-oos { color: #C0392B !important; }
html body .spz-instock.spz-oos i { background: #C0392B !important; box-shadow: 0 0 0 3px rgba(192,57,43,.16) !important; }
html body :is(.sbtn, .sbtn2, .tbtn)[disabled] { opacity: .45 !important; cursor: not-allowed !important; pointer-events: none; }

/* ---------- 2026-10-22 "More flavour. Less oil." band: Spritz orange, white text (both languages) ---------- */
html body .spz .spz-cbanner.spz-cbanner-txt { line-height: 1.15 !important; padding: clamp(56px, 9vw, 104px) 20px; text-align: center;
  background: radial-gradient(60% 120% at 50% 50%, #FFB437 0%, rgba(255,180,55,0) 70%), linear-gradient(170deg, #FAA320 0%, #F59A16 60%, #EE8E0C 100%) !important; }
html body .spz .spz-cbanner-txt .cbar { color: #FFFFFF; font-family: 'Jost', sans-serif; font-weight: 600; font-size: clamp(34px, 6vw, 72px); letter-spacing: -.02em; }
html[lang^="ar"] body .spz .spz-cbanner-txt .cbar { font-family: 'Cairo', 'Tajawal', sans-serif; font-weight: 800; letter-spacing: 0; }
html body .spz .spz-cbanner-txt .cbar em { font-style: normal; color: #1B242C !important; }

/* ---------- 2026-10-22 home closing box "Cook lighter, starting tonight": Spritz orange, white text ---------- */
html body .spz .final.spz-final-orange { background: radial-gradient(60% 90% at 50% 40%, #FFB437 0%, rgba(255,180,55,0) 70%), linear-gradient(170deg, #FAA320 0%, #F59A16 60%, #EE8E0C 100%) !important; color: #FFFFFF !important; }
html body .spz .final.spz-final-orange .ey { color: #FFFFFF !important; opacity: .9; }
html body .spz .final.spz-final-orange h2 { color: #FFFFFF !important; }
html body .spz .final.spz-final-orange h2 em { color: #1B242C !important; -webkit-text-fill-color: #1B242C !important; }
html body .spz .final.spz-final-orange p { color: #FFFFFF !important; }
html body .spz .final.spz-final-orange .btn2 { background: #FFFFFF !important; color: #1B242C !important; box-shadow: 0 10px 24px rgba(120,60,0,.22) !important; }
