/*
Theme Name: PouchBridge
Theme URI: https://pouchbridge.com
Author: PouchBridge
Description: Lightweight B2B theme for coffee & pet food packaging sourcing business.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: pouchbridge
*/

:root {
  --green: #1F3A2E;
  --green-dark: #16281F;
  --accent: #C2703D;
  --accent-dark: #A85C2E;
  --bg: #FFFFFF;
  --surface: #F6F4F1;
  --border: #E5E1DC;
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --radius: 10px;
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; }
.logo-mark { width: 30px; height: 30px; border-radius: 7px; background: var(--green); display: inline-flex; align-items: center; justify-content: center; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.nav li a:hover { color: var(--green); }
.header .btn { padding: 9px 18px; font-size: 14px; white-space: nowrap; }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: #fff; padding: 12px 24px; border-radius: var(--radius); font-weight: 500; font-size: 15px; border: 1px solid var(--accent); cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--green); border: 1px solid var(--border); }
.btn-outline:hover { background: var(--surface); }

/* hero */
.hero { background: var(--surface); padding: 72px 0 64px; }
.hero h1 { font-size: 40px; line-height: 1.2; font-weight: 600; max-width: 720px; margin: 0; }
.hero p.lead { font-size: 17px; color: var(--muted); margin: 18px 0 0; max-width: 640px; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.trustbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.trustbar div strong { display: block; font-size: 20px; font-weight: 600; }
.trustbar div span { font-size: 13px; color: var(--muted); }

/* sections */
.section { padding: 64px 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head h2 { font-size: 28px; font-weight: 600; margin: 0; }
.section-head p { color: var(--muted); margin: 10px 0 0; }

/* cards */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 18px; font-weight: 600; margin: 0; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }
.card .thumb { background: var(--surface); border-radius: 8px; height: 170px; display: flex; align-items: center; justify-content: center; }
.spec-list { list-style: none; margin: 0; font-size: 14px; color: var(--muted); }
.spec-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border); }
.spec-list li:last-child { border-bottom: none; }
.spec-list b { color: var(--text); font-weight: 500; }

/* table */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
th { background: var(--surface); font-weight: 600; font-size: 13.5px; }
td { color: var(--muted); }
td strong { color: var(--text); font-weight: 500; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.step { padding: 22px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step .num { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; margin-bottom: 12px; }
.step h4 { font-size: 15.5px; font-weight: 600; margin: 0 0 6px; }
.step p { font-size: 14px; color: var(--muted); margin: 0; }

/* product page */
.product-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.product-hero .thumb-lg { background: var(--surface); border-radius: var(--radius); min-height: 320px; display: flex; align-items: center; justify-content: center; padding: 30px; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.price-band { background: var(--surface); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 18px 0; font-size: 14.5px; }
ul.checks { list-style: none; margin: 14px 0; padding: 0; }
ul.checks li { padding: 6px 0 6px 24px; position: relative; font-size: 14.5px; color: var(--muted); }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* faq */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 16px; font-weight: 600; margin: 0 0 8px; }
.faq-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* forms (Contact Form 7 friendly) */
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content select, .entry-content textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: inherit; background: #fff;
}
.entry-content input[type="submit"], .entry-content button { background: var(--accent); color: #fff; border: none; padding: 12px 26px; border-radius: var(--radius); font-size: 15px; cursor: pointer; }
.entry-content p { margin: 0 0 14px; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 36px; }
.contact-card { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.contact-card span { font-size: 13px; color: var(--muted); display: block; }
.contact-card strong { font-size: 16px; font-weight: 500; display: block; margin-top: 4px; word-break: break-all; }

/* cta */
.cta-band { background: var(--green); color: #fff; padding: 52px 0; text-align: center; }
.cta-band h2 { font-size: 26px; font-weight: 600; margin: 0; }
.cta-band p { opacity: .85; margin: 10px 0 24px; }
.cta-band .btn { background: #fff; color: var(--green); border-color: #fff; }

/* footer */
.footer { background: var(--green-dark); color: #D8D3CC; padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.footer h4 { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 13px; opacity: .75; }

/* entry content base */
.entry-content h2 { font-size: 28px; font-weight: 600; }
.entry-content h3 { font-size: 19px; font-weight: 600; }

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; }
  .hero h1 { font-size: 31px; }
  .header-inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; }
}
