/* ==========================================================================
   K&F Global Logistics — design system
   Ported from the approved static build (assets/css/style.css).

   Block roots are prefixed `kfg-` so custom Elementor widgets can never clash
   with Elementor's or WooCommerce's own class names; shared primitives
   (.container, .btn, .input, .qty …) keep their original names because the
   WooCommerce layer restyles core markup onto them.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --green-900: #074326;
  --green-850: #0c422a;
  --green-700: #23553d;
  --green-600: #2c742f;
  --green-500: #3ea343;
  --green-bright: #00b207;
  --green-quote: #406b42;
  --green-050: #edf2ee;
  --green-025: #f4f8f5;

  --gold-300: #f1dd96;
  --gold-400: #e5cd7c;
  --gold-500: #c9a227;

  --ink: #1a1a1a;
  --ink-green: #002603;
  --muted: #7e807e;
  --muted-2: #808080;
  --line: #e9e9e9;
  --line-2: #dddddd;
  --surface: #f2f2f2;
  --white: #ffffff;

  --stock-bg: #d3ddd8;
  --stock-fg: #2c742f;
  --sale-bg: #fcedec;
  --sale-fg: #ea4b48;

  --font: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  --sh-sm: 0 2px 8px rgba(7, 67, 38, .06);
  --sh-md: 0 4px 24px rgba(7, 67, 38, .08);
  --sh-lg: 0 12px 40px rgba(7, 67, 38, .12);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .25s;

  --container: 1200px;
}

/* ---------- Base ---------- */
body.kfg {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.kfg img,
.kfg svg { display: block; max-width: 100%; }
.kfg a { color: inherit; text-decoration: none; }

/* Hello Elementor's reset styles every <button> with a border, padding and a
   pink hover. Neutralise it once here; components opt back in to their own
   padding and hover treatment below. */
.kfg button,
.kfg input[type="button"],
.kfg input[type="submit"],
.kfg input[type="reset"] {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
  white-space: normal;
  cursor: pointer;
}
/* The same reset paints a pink fill on :hover and :focus, so a clicked button
   keeps that fill until it is blurred. Neutralise both states too; components
   with their own hover treatment out-weigh this rule. */
.kfg button:hover,
.kfg button:focus,
.kfg input[type="button"]:hover,
.kfg input[type="button"]:focus,
.kfg input[type="submit"]:hover,
.kfg input[type="submit"]:focus,
.kfg input[type="reset"]:hover,
.kfg input[type="reset"]:focus {
  background: none;
  color: inherit;
}
.kfg ul,
.kfg ol { margin: 0; padding: 0; list-style: none; }
.kfg :focus-visible { outline: 2px solid var(--green-600); outline-offset: 2px; border-radius: 4px; }

/* The parent reset stripes and hover-highlights every table body row; the
   design draws plain tables with rules instead. */
.kfg table tbody > tr:nth-child(odd) > td,
.kfg table tbody > tr:nth-child(odd) > th,
.kfg table tbody tr:hover > td,
.kfg table tbody tr:hover > th { background-color: transparent; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  width: auto; height: auto; clip: auto; margin: 0;
  padding: 10px 18px; background: var(--white); border-radius: var(--r-sm);
  box-shadow: var(--sh-md);
}

.section-title {
  font-size: 40px; line-height: 48px; font-weight: 700;
  color: var(--ink-green); text-align: center; margin: 0;
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar {
  background: var(--green-900);
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 16px;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 43px;
}
.topbar__addr { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar__addr svg { flex: none; width: 15px; height: 18px; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__sel { display: inline-flex; align-items: center; gap: 6px; text-transform: uppercase; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  background: var(--white);
  position: sticky; top: 0; z-index: 60;
  transition: box-shadow var(--dur) var(--ease);
}
/* The admin bar is 32px and fixed on desktop, 46px below 783px, and scrolls
   away entirely below 601px — the sticky offset has to follow it or the header
   sticks that far down the viewport. These breakpoints are WordPress's own. */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .header { top: 46px; }
}
@media screen and (max-width: 600px) {
  .admin-bar .header { top: 0; }
}
.header.is-stuck { box-shadow: var(--sh-md); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 94px; }
.header__logo { flex: none; }
.header__logo .kfg-logo-img { height: 38px; width: auto; }

/* Inner pages: nav left, logo centred, icons right. */
.header--split .header__inner { position: relative; }
.header--split .header__nav { order: 1; margin-right: auto; }
.header--split .header__logo { order: 2; position: absolute; left: 50%; transform: translateX(-50%); }
.header--split .header__actions { order: 3; margin-left: auto; }

/* Home: logo left, nav centred, icons right. */
.header--home .header__logo { order: 1; }
.header--home .header__nav { order: 2; margin-inline: auto; }
.header--home .header__actions { order: 3; }
.header--home .header__logo .kfg-logo-img { height: 50px; }
.header--home .header__inner { min-height: 107px; }

.header__search { border-top: 1px solid var(--line); padding-block: 16px; background: var(--white); }
.header__search form { display: flex; gap: 10px; }
.header__search input[type="search"] {
  flex: 1; min-height: 46px; padding: 12px 16px;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 15px;
}
.header__search button {
  min-height: 46px; padding: 12px 22px; border-radius: var(--r-pill);
  background: var(--green-700); color: var(--white); font-weight: 600;
}

/* ---------- Navigation ---------- */
.nav { display: flex; align-items: center; gap: 27px; }
.nav__item { position: relative; }
.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; line-height: 21px; font-weight: 500;
  color: var(--muted-2);
  padding: 6px 0;
  transition: color var(--dur) var(--ease);
}
.nav__link svg { width: 11px; height: 7px; flex: none; transition: transform var(--dur) var(--ease); }
.nav__link:hover { color: var(--green-600); }
.nav__item.is-active > .nav__link { color: var(--ink); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--green-600);
  transition: width var(--dur) var(--ease);
}
.nav__link:hover::after { width: 100%; }

.nav__menu {
  position: absolute; top: calc(100% + 10px); left: -16px;
  min-width: 200px; padding: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
              visibility var(--dur) var(--ease);
  z-index: 5;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__menu a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm);
  font-size: 15px; color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__menu a:hover,
.nav__menu a.is-current { background: var(--green-050); color: var(--green-700); }

/* ---------- Header icon buttons ---------- */
.header__actions { display: flex; align-items: center; gap: 18px; }
.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--r-pill);
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.icon-btn svg { width: 24px; height: 24px; flex: none; }
.icon-btn:hover { background: var(--green-050); color: var(--green-700); transform: translateY(-1px); }
.icon-btn__badge {
  position: absolute; top: -2px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center;
  background: var(--green-500); color: var(--white);
  font-size: 10px; font-weight: 600; line-height: 1;
  border-radius: var(--r-pill);
}
.icon-btn__badge.is-empty { display: none; }

