/* ==========================================================================
   NordicFresh — product category pages (Natural Oils / Sun-Dried Products)
   Layered on top of the existing Agency theme (agency.min.css).
   Palette and typography deliberately match the main site:
     primary green #13a717 · dark #212529 · Montserrat / Droid Serif / Roboto Slab
   ========================================================================== */

:root {
  /* #13a717 is the brand green and stays the accent colour (rules, icons,
     borders, focus rings). But white-on-#13a717 is only 3.2:1, which fails
     WCAG AA for the small bold label text on filled controls — so filled
     buttons and active chips use -dark (5.04:1) and -deep on hover (5.89:1). */
  --nf-green: #13a717;
  --nf-green-dark: #0e8112;
  --nf-green-deep: #0c7511;
  --nf-green-soft: #eaf7ea;
  --nf-dark: #212529;
  --nf-muted: #6c757d;
  --nf-line: #e4e7ea;
  --nf-sand: #faf8f4;
}

body.nf-products {
  font-family: 'Roboto Slab', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--nf-dark);
  background-color: #fff;
}

/* keep content clear of the fixed navbar */
body.nf-products { padding-top: 0; }

.nf-font-heading { font-family: Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
.nf-font-serif   { font-family: 'Droid Serif', Georgia, 'Times New Roman', serif; }

/* --------------------------------------------------------------- navbar -- */
/* The main site's navbar only styles itself once scrolled; these pages are
   never at the top of a transparent hero for long, so pin the solid state. */
#mainNav.nf-nav-solid {
  background-color: var(--nf-dark);
  padding-top: 12px;
  padding-bottom: 12px;
}
#mainNav .navbar-brand.nf-brand {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}
#mainNav .navbar-brand.nf-brand span { color: var(--nf-green); }
#mainNav .nav-link { color: #fff !important; font-family: Montserrat, sans-serif; font-size: 90%; font-weight: 700; letter-spacing: 1px; }
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--nf-green) !important; }

