/* Premium FarmNeed footer inspired by the approved mobile mockup. */
.fn-premium-footer{background:#f3eadf!important;color:#5e554c!important;border-top:1px solid #e6d9ca!important;padding:18px 0 86px!important}
.fn-footer-shell{width:100%;box-sizing:border-box}
.fn-footer-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:28px}
.fn-footer-logo{display:flex;align-items:center;justify-content:center;width:min(440px,54%);min-height:118px;padding:8px;border:0;border-radius:0;background:transparent;box-shadow:none}
.fn-footer-logo img{display:block;width:100%;max-width:360px;height:auto}
.fn-footer-motto{display:flex;align-items:center;justify-content:center;gap:14px;min-width:260px;color:#719265;font-family:var(--font-display);font-size:clamp(24px,3vw,38px);font-style:italic;line-height:1.05;text-align:center}
.fn-footer-motto svg{width:76px;height:76px;fill:#a7bd97;stroke:#8aa979;stroke-width:1}
.fn-footer-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;align-items:stretch}
.fn-footer-side{display:grid;gap:18px}
.fn-footer-card{border:1px solid #eadfd3;border-radius:20px;background:rgba(255,255,255,.82);box-shadow:0 12px 28px rgba(87,65,42,.055)}
.fn-footer-business{padding:28px}
.fn-footer-card h3{display:flex!important;align-items:center;gap:12px;margin:0 0 22px!important;color:#183d2d!important;font-family:var(--font-display);font-size:20px!important;font-weight:800;letter-spacing:.07em!important;text-transform:uppercase}
.fn-footer-heading-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;color:#07582f;background:#e5f1df}
.fn-footer-heading-icon-warm{color:#a84a1e;background:#f7e6d7}
.fn-footer-heading-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fn-footer-detail{display:grid;grid-template-columns:28px 1fr;gap:13px;align-items:start;margin:0 0 17px;color:#5e554c}
.fn-footer-detail>svg{width:22px;height:22px;margin-top:2px;fill:none;stroke:#5f625f;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.fn-footer-detail strong{display:block;color:#51483f;font-weight:600}
.fn-footer-detail address{margin-top:4px;color:#62584f!important;font-style:normal;line-height:1.65}
.fn-footer-detail a{color:#62584f!important;text-decoration:none}
.fn-footer-detail a:hover{text-decoration:underline}
.fn-footer-whatsapp>svg{color:#14a04a;stroke:#14a04a}
.fn-footer-whatsapp a{color:#138c45!important;font-weight:700}
.fn-footer-links{padding:24px 26px}
.fn-footer-links h3{margin-bottom:12px!important}
.fn-footer-links ul{list-style:none;margin:0;padding:0}
.fn-footer-links li+li{border-top:1px solid #eee4da}
.fn-footer-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;color:#5e554c!important;text-decoration:none;font-size:15px}
.fn-footer-links a:hover{color:#0b5d3b!important}
.fn-footer-links b{font-size:25px;font-weight:400;line-height:1;color:#776e64}
.fn-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-top:22px;padding:20px 24px;border:1px solid #e3d6c7;border-radius:16px;background:#eee1d2}
.fn-footer-bottom p{margin:0!important;color:#6a6057!important;font-size:13px!important;line-height:1.7}
.fn-footer-leaf-note{display:flex;align-items:center;gap:10px;color:#9b9f86;text-transform:uppercase;letter-spacing:.18em;font-size:10px;line-height:1.35}
.fn-footer-leaf-note svg{width:45px;height:45px;flex:0 0 45px;fill:#b4c5a1}
@media(max-width:782px){
  .fn-premium-footer{padding:16px 0 82px!important}
  .fn-footer-hero{gap:14px;margin-bottom:18px}
  .fn-footer-logo{width:61%;min-height:100px;padding:8px;border-radius:0}
  .fn-footer-logo img{max-width:280px}
  .fn-footer-motto{min-width:0;flex:1;gap:5px;font-size:20px;line-height:1.08}
  .fn-footer-motto svg{width:54px;height:54px}
  .fn-footer-layout{grid-template-columns:1.05fr .95fr;gap:12px}
  .fn-footer-side{gap:12px}
  .fn-footer-card{border-radius:16px}
  .fn-footer-business{padding:18px 16px}
  .fn-footer-links{padding:17px 15px}
  .fn-footer-card h3{gap:8px;margin-bottom:16px!important;font-size:14px!important;letter-spacing:.07em!important}
  .fn-footer-heading-icon{width:32px;height:32px;flex-basis:32px}
  .fn-footer-heading-icon svg{width:18px;height:18px}
  .fn-footer-detail{grid-template-columns:22px 1fr;gap:9px;margin-bottom:14px;font-size:13px;line-height:1.45}
  .fn-footer-detail>svg{width:18px;height:18px}
  .fn-footer-detail address{line-height:1.55}
  .fn-footer-links a{min-height:42px;font-size:12.5px;line-height:1.3}
  .fn-footer-links b{font-size:20px}
  .fn-footer-bottom{margin-top:16px;padding:17px 16px;border-radius:14px}
  .fn-footer-bottom p{font-size:11px!important}
  .fn-footer-leaf-note{font-size:8px;letter-spacing:.13em}
  .fn-footer-leaf-note svg{width:36px;height:36px;flex-basis:36px}
}
@media(max-width:520px){
  .fn-premium-footer{
    padding-top:8px!important;
  }

  .fn-footer-shell{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .fn-footer-hero{
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);
    align-items:center;
    gap:9px;
    margin-bottom:16px;
  }

  .fn-footer-logo{
    width:auto;
    min-height:112px;
    padding:4px;
    border-radius:0;
  }

  .fn-footer-logo img{
    max-width:245px;
  }

  .fn-footer-motto{
    position:relative;
    display:block;
    min-width:0;
    height:132px;
    color:#8da57a;
    font-size:17px;
    line-height:1.12;
    text-align:center;
  }

  .fn-footer-motto span{
    position:absolute;
    z-index:2;
    left:2%;
    top:32%;
    width:58%;
    font-style:italic;
  }

  .fn-footer-motto svg{
    position:absolute;
    z-index:1;
    right:0;
    top:16%;
    width:48%;
    height:72%;
    fill:#b7c7a8;
    stroke:#9eb28f;
  }

  .fn-footer-layout{
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
    gap:9px;
  }

  .fn-footer-side{
    gap:8px;
    align-content:start;
  }

  .fn-footer-card{
    border-radius:15px;
  }

  .fn-footer-business{
    padding:12px 10px;
  }

  .fn-footer-links{
    padding:9px;
  }

  .fn-footer-card h3{
    gap:5px;
    margin-bottom:8px!important;
    font-size:12.5px!important;
    line-height:1.1;
    letter-spacing:.025em!important;
    white-space:nowrap;
  }

  .fn-footer-business h3{
    font-size:12px!important;
    letter-spacing:.015em!important;
  }

  .fn-footer-heading-icon{
    width:27px;
    height:27px;
    flex:0 0 27px;
  }

  .fn-footer-heading-icon svg{
    width:17px;
    height:17px;
  }

  .fn-footer-detail{
    grid-template-columns:17px minmax(0,1fr);
    gap:7px;
    margin-bottom:12px;
    font-size:11.6px;
    line-height:1.45;
  }

  .fn-footer-detail>svg{
    width:16px;
    height:16px;
    margin-top:1px;
  }

  .fn-footer-detail>div{
    min-width:0;
  }

  .fn-footer-detail strong{
    font-size:11.6px;
    font-weight:500;
  }

  .fn-footer-detail:first-of-type strong{
    font-size:11.2px;
    white-space:nowrap;
  }

  .fn-footer-detail:nth-of-type(2) strong{
    font-size:10.8px;
    white-space:nowrap;
  }

  .fn-footer-detail address{
    margin-top:3px;
    font-size:11.6px!important;
    line-height:1.55;
  }

  .fn-footer-detail a{
    font-size:11.4px;
    white-space:nowrap;
  }

  .fn-footer-whatsapp a{
    font-size:11.6px;
    font-weight:600;
  }

  .fn-footer-links h3{
    margin-bottom:5px!important;
  }

  .fn-footer-links a{
    min-height:34px;
    font-size:11.6px;
    line-height:1.25;
    gap:4px;
  }

  .fn-footer-links b{
    font-size:17px;
  }

  .fn-footer-bottom{
    gap:8px;
    margin-top:12px;
    padding:12px 11px;
    border-radius:13px;
  }

  .fn-footer-bottom p{
    font-size:10.6px!important;
    line-height:1.55;
  }

  .fn-footer-leaf-note{
    max-width:105px;
    font-size:7.8px;
    letter-spacing:.11em;
  }

  .fn-footer-leaf-note svg{
    width:30px;
    height:30px;
    flex:0 0 30px;
  }
}

.fn-footer-mobile-logo{display:none}

/* Refined two-column mobile footer. Desktop/tablet layout remains unchanged. */
@media(max-width:639px){
  .fn-premium-footer{
    padding:10px 0 calc(78px + env(safe-area-inset-bottom))!important;
  }

  .fn-footer-shell{
    padding-left:14px!important;
    padding-right:14px!important;
  }

  .fn-footer-hero{
    display:none;
    align-items:center;
    justify-content:space-between;
    gap:9px;
    min-height:0;
    margin-bottom:14px;
    padding:2px 2px 8px;
    border-bottom:1px solid #dfd1c2;
  }

  .fn-footer-logo{
    width:auto;
    min-height:0;
    flex:1 1 auto;
    justify-content:flex-start;
    padding:0;
  }

  .fn-footer-logo img{
    width:auto;
    max-width:176px;
    max-height:58px;
    object-fit:contain;
  }

  .fn-footer-motto{
    position:static;
    display:flex;
    width:auto;
    height:auto;
    min-width:0;
    flex:0 0 auto;
    gap:3px;
    color:#819b73;
    font-size:11.5px;
    line-height:1.1;
    text-align:right;
  }

  .fn-footer-motto span{
    position:static;
    width:auto;
    max-width:86px;
  }

  .fn-footer-motto svg{
    position:static;
    width:31px;
    height:31px;
    flex:0 0 31px;
  }

  .fn-footer-layout{
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);
    gap:10px;
    align-items:start;
  }

  .fn-footer-side{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    align-content:start;
  }

  .fn-footer-card{
    width:100%;
    min-width:0;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  .fn-footer-business{
    padding:2px 12px 2px 0;
    border-right:1px solid #dfd1c2!important;
  }

  .fn-footer-mobile-logo{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    min-height:52px;
    margin:0 0 12px;
    padding:0 0 10px;
    border-bottom:1px solid #dfd1c2;
  }

  .fn-footer-mobile-logo img{
    display:block;
    width:auto;
    max-width:154px;
    max-height:52px;
    object-fit:contain;
  }

  .fn-footer-links{
    padding:2px 0;
  }

  .fn-footer-side .fn-footer-links + .fn-footer-links{
    padding-top:12px;
    border-top:1px solid #dfd1c2!important;
  }

  .fn-footer-card h3,
  .fn-footer-business h3{
    gap:6px;
    margin-bottom:9px!important;
    font-size:13.6px!important;
    line-height:1.18;
    letter-spacing:.025em!important;
    white-space:normal;
  }

  .fn-footer-heading-icon{
    width:27px;
    height:27px;
    flex:0 0 27px;
  }

  .fn-footer-heading-icon svg{
    width:16px;
    height:16px;
  }

  .fn-footer-detail{
    grid-template-columns:17px minmax(0,1fr);
    gap:7px;
    margin-bottom:10px;
    font-size:12.9px;
    line-height:1.46;
  }

  .fn-footer-detail:last-child{
    margin-bottom:0;
  }

  .fn-footer-detail>svg{
    width:16px;
    height:16px;
    margin-top:1px;
  }

  .fn-footer-detail strong,
  .fn-footer-detail:first-of-type strong,
  .fn-footer-detail:nth-of-type(2) strong{
    font-size:12.8px;
    font-weight:600;
    white-space:normal;
  }

  .fn-footer-detail address{
    margin-top:2px;
    font-size:12.8px!important;
    line-height:1.52;
  }

  .fn-footer-detail a,
  .fn-footer-whatsapp a{
    font-size:12.7px;
    line-height:1.4;
    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;
  }

  .fn-footer-links h3{
    margin-bottom:4px!important;
  }

  .fn-footer-links ul{
    width:100%;
  }

  .fn-footer-links li+li{
    border-top:1px solid #e4d8cc;
  }

  .fn-footer-links a{
    min-height:36px;
    padding:2px 0;
    gap:4px;
    font-size:12.9px;
    line-height:1.3;
  }

  .fn-footer-links b{
    display:none;
  }

  .fn-footer-bottom{
    position:relative;
    display:block;
    margin-top:13px;
    padding:10px 58px 9px 0;
    border:0!important;
    border-top:1px solid #dfd1c2!important;
    border-radius:0!important;
    background:transparent!important;
  }

  .fn-footer-bottom p{
    font-size:11.2px!important;
    line-height:1.45;
  }

  .fn-footer-bottom p+p{
    margin-top:2px!important;
  }

  .fn-footer-leaf-note{
    display:none;
  }

  .fn-home-whatsapp{
    right:14px!important;
    bottom:calc(94px + env(safe-area-inset-bottom))!important;
    width:46px!important;
    height:46px!important;
  }

  .fn-home-whatsapp svg{
    width:25px!important;
    height:25px!important;
  }
}