.kfg .burger { display: none; width: 34px; height: 34px; }
.kfg .burger:hover span { background: var(--green-600); }
.burger span {
  display: block; width: 22px; height: 2px; margin: 4px auto;
  background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Buttons
   ========================================================================== */
.kfg .btn,
.kfg a.btn,
.kfg button.btn {
  --btn-bg: var(--green-700);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  min-height: 51px;
  font-family: var(--font);
  font-size: 16px; line-height: 19px; font-weight: 600;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn svg { width: 15px; height: 13px; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); box-shadow: var(--sh-sm); }
.btn[disabled],
.btn.disabled { opacity: .55; pointer-events: none; }

/* Icon-only round button (wishlist). */
.kfg .btn-round {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; flex: none;
  background: var(--green-050); color: var(--green-700);
  border-radius: var(--r-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.btn-round svg { width: 20px; height: 20px; }
.kfg .btn-round:hover { background: var(--green-700); color: var(--white); transform: translateY(-2px); }
.kfg .btn-round.is-active { background: var(--sale-bg); color: var(--sale-fg); }

/* The base above is written as `.kfg a.btn` / `.kfg button.btn` to beat the
   Hello Elementor reset, so every modifier is doubled up on `.btn` to out-weigh
   it — a plain `.kfg .btn--gold` loses to `.kfg a.btn` on an <a>. */
.kfg .btn.btn--primary { --btn-bg: var(--green-700); --btn-fg: var(--white); }
.kfg .btn.btn--primary:hover { --btn-bg: var(--green-900); }
.kfg .btn.btn--gold { --btn-bg: var(--gold-300); --btn-fg: var(--ink-green); }
.kfg .btn.btn--gold:hover { --btn-bg: var(--gold-400); }
.kfg .btn.btn--white { --btn-bg: var(--white); --btn-fg: var(--ink-green); }
.kfg .btn.btn--white:hover { --btn-bg: var(--green-050); }
.kfg .btn.btn--ghost { --btn-bg: var(--surface); --btn-fg: var(--ink); min-height: 45px; padding: 12px 24px; }
.kfg .btn.btn--ghost:hover { --btn-bg: var(--line-2); }
.kfg .btn.btn--sm { min-height: 45px; padding: 12px 22px; font-size: 15px; }
.kfg .btn.btn--block { width: 100%; }

/* ==========================================================================
   Breadcrumb band
   ========================================================================== */
.crumb-band {
  position: relative;
  min-height: 106px;
  display: flex; align-items: center;
  background: #080f35 center/cover no-repeat;
  background-image: url("../img/breadcrumb-band.png");
}
.crumb { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 24px; color: #999999; flex-wrap: wrap; }
.crumb a { display: inline-flex; align-items: center; transition: color var(--dur) var(--ease); }
.crumb a:hover { color: var(--gold-300); }
.crumb a svg { width: 24px; height: 24px; }
.crumb svg.crumb__sep { width: 5px; height: 10px; opacity: .75; flex: none; }
.crumb__current { color: var(--green-bright); }

/* ==========================================================================
   Form primitives
   ========================================================================== */
.field { display: grid; gap: 7px; }
.field__label { font-size: 15px; line-height: 21px; font-weight: 500; color: var(--ink); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.kfg .input,
.kfg .textarea {
  width: 100%; min-height: 49px;
  padding: 13px 16px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 15px; line-height: 21px; color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.kfg .input::placeholder,
.kfg .textarea::placeholder { color: var(--muted); }
.kfg .input:hover,
.kfg .textarea:hover { border-color: var(--green-600); }
.kfg .input:focus,
.kfg .textarea:focus {
  outline: none; border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(44, 116, 47, .12);
}
.kfg .textarea { min-height: 100px; resize: vertical; }

.select {
  position: relative;
  display: flex; align-items: center;
  width: 100%; min-height: 49px;
  padding: 12px 44px 12px 16px;
  background: var(--white);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  font-size: 15px; line-height: 21px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.select:hover { border-color: var(--green-600); }
.select:focus-within { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(44, 116, 47, .12); }
.select select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0;
}
.select__chevron {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; pointer-events: none; color: var(--muted);
}

.qty {
  display: inline-flex; align-items: center;
  width: 124px; height: 50px;
  border: 1px solid var(--line-2); border-radius: var(--r-pill);
  overflow: hidden; background: var(--white);
  transition: border-color var(--dur) var(--ease);
}
.qty:hover { border-color: var(--green-600); }
.qty button {
  width: 40px; height: 100%; flex: none;
  display: grid; place-items: center;
  color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.qty button:hover,
.qty button:focus-visible { background: var(--green-050); color: var(--green-700); }
/* The pill clips its children, so the focus ring is drawn inside it. */
.kfg .qty button:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--green-600);
}
.qty button svg { width: 14px; height: 14px; }
.qty input {
  width: 44px; height: 100%; flex: 1; min-width: 0;
  text-align: center; border: 0; background: none; box-shadow: none;
  font-size: 16px; font-weight: 500; color: var(--ink);
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input:focus { outline: none; }
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.check {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; line-height: 21px; cursor: pointer;
}
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
  width: 20px; height: 20px; flex: none;
  border: 1px solid var(--line-2); border-radius: 5px;
  display: grid; place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.check__box svg { width: 12px; height: 12px; color: var(--white); opacity: 0; transition: opacity var(--dur) var(--ease); }
.check:hover .check__box { border-color: var(--green-600); }
.check input:checked + .check__box { background: var(--green-700); border-color: var(--green-700); }
.check input:checked + .check__box svg { opacity: 1; }

.badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px; border-radius: var(--r-sm);
  font-size: 14px; line-height: 21px; font-weight: 500;
}
.badge--stock { background: var(--stock-bg); color: var(--stock-fg); }
.badge--sale { background: var(--sale-bg); color: var(--sale-fg); }

.stars { display: inline-flex; gap: 0; color: var(--gold-500); }
.stars svg { width: 18px; height: 18px; }
.stars .is-empty { color: var(--line-2); }

.form-msg {
  padding: 12px 16px; border-radius: var(--r-sm);
  font-size: 15px; display: none;
}
.form-msg.is-visible { display: block; animation: kfg-fade .3s var(--ease); }
.form-msg--ok { background: var(--stock-bg); color: var(--stock-fg); }
.form-msg--error { background: var(--sale-bg); color: var(--sale-fg); }

@keyframes kfg-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Widget — Hero
   ========================================================================== */
.kfg-hero { position: relative; background: var(--green-900); overflow: hidden; }
.kfg-hero__media {
  content: ""; position: absolute; inset: 0 0 0 auto;
  width: var(--kfg-hero-right-w, 48.2%);
  background-position: center right; background-size: cover; background-repeat: no-repeat;
}
.kfg-hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--green-900) 0%, var(--green-900) 46%, rgba(7, 67, 38, 0) 53%);
}
.kfg-hero__inner {
  position: relative; z-index: 2;
  display: flex; align-items: center;
  min-height: 637px;
  padding-block: 80px 99px;
}
.kfg-hero__copy { max-width: 718px; }
.kfg-hero__eyebrow {
  font-size: 14px; line-height: 14px; font-weight: 500;
  letter-spacing: .01em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82); margin: 0;
}
.kfg-hero__title {
  margin: 10px 0 0;
  font-size: 56px; line-height: 67px; font-weight: 700;
  color: var(--white);
}
.kfg-hero__title em,
.kfg-hero__highlight { font-style: normal; color: var(--gold-300); }
.kfg-hero__text {
  margin: 9px 0 0; max-width: 526px;
  font-size: 15px; line-height: 21px;
  color: rgba(255, 255, 255, .78);
}
.kfg-hero__cta { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 45px; }

/* Split hero — a photograph on each side with the copy centred between them.
   Scoped through :where() so the responsive overrides further down still win
   on their own single-class specificity. */
/* Both photographs fade out along their inner edge so they melt into the green
   band instead of ending on a visible seam. */
.kfg-hero__media--left {
  inset: 0 auto 0 0; width: var(--kfg-hero-left-w, 28%);
  background-position: center center;
  -webkit-mask-image: linear-gradient(90deg, #000 0 66%, rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(90deg, #000 0 66%, rgba(0, 0, 0, 0) 100%);
}
:where(.kfg-hero--split) .kfg-hero__media--right {
  width: var(--kfg-hero-right-w, 32%);
  -webkit-mask-image: linear-gradient(270deg, #000 0 66%, rgba(0, 0, 0, 0) 100%);
          mask-image: linear-gradient(270deg, #000 0 66%, rgba(0, 0, 0, 0) 100%);
}
:where(.kfg-hero--split) .kfg-hero__scrim {
  background: linear-gradient(90deg,
    rgba(7, 67, 38, 0) 21%, var(--green-900) 32%,
    var(--green-900) 64%, rgba(7, 67, 38, 0) 74%);
}
:where(.kfg-hero--split) .kfg-hero__inner { justify-content: center; }
/* Keeps the copy clear of both photographs on narrower desktops — the free
   band between them is 40vw, so stay a little inside it. */
:where(.kfg-hero--split) .kfg-hero__copy { max-width: min(560px, 36vw); text-align: center; }
:where(.kfg-hero--split) .kfg-hero__text { margin-inline: auto; }
:where(.kfg-hero--split) .kfg-hero__cta { justify-content: center; }

/* ==========================================================================
   Widget — Feature cards
   ========================================================================== */
.kfg-features { padding-block: 100px; }
.kfg-features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.kfg-feature {
  display: grid; grid-template-columns: 278px 1fr;
  min-height: 377px;
  background: var(--green-050);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.kfg-feature:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.kfg-feature__media { overflow: hidden; }
.kfg-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.kfg-feature:hover .kfg-feature__media img { transform: scale(1.06); }
.kfg-feature__body {
  padding: 52px 36px 45px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.kfg-feature__title { margin: 0; font-size: 28px; line-height: 34px; font-weight: 700; color: var(--ink-green); white-space: nowrap; }
.kfg-feature__text { margin: 18px 0 0; font-size: 15px; line-height: 22px; color: var(--muted); text-transform: capitalize; }
.kfg-feature__list { margin-top: 12px; display: grid; gap: 0; }
.kfg-feature__list li {
  position: relative; padding-left: 28px;
  font-size: 18px; line-height: 27px; color: var(--ink);
}
.kfg-feature__list li::before {
  content: ""; position: absolute; left: 11px; top: 11px;
  width: 6px; height: 6px; border-radius: var(--r-pill); background: var(--ink-green);
}
.kfg-feature__body .btn { margin-top: 24px; min-width: 211px; }

/* ==========================================================================
   Widget — Why choose
   ========================================================================== */
.kfg-why { background: var(--green-900); padding-block: 100px; color: var(--white); }
.kfg-why__grid { display: grid; grid-template-columns: 638px 511px; gap: 51px; align-items: start; }
.kfg-why__title { margin: 0; font-size: 40px; line-height: 48px; font-weight: 700; }
.kfg-why__text { margin: 19px 0 0; max-width: 575px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .75); }
.kfg-why__cards { margin-top: 48px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 18px; }
.kfg-why-card {
  background: var(--white); color: var(--ink);
  border-radius: var(--r-md);
  padding: 16px;
  min-height: 205px;
  box-shadow: var(--sh-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.kfg-why-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.kfg-why-card__icon {
  width: 45px; height: 45px; border-radius: var(--r-pill);
  display: grid; place-items: center;
  background: var(--white); border: 1px solid #efefef;
  font-size: 23px; line-height: 1; color: var(--green-700);
}
.kfg-why-card__icon svg,
.kfg-why-card__icon i { width: 23px; height: 23px; font-size: 21px; }
.kfg-why-card__title { margin: 24px 0 0; font-size: 16.5px; line-height: 22px; font-weight: 600; color: var(--ink-green); }
.kfg-why-card__text { margin: 12px 0 0; font-size: 13px; line-height: 21px; color: var(--muted); text-transform: capitalize; }
.kfg-why__media { border-radius: var(--r-md); overflow: hidden; align-self: stretch; min-height: 632px; }
.kfg-why__media img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Widget — Testimonials
   ========================================================================== */
.kfg-testimonials { padding-block: 100px; }
.kfg-testimonials__grid { margin-top: 43px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.kfg-tcard { display: flex; flex-direction: column; align-items: center; }
.kfg-tcard__quote { width: 100%; padding: 32px 28px 0; }
.kfg-tcard__mark { width: 36px; height: 32px; color: var(--green-bright); margin-inline: auto; }
.kfg-tcard__text { margin: 24px 0 0; font-size: 16px; line-height: 24px; color: var(--green-quote); text-align: center; }
.kfg-tcard__person { margin-top: 36px; text-align: center; }
.kfg-tcard__avatar { width: 64px; height: 64px; border-radius: var(--r-pill); margin-inline: auto; object-fit: cover; }
.kfg-tcard__name { margin: 14px 0 0; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ink-green); }
.kfg-tcard__role { margin: 0; font-size: 14px; line-height: 21px; color: var(--muted); }

/* ==========================================================================
   Widget — Contact info + contact form
   ========================================================================== */
.kfg-contact-info {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 0 20px;
}
.kfg-contact-info__item { padding: 25px 0 29px; text-align: center; border-bottom: 1px solid var(--line); }
.kfg-contact-info__item:last-child { border-bottom: 0; }
.kfg-contact-info__icon {
  width: 30px; height: 30px; margin-inline: auto;
  display: grid; place-items: center;
  color: var(--green-900);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.kfg-contact-info__icon svg { width: 30px; height: 30px; stroke-width: 1.5; }
.kfg-contact-info__item:hover .kfg-contact-info__icon { color: var(--green-600); transform: translateY(-3px); }
.kfg-contact-info__value {
  display: block; margin: 16px 0 0;
  font-size: 16px; line-height: 24px; color: var(--ink);
  transition: color var(--dur) var(--ease);
}
a.kfg-contact-info__value:hover { color: var(--green-600); }

.kfg-contact-form { display: grid; gap: 26px; }
.kfg-contact-form .row-2 { gap: 24px; }
.kfg-contact-form .field__label { font-size: 14px; line-height: 16px; font-weight: 500; }
.kfg-contact-form .input { min-height: 50px; padding: 14px 18px; }
.kfg-contact-form .textarea { min-height: 174px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--green-900);
  color: rgba(255, 255, 255, .8);
  padding-block: 67px 40px;
}
/* Sized by the mark itself so the header logo and a dedicated footer logo both
   sit centred, whatever their aspect ratio. */
.footer__logo { display: block; width: fit-content; margin: 0 auto 63px; }
.footer__logo .kfg-logo-img { display: block; height: 80px; width: auto; }
.footer__grid {
  display: grid;
  grid-template-columns: 295px 145px 129px 310px;
  justify-content: space-between;
  gap: 40px;
}
.footer__about { font-size: 15.5px; line-height: 25px; }
.footer__about p { margin: 0; }
.footer__about .footer__abn { margin-top: 16px; color: var(--white); font-weight: 600; }
.footer__head {
  font-size: 18.5px; line-height: 28px; font-weight: 600;
  color: var(--white); margin: 0 0 16px;
  white-space: nowrap;
}
.footer__links { display: grid; gap: 12px; }
.footer__links a {
  display: inline-block;
  font-size: 15px; line-height: 26px; white-space: nowrap;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--gold-300); padding-left: 5px; }
.footer__contact { display: grid; gap: 16px; }
.footer__contact li { display: flex; gap: 16px; font-size: 16px; line-height: 26px; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 5px; }
.footer__contact a { transition: color var(--dur) var(--ease); }
.footer__contact a:hover { color: var(--gold-300); }

.footer__bottom {
  margin-top: 54px; padding-top: 27px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.footer__copy { margin: 0; font-size: 15px; line-height: 24px; }
.footer__social { display: flex; align-items: center; gap: 16px; }
.footer__social span { font-size: 16px; }
.footer__social ul { display: flex; }
.footer__social a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: var(--r-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.footer__social svg { width: 16px; height: 16px; }
.footer__social a:hover { background: var(--gold-300); color: var(--green-900); transform: translateY(-2px); }

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.drawer {
  position: fixed; inset: 0 0 0 auto; z-index: 100;
  width: min(320px, 86vw);
  background: var(--white);
  box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
  transform: translateX(100%);
  transition: transform .3s var(--ease);
  display: flex; flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer__head .kfg-logo-img { height: 34px; width: auto; }
.kfg .drawer__close {
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--ink); border-radius: var(--r-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.kfg .drawer__close:hover { background: var(--green-050); color: var(--green-700); }
.drawer__close svg { width: 20px; height: 20px; }
.drawer .nav { flex-direction: column; align-items: stretch; gap: 0; }
.drawer .nav__item { border-bottom: 1px solid var(--line); }
.drawer .nav__link { padding: 14px 0; justify-content: space-between; width: 100%; }
.drawer .nav__link::after { display: none; }
.drawer .nav__menu {
  position: static; opacity: 1; visibility: visible; transform: none;
  box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0;
  display: none;
}
.drawer .nav__item.is-open .nav__menu { display: block; }
.drawer .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }

/* ---------- Wishlist panel ----------
   Shares the drawer shell, so only the contents need styling. */
.drawer--wishlist { width: min(380px, 92vw); }
.drawer__title { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink-green); }
.wishlist__empty { margin: 0; font-size: 15px; line-height: 26px; color: var(--muted); }
.wishlist__list { display: grid; gap: 4px; }
.wishlist__item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.wishlist__link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.wishlist__thumb {
  width: 56px; height: 56px; flex: none;
  object-fit: cover; border-radius: var(--r-sm); background: var(--green-025);
}
.wishlist__text { display: grid; gap: 4px; min-width: 0; }
.wishlist__name {
  font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wishlist__price { font-size: 14px; font-weight: 600; color: var(--green-600); }
.kfg .wishlist__remove {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  color: var(--muted); border-radius: var(--r-pill);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.kfg .wishlist__remove:hover { background: var(--sale-bg); color: var(--sale-fg); }
.wishlist__remove svg { width: 16px; height: 16px; }

.backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(7, 67, 38, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.backdrop.is-open { opacity: 1; visibility: visible; }
body.is-locked { overflow: hidden; }

/* ==========================================================================
   Elementor interop
   ========================================================================== */
/* Custom widgets draw their own full-bleed bands and inner .container, so the
   Elementor wrapper must not add width or padding of its own. */
.elementor-widget-container > .kfg-hero,
.elementor-widget-container > .kfg-why,
.elementor-widget-container > .kfg-features,
.elementor-widget-container > .kfg-testimonials { width: 100%; }

/* Elementor containers carry `min-width: 0` and the default `flex-shrink: 1`,
   so the contact page's fixed 312px info column collapses beside the fluid form
   column and its address wraps to five lines. Hold it at its authored width. */
.e-con:has(> .elementor-widget-kfg-contact-info) { flex-shrink: 0; }

/* ==========================================================================
   404
   ========================================================================== */
.kfg-404 { padding-block: 100px 120px; text-align: center; }
.kfg-404 > .container { max-width: 640px; }
.kfg-404__code {
  margin: 0;
  font-size: 96px; line-height: 1; font-weight: 700;
  color: var(--green-050);
  letter-spacing: .04em;
}
.kfg-404__title {
  margin: 8px 0 0;
  font-size: 40px; line-height: 48px; font-weight: 700; color: var(--ink-green);
}
.kfg-404__text { margin: 16px 0 0; font-size: 16px; line-height: 28px; color: var(--muted); }
.kfg-404__search { margin-top: 32px; text-align: left; }
.kfg-404__actions {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}

/* ==========================================================================
   Search results
   ========================================================================== */
.kfg-search { padding-block: 80px 100px; }

.kfg-search__head {
  padding-bottom: 32px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.kfg-search__title {
  margin: 0;
  font-size: 40px; line-height: 48px; font-weight: 700; color: var(--ink-green);
}
.kfg-search__term { color: var(--green-600); }
.kfg-search__count { margin: 10px 0 0; font-size: 16px; color: var(--muted); }

.kfg-search__form { margin-top: 24px; max-width: 560px; }
/* The base reset above neutralises every <button>, and Hello Elementor's reset
   claims `input[type="search"]`, so both parts opt back in at a weight that
   clears those rules. */
.kfg-searchform { display: flex; gap: 10px; }
.kfg .kfg-searchform__input {
  flex: 1; width: auto; min-width: 0; min-height: 46px; padding: 12px 18px;
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.kfg .kfg-searchform__input:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(62, 163, 67, .16);
}
.kfg button.kfg-searchform__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 24px;
  font-family: var(--font); font-size: 15px; line-height: 1; font-weight: 600;
  color: var(--white); background: var(--green-700);
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.kfg button.kfg-searchform__submit:hover {
  background: var(--green-900);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.kfg button.kfg-searchform__submit:active { transform: translateY(0); box-shadow: var(--sh-sm); }
.kfg-searchform__submit svg { width: 18px; height: 18px; flex: none; }

/* ---------- Result cards ---------- */
.kfg-results { display: grid; gap: 20px; }

.kfg-result {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.kfg-result:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--sh-md);
}

.kfg-result__media {
  display: block; overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--green-025);
  border-radius: var(--r-md);
}
.kfg-result__media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--dur) var(--ease);
}
.kfg-result:hover .kfg-result__media img { transform: scale(1.04); }
.kfg-result__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--green-500);
}
.kfg-result__placeholder svg { width: 40px; height: 40px; opacity: .5; }

.kfg-result__body { display: flex; flex-direction: column; align-self: center; }
.kfg-result__type {
  align-self: flex-start;
  padding: 4px 12px; margin-bottom: 12px;
  font-size: 12px; line-height: 18px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--stock-fg); background: var(--green-050);
  border-radius: var(--r-pill);
}
.kfg-result__title { margin: 0; font-size: 22px; line-height: 30px; font-weight: 600; }
.kfg-result__title a {
  color: var(--ink-green);
  transition: color var(--dur) var(--ease);
}
.kfg-result__title a:hover { color: var(--green-600); }
.kfg-result__excerpt {
  margin: 10px 0 0;
  font-size: 15px; line-height: 26px; color: var(--muted);
}
.kfg-result__foot {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 18px;
}
.kfg-result__price { font-size: 18px; font-weight: 600; color: var(--green-600); }
.kfg-result__price del { font-size: 15px; font-weight: 400; color: var(--muted); }
.kfg-result__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 600; color: var(--green-700);
}
.kfg-result__link svg { width: 15px; height: 13px; flex: none; transition: transform var(--dur) var(--ease); }
.kfg-result__link:hover svg { transform: translateX(4px); }

/* ---------- Pagination ---------- */
.kfg-pagination { margin-top: 48px; }
.kfg-pagination .nav-links {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
}
.kfg-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 14px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.kfg-pagination .page-numbers:hover { border-color: var(--green-600); color: var(--green-700); }
.kfg-pagination .page-numbers.current {
  background: var(--green-700); border-color: var(--green-700); color: var(--white);
}
.kfg-pagination .page-numbers.dots { border-color: transparent; }

/* ---------- Empty state ---------- */
.kfg-search__empty {
  max-width: 560px; margin-inline: auto;
  padding: 56px 32px;
  text-align: center;
  background: var(--green-025);
  border-radius: var(--r-lg);
}
.kfg-search__empty-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; margin-bottom: 24px;
  color: var(--green-600); background: var(--white);
  border-radius: 50%; box-shadow: var(--sh-sm);
}
.kfg-search__empty-icon svg { width: 30px; height: 30px; }
.kfg-search__empty-title {
  margin: 0; font-size: 26px; line-height: 34px; font-weight: 700; color: var(--ink-green);
}
.kfg-search__empty-text {
  margin: 12px 0 28px;
  font-size: 16px; line-height: 28px; color: var(--muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
  /* Narrower photographs on small laptops so the centred copy — and its two
     buttons — still fit on one line between them. */
  .kfg-hero--split .kfg-hero__media--left { width: 22%; }
  .kfg-hero--split .kfg-hero__media--right { width: 26%; }
  .kfg-hero--split .kfg-hero__copy { max-width: min(560px, 48vw); }
  .kfg-hero--split .kfg-hero__scrim {
    background: linear-gradient(90deg,
      rgba(7, 67, 38, 0) 15%, var(--green-900) 26%,
      var(--green-900) 71%, rgba(7, 67, 38, 0) 81%);
  }

  .kfg-why__grid { grid-template-columns: 1fr; gap: 40px; }
  .kfg-why__media { min-height: 420px; order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__logo { margin-bottom: 64px; }
}

@media (max-width: 1023px) {
  .header__nav,
  .header__actions .icon-btn--desktop { display: none; }
  .kfg .burger { display: block; }
  .header--split .header__logo { position: static; transform: none; order: 1; margin-right: auto; }
  .header--split .header__actions { order: 2; }
  .header__inner { min-height: 72px; }
  .header--home .header__inner { min-height: 72px; }
  .header--home .header__logo { margin-right: auto; }

  .kfg-hero__media { width: 100%; opacity: .35; }
  .kfg-hero__scrim { background: linear-gradient(180deg, rgba(7, 67, 38, .94) 0%, rgba(7, 67, 38, .88) 100%); }
  .kfg-hero__inner { min-height: 480px; padding-block: 60px; }
  .kfg-hero__title { font-size: 40px; line-height: 46px; }

  .kfg-features { padding-block: 60px; }
  .kfg-features__grid { grid-template-columns: 1fr; gap: 24px; }
  .kfg-why,
  .kfg-testimonials { padding-block: 60px; }
  .kfg-why__title,
  .section-title { font-size: 32px; line-height: 40px; }

  .kfg-testimonials__grid { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin-inline: auto; }
  .kfg-contact-info { max-width: 420px; }

  .kfg-search { padding-block: 56px 72px; }
  .kfg-search__title { font-size: 32px; line-height: 40px; }
  .kfg-result { grid-template-columns: 180px 1fr; gap: 20px; }
}

/* Matches Elementor's tablet breakpoint (1024px), where the split hero drops
   the left photograph and the right one goes full bleed behind the copy. */
@media (max-width: 1024px) {
  .kfg-hero--split .kfg-hero__media--left { display: none; }
  .kfg-hero--split .kfg-hero__media--right {
    width: 100%; opacity: .35;
    -webkit-mask-image: none; mask-image: none;
  }
  .kfg-hero--split .kfg-hero__copy { max-width: none; text-align: left; }
  .kfg-hero--split .kfg-hero__text { margin-inline: 0; }
  .kfg-hero--split .kfg-hero__cta { justify-content: flex-start; }
  .kfg-hero--split .kfg-hero__scrim {
    background: linear-gradient(180deg, rgba(7, 67, 38, .94) 0%, rgba(7, 67, 38, .88) 100%);
  }
  .kfg-hero--split .kfg-hero__inner { justify-content: flex-start; }
}

@media (max-width: 767px) {
  .topbar { font-size: 12px; }
  .topbar__addr { display: none; }
  .topbar__inner { justify-content: center; }

  .kfg-hero__title { font-size: 32px; line-height: 40px; }
  .kfg-hero__cta { gap: 12px; }
  .kfg-hero__cta .btn { flex: 1 1 100%; }

  .kfg-feature { grid-template-columns: 1fr; }
  .kfg-feature__media { height: 220px; }
  .kfg-feature__body { padding: 28px 24px; }
  .kfg-feature__body .btn { width: 100%; }
  .kfg-feature__title { white-space: normal; }

  .kfg-why__cards { grid-template-columns: 1fr; }
  .kfg-why__media { min-height: 280px; }

  .section-title,
  .kfg-why__title { font-size: 28px; line-height: 36px; }

  .kfg-404 { padding-block: 56px 72px; }
  .kfg-404__code { font-size: 72px; }
  .kfg-404__title { font-size: 28px; line-height: 36px; }
  .kfg-404__actions .btn { flex: 1 1 100%; }

  .kfg-search__title { font-size: 28px; line-height: 36px; }
  .kfg-searchform { flex-wrap: wrap; }
  .kfg .kfg-searchform__input { flex: 1 1 100%; }
  .kfg button.kfg-searchform__submit { flex: 1 1 100%; }
  .kfg-result { grid-template-columns: 1fr; }
  .kfg-result__media { aspect-ratio: 16 / 9; }
  .kfg-search__empty { padding: 40px 24px; }

  .row-2 { grid-template-columns: 1fr; gap: 16px; }

  .footer { padding-block: 48px 32px; }
  /* The two menus sit side by side; the about text and contact block, which are
     the only <div>s in the grid, keep the full width. */
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .footer__about,
  .footer__grid > div.footer__col { grid-column: 1 / -1; }
  .footer__logo { margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; margin-top: 32px; }
  .footer__social { flex-direction: column; gap: 8px; }
}

@media (max-width: 479px) {
  .container { padding-inline: 16px; }
  .kfg-hero__title { font-size: 28px; line-height: 36px; }
  .crumb { font-size: 14px; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .kfg *,
  .kfg *::before,
  .kfg *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
