/* =========================================================================
   JiL Fresh brand layer on top of the Foodies index-3 template.
   Only re-maps colours and fonts; the template's layout, components and
   motion are left untouched.
   Brand guide: Fresh Green #05BA00 · Golden Orange var(--theme)
                Pepper Red #D50200 · text near-black #1E1D23
   Nov 2026 client review: Fresh Green is the dominant colour (replaces
   orange as the main accent); Deep Oxblood is no longer used.
   Heading font: Histore Magical (drop licensed files into /assets/front/fonts)
   ========================================================================= */

@font-face {
  font-family: "Histore Magical";
  src: url("../fonts/HistoreMagical.woff2") format("woff2"),
       url("../fonts/HistoreMagical.woff") format("woff");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --jf-green: #05BA00;
  --jf-orange: #EF7401;         /* Golden Orange, now the second accent */
  --jf-dark: #1E1D23;          /* headings + text (replaces Deep Oxblood) */
  --jf-red: #D50200;
  --jf-green-dark: #047A00;
  --jf-green-soft: #E6F6E1;
  --jf-orange-soft: #FDEBD9;
  --jf-cream: #FFF9F1;
  --jf-ink: #2B1B18;
  --jf-muted: #6B5A55;
  --jf-line: #EDE3D8;
  --jf-radius: 18px;

  /* Brand heading font first; the template's own fonts stay as fallbacks */
  --font-heading: "Histore Magical", "Signika", sans-serif;
  --font-body: "Nunito", sans-serif;
  --font-script: "Histore Magical", "Bylast", cursive;

  /* Template colour variables -> JiL Fresh brand */
  --theme: var(--jf-green);    /* main accent (was yellow #FFC222) */
  --theme2: var(--jf-orange);  /* second accent (was green #00833E) */
  --theme3: var(--jf-red);     /* was red #ED1C27 */
  --theme5: var(--jf-green);
  --theme6: var(--jf-red);
  --header: var(--jf-dark);    /* template's original near-black */
}

/* ---------- Logo (text wordmark until the approved logo file is added) ---------- */
.jf-logo { display: inline-flex; flex-direction: column; line-height: .85; color: var(--jf-dark); font-family: var(--font-heading); font-weight: 700; font-size: 30px; text-decoration: none; }
.jf-logo:hover { color: var(--jf-dark); }
.jf-logo img { height: 56px; width: auto; }
.jf-logo .smile { display: block; width: 58px; height: 12px; margin-top: 2px; }
.footer-section .jf-logo, .offcanvas__logo .jf-logo.is-light { color: #fff; }

/* Bag counter + account in the template header */
.header-3 .shop-icon span.count-zero { display: none; }

/* Skip link + focus */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 99999; background: var(--jf-dark); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--jf-orange); outline-offset: 2px; }

