/*
Theme Name: VSTP Group
Theme URI: https://vansonthinhphat.vn/
Author: VSTP Group
Description: Custom B2B Organic & Natural Food website for Vạn Sơn Thịnh Phát.
Version: 3.3.0
Text Domain: vstp-group
*/

:root{
  --gold:#B47A22; --gold2:#D9A83E; --deep:#2B211A; --brown:#4A3021;
  --green:#486D4A; --green2:#6F8F62; --cream:#F7F4EE; --white:#fff;
  --text:#2D2B28; --muted:#716C64; --line:rgba(43,33,26,.11);
  --shadow:0 20px 60px rgba(43,33,26,.10);
  --radius:24px; --max:1240px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:"DM Sans",sans-serif;color:var(--text);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.topbar{background:var(--deep);color:#eee8de;font-size:12px}
.topbar .container{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.topbar span{opacity:.9}
.topbar strong{color:#f2c866}
header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(43,33,26,.08)}
.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{display:flex;align-items:center;gap:13px;min-width:245px}
.brand-logo{width:76px;height:58px;object-fit:contain;display:block;border:1px solid rgba(180,122,34,.35);border-radius:10px;background:#fff}
.brand-title{font-family:"Playfair Display",serif;font-size:18px;font-weight:700;letter-spacing:.03em;color:var(--deep);line-height:1.05}
.brand-sub{font-size:9px;letter-spacing:.19em;color:var(--gold);font-weight:700;margin-top:4px}
.navlinks{display:flex;align-items:center;gap:27px;font-size:13px;font-weight:600;color:#4d4842}
.navlinks a{position:relative;padding:8px 0}
.navlinks a:after{content:"";position:absolute;left:0;bottom:2px;width:0;height:2px;background:var(--gold);transition:.25s}
.navlinks a:hover:after{width:100%}
.cta{border:0;cursor:pointer;padding:13px 19px;border-radius:12px;font:700 12px "DM Sans";background:linear-gradient(135deg,#9d6818,#e1b34e,#ad731d);color:#241a12;box-shadow:0 8px 24px rgba(180,122,34,.2);transition:.25s}
.cta:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(180,122,34,.28)}
.menu{display:none;background:none;border:0;font-size:25px;color:var(--deep)}
.hero{position:relative;min-height:700px;display:flex;align-items:center;overflow:hidden;background:var(--deep)}
.hero-bg{position:absolute;inset:0;background:
linear-gradient(90deg,rgba(28,23,18,.92) 0%,rgba(43,33,26,.80) 42%,rgba(43,33,26,.25) 100%),
url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?auto=format&fit=crop&w=2200&q=85") center/cover}
.hero:after{content:"";position:absolute;width:520px;height:520px;border-radius:50%;right:-180px;bottom:-220px;background:radial-gradient(circle,rgba(217,168,62,.25),transparent 68%)}
.hero-content{position:relative;z-index:2;color:#fff;padding:105px 0 125px;max-width:800px}
.eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid rgba(217,168,62,.5);border-radius:99px;background:rgba(43,33,26,.45);color:#f0c96f;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(8px)}
.hero h1{font-family:"Playfair Display",serif;font-size:clamp(44px,6vw,76px);line-height:1.03;margin:25px 0 22px;letter-spacing:-.03em}
.hero h1 span{color:#e2b34d}
.hero p{max-width:700px;color:#e7e1d8;font-size:17px;line-height:1.8}
.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 21px;border-radius:12px;font-size:12px;font-weight:700;transition:.25s}
.btn-gold{background:linear-gradient(135deg,#a86f1d,#e4b950,#a76e1d);color:#2b211a;box-shadow:0 12px 28px rgba(0,0,0,.18)}
.btn-dark{background:rgba(255,255,255,.07);color:#fff;border:1px solid rgba(255,255,255,.28);backdrop-filter:blur(8px)}
.btn:hover{transform:translateY(-2px)}
.hero-proof{display:flex;gap:26px;flex-wrap:wrap;margin-top:38px;padding-top:23px;border-top:1px solid rgba(255,255,255,.15);font-size:12px;color:#ddd4c9}
.hero-proof b{color:#efc76a;margin-right:5px}
.stats{position:relative;margin-top:-55px;z-index:5}
.stats-card{background:#fff;border:1px solid rgba(180,122,34,.18);border-radius:22px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}
.stat{padding:27px 25px;text-align:center;border-right:1px solid var(--line)}
.stat:last-child{border-right:0}
.stat b{display:block;font-family:"Playfair Display",serif;font-size:34px;color:var(--gold)}
.stat span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#4e4942;margin-top:4px}
.stat small{display:block;color:#938c83;font-size:10px;margin-top:4px}
.section{padding:105px 0}
.section.cream{background:var(--cream)}
.section.dark{background:var(--deep);color:#fff}
.section-head{text-align:center;max-width:780px;margin:0 auto 55px}
.kicker{font-size:11px;text-transform:uppercase;letter-spacing:.18em;font-weight:700;color:var(--gold);margin-bottom:9px}
.section h2{font-family:"Playfair Display",serif;font-size:clamp(32px,4vw,48px);line-height:1.15;color:var(--deep)}
.dark h2{color:#fff}
.section-head p{margin-top:15px;color:var(--muted);font-size:15px}
.dark .section-head p{color:#cfc5ba}
.about{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}
.about-image{position:relative}
.about-image img{width:100%;height:520px;object-fit:cover;border-radius:28px}
.about-image .badge{position:absolute;right:-20px;bottom:25px;background:var(--deep);color:#fff;padding:19px 22px;border-radius:18px;border:1px solid rgba(217,168,62,.45);box-shadow:var(--shadow)}
.badge strong{display:block;color:#e1b34f;font-family:"Playfair Display",serif;font-size:24px}
.about h2{text-align:left;margin-bottom:20px}
.about p{color:var(--muted);margin-bottom:17px;font-size:15px}
.features{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:27px 0}
.feature{background:#fff;border:1px solid var(--line);border-radius:15px;padding:17px}
.feature b{display:block;font-size:13px;color:var(--deep);margin-bottom:3px}
.feature span{font-size:11px;color:#7d776f}
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.service{background:#fff;border:1px solid var(--line);border-radius:22px;padding:27px;min-height:300px;display:flex;flex-direction:column;transition:.3s;position:relative;overflow:hidden}
.service:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:rgba(180,122,34,.38)}
.service.featured{background:linear-gradient(145deg,#3d2a1e,#241b16);color:#fff;border-color:rgba(217,168,62,.65)}
.service-icon{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;background:#f3eadb;color:var(--gold);font-size:22px;margin-bottom:20px}
.featured .service-icon{background:#c99232;color:#241b15}
.service h3{font-family:"Playfair Display",serif;font-size:21px;line-height:1.25;margin-bottom:11px;color:var(--deep)}
.featured h3{color:#f1c96d}
.service p{font-size:13px;color:#777067;line-height:1.7}
.featured p{color:#d6cbc0}
.service ul{list-style:none;margin:18px 0 0;display:grid;gap:8px}
.service li{font-size:11px;color:#655f58}
.featured li{color:#ddd2c8}
.service li:before{content:"✓";color:var(--green);font-weight:800;margin-right:8px}
.featured li:before{color:#e2b34e}
.service .learn{margin-top:auto;padding-top:22px;font-size:11px;font-weight:800;color:var(--gold);text-transform:uppercase;letter-spacing:.08em}
.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.product{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.25s}
.product:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.product-img{height:220px;overflow:hidden;position:relative}
.product-img img{width:100%;height:100%;object-fit:cover;transition:.5s}
.product:hover .product-img img{transform:scale(1.05)}
.tag{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.94);padding:6px 9px;border-radius:99px;color:var(--green);font-size:9px;font-weight:800;text-transform:uppercase}
.product-body{padding:18px}
.product-cat{font-size:9px;color:var(--gold);font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.product h3{font-size:14px;line-height:1.35;color:var(--deep);margin:7px 0}
.product p{font-size:11px;color:#817a71}
.product-link{display:inline-block;margin-top:13px;color:var(--gold);font-size:10px;font-weight:800;text-transform:uppercase}
.cert-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:13px}
.cert{padding:22px 12px;text-align:center;border:1px solid rgba(217,168,62,.2);background:rgba(255,255,255,.045);border-radius:17px}
.cert-mark{width:55px;height:55px;border-radius:50%;background:#fff;color:var(--green);display:grid;place-items:center;margin:0 auto 12px;font-weight:800;font-size:12px}
.cert strong{font-size:12px;display:block}.cert span{font-size:9px;color:#c7bbb0}
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:45px}
.step{padding:25px;border-top:1px solid rgba(217,168,62,.3);position:relative}
.step:before{content:"";position:absolute;top:-5px;left:25px;width:9px;height:9px;border-radius:50%;background:#d9a83e}
.step b{font-family:"Playfair Display",serif;font-size:24px;color:#d9a83e}
.step h3{font-size:14px;margin:8px 0;color:#fff}
.step p{font-size:11px;color:#c7bbb0}
.contact{display:grid;grid-template-columns:1fr 1.2fr;background:var(--deep);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.contact-info{padding:55px;color:#fff}
.contact-info h2{color:#fff;text-align:left;margin:10px 0 18px}
.contact-info p{color:#cfc5ba;font-size:13px;line-height:1.8}
.contact-list{margin-top:27px;display:grid;gap:15px;font-size:12px}
.contact-list span{color:#cfc5ba}
.form{background:#fff;padding:50px}
.form h3{font-family:"Playfair Display",serif;font-size:28px;color:var(--deep);margin-bottom:6px}
.form > p{font-size:12px;color:var(--muted);margin-bottom:23px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.field{display:flex;flex-direction:column;gap:6px}
.field.full{grid-column:1/-1}
.field label{font-size:10px;font-weight:800;color:#554e47;text-transform:uppercase;letter-spacing:.06em}
.field input,.field select,.field textarea{font:13px "DM Sans";border:1px solid #ddd7cf;border-radius:10px;padding:12px 13px;outline:0;background:#fbfaf8}
.field textarea{min-height:105px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(180,122,34,.09)}
footer{background:#171310;color:#bfb4a8;padding:32px 0}
.footer-row{display:flex;justify-content:space-between;gap:20px;align-items:center;font-size:11px}
.footer-brand{font-family:"Playfair Display",serif;color:#fff;font-size:17px}
.mobile-nav{display:none}
@media(max-width:1050px){
 .navlinks{display:none}.menu{display:block}
 .services{grid-template-columns:1fr 1fr}.products{grid-template-columns:1fr 1fr}.cert-grid{grid-template-columns:repeat(3,1fr)}
 .about{gap:35px}
}
@media(max-width:760px){
 .container{width:min(100% - 28px,var(--max))}
 .topbar .container{justify-content:center;text-align:center}.topbar span:last-child{display:none}
 .nav{height:70px}.brand{min-width:0}.brand-title{font-size:15px}.brand-sub{font-size:7px}.brand-logo{width:58px;height:46px}
 .nav>.cta{display:none}
 .mobile-nav{position:absolute;left:0;right:0;top:70px;background:#fff;border-bottom:1px solid var(--line);padding:12px 20px;box-shadow:0 12px 30px rgba(0,0,0,.08)}
 .mobile-nav.open{display:grid}.mobile-nav a{padding:12px 0;font-size:13px;border-bottom:1px solid #eee}
 .hero{min-height:650px}.hero-content{padding:80px 0 100px}.hero h1{font-size:43px}.hero p{font-size:14px}
 .hero-proof{gap:13px}.stats{margin-top:-35px}.stats-card{grid-template-columns:1fr 1fr}.stat{border-bottom:1px solid var(--line)}.stat:nth-child(2){border-right:0}.stat:nth-child(3){border-bottom:0}.stat:nth-child(4){border-right:0;border-bottom:0}
 .section{padding:75px 0}.about{grid-template-columns:1fr}.about-image img{height:360px}.about-image .badge{right:10px}
 .features{grid-template-columns:1fr}.services{grid-template-columns:1fr}.products{grid-template-columns:1fr 1fr}.cert-grid{grid-template-columns:1fr 1fr}
 .process{grid-template-columns:1fr 1fr}.contact{grid-template-columns:1fr}.contact-info,.form{padding:30px 24px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}
 .footer-row{flex-direction:column;text-align:center}
}
@media(max-width:460px){.products{grid-template-columns:1fr}.hero-actions .btn{width:100%}.process{grid-template-columns:1fr}}

/* V2.6 - WordPress Insights */
.insights-more{text-align:center;margin-top:34px}.insights-more .btn{display:inline-flex}.insight-card .product-img{display:block}.insight-card .product-img img{display:block}.insight-card h3 a,.insight-card h2 a{color:inherit;text-decoration:none}.insight-date{font-size:10px;color:#9a938b;margin-top:7px}.insight-placeholder{width:100%;height:100%;min-height:220px;display:grid;place-items:center;background:linear-gradient(145deg,#3b2a1e,#756042);color:#f3d27d;font-family:"Playfair Display",serif;font-size:27px;line-height:1.05;text-align:center;letter-spacing:.05em}.insights-hero-page .section-head h1{font-family:"Playfair Display",serif;font-size:clamp(42px,5vw,64px);line-height:1.08;color:var(--deep)}.insights-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.insights-archive-grid .product-img{height:260px}.insights-archive-grid .product-body{padding:21px}.insights-archive-grid h2{font-family:"Playfair Display",serif;font-size:22px;line-height:1.25;margin:8px 0;color:var(--deep)}.insights-pagination{margin-top:45px;display:flex;justify-content:center}.insights-pagination ul{display:flex;gap:7px;list-style:none;margin:0;padding:0}.insights-pagination a,.insights-pagination span{display:grid;place-items:center;min-width:38px;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--deep);text-decoration:none;font-size:12px}.insights-pagination .current{background:var(--deep);color:#fff}.insights-empty{text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:60px 25px}.single-insight-header{padding:95px 0 50px;background:var(--cream);text-align:center}.container.narrow{width:min(100% - 40px,900px)}.single-insight-header h1{font-family:"Playfair Display",serif;font-size:clamp(38px,5vw,62px);line-height:1.1;color:var(--deep);margin:8px auto 16px}.single-meta{font-size:11px;color:#91887e}.single-featured{background:var(--cream);padding-bottom:55px}.single-featured img{display:block;width:100%;max-height:620px;object-fit:cover;border-radius:22px}.single-content-wrap{padding-top:65px;padding-bottom:90px}.single-content{font-size:16px;line-height:1.9;color:#514a43}.single-content h2,.single-content h3{font-family:"Playfair Display",serif;color:var(--deep);line-height:1.25;margin:34px 0 13px}.single-content p{margin:0 0 20px}.single-content img{max-width:100%;height:auto;border-radius:12px}.single-content blockquote{margin:30px 0;padding:20px 25px;border-left:3px solid var(--gold);background:#f7f2ea}.single-back{margin-top:45px;padding-top:25px;border-top:1px solid var(--line)}
@media(max-width:760px){.insights-archive-grid{grid-template-columns:1fr}.insights-archive-grid .product-img{height:230px}.single-insight-header{padding:70px 0 35px}.single-featured{padding-bottom:30px}.single-content-wrap{padding-top:40px}.container.narrow{width:min(100% - 28px,900px)}}


/* =========================
   VSTP PREMIUM FOOTER V3.6
   ========================= */
.vstp-footer{background:linear-gradient(145deg,#1b1512 0%,#241a15 55%,#17110f 100%);color:#bfb4aa;border-top:1px solid rgba(201,153,60,.28);padding:0;margin-top:0}
.vstp-footer-main{display:grid;grid-template-columns:1.65fr .9fr 1.15fr 1.15fr 1.35fr;gap:38px;padding:64px 0 48px}
.vstp-footer-brand{max-width:360px}.vstp-footer-logo{display:inline-flex;width:74px;height:54px;background:#fff;border-radius:10px;padding:6px;align-items:center;justify-content:center;margin-bottom:18px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.vstp-footer-logo img{max-width:100%;max-height:100%;object-fit:contain}.vstp-footer-company{font-family:"Playfair Display",serif;color:#fff;font-size:22px;font-weight:700;line-height:1.15}.vstp-footer-tagline{margin-top:7px;color:#d4a54d;text-transform:uppercase;letter-spacing:.14em;font-size:9px;font-weight:800}.vstp-footer-brand p{font-size:12px;line-height:1.8;color:#aaa098;margin:18px 0 20px}
.vstp-footer h4{font-size:11px;color:#e4c27b;text-transform:uppercase;letter-spacing:.14em;margin:4px 0 18px;font-weight:800}.vstp-footer-col,.vstp-footer-contact{min-width:0}.vstp-footer-col a{display:block;color:#aaa098;text-decoration:none;font-size:12px;line-height:1.45;margin:0 0 11px;transition:.2s}.vstp-footer-col a:hover,.vstp-footer-contact a:hover{color:#e2b85d;transform:translateX(2px)}.vstp-footer-cta{color:#e0b456!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.06em;margin-top:17px!important}
.vstp-footer-social{display:flex;gap:9px}.vstp-footer-social a{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(212,165,77,.38);border-radius:50%;color:#e1b75d;text-decoration:none;font-size:11px;font-weight:800;transition:.25s}.vstp-footer-social a:hover{background:#c7953d;color:#1d1511;border-color:#c7953d;transform:translateY(-2px)}
.vstp-contact-item{display:flex;gap:11px;margin-bottom:15px;font-size:11px;line-height:1.65;color:#aaa098}.vstp-contact-item>span{width:20px;flex:0 0 20px;color:#d2a34d;font-size:15px}.vstp-contact-item strong{color:#eee7df;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.vstp-contact-item a{color:#aaa098;text-decoration:none}.vstp-footer-cert{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px}.vstp-footer-cert span{border:1px solid rgba(212,165,77,.28);border-radius:999px;padding:5px 8px;font-size:8px;color:#d4b16d;text-transform:uppercase;letter-spacing:.04em}
.vstp-footer-trust{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08);padding:20px 0;gap:15px}.vstp-footer-trust div{padding-left:18px;border-left:1px solid rgba(255,255,255,.08)}.vstp-footer-trust div:first-child{border-left:0;padding-left:0}.vstp-footer-trust strong{display:block;color:#e2b85d;font-size:10px;letter-spacing:.1em}.vstp-footer-trust span{display:block;font-size:9px;color:#8f8780;margin-top:4px}
.vstp-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 0 26px;font-size:9px;color:#7e7770;line-height:1.7}.vstp-footer-bottom strong{color:#aaa098;font-size:9px}.vstp-footer-legal-links{display:flex;gap:20px}.vstp-footer-legal-links a{color:#888078;text-decoration:none}.vstp-footer-legal-links a:hover{color:#dcb45f}
@media(max-width:1050px){.vstp-footer-main{grid-template-columns:1.5fr 1fr 1fr;gap:30px}.vstp-footer-contact{grid-column:span 2}.vstp-footer-trust{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.vstp-footer-main{grid-template-columns:1fr 1fr;padding:45px 0 35px}.vstp-footer-brand{grid-column:1/-1;max-width:none}.vstp-footer-contact{grid-column:1/-1}.vstp-footer-trust{grid-template-columns:1fr 1fr}.vstp-footer-trust div:nth-child(3){border-left:0;padding-left:0}.vstp-footer-bottom{flex-direction:column;align-items:flex-start}.vstp-footer-legal-links{flex-wrap:wrap;gap:12px}}
@media(max-width:460px){.vstp-footer-main{grid-template-columns:1fr}.vstp-footer-brand,.vstp-footer-contact{grid-column:auto}.vstp-footer-trust{grid-template-columns:1fr}.vstp-footer-trust div,.vstp-footer-trust div:nth-child(3){border-left:0;padding-left:0;border-bottom:1px solid rgba(255,255,255,.06);padding-bottom:10px}.vstp-footer-trust div:last-child{border-bottom:0}.vstp-footer-bottom{text-align:left}}

/* V3.7 Quality & Compliance cards */
.cert { position:relative; }
.cert small { display:block; margin-top:10px; color:rgba(255,255,255,.68); line-height:1.55; font-size:11px; }
.cert a { display:inline-block; margin-top:12px; color:#F5D77F; font-size:11px; font-weight:700; text-decoration:none; }
.cert a:hover { text-decoration:underline; }
.cert-logo { width:58px; height:58px; margin:0 auto 14px; border-radius:14px; background:#fff; display:flex; align-items:center; justify-content:center; overflow:hidden; padding:6px; box-sizing:border-box; }
.cert-logo img { max-width:100%; max-height:100%; object-fit:contain; }