/* ------------------------------------------------------------------ hero -- */
.nf-hero {
  position: relative;
  padding: 200px 0 110px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
  text-align: center;
}
.nf-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 22, 16, .86) 0%, rgba(16, 22, 16, .76) 45%, rgba(16, 22, 16, .90) 100%);
}
.nf-hero > .container { position: relative; z-index: 2; }
.nf-hero .nf-eyebrow {
  font-family: 'Droid Serif', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: #d8f0d8;
  margin-bottom: 14px;
}
.nf-hero h1 {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-size: 54px;
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.nf-hero .nf-hero-lead {
  max-width: 760px;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.75;
  color: #eef3ee;
}
.nf-hero .nf-rule {
  width: 68px; height: 4px;
  background: var(--nf-green);
  margin: 0 auto 26px;
  border-radius: 2px;
}
@media (max-width: 767px) {
  .nf-hero { padding: 150px 0 70px; }
  .nf-hero h1 { font-size: 32px; }
  .nf-hero .nf-eyebrow { font-size: 16px; }
}

/* breadcrumb */
.nf-crumb { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; font-family: Montserrat, sans-serif; }
.nf-crumb a { color: #cfe6cf; text-decoration: none; }
.nf-crumb a:hover { color: #fff; }
.nf-crumb span { color: #8fae8f; margin: 0 8px; }

/* ---------------------------------------------------------- trust strip -- */
.nf-trust { background: var(--nf-dark); padding: 34px 0; }
.nf-trust .nf-trust-item { text-align: center; color: #fff; padding: 12px 8px; }
.nf-trust .nf-trust-item i { color: var(--nf-green); font-size: 26px; margin-bottom: 12px; display: block; }
.nf-trust .nf-trust-item h6 {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .6px; margin-bottom: 5px;
}
.nf-trust .nf-trust-item p { font-size: 12.5px; color: #a9b2ab; margin: 0; line-height: 1.5; }

/* ------------------------------------------------------- section headings -- */
.nf-section { padding: 90px 0; }
.nf-section-sand { background: var(--nf-sand); }
.nf-head { text-align: center; margin-bottom: 50px; }
.nf-head h2 {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 38px;
  text-transform: uppercase; margin-bottom: 14px; color: var(--nf-dark);
}
.nf-head .nf-rule { width: 60px; height: 3px; background: var(--nf-green); margin: 0 auto 18px; border-radius: 2px; }
.nf-head p {
  font-family: 'Droid Serif', Georgia, serif; font-style: italic;
  font-size: 16px; color: var(--nf-muted); max-width: 720px; margin: 0 auto;
}
@media (max-width: 767px) { .nf-section { padding: 60px 0; } .nf-head h2 { font-size: 27px; } }

/* ---------------------------------------------------------------- filter -- */
.nf-toolbar { margin-bottom: 38px; }
.nf-search-wrap { position: relative; max-width: 420px; margin: 0 auto 22px; }
.nf-search-wrap i {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--nf-muted); font-size: 14px;
}
.nf-search {
  width: 100%; padding: 13px 18px 13px 44px;
  border: 1px solid var(--nf-line); border-radius: 40px;
  font-family: Montserrat, sans-serif; font-size: 14px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.nf-search:focus { outline: none; border-color: var(--nf-green); box-shadow: 0 0 0 3px rgba(19,167,23,.12); }

.nf-chips { text-align: center; }
/* doubled selectors for the same reason as .nf-btn above — see that note */
.nf-chips .nf-chip {
  display: inline-block; margin: 0 5px 10px;
  padding: 9px 20px; border-radius: 40px;
  border: 1px solid var(--nf-line); background: #fff;
  font-family: Montserrat, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .7px; text-transform: uppercase; color: var(--nf-muted);
  cursor: pointer; transition: all .2s;
}
.nf-chips .nf-chip:hover,
.nf-chips .nf-chip:focus { border-color: var(--nf-green); color: var(--nf-green); }
.nf-chips .nf-chip.active,
.nf-chips .nf-chip.active:hover,
.nf-chips .nf-chip.active:focus { background: var(--nf-green-dark); border-color: var(--nf-green-dark); color: #fff; }
.nf-count { text-align: center; margin-top: 12px; font-size: 13px; color: var(--nf-muted); font-family: Montserrat, sans-serif; }

/* ------------------------------------------------------------ product card -- */
.nf-cell { display: flex; }
.nf-card {
  background: #fff; border: 1px solid var(--nf-line); border-radius: 6px;
  overflow: hidden; width: 100%; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.nf-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(18,32,18,.13); border-color: #cfe0cf; }

.nf-card-media { position: relative; overflow: hidden; background: #f2f2ef; cursor: pointer; }
.nf-card-media img { width: 100%; height: auto; display: block; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.nf-card:hover .nf-card-media img { transform: scale(1.06); }
.nf-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(19,167,23,.82); opacity: 0; transition: opacity .3s;
}
.nf-card-media .nf-zoom {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: Montserrat, sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase;
  opacity: 0; transition: opacity .3s;
}
.nf-card-media .nf-zoom i { margin-right: 8px; }
.nf-card:hover .nf-card-media::after,
.nf-card:hover .nf-card-media .nf-zoom { opacity: 1; }

.nf-card-body { padding: 20px 20px 16px; flex: 1 1 auto; display: flex; flex-direction: column; }
.nf-card-body h3 {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 16px;
  margin: 0 0 4px; color: var(--nf-dark); line-height: 1.3;
}
.nf-card-body .nf-latin {
  font-family: 'Droid Serif', Georgia, serif; font-style: italic;
  font-size: 12.5px; color: var(--nf-green-dark); margin-bottom: 10px;
}
.nf-card-body .nf-blurb { font-size: 13.5px; line-height: 1.6; color: var(--nf-muted); margin-bottom: 14px; flex: 1 1 auto; }

.nf-tags { margin-bottom: 16px; }
.nf-tag {
  display: inline-block; margin: 0 4px 4px 0; padding: 3px 8px;
  background: var(--nf-green-soft); color: var(--nf-green-dark);
  border-radius: 3px; font-family: Montserrat, sans-serif;
  font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
}

.nf-card-actions { display: flex; gap: 8px; }
.nf-btn {
  flex: 1 1 0; text-align: center; cursor: pointer; white-space: nowrap;
  padding: 10px 8px; border-radius: 4px; border: 1px solid transparent;
  font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase; transition: all .2s;
}
/* NOTE ON SPECIFICITY — do not simplify these selectors.
   bootstrap.min.css carries `a:not([href]):not([tabindex]){color:inherit}` at
   specificity (0,2,1), and agency.min.css carries `a{color:#13a717}` and
   `a:hover{color:#fec503}`. These action controls are <a> elements, so a plain
   `.nf-btn-green{color:#fff}` (0,1,0) LOSES to Bootstrap and the label inherits
   the body's dark colour — which made "Added" render #212529 on #212529.
   The controls also carry tabindex="0" (so the Bootstrap rule no longer
   matches at all); the doubled class here is belt-and-braces. */
.nf-btn.nf-btn-ghost { background: #fff; border-color: var(--nf-line); color: var(--nf-dark); }
.nf-btn.nf-btn-ghost:hover,
.nf-btn.nf-btn-ghost:focus { border-color: var(--nf-dark); background: var(--nf-dark); color: #fff; }
.nf-btn.nf-btn-green { background: var(--nf-green-dark); color: #fff; }
.nf-btn.nf-btn-green:hover,
.nf-btn.nf-btn-green:focus { background: var(--nf-green-deep); color: #fff; }
.nf-btn.nf-btn-green.nf-added,
.nf-btn.nf-btn-green.nf-added:hover,
.nf-btn.nf-btn-green.nf-added:focus { background: var(--nf-dark); color: #fff; }

/* visible keyboard focus — these are real controls, so they must show focus */
.nf-btn:focus-visible,
.nf-chip:focus-visible,
.nf-card-media:focus-visible {
  outline: 3px solid var(--nf-green);
  outline-offset: 2px;
}
.nf-btn:focus, .nf-chip:focus, .nf-card-media:focus { outline-color: var(--nf-green); }

.nf-empty { text-align: center; padding: 60px 20px; color: var(--nf-muted); font-family: Montserrat, sans-serif; }

/* ---------------------------------------------------------------- modal -- */
.nf-modal .modal-dialog { max-width: 940px; }
.nf-modal .modal-content { border: none; border-radius: 6px; overflow: hidden; }
.nf-modal-img { background: #f2f2ef; }
.nf-modal-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 280px; }
.nf-modal-body { padding: 40px 38px; }
.nf-modal-body h3 {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 26px;
  text-transform: uppercase; margin-bottom: 4px; color: var(--nf-dark);
}
.nf-modal-body .nf-latin { font-family: 'Droid Serif', Georgia, serif; font-style: italic; color: var(--nf-green-dark); margin-bottom: 20px; font-size: 14px; }
.nf-spec { margin-bottom: 18px; }
.nf-spec dt {
  font-family: Montserrat, sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--nf-green-dark); margin-bottom: 3px;
}
.nf-spec dd { font-size: 14px; line-height: 1.65; color: #3c4247; margin-bottom: 14px; }
.nf-modal .close {
  position: absolute; right: 14px; top: 10px; z-index: 10;
  font-size: 34px; line-height: 1; color: var(--nf-dark);
  text-shadow: none; opacity: .45; transition: opacity .2s, color .2s;
}
.nf-modal .close:hover { opacity: 1; color: var(--nf-green); }
@media (max-width: 767px) { .nf-modal-body { padding: 28px 22px; } .nf-modal-img img { min-height: 220px; max-height: 260px; } }

/* --------------------------------------------------------- spec tables -- */
.nf-table { width: 100%; background: #fff; border: 1px solid var(--nf-line); border-radius: 6px; overflow: hidden; }
.nf-table th, .nf-table td { padding: 14px 18px; border-bottom: 1px solid var(--nf-line); font-size: 14px; vertical-align: top; }
.nf-table tr:last-child th, .nf-table tr:last-child td { border-bottom: none; }
.nf-table th {
  font-family: Montserrat, sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .7px; text-transform: uppercase; color: var(--nf-dark);
  background: var(--nf-sand); width: 34%; white-space: normal;
}
.nf-table td { color: #4a5157; line-height: 1.65; }
.nf-note {
  margin-top: 22px; padding: 16px 20px; border-left: 3px solid var(--nf-green);
  background: var(--nf-green-soft); font-size: 13px; line-height: 1.7; color: #33463a; border-radius: 0 4px 4px 0;
}

/* ------------------------------------------------------------- enquiry -- */
.nf-enquiry { background: var(--nf-dark); color: #fff; }
.nf-enquiry .nf-head h2 { color: #fff; }
.nf-enquiry .nf-head p { color: #a9b2ab; }

.nf-panel { background: #2b3035; border: 1px solid #3a4046; border-radius: 6px; padding: 28px; }
.nf-panel h4 {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .8px; margin-bottom: 20px; color: #fff;
}
.nf-panel h4 i { color: var(--nf-green); margin-right: 8px; }

.nf-basket-list { list-style: none; padding: 0; margin: 0 0 18px; max-height: 240px; overflow-y: auto; }
.nf-basket-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid #3a4046; font-size: 14px; color: #dfe4e3;
}
.nf-basket-list li:last-child { border-bottom: none; }
.nf-basket-list .nf-remove { cursor: pointer; color: #7d8a82; font-size: 15px; padding: 0 4px; }
.nf-basket-list .nf-remove:hover { color: #ff6b6b; }
.nf-basket-empty { color: #7d8a82; font-size: 13.5px; font-style: italic; font-family: 'Droid Serif', Georgia, serif; line-height: 1.7; }

.nf-form label {
  display: block; font-family: Montserrat, sans-serif; font-size: 10.5px;
  font-weight: 700; letter-spacing: .9px; text-transform: uppercase; color: #9aa39c; margin-bottom: 6px;
}
.nf-form .form-control {
  background: #23282c; border: 1px solid #3a4046; color: #fff;
  border-radius: 4px; padding: 11px 14px; font-size: 14px; margin-bottom: 16px;
  font-family: 'Roboto Slab', serif; height: auto;
}
.nf-form .form-control:focus {
  background: #23282c; color: #fff; border-color: var(--nf-green);
  box-shadow: 0 0 0 3px rgba(19,167,23,.15);
}
.nf-form .form-control::placeholder { color: #6d766f; }
.nf-form textarea.form-control { min-height: 96px; resize: vertical; }

.nf-submit {
  display: block; width: 100%; padding: 15px; border: none; border-radius: 4px;
  background: var(--nf-green-dark); color: #fff; cursor: pointer;
  font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700;
  letter-spacing: 1.1px; text-transform: uppercase; transition: background .2s;
}
.nf-submit:hover, .nf-submit:focus { background: var(--nf-green-deep); }
.nf-submit-alt {
  display: block; width: 100%; margin-top: 10px; padding: 13px; border-radius: 4px;
  background: transparent; border: 1px solid #4a5057; color: #c8cfc9; cursor: pointer;
  font-family: Montserrat, sans-serif; font-size: 11.5px; font-weight: 700;
  letter-spacing: .9px; text-transform: uppercase; transition: all .2s;
}
.nf-submit-alt:hover { border-color: var(--nf-green); color: #fff; }
.nf-form-hint { font-size: 12px; color: #7d8a82; margin-top: 12px; line-height: 1.6; text-align: center; }

/* direct contact card */
.nf-contact-list { list-style: none; padding: 0; margin: 0; }
.nf-contact-list li { display: flex; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid #3a4046; }
.nf-contact-list li:last-child { border-bottom: none; }
.nf-contact-list i { color: var(--nf-green); width: 26px; font-size: 15px; margin-top: 3px; flex: 0 0 26px; }
.nf-contact-list .nf-c-label {
  font-family: Montserrat, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: #7d8a82; display: block; margin-bottom: 2px;
}
.nf-contact-list a, .nf-contact-list span.nf-c-value { color: #fff; font-size: 14.5px; line-height: 1.55; text-decoration: none; }
.nf-contact-list a:hover { color: var(--nf-green); text-decoration: none; }

/* -------------------------------------------------------- sticky basket -- */
.nf-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  background: var(--nf-dark); border-top: 3px solid var(--nf-green);
  box-shadow: 0 -6px 24px rgba(0,0,0,.22);
  transform: translateY(110%); transition: transform .3s ease;
}
.nf-sticky.show { transform: translateY(0); }
/* keep the sticky bar from covering the end of the page */
body.nf-has-sticky { padding-bottom: 84px; }
@media (max-width: 575px) { body.nf-has-sticky { padding-bottom: 148px; } }
.nf-sticky .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
.nf-sticky .nf-sticky-text { color: #fff; font-family: Montserrat, sans-serif; font-size: 13.5px; font-weight: 700; letter-spacing: .4px; }
.nf-sticky .nf-sticky-text span { color: var(--nf-green); }
.nf-sticky .nf-sticky-sub { display: block; font-weight: 400; font-size: 12px; color: #99a29b; letter-spacing: 0; margin-top: 2px; }
.nf-sticky .nf-sticky-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.nf-sticky .nf-btn { flex: 0 0 auto; padding: 11px 22px; }
@media (max-width: 575px) {
  .nf-sticky .container { flex-direction: column; align-items: stretch; text-align: center; }
  .nf-sticky .nf-sticky-actions { justify-content: center; }
}

/* ---------------------------------------------------------- cross-link -- */
.nf-cross { padding: 0 0 90px; }
.nf-cross-card {
  display: block; position: relative; border-radius: 6px; overflow: hidden;
  min-height: 210px; text-decoration: none; background-size: cover; background-position: center;
}
.nf-cross-card::before { content: ''; position: absolute; inset: 0; background: rgba(20,26,20,.66); transition: background .3s; }
.nf-cross-card:hover::before { background: rgba(19,167,23,.72); }
.nf-cross-inner { position: relative; z-index: 2; padding: 62px 30px; text-align: center; color: #fff; }
.nf-cross-inner .nf-c-eyebrow {
  font-family: Montserrat, sans-serif; font-size: 10.5px; font-weight: 700;
  letter-spacing: 1.6px; text-transform: uppercase; color: #cfe6cf; margin-bottom: 8px;
}
.nf-cross-inner h4 { font-family: Montserrat, sans-serif; font-weight: 700; font-size: 24px; text-transform: uppercase; margin: 0 0 6px; color: #fff; }
.nf-cross-inner p { margin: 0; font-size: 13.5px; color: #e3ece3; }

/* footer tweaks (footer.footer comes from agency.min.css) */
footer.footer .copyright { font-size: 90%; line-height: 40px; text-transform: none; }

/* toast */
.nf-toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px);
  background: var(--nf-dark); color: #fff; padding: 13px 24px; border-radius: 40px;
  font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 700;
  box-shadow: 0 8px 26px rgba(0,0,0,.3); opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s; z-index: 1080;
}
.nf-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.nf-toast i { color: var(--nf-green); margin-right: 8px; }

@media print { .nf-sticky, .nf-toolbar, .nf-card-actions { display: none !important; } }

/* ------------------------------------------------- form status & success -- */
/* Honeypot: must be reachable to a bot but invisible and unfocusable to a human.
   Deliberately not display:none — some bots skip hidden fields. */
.nf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.nf-status {
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 13.5px;
  line-height: 1.6;
}
.nf-status-error {
  background: #3a2426;
  border: 1px solid #6b3a3f;
  color: #ffd9dc;
}
.nf-status-error a { color: #ff9aa2; text-decoration: underline; }

.nf-submit[disabled] { opacity: .65; cursor: default; }

.nf-sent { text-align: center; padding: 18px 6px 6px; }
.nf-sent i {
  font-size: 46px;
  color: var(--nf-green);
  margin-bottom: 18px;
  display: block;
}
.nf-sent h4 {
  font-family: Montserrat, sans-serif; font-weight: 700; font-size: 19px;
  text-transform: none; letter-spacing: 0; color: #fff; margin-bottom: 14px;
}
.nf-sent p { color: #c8cfc9; font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; }
.nf-sent strong { color: #fff; }
.nf-sent-list {
  list-style: none; padding: 16px 0; margin: 0 0 16px;
  border-top: 1px solid #3a4046; border-bottom: 1px solid #3a4046;
  text-align: left;
}
.nf-sent-list li {
  color: #dfe4e3; font-size: 14px; padding: 5px 0 5px 24px; position: relative;
}
.nf-sent-list li::before {
  content: '\2713'; position: absolute; left: 4px; color: var(--nf-green); font-weight: 700;
}
.nf-sent-foot { font-size: 13px !important; color: #9aa39c !important; margin: 0 !important; }
.nf-sent-foot a { color: var(--nf-green); }