/* WhatsApp float */
.jf-whatsapp { position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.jf-whatsapp:hover { color: #fff; transform: scale(1.05); }

/* Footer bottom bar (template hard-codes green #00833E) */
.footer-bottom.style-3 { background-color: var(--theme) !important; }
.footer-bottom.style-3 .footer-bottom-wrapper p,
.footer-bottom.style-3 .footer-bottom-wrapper a { color: var(--header) !important; font-weight: 600; }
.footer-bottom.style-3 .footer-bottom-wrapper a:hover { text-decoration: underline; }
@media (max-width: 767px) { .footer-bottom.style-3 .footer-bottom-wrapper { flex-direction: column; gap: 6px; text-align: center; } }

/* Hygiene badge in footer */
.jf-hygiene { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.jf-hygiene strong { background: var(--jf-green); color: var(--jf-dark); border-radius: 8px; padding: 2px 9px; }

/* ---------- Preloader text (template sets "Foodies" in main.css) ---------- */
.loader:before { content: "JiL Fresh"; }
.loader { text-transform: none; }
@media (max-width: 767px) { .loader { font-size: 64px; } }

/* ---------- Header height ---------- */
.header-3 { background: #fff; }
.header-3 .header-main { padding: 24px 0; }
/* Hero and page banners start exactly below the header (height set by app.js, 190px fallback) */
/* Space under the absolute header. Padding on <main> (not a margin on the hero) so the
   smooth-scroller counts it in the page height; a margin collapses and cuts off the footer. */
#main { padding-top: var(--jf-header-h, 190px); }
.hero-section-2.hero-3, .breadcrumb-wrapper { margin-top: 0 !important; }
.header-3.sticky .header-main { padding: 10px 0; }
@media (max-width: 575px) { .header-3 .header-main { padding: 12px 0; } }

/* Hero text sits above the decorative shapes */
.hero-section-2.hero-3 > .container { position: relative; z-index: 5; }
.hero-section-2.hero-3 .hero-content { position: relative; z-index: 3; }

/* ---------- Hero: plain cream background (same as feature-section-3), no photo ---------- */
.hero-section-2.hero-3.jf-hero-plain { background-color: #F4F1EA; background-image: none; }
.hero-section-2.hero-3.jf-hero-plain .hero-content span { color: var(--header); }

/* ---------- Hero eyebrow ("Nigerian Kitchen") ---------- */
.hero-section-2 .hero-content .jf-hero-eyebrow {
  display: flex !important; width: fit-content; align-items: center; gap: 12px;
  color: var(--header) !important; font-family: var(--font-heading) !important; font-weight: 700 !important;
  font-size: 18px !important; line-height: 1.4 !important; letter-spacing: .18em !important;
  text-transform: uppercase; margin: 0 0 16px !important; padding: 0 !important; background: none !important;
}
.hero-section-2 .hero-content .jf-hero-eyebrow::before { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--theme); }
@media (max-width: 575px) { .hero-section-2 .hero-content .jf-hero-eyebrow { font-size: 14px !important; letter-spacing: .14em !important; } }

/* ---------- Hero buttons (replace the template's call box) ---------- */
.jf-hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- Logo image sizing ---------- */
.header-main .logo-1 img { height: 68px; width: auto; max-width: none; }
.header-3.sticky .header-main .logo-1 img { height: 56px; }
.offcanvas__logo img { height: 60px; width: auto; }
.footer-logo img { height: 96px; width: auto; }
@media (max-width: 575px) {
  .header-main .logo-1 img { height: 52px; width: auto; }
}

/* ---------- Header top bar: template header-top slider (index-2), placed in header-3 ---------- */
.header-3 .header-top-sec { background-color: var(--theme); padding: 10px 0 15px; }
.header-3 .header-top-sec .header-top-wrap { text-align: center; display: flex; align-items: center; justify-content: space-between; }
.header-3 .header-top-sec .header-top-wrap p { color: var(--header); font-size: 14px; font-weight: 600; margin: 0; }
.header-3 .header-top-sec .header-top-wrap button { color: var(--header); background: none; border: 0; width: 36px; height: 28px; display: grid; place-items: center; border-radius: 6px; cursor: pointer; }
.header-3 .header-top-sec .header-top-wrap button:hover { background: rgba(30, 29, 35, .1); }
.header-3 .head-top-slider { height: 20px; overflow: hidden; }
.header-3 .head-top-slider .swiper-slide { height: auto; }
.header-3.sticky .header-top-sec { display: none; }
@media (max-width: 575px) { .header-3 .header-top-sec { display: none; } }

/* ===== Small helpers for JiL-specific pieces (styled to match the template) ===== */

/* Menu page: category filter + search, sits in the template's tab-nav style */
.jf-filters-wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-bottom: 40px; }
/* Category pills */
.jf-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1080px; }
.jf-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(30, 29, 35, .14); background: #fff; color: var(--header); font-family: var(--font-heading); font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.jf-pill:hover { border-color: var(--theme); color: var(--theme); transform: translateY(-1px); }
.jf-pill.active { background: var(--theme); border-color: var(--theme); color: var(--header); box-shadow: 0 6px 16px rgba(5, 186, 0, .28); }
.jf-pill-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; background: #F4F1EA; color: var(--header); }
.jf-pill.active .jf-pill-count { background: var(--header); color: #fff; }
@media (max-width: 767px) {
  /* one swipeable row on phones */
  .jf-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .jf-pills::-webkit-scrollbar { display: none; }
  .jf-pill { flex: 0 0 auto; font-size: 14px; padding: 9px 15px; }
}
.jf-menu-search { position: relative; width: 100%; max-width: 440px; }
.jf-menu-search input { width: 100%; height: 56px; border: 1px solid rgba(30, 29, 35, .12); border-radius: 8px; padding: 0 50px 0 20px; background: #fff; font-weight: 600; color: var(--header); }
.jf-menu-search i { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--theme); }
.jf-allergen-note { max-width: 820px; margin-inline: auto; }

/* Font Awesome icon inside the template's contact box icon slot */
.contact-flag-box-in .icon.jf-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--theme); color: var(--header); display: inline-grid; place-items: center; font-size: 30px; }

/* Image in place of the template map on catering/christmas */
.google-map-items.jf-cover { overflow: hidden; border-radius: 16px; height: 100%; min-height: 460px; }
.google-map-items.jf-cover img { width: 100%; height: 100%; object-fit: cover; }

/* Christmas offer cards: let content set the height */
.jf-xmas-card { min-height: 420px; height: auto !important; }
.jf-xmas-card .jf-xmas-body { max-width: 360px; }

/* Page-load promo popup */
.jf-promo-modal .modal-dialog { max-width: min(460px, 92vw); }
.jf-promo-modal .modal-content { position: relative; border: 0; border-radius: 18px; overflow: hidden; background: #fff; }
.jf-promo-modal .jf-promo-image img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: contain; background: #fff; }
.jf-promo-modal .jf-promo-actions { display: flex; gap: 10px; padding: 14px; }
.jf-promo-modal .jf-promo-actions .theme-btn { flex: 1; justify-content: center; text-align: center; padding: 0 14px; }
.jf-promo-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--jf-dark); color: #fff; font-size: 18px; display: grid; place-items: center; }
.jf-promo-close:hover { background: var(--theme); color: var(--header); }
.modal-backdrop { z-index: 99999990; }
.modal { z-index: 99999991; }

/* Founder sign-off (Our Story) */
.jf-founder-sign { font-family: var(--font-script); font-size: 26px; line-height: 1.3; color: var(--theme); margin: 18px 0 28px; }
.jf-founder-sign span { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 700; color: var(--header); margin-top: 6px; }

/* Allergens */
.jf-allergens { background: var(--jf-orange-soft); border-radius: 10px; padding: 12px 14px; font-size: 14px; }
.jf-allergen-table { max-height: 520px; overflow-y: auto; }
.jf-allergen-table table { font-size: 14px; }
.jf-allergen-table thead th { position: sticky; top: 0; background: var(--header); color: #fff; }
.jf-allergen-table .jf-allergen-cat th { background: var(--jf-orange-soft); color: var(--header); }

/* Dish options modal */
.jf-modal .modal-content { border-radius: 16px; border: 0; }
.jf-modal .modal-header, .jf-modal .modal-footer { border: 0; }
.jf-modal .modal-title { font-size: 26px; color: var(--header); }
.jf-modal legend { font-size: 16px; font-weight: 800; color: var(--header); }
.jf-modal .form-check-input:checked { background-color: var(--theme); border-color: var(--theme); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Bag & checkout ---------- */
.jf-remove{background:none;border:0;color:var(--theme3,#D50200);font-size:18px;padding:4px 8px;cursor:pointer}
.jf-line-options{display:block;font-size:14px;color:#666;font-weight:400;margin-top:4px}
.jf-toast{position:fixed;right:20px;bottom:90px;z-index:99999990;display:flex;align-items:center;gap:14px;flex-wrap:wrap;max-width:min(440px,calc(100vw - 32px));background:#fff;border:1px solid rgba(5,186,0,.35);box-shadow:0 10px 30px rgba(30, 29, 35,.18);border-radius:10px;padding:14px 40px 14px 16px;transform:translateY(20px);opacity:0;pointer-events:none;transition:.3s}
.jf-toast.is-shown{transform:none;opacity:1;pointer-events:auto}
.jf-toast.is-error{border-color:rgba(213,2,0,.35)}
.jf-toast i{color:#05BA00;margin-right:4px}
.jf-toast.is-error i{color:#D50200}
.jf-toast-close{position:absolute;top:6px;right:10px;background:none;border:0;font-size:22px;line-height:1;color:var(--header)}
.theme-btn.small-btn{padding:10px 18px;font-size:14px}
.checkout-section .jf-select{width:100%;height:56px;border:1px solid #e5e5e5;border-radius:6px;padding:0 16px;background:#fff;color:var(--header)}
.checkout-section .jf-postcode{display:flex;gap:10px}
.checkout-section .jf-postcode input{flex:1}
.checkout-section .checkout-single{margin-bottom:24px}
.checkout-section .checkout-radio-single label small{font-weight:400;color:#777}
.jf-summary h3{margin-bottom:16px}
.jf-summary ul{list-style:none;padding:0;margin:0 0 14px}
.jf-summary li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid rgba(0,0,0,.07)}
.jf-summary li small{color:#777}
.jf-summary .jf-total{font-weight:700;color:var(--header);font-size:18px;border-bottom:0}
.jf-order-box{max-width:720px;margin:0 auto}
.jf-order-box li small{color:#777}
/* Checkout: template forces width:100% + capitalize on every input/label */
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single.payment-save{display:flex;align-items:flex-start;gap:12px;margin-top:8px}
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single.payment-save input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;padding:0;margin:2px 0 0;border-radius:4px;accent-color:#05BA00;cursor:pointer}
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single.payment-save label{flex:1;font-size:16px;line-height:1.5;margin:0;cursor:pointer}
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single label a{color:var(--theme);text-decoration:underline}
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single input,
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single textarea,
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single label,
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .payment,
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single ::placeholder{text-transform:none}
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single ::placeholder{color:#8a7a7a}
.checkout-section .checkout-radio label{text-transform:none}
/* Checkout tick box + radios: visible checked state in brand green */
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single.payment-save input[type=checkbox]{appearance:none;-webkit-appearance:none;background:#fff no-repeat center/14px;border:2px solid #b9b0b0;transition:.15s}
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single.payment-save input[type=checkbox]:checked{background-color:#05BA00;border-color:#05BA00;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m5 10 3 3 7-7'/%3e%3c/svg%3e")}
.checkout-section .checkout-single-wrapper .checkout-single .checkout-single-form .input-single.payment-save input[type=checkbox]:focus-visible{outline:2px solid var(--theme);outline-offset:2px}
.checkout-section .checkout-radio .form-check-input:checked{background-color:#05BA00;border-color:#05BA00}
.checkout-section .checkout-radio .form-check-input:focus{box-shadow:0 0 0 .2rem rgba(5,186,0,.25);border-color:#05BA00}
/* ---------- Order receipt ---------- */
.jf-receipt{max-width:760px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 10px 40px rgba(30, 29, 35,.08);padding:40px}
.jf-receipt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}
.jf-receipt-eyebrow{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#05BA00;font-weight:700;margin-bottom:4px}
.jf-receipt-head h2{font-size:36px;margin:0;color:var(--header)}
.jf-badge{display:inline-block;padding:6px 14px;border-radius:30px;font-size:14px;font-weight:700}
.jf-badge.is-pending{background:var(--jf-green-soft);color: var(--jf-green-dark)}
.jf-badge.is-paid{background:#E6F8E5;color:#05BA00}
.jf-receipt-intro{margin:14px 0 24px}
.jf-receipt-meta{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#FFF8F1;border-radius:10px;padding:18px 20px;margin-bottom:24px}
.jf-receipt-meta span,.jf-receipt-notes span{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:#8a7a7a;margin-bottom:4px}
.jf-receipt-meta strong{color:var(--header);font-weight:600}
.jf-receipt-table{width:100%;border-collapse:collapse;margin-bottom:24px}
.jf-receipt-table td{padding:14px 0;border-bottom:1px solid rgba(60,60,60,.1);color:var(--header);vertical-align:top}
.jf-receipt-table td:last-child{text-align:right;white-space:nowrap;padding-left:16px;font-weight:600}
.jf-receipt-table td small{display:block;color:#8a7a7a;font-size:14px;margin-top:2px}
.jf-receipt-table .jf-qty{color: var(--jf-green-dark);font-weight:700}
.jf-receipt-table tfoot td{border-bottom:0;padding:8px 0}
.jf-receipt-table tfoot tr:first-child td{padding-top:18px}
.jf-receipt-table .jf-grand td{font-size:22px;font-weight:700;border-top:2px solid var(--header);padding-top:14px}
.jf-receipt-notes{margin-bottom:24px}
.jf-receipt-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:28px}
.jf-receipt-actions .jf-link{color:var(--header);text-decoration:underline}
@media (max-width:575px){.jf-receipt{padding:22px}.jf-receipt-meta{grid-template-columns:1fr}.jf-receipt-head h2{font-size:28px}}

/* ---------- Customer accounts ---------- */
.jf-auth { min-height: 100vh; }
.jf-auth .sign-in-form { min-height: 100vh; }
.jf-auth-logo img { width: 110px; height: auto; }
.jf-auth-image { height: 100%; min-height: 100vh; }
.jf-auth-image img { width: 100%; height: 100%; min-height: 100vh; object-fit: cover; }
.jf-auth .signup-btn { background: var(--theme); }
.jf-auth .signup-btn:hover { background: var(--header); }
.jf-auth .signin-link a, .jf-auth .forgot-password a { color: var(--theme, var(--theme)); }
.jf-auth .alert { font-family: inherit; }
.jf-check { display: flex; gap: .55rem; align-items: flex-start; font-size: 15px; cursor: pointer; text-transform: none; }
.jf-check input { width: 18px !important; height: 18px !important; min-width: 18px; margin-top: 3px; accent-color: #05BA00; padding: 0 !important; }
.jf-check a { color: var(--jf-green-dark); text-decoration: underline; }

.jf-account-card { background: #fff; border-radius: 14px; box-shadow: 0 10px 40px rgba(30, 29, 35,.07); padding: 28px; }
.jf-account-hello { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.07); }
.jf-account-hello small { color: #8a7a7a; word-break: break-all; }
.jf-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--theme); color: var(--header); display: grid; place-items: center; font-weight: 700; font-size: 20px; flex: 0 0 46px; }
.jf-account-nav nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; color: var(--header); font-weight: 600; }
.jf-account-nav nav a i { width: 18px; text-align: center; color: var(--jf-green-dark); }
.jf-account-nav nav a.active, .jf-account-nav nav a:hover { background: var(--jf-green-soft); }
.jf-link-btn { background: none; border: 0; padding: 0; color: var(--header); font-weight: 600; }
.jf-muted { color: #8a7a7a; }
.jf-order-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.07); }
.jf-order-row:last-of-type { border-bottom: 0; }
.jf-order-row a.fw-bold { color: var(--header); }
.jf-order-side { text-align: right; white-space: nowrap; }
.jf-order-side strong { color: var(--header); font-size: 18px; }
.jf-mini-btn { display: inline-block; border: 1px solid var(--theme); color: var(--jf-green-dark); background: #fff; border-radius: 30px; padding: 4px 14px; font-size: 14px; font-weight: 700; }
.jf-mini-btn.is-primary, .jf-mini-btn:hover { background: var(--theme); color: var(--header); }
.jf-pill { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: #eee; color: #444; }
.jf-pill-success { background: #E6F8E5; color: #048a00; }
.jf-pill-danger { background: #FDE6E6; color: #D50200; }
.jf-pill-warning { background: var(--jf-green-soft); color: var(--jf-green-dark); }
.jf-pill-info, .jf-pill-primary { background: var(--jf-green-soft); color: var(--jf-green-dark); }
.jf-pill-dark { background: #eee; color: var(--header); }
.jf-form label { display: block; font-weight: 600; color: var(--header); margin-bottom: 4px; font-size: 15px; }
.jf-form input[type=text], .jf-form input[type=email], .jf-form input[type=tel], .jf-form input[type=password] { width: 100%; height: 50px; border: 1px solid #e5e5e5; border-radius: 8px; padding: 0 14px; color: var(--header); }
.jf-form input:focus { border-color: var(--theme); outline: none; }
.jf-address { border: 1px solid #eee; border-radius: 10px; padding: 16px; height: 100%; }
.jf-address.is-default { border-color: #05BA00; }
.jf-address summary { cursor: pointer; color: var(--jf-green-dark); font-weight: 600; }
@media (max-width: 575px) { .jf-order-row { flex-direction: column; } .jf-order-side { text-align: left; } .jf-account-card { padding: 20px; } }
.jf-signin-hint { background: #FFF8F1; border-radius: 8px; padding: 10px 14px; font-size: 15px; margin-bottom: 18px; }
.jf-signin-hint a { color: var(--jf-green-dark); font-weight: 700; text-decoration: underline; }
.sign-in-section.jf-auth .sign-in-form h1 { color: var(--header); }
.sign-in-section.jf-auth .sign-in-form .signup-form .signup-btn { background: var(--theme); }
.sign-in-section.jf-auth .sign-in-form .signup-form .signup-btn:hover { background: var(--header); }
.sign-in-section.jf-auth .sign-in-form .back-in { color: var(--header); }

/* Green-led palette (Nov 2026): section subtitles stay Fresh Green, not the secondary orange */
.section-title .sub-title { color: var(--theme); }

/* "However You Gather" section: solid Fresh Green, cream card box on top (Nov 2026 client review) */
.special-delivery-section-3.jf-delivery-green { background-color: var(--jf-green); }
.jf-delivery-green .section-title h2,
.jf-delivery-green .section-title .sub-title { color: var(--header); }
.jf-delivery-green .special-delivery-wrapper-3 { box-shadow: 0 20px 50px rgba(0, 0, 0, .12); }
.jf-delivery-green .special-delivery-wrapper-3 .left-item .number span { background-color: var(--header); }

/* Footer on white (Nov 2026 client review): no dark photo, dark text */
.footer-section.jf-footer-light { background-color: #fff !important; }
.footer-section.jf-footer-light .ripple-image { display: none; }
.footer-section.jf-footer-light,
.footer-section.jf-footer-light h2,
.footer-section.jf-footer-light h3,
.footer-section.jf-footer-light p,
.footer-section.jf-footer-light li,
.footer-section.jf-footer-light span,
.footer-section.jf-footer-light .text-white,
.footer-section.jf-footer-light .widget-title,
.footer-section.jf-footer-light .list-items a,
.footer-section.jf-footer-light .contact-items a,
.footer-section.jf-footer-light .contact-items p { color: var(--header) !important; }
.footer-section.jf-footer-light .list-items a:hover,
.footer-section.jf-footer-light .contact-items a:hover { color: var(--jf-green-dark) !important; }
.footer-section.jf-footer-light .contact-items i,
.footer-section.jf-footer-light .list-items i { color: var(--jf-green-dark) !important; }
.footer-section.jf-footer-light .theme-btn,
.footer-section.jf-footer-light .theme-btn span { color: var(--header) !important; }
.footer-section.jf-footer-light .theme-btn.theme-bg-2 { color: #fff !important; }
.footer-section.jf-footer-light .dashed { border-color: rgba(30, 29, 35, .15) !important; }
.footer-section.jf-footer-light .footer-logo .jf-logo { color: var(--header); }
.footer-section.jf-footer-light .jf-hygiene { color: var(--header); }

/* Quick enquiry bar: let the Occasion dropdown open past the section edge (was clipped by .fix) */
.contact-booking-section-3.jf-booking { position: relative; z-index: 5; }
.contact-booking-section-3 .nice-select.open { z-index: 30; }
.contact-booking-section-3 .nice-select .list { max-height: 260px; overflow-y: auto; }
.contact-booking-wrapper-3 p span, .contact-booking-wrapper-3 p span a { color: #fff !important; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

/* Confirm pop-up (website) */
.jf-confirm-modal .modal-content { border: 0; border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.jf-confirm-modal h2 { color: var(--header); }
.jf-confirm-modal .jf-confirm-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 24px; background: rgba(213, 2, 0, .1); color: #D50200; }
.jf-confirm-modal .jf-confirm-cancel, .jf-confirm-modal .jf-confirm-ok { flex: 1; height: 48px; border-radius: 8px; font-weight: 700; border: 1px solid #e5e5e5; background: #fff; color: var(--header); }
.jf-confirm-modal .jf-confirm-ok { background: #D50200; border-color: #D50200; color: #fff; }
.jf-confirm-modal .jf-confirm-ok:hover { background: #b00200; }
.jf-confirm-modal .jf-confirm-cancel:hover { background: #f6f6f6; }

/* ---------- Error pages ---------- */
.jf-error-code { display: inline-block; font-family: var(--font-heading); font-weight: 700; font-size: clamp(110px, 18vw, 220px); line-height: 1; color: var(--theme); letter-spacing: -.03em; text-shadow: 6px 6px 0 rgba(239, 116, 1, .25); }
.jf-error .error-items { text-align: center; }
.jf-error .error-items .content { margin-left: auto; margin-right: auto; }
.jf-error .error-items .content h2 { color: var(--header); }
.jf-plain-error { min-height: 100vh; margin: 0; display: grid; place-items: center; padding: 24px 16px; background: #F4F1EA; font-family: var(--font-body); }
.jf-plain-card { width: 100%; max-width: 560px; background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(30, 29, 35, .1); padding: 40px 32px; text-align: center; }
.jf-plain-logo { width: 110px; height: auto; margin-bottom: 12px; }
.jf-error-code-sm { font-size: clamp(54px, 12vw, 84px); text-shadow: 4px 4px 0 rgba(239, 116, 1, .25); margin-bottom: 8px; }
.jf-plain-card h1 { font-family: var(--font-heading); color: var(--header); font-size: clamp(26px, 5vw, 34px); margin-bottom: 12px; }
.jf-plain-card p { color: #5b5a63; font-size: 17px; }
.jf-plain-contact a { color: var(--jf-green-dark); font-weight: 700; text-decoration: underline; }
.jf-plain-card .theme-btn { margin-top: 8px; }
.jf-plain-address { font-size: 13px !important; margin: 22px 0 0; color: #8a8991 !important; }
.jf-plain-logo { display: block; margin: 0 auto 14px; }
.jf-plain-card .jf-error-code { display: block; }

/* Bag: dish cell (template limits the whole cell to 86px, so the name wrapped word by word) */
.cart-section .common-table .cart-item-thumb { width: auto; min-width: 340px; flex-wrap: nowrap; }
.cart-section .common-table .cart-item-thumb img { width: 86px !important; height: 86px; flex: 0 0 86px; object-fit: cover; border-radius: 10px; }
.cart-section .common-table .cart-item-thumb .head { flex: 1; min-width: 0; line-height: 1.3; }
.cart-section .common-table .cart-item-thumb .jf-line-options { text-transform: none; font-size: 14px; line-height: 1.45; margin-top: 5px; }
.cart-section .common-table .cart-item-thumb .jf-line-options i { color: var(--theme2); margin-right: 3px; }
@media (max-width: 575px) { .cart-section .common-table .cart-item-thumb { min-width: 260px; gap: 12px !important; } .cart-section .common-table .cart-item-thumb img { width: 64px !important; height: 64px; flex-basis: 64px; } }
.cart-section .common-table tbody td:first-child, .cart-section .common-table thead th:first-child { width: 40%; }
.cart-section .common-table .cart-item-thumb .jf-line-options { white-space: nowrap; }
@media (max-width: 767px) { .cart-section .common-table .cart-item-thumb .jf-line-options { white-space: normal; } }

/* ===================================================================
   Dec 2026 simplification (client feedback): calmer homepage, collection only,
   WhatsApp for delivery/bulk, socials in the top bar, shorter menu page
   =================================================================== */

/* Top bar social icons */
.header-3 .header-top-sec .jf-top-social { display: flex; align-items: center; gap: 6px; margin-left: 12px; flex: 0 0 auto; }
.header-3 .header-top-sec .jf-top-social a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--header); font-size: 14px; transition: background .2s; }
.header-3 .header-top-sec .jf-top-social a:hover { background: rgba(30, 29, 35, .12); }
.header-3 .header-top-sec .head-top-slider { flex: 1 1 auto; min-width: 0; }

/* Hero: no floating decorations, one clear line about the restaurant */
.hero-section-2.hero-3.jf-hero-plain .hero-content .jf-hero-text { font-size: 18px; line-height: 1.6; color: var(--jf-muted); max-width: 520px; margin-top: 18px; }
.hero-section-2.hero-3.jf-hero-plain .jf-hero-buttons { margin-top: 32px; }

/* Ways to enjoy JiL Fresh */
.jf-ways { background: #fff; }
.jf-way { height: 100%; padding: 34px 30px; border: 1px solid var(--jf-line); border-radius: var(--jf-radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.jf-way:hover { border-color: rgba(5, 186, 0, .35); box-shadow: 0 10px 30px rgba(30, 29, 35, .06); }
.jf-way h3 { font-size: 24px; margin-bottom: 12px; color: var(--header); }
.jf-way p { color: var(--jf-muted); margin-bottom: 18px; }
.jf-way a { font-weight: 700; color: var(--jf-green-dark); display: inline-flex; align-items: center; gap: 8px; }
.jf-way a:hover { color: var(--header); }

/* Homepage menu: tabs centred now the menu-design images are gone */
.jf-home-menu .best-food-menu-wrapper-3 .food-menu-mid-item { margin: 0 auto; }

/* WhatsApp for delivery and bulk orders */
.jf-wa-order { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 14px; background: var(--jf-cream); border: 1px solid var(--jf-line); }
.jf-wa-order-text { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; color: var(--header); }
.jf-wa-order-text span { color: var(--jf-muted); font-size: 14px; }
.jf-wa-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #25D366; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.jf-wa-btn:hover { background: #1EBE5A; color: #fff; }
.jf-wa-btn i { font-size: 18px; }
.checkout-radio .jf-wa-order { flex-direction: column; align-items: flex-start; }
@media (max-width: 575px) { .jf-wa-order { flex-direction: column; align-items: flex-start; } }

/* Menu page: grouped by category, first 4 dishes each, "View all" for the rest */
.jf-menu-cat + .jf-menu-cat { margin-top: 56px; }
.jf-menu-cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--jf-line); }
.jf-menu-cat-head h3 { font-size: 28px; margin: 0; color: var(--header); }
.jf-menu-cat-head p { margin: 0; color: var(--jf-muted); }
.jf-view-all { display: inline-flex; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; border: 1.5px solid rgba(30, 29, 35, .18); background: #fff; color: var(--header); font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color .2s, color .2s; }
.jf-view-all:hover { border-color: var(--theme); color: var(--jf-green-dark); }

/* Dish pop-up: show the photo */
.jf-modal .jf-modal-photo { margin: -4px 0 16px; border-radius: 14px; overflow: hidden; background: var(--jf-cream); aspect-ratio: 4 / 3; }
.jf-modal .jf-modal-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Inner-page header (replaces the template banner with the menu image and zigzag edge) */
.jf-page-head { background: #F4F1EA; padding: 64px 0 56px; text-align: center; }
.jf-page-head h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; color: var(--header); margin: 0 0 14px; }
.jf-crumbs { display: inline-flex; align-items: center; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: var(--jf-muted); }
.jf-crumbs a { color: var(--jf-muted); }
.jf-crumbs a:hover { color: var(--jf-green-dark); }
.jf-crumbs i { font-size: 11px; }
@media (max-width: 575px) { .jf-page-head { padding: 44px 0 38px; } }
