/* TopBambu B2B storefront overrides — matches the static prototype palette */
:root{
  --bg:#FAF8F4; --surface:#FFFFFF; --ink:#22271F; --muted:#6B6F66;
  --line:#E4E0D6; --green:#0F6E56; --green-dark:#085041; --green-soft:#E1F5EE;
  --amber:#854F0B; --amber-soft:#FAEEDA; --wa:#1FA855; --radius:12px;
}

body{background:var(--bg);color:var(--ink)}

/* Prices */
.tb-price-req{display:inline-block;font-size:13.5px;font-weight:600;color:var(--amber);background:var(--amber-soft);border:1px solid #EFD9B4;padding:2px 10px;border-radius:99px}

/* Buttons */
.tb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border-radius:8px;font-weight:600;font-size:14.5px;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:opacity .15s}
.tb-btn:hover{opacity:.9;color:inherit}
.tb-btn-primary{background:var(--green);color:#fff!important}
.tb-btn-wa{background:var(--wa);color:#fff!important}
.tb-actions{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 8px}
.tb-note{font-size:12.5px;color:var(--muted);line-height:1.55}

/* Loop cards */
.woocommerce ul.products li.product{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;padding:0!important;display:flex;flex-direction:column}
.woocommerce ul.products li.product img{border-radius:0;margin:0!important;width:100%;aspect-ratio:4/3;object-fit:cover}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;padding:14px 16px 4px!important;line-height:1.4;color:var(--ink)}
.woocommerce ul.products li.product .price{padding:0 16px!important;margin-bottom:4px!important}
.woocommerce ul.products li.product .button{margin:10px 16px 16px!important;background:var(--green)!important;color:#fff!important;border-radius:8px!important;font-weight:600!important;text-align:center;padding:10px 16px!important}

/* Single product */
.woocommerce div.product .product_title{font-size:30px;line-height:1.25;color:var(--ink);font-weight:700}
.woocommerce div.product p.price{margin:10px 0 16px}
.woocommerce div.product .woocommerce-product-details__short-description{color:var(--muted);font-size:15px}

/* Spec tables inside the description */
.tb-specs{width:100%;border-collapse:collapse;margin:8px 0 22px;font-size:14px;background:var(--surface);border:1px solid var(--line);border-radius:10px;overflow:hidden}
.tb-specs th,.tb-specs td{padding:9px 14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.tb-specs tr:last-child th,.tb-specs tr:last-child td{border-bottom:0}
.tb-specs th{width:42%;color:var(--muted);font-weight:500;background:#FCFBF8}
.tb-specs td{color:var(--ink);font-weight:500}
.tb-tbc{font-style:normal;font-size:11px;font-weight:600;color:var(--amber);background:var(--amber-soft);border:1px solid #EFD9B4;padding:1px 8px;border-radius:99px;white-space:nowrap}
.tb-story{margin-top:6px;padding:14px 18px;background:var(--green-soft);border-left:3px solid var(--green);border-radius:0 8px 8px 0;color:var(--green-dark);font-size:14px}

/* Quote form */
.tb-form{max-width:640px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.tb-field{margin-bottom:16px}
.tb-field label{display:block;font-size:13px;font-weight:600;color:var(--muted);margin-bottom:6px}
.tb-field input,.tb-field select,.tb-field textarea{width:100%;padding:11px 13px;border:1px solid var(--line);border-radius:8px;font-size:14.5px;background:#fff;color:var(--ink);font-family:inherit}
.tb-field input:focus,.tb-field select:focus,.tb-field textarea:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px var(--green-soft)}
.tb-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:640px){.tb-row{grid-template-columns:1fr}}
.tb-form .tb-btn-primary{width:100%;margin-top:6px;padding:13px}
.tb-flash{padding:14px 18px;border-radius:10px;margin-bottom:22px;font-size:14px}
.tb-flash-ok{background:var(--green-soft);border:1px solid #B6E3D3;color:var(--green-dark)}
.tb-flash-err{background:var(--amber-soft);border:1px solid #EFD9B4;color:var(--amber)}

/* Trust strip on the shop page */
.tb-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 22px;margin:0 0 28px;font-size:13px}
.tb-trust b{display:block;font-size:14px;color:var(--green-dark)}
.tb-trust span{color:var(--muted)}
@media(max-width:780px){.tb-trust{grid-template-columns:1fr 1fr}}

/* WordPress admin bar offset peace */
.woocommerce .woocommerce-breadcrumb{font-size:12.5px;color:var(--muted)}

/* ---------- Insights archive + article typography ---------- */
.tb-insights-head{max-width:760px;margin:0 auto;padding:26px 0 6px}
.tb-insights-head h1{font-size:34px;margin:0 0 10px}
.tb-insights-head p{font-size:15.5px;color:#6B6F66;line-height:1.65;margin:0}

.tb-article{max-width:760px;margin:0 auto;font-size:16.5px;line-height:1.75;color:#2B302A}
.tb-article .lede{font-size:18.5px;line-height:1.65;color:#3D423A;margin:0 0 26px;padding-bottom:22px;border-bottom:1px solid #E4E0D6}
.tb-article h2{font-size:24px;line-height:1.3;margin:38px 0 12px;color:#22271F}
.tb-article h3{font-size:18px;margin:28px 0 8px;color:#22271F}
.tb-article p{margin:0 0 18px}
.tb-article ul,.tb-article ol{margin:0 0 18px;padding-left:22px}
.tb-article li{margin-bottom:8px}
.tb-article a{color:#0F6E56;text-decoration:underline;text-underline-offset:2px}
.tb-article table{width:100%;border-collapse:collapse;margin:20px 0;font-size:14.5px;background:#fff;border:1px solid #E4E0D6;border-radius:10px;overflow:hidden}
.tb-article th,.tb-article td{padding:11px 14px;border-bottom:1px solid #E4E0D6;text-align:left;vertical-align:top}
.tb-article th{background:#FDFCFA;font-weight:600;width:38%}
.tb-article tr:last-child th,.tb-article tr:last-child td{border-bottom:none}
.tb-article .tb-callout{background:#E1F5EE;border-left:3px solid #0F6E56;border-radius:0 10px 10px 0;padding:16px 20px;margin:24px 0;font-size:15px;color:#1F3A32}
.tb-article .tb-callout b{color:#085041}
.tb-article details{border:1px solid #E4E0D6;border-radius:10px;background:#fff;margin-bottom:10px;overflow:hidden}
.tb-article summary{padding:14px 18px;font-weight:600;font-size:15px;cursor:pointer}
.tb-article details p{padding:0 18px 14px;margin:0;font-size:15px;color:#5A6056}
.tb-article .tb-endnote{font-size:13px;color:#6B6F66;border-top:1px solid #E4E0D6;padding-top:16px;margin-top:30px}
.tb-article img{max-width:100%;height:auto;border-radius:10px}
