/*
Theme Name: BestOrigin Foods
Theme URI: https://bestoriginfoods.com
Author: BestOrigin Foods
Description: Custom WordPress theme converted from the BestOrigin Foods static website. Designed for international food sourcing and brokerage.
Version: 1.0
Text Domain: bestorigin-foods
*/


:root{--green:#123f2c;--green2:#0d2f22;--gold:#b58a2a;--cream:#fbf7ed;--sand:#f1e6cf;--line:#dfcfaa;--ink:#1c211b;--muted:#697060;--white:#fffdf8;--shadow:0 18px 50px rgba(18,63,44,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,Arial,sans-serif;line-height:1.65}img{max-width:100%;display:block}a{color:inherit}.container{width:min(1180px,92vw);margin:auto}.nav{position:sticky;top:0;z-index:20;background:rgba(251,247,237,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(181,138,42,.22)}.nav-in{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{text-decoration:none;display:flex;align-items:center;gap:14px;color:var(--green)}.brand-symbol{width:46px;height:46px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#fff,#f3e7c8);font-family:Georgia,serif;color:var(--green);font-size:24px}.brand-name{font-family:Georgia,serif;font-size:27px;line-height:.95;font-weight:600;letter-spacing:-.03em}.brand-name span{display:block;text-align:center}.brand-sub{font-size:9px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold);margin-top:4px}.links{display:flex;gap:24px;align-items:center}.links a{text-decoration:none;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:650;color:var(--green2)}.quote{background:var(--green);color:#fff!important;padding:11px 18px;border-radius:999px}.menu{display:none}.hero{min-height:calc(100vh - 78px);display:grid;grid-template-columns:1.02fr .98fr;align-items:stretch}.hero-copy{padding:86px 0 80px;display:flex;flex-direction:column;justify-content:center}.eyebrow{color:var(--gold);text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700;margin-bottom:18px}.hero h1,.page-hero h1{font-family:Georgia,serif;font-size:clamp(54px,7vw,102px);line-height:.95;margin:0 0 24px;color:var(--green);font-weight:500;letter-spacing:-.05em}.hero h1 em,.page-hero h1 em,h2 em{color:var(--gold);font-style:italic;font-weight:400}.lead{font-size:18px;color:var(--muted);max-width:650px}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-block;text-decoration:none;background:var(--green);color:white;padding:14px 24px;border-radius:999px;font-weight:700}.btn.secondary{background:transparent;color:var(--green);border:1px solid var(--green)}.hero-visual{position:relative;min-height:620px}.hero-visual img{width:100%;height:100%;object-fit:cover}.hero-panel{position:absolute;right:7%;bottom:8%;background:rgba(255,253,248,.94);padding:24px;border-radius:22px;box-shadow:var(--shadow);max-width:360px;border:1px solid rgba(181,138,42,.25)}.hero-panel h3{margin:0 0 8px;color:var(--green);font-family:Georgia,serif;font-size:27px}.intro-bar{background:var(--green);color:white}.intro-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px}.intro-grid div{padding:28px 24px;border-right:1px solid rgba(255,255,255,.12)}.intro-grid b{display:block;color:#f0d48a;margin-bottom:6px}.section{padding:92px 0}.section.alt{background:var(--white)}.section-head{max-width:760px;margin-bottom:42px}.mini{color:var(--gold);font-size:12px;text-transform:uppercase;letter-spacing:.18em;font-weight:800;margin-bottom:14px}h2{font-family:Georgia,serif;font-size:clamp(38px,5vw,72px);line-height:1.02;margin:0 0 18px;color:var(--green);letter-spacing:-.04em}h3{color:var(--green);font-family:Georgia,serif;font-size:27px;line-height:1.1;margin:0 0 12px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}.card{background:var(--white);border:1px solid rgba(181,138,42,.25);border-radius:26px;overflow:hidden;box-shadow:0 10px 30px rgba(18,63,44,.06)}.card.pad{padding:30px}.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.product-card img{width:100%;height:230px;object-fit:cover;object-position:center;border-bottom:1px solid rgba(181,138,42,.2)}.product-body{padding:24px}.product-body p{color:var(--muted);margin:0 0 14px}.detail-list{border-top:1px solid rgba(181,138,42,.25);margin-top:18px;padding-top:16px}.detail-list p{font-size:14px;margin:9px 0;color:var(--ink)}.detail-list strong{color:var(--green)}.callout{background:linear-gradient(135deg,var(--green),#1e5b42);color:white;border-radius:30px;padding:42px;box-shadow:var(--shadow)}.callout h2,.callout h3{color:white}.callout p{color:rgba(255,255,255,.78)}.pill-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.pill{border:1px solid rgba(181,138,42,.45);color:var(--gold);padding:8px 12px;border-radius:999px;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:700}.page-hero{padding:86px 0 62px;background:linear-gradient(180deg,var(--white),var(--cream));border-bottom:1px solid rgba(181,138,42,.22)}.split{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}.split img{border-radius:30px;box-shadow:var(--shadow);width:100%;height:auto}.process{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:step}.process .card{padding:28px}.process .card:before{counter-increment:step;content:'0' counter(step);display:block;font-family:Georgia,serif;color:var(--gold);font-size:38px;margin-bottom:14px}.quality-list{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.quality-item{background:var(--white);border:1px solid rgba(181,138,42,.25);border-radius:24px;padding:26px}.notice{padding:22px;border-left:4px solid var(--gold);background:#fff8df;border-radius:12px;color:#514a36}.contact-form{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.contact-form .full{grid-column:1/-1}.contact-form label{font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--green);display:block;margin-bottom:6px}.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:14px;border:1px solid rgba(181,138,42,.35);border-radius:14px;background:white;font:inherit}.contact-form button{border:0;cursor:pointer}.footer{background:var(--green2);color:#fff;padding:54px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer a{display:block;text-decoration:none;color:rgba(255,255,255,.72);margin:8px 0}.footer p{color:rgba(255,255,255,.7)}.audit{background:#f7ecd2;border:1px solid rgba(181,138,42,.35);border-radius:24px;padding:26px}.audit li{margin-bottom:8px}@media(max-width:950px){.hero,.split{grid-template-columns:1fr}.hero-visual{min-height:520px}.product-grid,.grid3,.quality-list,.process,.intro-grid{grid-template-columns:1fr 1fr}.links{display:none}.menu{display:block;background:transparent;border:0;color:var(--green);font-weight:800}.open .links{position:absolute;top:78px;left:0;right:0;background:var(--cream);display:flex;flex-direction:column;padding:24px;border-bottom:1px solid var(--line)}}@media(max-width:640px){.product-grid,.grid3,.grid2,.quality-list,.process,.intro-grid,.contact-form,.footer-grid{grid-template-columns:1fr}.hero h1,.page-hero h1{font-size:52px}.section{padding:64px 0}.nav-in{height:72px}.brand-symbol{width:40px;height:40px}.brand-name{font-size:22px}.hero-visual{min-height:430px}.hero-panel{position:static;border-radius:0;max-width:none}.product-card img{height:210px}}

/* Desktop resolution optimization only — original design preserved */
@media (min-width: 1500px) {
  .container { width: min(1420px, 88vw); }
  .hero { min-height: calc(100vh - 78px); }
  .hero-copy { padding-top: 96px; padding-bottom: 92px; }
  .hero-visual { min-height: 700px; }
  .product-grid { gap: 30px; }
  .product-card img { height: 255px; }
}

@media (min-width: 1800px) {
  .container { width: min(1520px, 86vw); }
  .hero-copy { padding-top: 104px; padding-bottom: 100px; }
  .hero-visual { min-height: 760px; }
  .product-grid { gap: 34px; }
  .product-card img { height: 275px; }
}

/* Target checks:
   - 1728 x 1117 Mac desktop: uses 1500px+ layout.
   - 1920 x 1080 Windows/Chrome: uses 1800px+ layout.
   Mobile and tablet rules remain unchanged.
*/
