/*
Theme Name: CD Biosynsis
Theme URI: https://biosynsis.com
Description: A clean, modern WordPress theme for CD Biosynsis bio-based chemicals. Matched to static HTML templates.
Version: 1.0.0
Author: CD Biosynsis
License: proprietary
Text Domain: cd-biosynsis
*/

/* ===== BASE RESET ===== */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:'Inter',sans-serif;color:#111827;background:#fff;line-height:1.6;overflow-x:hidden;max-width:100vw}
a{text-decoration:none;color:inherit}
img{max-width:100%}
ul,ol{list-style:none}
button,input,textarea,select{font:inherit}

/* ===== SHARED LAYOUT ===== */
.site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.nav-container{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:72px}
.logo{display:flex;align-items:center;gap:10px;flex-shrink:0}
.logo-icon{width:40px;height:40px;background:#22c55e;color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px}
.logo-text{display:flex;flex-direction:column}
.logo-name{font-weight:700;color:#111827;font-size:16px;line-height:1.2}
.logo-sub{font-size:10px;color:#22c55e;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.main-nav{display:flex;align-items:center;gap:24px}
.nav-link{color:#374151;font-weight:500;font-size:14px;transition:color .2s;padding:8px 0}
.nav-link:hover,.nav-link.active{color:#22c55e}
.nav-btn{display:inline-flex;padding:8px 20px;background:#22c55e;color:#fff;border-radius:8px;font-weight:600;font-size:14px;transition:background .2s;border:none;cursor:pointer}
.nav-btn:hover{background:#16a34a}

/* ===== CDB- PREFIXED HEADER ===== */
.cdb-site-header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.cdb-header-inner{max-width:1280px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:72px}
.cdb-logo{display:flex;align-items:center;gap:10px;flex-shrink:0;text-decoration:none;flex-direction:column;align-items:flex-start}
.cdb-logo-icon{width:40px;height:40px;background:#22c55e;color:#fff;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px}
.cdb-logo-tagline{font-size:11px;color:#6b7280;font-weight:400;letter-spacing:.3px;line-height:1;margin-top:-2px;padding-left:50px}
.cdb-logo-text{display:flex;flex-direction:column}
.cdb-logo-name{font-weight:700;color:#111827;font-size:16px;line-height:1.2}
.cdb-logo-sub{font-size:10px;color:#22c55e;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.cdb-main-nav{display:flex;align-items:center;gap:24px}
.cdb-main-nav a{color:#374151;font-weight:500;font-size:14px;transition:color .2s;padding:8px 0;text-decoration:none}
.cdb-main-nav a:hover,.cdb-main-nav a.active{color:#22c55e}
.cdb-nav-contact-btn{display:inline-flex;padding:8px 20px;background:#22c55e;color:#fff;border-radius:8px;font-weight:600;font-size:14px;transition:background .2s;text-decoration:none}
.cdb-nav-contact-btn:hover{background:#16a34a;color:#fff}
.cdb-fallback-menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.cdb-fallback-menu a{text-decoration:none;color:#374151;font-weight:500;font-size:14px;transition:color .2s;padding:8px 0}
.cdb-fallback-menu a:hover{color:#22c55e}
.cdb-nav-dropdown{position:relative}
.cdb-nav-dropdown-trigger{display:inline-flex;align-items:center;gap:4px}
.cdb-dropdown-menu{display:none;position:absolute;top:100%;left:0;min-width:200px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 10px 25px rgba(0,0,0,.1);padding:8px;z-index:100;flex-direction:column}
.cdb-nav-dropdown:hover .cdb-dropdown-menu{display:flex}
.cdb-dropdown-menu a{padding:10px 14px;border-radius:8px;font-size:14px;color:#374151;white-space:nowrap}
.cdb-dropdown-menu a:hover{background:#f0fdf4;color:#22c55e}
.cdb-header-search{display:flex;align-items:center}
.cdb-header-search form{display:flex;gap:4px}
.cdb-header-search-input{padding:8px 14px;border:1px solid #e5e7eb;border-radius:8px;font-size:13px;outline:none;transition:border .2s;width:200px}
.cdb-header-search-input:focus{border-color:#22c55e}
.cdb-header-search-btn{padding:8px 16px;background:#22c55e;color:#fff;border:none;border-radius:8px;font-weight:600;font-size:13px;cursor:pointer;transition:background .2s}
.cdb-header-search-btn:hover{background:#16a34a}
.cdb-mobile-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;color:#374151}
.cdb-mobile-menu{display:none;flex-direction:column;padding:16px 24px;gap:4px;border-top:1px solid #e5e7eb;background:#fff}
.cdb-mobile-menu.open{display:flex}
.cdb-mobile-menu a{display:block;padding:12px 16px;color:#374151;font-weight:500;font-size:15px;border-radius:8px;transition:background .2s;text-decoration:none}
.cdb-mobile-menu a:hover{background:#f9fafb;color:#22c55e}
.cdb-mobile-search{margin-bottom:8px}
.cdb-mobile-search input{width:100%;padding:10px 14px;border:1px solid #e5e7eb;border-radius:8px;font-size:14px;outline:none}

/* ===== FOOTER (original) ===== */
.site-footer{background:#111827;color:#fff;padding:48px 24px 24px}
.footer-container{max-width:1280px;margin:0 auto}
.footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid #374151}
.footer-logo-name{font-weight:700;font-size:18px;margin-bottom:4px}
.footer-logo-sub{font-size:11px;color:#22c55e;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px}
.footer-desc{color:#9ca3af;font-size:14px;line-height:1.6}
.footer-heading{font-weight:600;font-size:15px;margin-bottom:16px}
.footer-link{display:block;color:#d1d5db;font-size:14px;margin-bottom:8px;transition:color .2s}
.footer-link:hover{color:#22c55e}
.footer-contact{color:#d1d5db;font-size:14px;margin-bottom:6px}
.footer-bottom{padding-top:20px;text-align:center;color:#6b7280;font-size:13px}

/* ===== CDB- PREFIXED FOOTER ===== */
.cdb-footer{background:#111827;color:#fff;padding:48px 24px 24px}
.cdb-footer .cdb-container{max-width:1280px;margin:0 auto}
.cdb-footer-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid #374151}
.cdb-footer h4{font-weight:600;font-size:15px;margin-bottom:16px;color:#fff}
.cdb-footer-logo-name{font-weight:700;font-size:18px;margin-bottom:4px}
.cdb-footer-logo-sub{font-size:11px;color:#22c55e;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px}
.cdb-footer-desc{color:#9ca3af;font-size:14px;line-height:1.6}
.cdb-footer-link{display:block;color:#d1d5db;font-size:14px;margin-bottom:8px;transition:color .2s;text-decoration:none}
.cdb-footer-link:hover{color:#22c55e}
.cdb-footer-contact{color:#d1d5db;font-size:14px;margin-bottom:6px}
.cdb-footer-bottom{padding-top:20px;text-align:center;color:#6b7280;font-size:13px}

/* ===== SHARED UTILITIES ===== */
.container{max-width:1280px;margin:0 auto;padding:0 24px}
.section-label{color:#22c55e;font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.1em}
.section-title{font-size:36px;font-weight:700;color:#111827;margin-top:8px;line-height:1.2}
.section-desc{color:#6b7280;margin-top:12px;font-size:16px;max-width:640px}
.btn-primary{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;background:#22c55e;color:#fff;border-radius:10px;font-weight:600;font-size:15px;border:none;cursor:pointer;transition:background .2s}
.btn-primary:hover{background:#16a34a}
.btn-outline{display:inline-flex;align-items:center;gap:8px;padding:12px 28px;border:2px solid #22c55e;color:#16a34a;border-radius:10px;font-weight:600;font-size:15px;background:transparent;cursor:pointer;transition:all .2s}
.btn-outline:hover{background:#f0fdf4}
.card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;transition:all .3s}
.card:hover{border-color:#4ade80;box-shadow:0 10px 25px -5px rgba(0,0,0,.08)}
.badge{display:inline-flex;align-items:center;gap:6px;padding:6px 16px;border-radius:9999px;font-size:13px;font-weight:600}
.badge-green{background:#dcfce7;color:#16a34a}
.badge-gray{background:#f3f4f6;color:#374151}
.badge-emerald{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.hero-gradient{background:linear-gradient(135deg,#f0fdf4 0%,#fff 50%,#ecfdf5 100%)}
.stat-num{font-size:30px;font-weight:700;color:#22c55e}
.stat-label{font-size:14px;color:#6b7280;margin-top:2px}
.line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ===== INDEX PAGE ===== */
.hero{padding:80px 0 64px}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero h1{font-size:52px;font-weight:800;line-height:1.1;color:#111827}
.hero h1 span{color:#22c55e}
.hero p{font-size:18px;color:#6b7280;margin-top:20px;max-width:540px;line-height:1.7}
.hero-buttons{display:flex;gap:16px;margin-top:32px;flex-wrap:wrap}
.hero-stats{display:flex;gap:40px;margin-top:32px;flex-wrap:wrap}
.category-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:24px}
.cat-card{border:1px solid #e5e7eb;border-radius:16px;padding:28px;transition:all .3s;cursor:pointer;display:block}
.cat-card:hover{border-color:#4ade80;box-shadow:0 10px 25px rgba(0,0,0,.08)}
.cat-icon{width:52px;height:52px;border-radius:12px;background:#f0fdf4;color:#22c55e;display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:700;margin-bottom:16px;transition:all .3s}
.cat-card:hover .cat-icon{background:#22c55e;color:#fff}
.cat-card h3{font-weight:700;font-size:16px;color:#111827;margin-bottom:4px}
.cat-card:hover h3{color:#22c55e}
.cat-card p{font-size:13px;color:#9ca3af}
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;overflow:hidden}
.product-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;transition:all .3s;display:block;overflow:hidden;min-width:0}
.product-card:hover{border-color:#4ade80;box-shadow:0 10px 25px rgba(0,0,0,.08)}
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.app-card{border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;transition:all .3s;display:block}
.app-card:hover{border-color:#4ade80;box-shadow:0 10px 25px rgba(0,0,0,.08)}
.app-img{height:200px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.app-img img{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0}
.app-card > div{padding:20px}
.app-card > div h3{font-weight:700;font-size:18px;color:#111827;margin-bottom:8px}
.app-card > div p{font-size:14px;color:#6b7280}
.why-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.advantage-card{display:flex;gap:16px;padding:16px;background:#fff;border:1px solid #f3f4f6;border-radius:12px;transition:all .3s}
.advantage-card:hover{border-color:#bbf7d0;box-shadow:0 4px 12px rgba(0,0,0,.06)}
.adv-icon{width:48px;height:48px;border-radius:12px;background:#dcfce7;color:#22c55e;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:18px}
.stats-bar{background:#22c55e;padding:56px 0;color:#fff}
.stats-bar .inner{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:32px;text-align:center;padding:0 24px}
.stats-bar .stat-num{color:#fff;font-size:36px}
.stats-bar .stat-label{color:#bbf7d0}
.cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start}
.form-card{background:#fff;border-radius:24px;box-shadow:0 10px 40px rgba(0,0,0,.08);padding:32px;border:1px solid #e5e7eb}
.form-card label{display:block;font-size:14px;font-weight:600;color:#374151;margin-bottom:6px}
.form-card input,.form-card textarea{width:100%;padding:12px 16px;border:1px solid #e5e7eb;border-radius:12px;font-size:14px;font-family:inherit;outline:none;transition:border .2s}
.form-card input:focus,.form-card textarea:focus{border-color:#22c55e;box-shadow:0 0 0 3px #f0fdf4}
.form-card textarea{resize:none}
.contact-info-card{display:flex;align-items:start;gap:12px;padding:16px;background:#fff;border:1px solid #f3f4f6;border-radius:12px}
.contact-icon{width:40px;height:40px;border-radius:12px;background:#dcfce7;color:#22c55e;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px}

/* ===== BREADCRUMB ===== */
.cdb-breadcrumb{font-size:13px;color:#6b7280;margin-bottom:20px;padding:0 24px}
.cdb-breadcrumb ol{display:flex;align-items:center;flex-wrap:wrap;list-style:none;padding:0;margin:0;gap:0}
.cdb-breadcrumb li{display:inline-flex;align-items:center;gap:6px}
.cdb-breadcrumb a{color:#16a34a;text-decoration:none;font-weight:500;transition:color .2s}
.cdb-breadcrumb a:hover{color:#15803d;text-decoration:underline}
.cdb-breadcrumb-sep{color:#d1d5db;margin:0 2px}
.cdb-breadcrumb [aria-current=page]{color:#374151;font-weight:600}

/* ===== PRODUCT DETAIL PAGE ===== */
.back-link{display:none}
.back-link:hover{color:#16a34a}
.detail-grid{display:grid;grid-template-columns:1fr 360px;gap:32px;align-items:start;padding:0 24px}
.main-col{min-width:0}
.sidebar{position:sticky;top:96px}
.detail-card{background:#fff;border-radius:24px;border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:32px 36px}
.badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.detail-card h1{font-size:38px;font-weight:800;line-height:1.15;color:#111827}
.detail-card .desc{font-size:17px;color:#6b7280;margin-top:16px;line-height:1.7}
.series-line{font-size:14px;color:#22c55e;font-weight:600;margin-top:12px}
.specs-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px;padding-top:32px;border-top:1px solid #e5e7eb}
.spec-box{border:1px solid #e5e7eb;border-radius:16px;background:#f9fafb;padding:20px}
.spec-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.18em;color:#9ca3af}
.spec-val{font-size:18px;font-weight:700;margin-top:8px;color:#111827}
.spec-val.green{color:#22c55e}
.formula-box{background:#f0fdf4;border:1px solid #dcfce7;border-radius:20px;padding:24px;margin-top:24px}
.formula-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.2em;color:#16a34a}
.formula-val{font-size:28px;font-weight:700;color:#16a34a;font-family:monospace;margin-top:8px;word-break:break-all}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:32px;margin-top:32px}
.features h2,.apps h2{font-size:22px;font-weight:700;color:#111827;margin-bottom:16px}
.feat-item{display:flex;align-items:start;gap:12px;color:#374151;line-height:1.6;margin-bottom:12px}
.feat-check{width:24px;height:24px;border-radius:50%;background:#dcfce7;display:flex;align-items:center;justify-content:center;color:#16a34a;flex-shrink:0;font-size:12px;font-weight:700;margin-top:2px}
.app-box{border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;padding:14px 16px;color:#374151;font-size:14px;line-height:1.5;margin-bottom:10px}
.industries{margin-top:24px;padding-top:24px;border-top:1px solid #e5e7eb}
.industries h2{font-size:22px;font-weight:700;color:#111827;margin-bottom:12px}
.ind-tag{display:inline-block;background:linear-gradient(135deg,#dcfce7,#ecfdf5);color:#111827;padding:8px 18px;border-radius:9999px;font-size:14px;font-weight:500;margin:4px}
.doc-card{background:#fff;border-radius:24px;border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:32px 36px;margin-top:24px}
.doc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}
.doc-item{border:1px solid #e5e7eb;border-radius:20px;background:#f9fafb;padding:20px;opacity:.6}
.doc-item h4{font-size:14px;font-weight:600;color:#374151;margin-top:12px}
.doc-item p{font-size:12px;color:#9ca3af;margin-top:4px}
.doc-icon{width:40px;height:40px;border-radius:16px;background:#e5e7eb;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:14px}
.faq-card{background:#fff;border-radius:24px;border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:32px 36px;margin-top:24px}
.faq-item{border:1px solid #e5e7eb;border-radius:20px;padding:24px;margin-bottom:12px;transition:border .2s}
.faq-item:hover{border-color:#bbf7d0}
.faq-item h3{font-size:17px;font-weight:700;color:#111827}
.faq-item p{color:#6b7280;margin-top:10px;line-height:1.7}
.related-card{background:#fff;border-radius:24px;border:1px solid #e5e7eb;box-shadow:0 1px 3px rgba(0,0,0,.05);padding:32px 36px;margin-top:24px}
.rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px;overflow:hidden}
.rel-item{border:1px solid #e5e7eb;border-radius:20px;background:#f9fafb;padding:20px;transition:all .3s;display:block;overflow:hidden;min-width:0}
.rel-item:hover{border-color:#bbf7d0;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.06)}
.rel-item .r-series{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.2em;color:#22c55e}
.rel-item .r-name{font-size:18px;font-weight:700;color:#111827;margin-top:6px}
.rel-item .r-id{display:inline-block;border:1px solid #dcfce7;background:#f0fdf4;padding:3px 10px;border-radius:9999px;font-size:11px;font-weight:600;color:#16a34a;margin-left:8px}
.rel-item .r-reason{font-size:13px;color:#6b7280;margin-top:10px;line-height:1.5}
.rel-meta{margin-top:12px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:14px;display:flex;flex-direction:column;gap:6px}
.rel-meta-row{display:flex;justify-content:space-between;font-size:13px}
.sidebar-form{background:linear-gradient(135deg,#16a34a,#10b981);border-radius:24px;padding:32px;color:#fff;box-shadow:0 12px 32px rgba(22,163,74,.25)}
.sidebar-form h3{font-size:22px;font-weight:700}
.sidebar-form>p{color:rgba(255,255,255,.85);margin-top:8px;line-height:1.6;font-size:14px}
.sf-input{width:100%;padding:12px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.15);background:#fff;color:#1f2937;font-size:14px;font-family:inherit;outline:none;margin-bottom:10px;transition:border .2s}
.sf-input:focus{border-color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.4)}
.sf-input::placeholder{color:#9ca3af}
.sf-textarea{width:100%;padding:12px 16px;border-radius:12px;border:1px solid rgba(255,255,255,.15);background:#fff;color:#1f2937;font-size:14px;font-family:inherit;outline:none;resize:none;margin-bottom:10px;transition:border .2s}
.sf-textarea:focus{border-color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.4)}
.sf-textarea::placeholder{color:#9ca3af}
.sf-checks{background:#fff;border-radius:14px;padding:16px 14px 12px;margin-bottom:10px;border:none}
.sf-checks-label{font-size:13px;font-weight:600;padding:0 8px;color:#374151;margin-bottom:8px}
.sf-check-label{display:flex;align-items:center;gap:10px;padding:6px 8px;font-size:13px;color:#374151;cursor:pointer;border-radius:10px;transition:background .2s}
.sf-check-label:hover{background:#f0fdf4}
.sf-submit{width:100%;padding:14px;background:#fff;color:#16a34a;font-weight:700;font-size:15px;border:none;border-radius:12px;cursor:pointer;margin-top:4px;transition:background .2s}
.sf-submit:hover{background:#f0fdf4}
.sf-contact{margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.2);font-size:14px;color:rgba(255,255,255,.9);display:flex;flex-direction:column;gap:10px}
.sf-contact a{color:#fff;text-decoration:none}
.sf-contact a:hover{text-decoration:underline}

/* ===== APPLICATION PAGES ===== */
.app-hero{background:linear-gradient(135deg,#f0fdf4,#fff,#ecfdf5);padding:64px 24px}
.app-hero-inner{max-width:1280px;margin:0 auto}
.app-hero h1{font-size:42px;font-weight:800;color:#111827;line-height:1.15;max-width:720px}
.app-hero p{font-size:17px;color:#6b7280;margin-top:16px;line-height:1.7;max-width:640px}
.app-detail-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;border-radius:9999px;background:#dcfce7;color:#16a34a;font-size:14px;font-weight:600;margin-bottom:16px}
.detail-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px;max-width:480px}
.detail-stat{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.detail-stat .ds-val{font-size:28px;font-weight:700;color:#22c55e}
.detail-stat .ds-label{font-size:13px;color:#6b7280;margin-top:2px}
.app-content{padding:48px 24px 80px;max-width:1280px;margin:0 auto;display:grid;grid-template-columns:.85fr 1.15fr;gap:40px;align-items:start}
.sidebar-panel{background:#f9fafb;border:1px solid #e5e7eb;border-radius:20px;padding:32px}
.sidebar-panel h2{font-size:20px;font-weight:700;color:#111827;margin-bottom:12px}
.sidebar-panel>p{color:#6b7280;line-height:1.6;font-size:14px}
.sidebar-check{display:flex;align-items:start;gap:10px;color:#374151;font-size:14px;margin-top:12px;line-height:1.5}
.sidebar-check .check-icon{color:#22c55e;font-weight:700;flex-shrink:0;margin-top:2px}
.related-cats{margin-top:28px;padding-top:24px;border-top:1px solid #e5e7eb}
.related-cats h3{font-size:16px;font-weight:700;color:#111827;margin-bottom:12px}
.cat-link{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border:1px solid #e5e7eb;border-radius:14px;margin-bottom:8px;background:#fff;color:#111827;font-weight:500;font-size:14px;transition:all .2s}
.cat-link:hover{border-color:#4ade80;color:#22c55e}
.prod-right h2{font-size:26px;font-weight:700;color:#111827;margin-bottom:6px}
.prod-right .sub{color:#6b7280;font-size:14px;margin-bottom:24px}
.app-prod-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ap-card{border:1px solid #e5e7eb;border-radius:16px;background:#fff;padding:24px;transition:all .3s;display:block}
.ap-card:hover{border-color:#4ade80;box-shadow:0 8px 20px rgba(0,0,0,.06)}
.ap-card .ap-name{font-size:18px;font-weight:700;color:#111827}
.ap-card .ap-cas{font-size:12px;color:#9ca3af;margin-top:2px}
.ap-card .ap-desc{font-size:13px;color:#6b7280;margin-top:10px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ap-card .ap-tags{margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}
.ap-card .ap-tag{padding:4px 10px;border-radius:9999px;background:#f3f4f6;color:#6b7280;font-size:11px;font-weight:500}

/* ===== RESOURCE PAGES ===== */
.res-hero{background:linear-gradient(135deg,#f0fdf4,#fff,#ecfdf5);padding:64px 24px;position:relative;overflow:hidden}
.res-hero::before{content:'';position:absolute;inset:0;opacity:.5;background:radial-gradient(circle at top right,rgba(34,197,94,.18),transparent 36%),radial-gradient(circle at bottom left,rgba(16,185,129,.14),transparent 30%)}
.res-hero-inner{max-width:1280px;margin:0 auto;position:relative}
.res-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;border-radius:9999px;background:rgba(255,255,255,.8);backdrop-filter:blur(8px);color:#16a34a;font-size:14px;font-weight:600;border:1px solid #dcfce7;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.res-hero h1{font-size:42px;font-weight:800;color:#111827;margin-top:16px;line-height:1.15}
.res-hero p{font-size:17px;color:#6b7280;margin-top:16px;line-height:1.7;max-width:640px}
.res-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px;max-width:640px}
.res-stat{border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.85);backdrop-filter:blur(8px);border-radius:14px;padding:18px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.res-stat .rv{font-size:24px;font-weight:700;color:#22c55e}
.res-stat .rl{font-size:13px;color:#6b7280;margin-top:2px}
.featured-section{padding:48px 24px;max-width:1280px;margin:0 auto}
.featured-header{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:12px;margin-bottom:24px}
.featured-header p.eyebrow{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.24em;color:#22c55e}
.featured-header h2{font-size:28px;font-weight:700;color:#111827;margin-top:6px}
.featured-link{color:#22c55e;font-weight:600;font-size:14px}
.featured-card{display:grid;grid-template-columns:1.1fr .9fr;gap:0;border-radius:24px;border:1px solid #e5e7eb;overflow:hidden;box-shadow:0 10px 32px rgba(34,197,94,.1)}
.featured-img{position:relative;min-height:320px;background:#f9fafb;display:flex;align-items:center;justify-content:center;color:#fff;overflow:hidden}
.featured-img img{width:100%;height:100%;object-fit:cover;position:absolute;top:0;left:0}
.featured-img .fi-overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(6,95,70,.9),transparent);padding:32px}
.featured-img .fi-badge{display:inline-block;background:rgba(255,255,255,.15);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.15);padding:4px 14px;border-radius:9999px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.2em}
.featured-img h3{font-size:26px;font-weight:700;margin-top:12px;max-width:400px;line-height:1.25;color:#fff}
.featured-img .fi-excerpt{color:rgba(255,255,255,.8);margin-top:12px;max-width:400px;line-height:1.6}
.featured-info{padding:32px;display:flex;flex-direction:column;justify-content:space-between}
.featured-meta{display:flex;gap:16px;font-size:14px;color:#6b7280;flex-wrap:wrap}
.featured-meta span{display:inline-flex;align-items:center;gap:6px}
.takeaway-box{background:#f9fafb;border:1px solid #e5e7eb;border-radius:20px;padding:24px;margin-top:24px}
.takeaway-box h4{font-size:14px;font-weight:600;color:#111827;margin-bottom:12px}
.takeaway-item{display:flex;align-items:start;gap:10px;color:#6b7280;font-size:14px;line-height:1.5;margin-bottom:8px}
.takeaway-dot{width:10px;height:10px;border-radius:50%;background:#22c55e;flex-shrink:0;margin-top:5px}
.featured-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.featured-tag{padding:6px 14px;border-radius:9999px;background:#f0fdf4;color:#16a34a;font-size:13px;font-weight:500;border:1px solid #dcfce7}

/* ===== RESOURCE SEARCH & FILTER BAR ===== */
.res-filter-bar{padding:0 24px;max-width:1280px;margin:-16px auto 0}
.res-filter-inner{display:flex;flex-direction:column;gap:16px;background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:24px;box-shadow:0 1px 3px rgba(0,0,0,.05)}
.res-search-box{position:relative}
.res-search-icon{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:#9ca3af;pointer-events:none}
.res-search-input{width:100%;padding:14px 16px 14px 48px;border:1px solid #e5e7eb;border-radius:14px;font-size:15px;color:#111827;background:#fff;transition:border-color .2s;outline:none}
.res-search-input:focus{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.1)}
.res-search-input::placeholder{color:#9ca3af}
.res-filter-tags{display:flex;flex-wrap:wrap;gap:8px}
.res-filter-btn{padding:8px 20px;border:1px solid #e5e7eb;border-radius:9999px;background:#fff;color:#6b7280;font-size:13px;font-weight:500;cursor:pointer;transition:all .2s}
.res-filter-btn:hover{border-color:#22c55e;color:#16a34a;background:#f0fdf4}
.res-filter-btn.active{background:#16a34a;color:#fff;border-color:#16a34a}

/* ===== RESOURCE PAGINATION ===== */
.res-pagination{display:flex;justify-content:center;margin-top:40px}
.res-pagination ul{display:flex;list-style:none;gap:4px;align-items:center}
.res-pagination li a,.res-pagination li span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border:1px solid #e5e7eb;border-radius:10px;font-size:14px;font-weight:500;color:#374151;text-decoration:none;transition:all .2s;background:#fff}
.res-pagination li a:hover{border-color:#22c55e;color:#16a34a;background:#f0fdf4}
.res-pagination .current span{background:#16a34a;color:#fff;border-color:#16a34a}
.res-pagination li .dots{border:none;background:none;color:#9ca3af}

.all-section{padding:0 24px 80px;max-width:1280px;margin:0 auto}
.all-section .sec-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.24em;color:#22c55e}
.all-section h2{font-size:28px;font-weight:700;color:#111827;margin-top:6px}
.all-section .sec-desc{color:#6b7280;margin-top:8px;font-size:15px;max-width:640px;line-height:1.6}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:24px}
.article-card{border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;background:#fff;transition:all .3s;display:block}
.article-card:hover{border-color:#4ade80;box-shadow:0 10px 25px rgba(0,0,0,.08)}
.article-card .ac-img{height:224px;background:#f9fafb;overflow:hidden;position:relative}
.article-card .ac-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.article-card:hover .ac-img img{transform:scale(1.05)}
.article-card .ac-body{padding:24px}
.article-card .ac-top{display:flex;justify-content:space-between;font-size:11px;text-transform:uppercase;letter-spacing:.2em;font-weight:600;color:#22c55e}
.article-card .ac-time{color:#9ca3af;letter-spacing:normal;text-transform:none}
.article-card h3{font-size:18px;font-weight:700;color:#111827;margin-top:14px;line-height:1.3}
.article-card .ac-excerpt{color:#6b7280;margin-top:10px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}
.article-card .ac-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.article-card .ac-tag{padding:4px 10px;border-radius:9999px;background:#f3f4f6;color:#6b7280;font-size:11px;font-weight:500}
.article-card .ac-read{display:inline-flex;align-items:center;gap:6px;color:#22c55e;font-weight:600;font-size:13px;margin-top:16px;padding-top:14px;border-top:1px solid #f3f4f6}

/* ===== ARTICLE PAGE ===== */
.article-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#f0fdf4 0%,#fff 50%,#ecfdf5 100%);padding:64px 24px 72px;border-bottom:1px solid #f3f4f6}
.article-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at top left,rgba(34,197,94,.18),transparent 32%),radial-gradient(circle at bottom right,rgba(16,185,129,.12),transparent 28%);opacity:.6;pointer-events:none}
.article-hero-grid{max-width:1280px;margin:0 auto;position:relative;display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.hero-inner{max-width:1280px;margin:0 auto;position:relative}
.hero-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.85);backdrop-filter:blur(4px);border:1px solid #dcfce7;border-radius:9999px;padding:8px 16px;font-size:13px;font-weight:600;color:#15803d;box-shadow:0 1px 3px rgba(0,0,0,.06)}
.hero-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px;font-size:13px;color:#6b7280;align-items:center}
.hero-cat{padding:4px 12px;border-radius:9999px;background:#dcfce7;color:#15803d;font-weight:600;font-size:13px}
.hero-meta-item{display:inline-flex;align-items:center;gap:6px}
.hero-title{font-size:42px;font-weight:700;color:#111827;margin-top:20px;line-height:1.18;max-width:660px}
.hero-excerpt{font-size:17px;color:#4b5563;margin-top:20px;line-height:1.7;max-width:620px}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px;max-width:580px}
.hero-stat-card{border-radius:16px;border:1px solid rgba(255,255,255,.7);background:rgba(255,255,255,.9);padding:20px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.hero-stat-num{font-size:26px;font-weight:700;color:#22c55e}
.hero-stat-label{font-size:12px;color:#6b7280;margin-top:4px}
.hero-image-wrap{border-radius:28px;overflow:hidden;box-shadow:0 25px 50px -12px rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.6)}
.hero-image-wrap img{width:100%;height:420px;object-fit:cover;display:block}
.article-body{padding:64px 24px;max-width:1280px;margin:0 auto;display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;align-items:start}
.sidebar{position:sticky;top:88px;display:flex;flex-direction:column;gap:24px}
.toc-card{border-radius:24px;border:1px solid #e5e7eb;background:#fff;padding:24px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.toc-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:#22c55e;margin-bottom:4px}
.toc-links{margin-top:16px;display:flex;flex-direction:column;gap:4px}
.toc-link{display:flex;align-items:flex-start;gap:10px;font-size:14px;color:#4b5563;transition:all .2s;line-height:1.5;padding:8px 12px;border-radius:12px;text-decoration:none}
.toc-link:hover{color:#15803d;background:#f0fdf4}
.toc-link.toc-active{color:#15803d;background:#dcfce7;font-weight:600}
.toc-link.toc-active .toc-num{background:#22c55e;color:#fff;border-color:#22c55e}
.toc-num{flex-shrink:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:9999px;background:#f9fafb;color:#6b7280;font-weight:600;font-size:11px;border:1px solid #e5e7eb;margin-top:1px;transition:all .2s}
.tags-card{border-radius:24px;border:1px solid #e5e7eb;background:#f9fafb;padding:24px}
.tags-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:#111827}
.tags-wrap{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.tag-pill{padding:6px 14px;border-radius:9999px;background:#fff;border:1px solid #e5e7eb;font-size:13px;color:#374151;font-weight:500}
.content-area{display:flex;flex-direction:column;gap:24px}
.main-article{border-radius:28px;border:1px solid #e5e7eb;background:#fff;padding:40px 48px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.key-takeaways{background:#f0fdf4;border:1px solid #dcfce7;border-radius:24px;padding:32px}
.kt-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:#15803d}
.kt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}
.kt-item{background:#fff;border:1px solid #dcfce7;border-radius:16px;padding:20px;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.kt-check{width:36px;height:36px;border-radius:9999px;background:#dcfce7;color:#15803d;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0}
.kt-text{font-size:14px;color:#374151;margin-top:16px;line-height:1.65}
.sections{display:flex;flex-direction:column;margin-top:40px}
.section-block{scroll-margin-top:112px;padding-top:48px;margin-top:48px;border-top:1px solid #f3f4f6}
.section-block:first-child{margin-top:0;padding-top:0;border-top:none}
.section-block h2{font-size:26px;font-weight:700;color:#111827;line-height:1.3}
.section-block p{font-size:16px;color:#4b5563;line-height:1.9;margin-top:16px}
.section-block p:first-of-type{font-size:17px;color:#374151;line-height:1.75;margin-top:16px}
.section-block ul,.section-block ol{margin-top:16px;padding-left:0;list-style:none}
.section-block li{font-size:15px;color:#374151;line-height:1.65;margin-bottom:12px;display:flex;align-items:flex-start;gap:12px}
.section-block li::before{content:'';width:10px;height:10px;border-radius:9999px;background:#22c55e;flex-shrink:0;margin-top:6px}
/* Override li styles inside bullets-box (which has its own dot elements) */
.bullets-box li{margin-bottom:0}
.bullets-box li::before{display:none}
.section-h2{font-size:26px;font-weight:700;color:#111827;line-height:1.3}
.section-intro{font-size:17px;color:#374151;margin-top:16px;line-height:1.75}
.section-para{font-size:16px;color:#4b5563;line-height:1.9;margin-top:16px}
.bullets-box{margin-top:24px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:24px;padding:24px}
.bullets-list{list-style:none;display:flex;flex-direction:column;gap:16px}
.bullet-item{display:flex;align-items:flex-start;gap:12px;color:#374151;line-height:1.65;font-size:15px}
.bullet-dot{flex-shrink:0;width:10px;height:10px;border-radius:9999px;background:#22c55e;margin-top:6px}
.faq-section{border-radius:28px;border:1px solid #e5e7eb;background:#fff;padding:40px 48px;box-shadow:0 1px 4px rgba(0,0,0,.06)}
.faq-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:#22c55e}
.faq-title{font-size:28px;font-weight:700;color:#111827;margin-top:12px}
.faq-items{display:flex;flex-direction:column;gap:16px;margin-top:32px}
.faq-q{font-size:17px;font-weight:700;color:#111827}
.faq-a{font-size:15px;color:#4b5563;margin-top:12px;line-height:1.75}
.cta-banner{border-radius:28px;background:linear-gradient(135deg,#16a34a,#059669);padding:40px 48px;color:#fff;box-shadow:0 20px 40px -8px rgba(22,163,74,.35)}
.cta-eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.24em;color:rgba(255,255,255,.75)}
.cta-title{font-size:28px;font-weight:700;margin-top:12px;line-height:1.3}
.cta-desc{font-size:16px;color:rgba(255,255,255,.85);margin-top:16px;line-height:1.7;max-width:600px}
.cta-btns{display:flex;flex-wrap:wrap;gap:16px;margin-top:32px}
.cta-btn-white{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#15803d;border-radius:12px;padding:12px 22px;font-weight:600;font-size:14px;transition:background .2s}
.cta-btn-white:hover{background:#f0fdf4}
.cta-btn-outline{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(255,255,255,.3);color:#fff;border-radius:12px;padding:12px 22px;font-weight:600;font-size:14px;transition:background .2s}
.cta-btn-outline:hover{background:rgba(255,255,255,.1)}
.related-section{margin-top:8px}
.related-eyebrow{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.2em;color:#22c55e}
.related-title{font-size:28px;font-weight:700;color:#111827;margin-top:8px}
.related-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:24px}
.related-card{border-radius:24px;border:1px solid #e5e7eb;overflow:hidden;background:#fff;transition:all .3s;display:block}
.related-card:hover{border-color:#86efac;box-shadow:0 20px 40px -8px rgba(0,0,0,.1)}
.related-img{height:192px;overflow:hidden}
.related-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.related-card:hover .related-img img{transform:scale(1.05)}
.related-body{padding:24px}
.related-cat{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:#22c55e}
.related-h3{font-size:18px;font-weight:700;color:#111827;margin-top:16px;line-height:1.4;transition:color .2s}
.related-card:hover .related-h3{color:#16a34a}
.related-excerpt{font-size:14px;color:#6b7280;margin-top:12px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.read-more{display:inline-flex;align-items:center;gap:6px;color:#16a34a;font-weight:600;font-size:13px;margin-top:20px;transition:gap .2s}
.read-more:hover{gap:10px}

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
  *, *::before, *::after { max-width: 100%; box-sizing: border-box; }
  .hero-grid{grid-template-columns:1fr;text-align:center}
  .hero h1{font-size:40px}
  .hero-buttons,.hero-stats{justify-content:center}
  .hero-stats > div:last-child{display:none}
  .category-grid{grid-template-columns:repeat(3,1fr)}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .app-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid,.cta-grid,.two-col{grid-template-columns:1fr}
  .detail-grid{grid-template-columns:1fr}
  .sidebar{position:static}
  .specs-grid{grid-template-columns:repeat(2,1fr)}
  .app-content{grid-template-columns:1fr}
  .prod-right{order:-1}
  .app-prod-grid{grid-template-columns:1fr}
  .featured-card{grid-template-columns:1fr}
  .featured-img{min-height:220px}
  .article-grid{grid-template-columns:repeat(2,1fr)}
  .article-body{grid-template-columns:1fr}
  .sidebar{position:static}
  .kt-grid{grid-template-columns:1fr}
  .related-grid,.rel-grid{grid-template-columns:1fr 1fr;gap:12px}
  .hero-stats{grid-template-columns:repeat(3,1fr)}
  .hero-image-wrap{display:none}
  .article-hero-grid{grid-template-columns:1fr}
}
@media (max-width:768px) {
  .nav-container{height:64px}
  .main-nav{display:none}
  .nav-btn{font-size:13px;padding:8px 16px}
  .hero{padding:48px 0 40px}
  .hero h1{font-size:32px}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .product-grid,.app-grid{grid-template-columns:1fr}
  .stats-bar{padding:40px 0}
  .stats-bar .inner{grid-template-columns:1fr;gap:20px}
  .section-title{font-size:28px}
  .detail-card,.form-card,.doc-card,.faq-card,.related-card{padding:24px}
  .detail-card h1{font-size:28px}
  .specs-grid{grid-template-columns:1fr}
  .app-hero h1{font-size:28px}
  .res-hero h1,.hero-title{font-size:28px}
  .article-card .ac-img{height:160px}
  .main-article,.faq-section{padding:24px}
  .cta-banner{padding:24px}
  /* Prevent horizontal overflow */
  body{overflow-x:hidden}
  .site-header{position:relative}
  .cdb-site-header{position:relative}
  .hero-grid{overflow:hidden}
  .why-grid{overflow:hidden}
  .cta-grid{overflow:hidden}
  .hero-stats{gap:16px}
  .hero h1,.section-title,.app-hero h1,.res-hero h1,.hero-title{word-break:break-word;overflow-wrap:break-word}
  .form-card{overflow:hidden}
  .form-card form{overflow:hidden}
  .form-card input,.form-card textarea{max-width:100%}
  /* CDB mobile header */
  .cdb-main-nav{display:none}
  .cdb-header-search{display:none}
  .cdb-nav-contact-btn{display:none}
  .cdb-mobile-toggle{display:flex}
  .cdb-header-inner{height:64px}
  .cdb-page-hero h1{font-size:28px}
}

@media (max-width:640px) {
  .container{padding:0 16px}
  .category-grid{grid-template-columns:1fr}
  .hero h1{font-size:26px}
  .hero-stats{gap:24px}
  .footer-grid{grid-template-columns:1fr}
  .cdb-footer-grid{grid-template-columns:1fr}
  .form-card input,.form-card textarea{padding:10px 12px}
  .detail-stats{grid-template-columns:1fr}
  .res-stats{grid-template-columns:1fr}
  .article-grid{grid-template-columns:1fr}
  .rel-grid,.related-grid{grid-template-columns:1fr}
  /* Extra mobile overflow prevention */
  .hero-grid .hero-buttons{flex-direction:column;align-items:stretch}
  .hero-grid .hero-buttons a{text-align:center;white-space:nowrap}
  .hero h1,.section-title{font-size:22px}
  .product-card h3{font-size:16px}
  .app-card h3{font-size:16px}
  .app-card > div{padding:16px}
  .cat-card{padding:20px}
  .cat-card h3{font-size:15px}
  .featured-card{overflow:hidden}
  .featured-img{min-height:180px}
  .featured-img h3{font-size:20px}
  .featured-info{padding:20px}
  .featured-tags{flex-wrap:wrap}
  .article-card .ac-img{height:140px}
  .article-card h3{font-size:16px}
  /* About Us mobile */
  .cdb-two-col{grid-template-columns:1fr}
  .cdb-about-value-grid{grid-template-columns:1fr}
}

/* ===== CDB- PREFIXED STYLES (About Us & Pages) ===== */
:root{
  --primary:#22c55e;
  --primary-dark:#16a34a;
  --primary-50:#f0fdf4;
  --primary-100:#dcfce7;
  --primary-200:#bbf7d0;
  --text:#111827;
  --text-secondary:#374151;
  --text-lighter:#6b7280;
  --text-muted:#9ca3af;
  --bg-white:#fff;
  --bg-soft:#f9fafb;
  --bg-green:#f0fdf4;
  --border:#e5e7eb;
  --border-light:#f3f4f6;
  /* Extended colour palette */
  --green-50:#f0fdf4;
  --green-700:#15803d;
  --emerald-50:#ecfdf5;
  --emerald-700:#047857;
  --lime-50:#f7fee7;
  --lime-700:#4d7c0f;
}

.cdb-page-hero{
  background:linear-gradient(135deg,#f0fdf4 0%,#fff 50%,#ecfdf5 100%);
  padding:64px 24px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cdb-page-hero::before{
  content:'';position:absolute;inset:0;opacity:.5;
  background:radial-gradient(circle at top right,rgba(34,197,94,.18),transparent 36%),
             radial-gradient(circle at bottom left,rgba(16,185,129,.14),transparent 30%);
  pointer-events:none;
}
.cdb-page-hero-inner{max-width:800px;margin:0 auto;position:relative}
.cdb-eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 18px;border-radius:9999px;
  background:rgba(255,255,255,.85);backdrop-filter:blur(8px);
  color:#16a34a;font-size:14px;font-weight:600;
  border:1px solid #dcfce7;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}
.cdb-page-hero h1{font-size:42px;font-weight:800;color:#111827;margin-top:16px;line-height:1.15}
.cdb-page-hero > .cdb-container > p{font-size:17px;color:#6b7280;margin-top:16px;line-height:1.7;max-width:640px;margin-left:auto;margin-right:auto}

.cdb-section{padding:64px 24px}
.cdb-section-soft{background:#f9fafb}

.cdb-container{max-width:1280px;margin:0 auto;padding:0 24px}
.cdb-two-col{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}

.cdb-detail-card{
  background:#fff;border-radius:24px;border:1px solid #e5e7eb;
  box-shadow:0 1px 3px rgba(0,0,0,.05);padding:32px 36px;
}
.cdb-detail-card h2{font-size:24px;font-weight:700;color:#111827;margin-bottom:16px}

.cdb-prose{color:#374151;line-height:1.75;font-size:15px}
.cdb-prose p{margin-bottom:12px}
.cdb-prose p:last-child{margin-bottom:0}
.cdb-prose a{color:#22c55e;font-weight:500;text-decoration:none}
.cdb-prose a:hover{text-decoration:underline}

.cdb-detail-list{list-style:none;display:flex;flex-direction:column;gap:14px}
.cdb-detail-list li{
  display:flex;flex-direction:column;gap:2px;
  padding:12px 0;border-bottom:1px solid #f3f4f6;
}
.cdb-detail-list li:last-child{border-bottom:none}
.cdb-detail-list li strong{font-size:14px;color:#111827;font-weight:600}
.cdb-detail-list li span{font-size:14px;color:#6b7280;line-height:1.5}

.cdb-section-intro{text-align:center;max-width:640px;margin:0 auto 40px}
.cdb-section-intro-center{text-align:center}
.cdb-section-title{font-size:32px;font-weight:700;color:#111827;margin-top:8px;line-height:1.2}

.cdb-about-value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cdb-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;transition:all .3s}
.cdb-card:hover{border-color:#4ade80;box-shadow:0 10px 25px -5px rgba(0,0,0,.08)}
.cdb-about-value-grid .cdb-card{padding:32px}

.cdb-category-icon{
  width:52px;height:52px;border-radius:12px;
  background:#f0fdf4;color:#22c55e;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;font-weight:700;
}
.cdb-about-value-grid .cdb-card h3{font-size:18px;font-weight:700;color:#111827;margin-top:16px;margin-bottom:8px}
.cdb-about-value-grid .cdb-card p{font-size:14px;color:#6b7280;line-height:1.6}

.cdb-button-row{display:flex;gap:16px;flex-wrap:wrap}
.cdb-button-row-center{justify-content:center}
.cdb-button{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 28px;background:#22c55e;color:#fff;
  border-radius:10px;font-weight:600;font-size:15px;
  border:none;cursor:pointer;transition:background .2s;
  text-decoration:none;
}
.cdb-button:hover{background:#16a34a;color:#fff}
.cdb-button-secondary{
  background:transparent;color:#16a34a;
  border:2px solid #22c55e;
}
.cdb-button-secondary:hover{background:#f0fdf4;color:#16a34a}

/* ===== CDB- PAGE HERO GRADIENT (Contact, Resources, etc.) ===== */
.cdb-page-hero-gradient{
  background:linear-gradient(135deg,#f0fdf4 0%,#fff 50%,#ecfdf5 100%);
  padding:64px 24px;
  position:relative;
  overflow:hidden;
}
.cdb-page-hero-gradient::before{
  content:'';position:absolute;inset:0;opacity:.55;
  background:radial-gradient(circle at top right,rgba(34,197,94,.18),transparent 36%),
             radial-gradient(circle at bottom left,rgba(16,185,129,.14),transparent 30%);
  pointer-events:none;
}
.cdb-page-hero-gradient .cdb-container{position:relative}
.cdb-page-hero-gradient h1{font-size:42px;font-weight:800;color:#111827;margin-bottom:12px;line-height:1.15}
.cdb-page-hero-gradient p{font-size:17px;color:#6b7280;line-height:1.7;max-width:640px}

/* ===== CONTACT US PAGE ===== */
.cdb-contact-cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start}
.cdb-contact-info-col{}
.cdb-contact-info-col h2{font-size:32px;font-weight:700;color:#111827;margin-bottom:8px}
.cdb-contact-cards{display:flex;flex-direction:column;gap:12px;margin-top:4px}
.cdb-contact-card{display:flex;align-items:center;gap:16px;padding:16px 20px}
.cdb-contact-icon{
  width:44px;height:44px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.cdb-contact-card strong{display:block;font-size:13px;font-weight:600;color:#111827;margin-bottom:2px}
.cdb-contact-card a,.cdb-contact-card span{font-size:14px;color:#6b7280;text-decoration:none;transition:color .2s}
.cdb-contact-card a:hover{color:#22c55e}


.cdb-contact-form-col{}
.cdb-form-card{background:#fff;border-radius:24px;box-shadow:0 10px 40px rgba(0,0,0,.08);padding:32px;border:1px solid #e5e7eb}
.cdb-form-card h3{font-size:22px;font-weight:700;color:#111827;margin-bottom:20px}

.cdb-inquiry-form{}
.cdb-form-group{margin-bottom:16px}
.cdb-form-group label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:6px}
.cdb-form-group label .required{color:#ef4444;margin-left:2px}
.cdb-form-group input[type="text"],
.cdb-form-group input[type="email"],
.cdb-form-group input[type="tel"],
.cdb-form-group textarea{
  width:100%;padding:12px 16px;border:1px solid #e5e7eb;border-radius:12px;
  font-size:14px;font-family:inherit;outline:none;transition:border .2s;
  background:#fff;color:#111827;
}
.cdb-form-group input:focus,
.cdb-form-group textarea:focus{border-color:#22c55e;box-shadow:0 0 0 3px #f0fdf4}
.cdb-form-group textarea{resize:vertical;min-height:100px}

.cdb-checkbox-group{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.cdb-checkbox-label{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border:1px solid #e5e7eb;border-radius:10px;
  font-size:13px;color:#374151;cursor:pointer;transition:all .2s;
  background:#f9fafb;
}
.cdb-checkbox-label:hover{border-color:#4ade80;background:#f0fdf4;color:#16a34a}
.cdb-checkbox-label input[type="checkbox"]{
  width:16px;height:16px;accent-color:#22c55e;cursor:pointer;
}

.cdb-inquiry-form .cdb-button{width:100%;justify-content:center;font-size:15px;padding:14px 28px;border-radius:12px}

/* Contact CSS var values via inline style fallback */
.cdb-contact-icon[style*="green-50"]{background:#f0fdf4;color:#15803d}
.cdb-contact-icon[style*="emerald-50"]{background:#ecfdf5;color:#047857}
.cdb-contact-icon[style*="lime-50"]{background:#f7fee7;color:#4d7c0f}

@media (max-width:1024px) {
  .cdb-contact-cta-grid{grid-template-columns:1fr}
}
@media (max-width:768px) {
  .cdb-page-hero-gradient h1{font-size:30px}
  .cdb-contact-cta-grid{gap:32px}
  .cdb-form-card{padding:24px}
  .cdb-checkbox-group{flex-direction:column}
  .cdb-checkbox-label{width:100%}
  /* Sidebar inquiry form on tablets */
  .sidebar-form{padding:24px}
  .sf-input,.sf-textarea{font-size:16px}
  /* Product cards word-break */
  .cdb-product-card{word-break:break-word;overflow-wrap:break-word}
  .cdb-product-card h3{font-size:15px}
  .cdb-product-card-series{font-size:10px}
  .cdb-product-card .cdb-line-clamp-2{font-size:12px}
}

/* ============================================================
   Products Archive — Grid, Cards, Filter Bar, Badges
   ============================================================ */

/* Grid system */
.cdb-grid{display:grid;gap:24px}
.cdb-grid-3{grid-template-columns:repeat(3,1fr)}
.cdb-grid-2{grid-template-columns:repeat(2,1fr)}

/* Product card */
.cdb-product-card{
  display:flex;flex-direction:column;gap:12px;
  background:#fff;border:1px solid #e5e7eb;border-radius:16px;
  padding:24px;text-decoration:none;color:inherit;
  transition:border-color .25s,box-shadow .25s,transform .2s;
  position:relative;overflow:hidden;
}
.cdb-product-card:hover{
  border-color:#4ade80;
  box-shadow:0 10px 30px -6px rgba(74,222,128,.2);
  transform:translateY(-2px);
  text-decoration:none;
  color:inherit;
}
.cdb-product-card-icon{
  width:48px;height:48px;border-radius:12px;
  background:linear-gradient(135deg,#d1fae5,#a7f3d0);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;font-weight:700;color:#065f46;
  flex-shrink:0;
}
.cdb-product-card-series{
  font-size:11px;font-weight:600;letter-spacing:.04em;
  color:#6b7280;text-transform:uppercase;
}
.cdb-product-card h3{
  font-size:16px;font-weight:700;color:#111827;
  margin:0;line-height:1.4;
}
.cdb-product-card .cdb-line-clamp-2{
  font-size:13px;color:#6b7280;line-height:1.55;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;margin:0;
}

/* Spec rows inside card */
.cdb-product-card-specs{
  border-top:1px solid #f3f4f6;padding-top:12px;
  display:flex;flex-direction:column;gap:6px;margin-top:auto;
}
.cdb-spec-row{display:flex;justify-content:space-between;align-items:center;font-size:12px}
.cdb-spec-label{color:#9ca3af;font-weight:500}
.cdb-spec-value{color:#374151;font-weight:600;text-align:right;max-width:60%}
.cdb-spec-value.cdb-green{color:#16a34a}

/* Badges */
.cdb-badge{
  display:inline-flex;align-items:center;gap:4px;
  font-size:11px;font-weight:600;letter-spacing:.03em;
  padding:3px 10px;border-radius:999px;
}
.cdb-badge-featured{
  background:#fef3c7;color:#92400e;border:1px solid #fde68a;
  position:absolute;top:14px;right:14px;
}
.cdb-badge-green{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}

/* Filter bar */
.cdb-filter-bar{background:#fff;border-bottom:1px solid #e5e7eb;padding:16px 0;position:sticky;top:0;z-index:30}
.cdb-filter-bar-inner{display:flex;flex-direction:column;gap:12px}
.cdb-product-search-form{display:flex;gap:8px;align-items:center}
.cdb-category-filters{display:flex;flex-wrap:wrap;gap:8px}
.cdb-filter-btn{
  padding:6px 16px;border-radius:999px;border:1px solid #e5e7eb;
  background:#f9fafb;color:#374151;font-size:13px;font-weight:500;
  cursor:pointer;transition:all .2s;white-space:nowrap;
}
.cdb-filter-btn:hover{border-color:#4ade80;background:#f0fdf4;color:#15803d}
.cdb-filter-btn.active{background:#16a34a;border-color:#16a34a;color:#fff}

/* Result count */
.cdb-result-count{font-size:14px;color:#6b7280;margin-bottom:16px}

/* Category hero grid (taxonomy page) */
.cdb-category-hero-grid{display:grid;grid-template-columns:1fr 340px;gap:48px;align-items:start}
.cdb-category-hero-sidebar{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.cdb-category-hero-sidebar h4{font-size:14px;font-weight:700;color:#111827;margin-bottom:12px}
.cdb-category-stats{display:flex;gap:24px;margin-top:16px;flex-wrap:wrap}
.cdb-category-stats span{font-size:14px;color:#374151;font-weight:600}
.cdb-category-stats span::before{content:'✓ ';color:#22c55e}
.cdb-subcategory-tags{display:flex;flex-wrap:wrap;gap:8px}
.cdb-subcategory-tag{
  font-size:12px;font-weight:500;padding:4px 12px;
  border-radius:999px;background:#f0fdf4;color:#15803d;border:1px solid #dcfce7;
}

/* Category page two-column layout */
.cdb-category-content-grid{display:grid;grid-template-columns:1fr 300px;gap:40px;align-items:start}
.cdb-category-sidebar{position:sticky;top:96px;display:flex;flex-direction:column;gap:24px}
.cdb-category-filter-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:24px;box-shadow:0 1px 4px rgba(0,0,0,.04)}
.cdb-category-filter-card h3{font-size:16px;font-weight:700;color:#111827;margin-bottom:16px}
.cdb-sidebar-link{display:block;padding:10px 14px;border-radius:10px;font-size:14px;color:#374151;text-decoration:none;transition:all .2s;margin-bottom:4px}
.cdb-sidebar-link:hover{background:#f0fdf4;color:#16a34a}
.cdb-sidebar-link.active{background:#dcfce7;color:#15803d;font-weight:600}

/* Line clamp utility */
.cdb-line-clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cdb-line-clamp-3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* Back link */
.cdb-back-link{font-size:14px;color:#6b7280;text-decoration:none;display:inline-flex;align-items:center;gap:4px;padding:8px 0}
.cdb-back-link:hover{color:#16a34a}

/* Responsive — products grid */
@media (max-width:1200px){
  .cdb-grid-3{grid-template-columns:repeat(2,1fr)}
  .cdb-category-hero-grid{grid-template-columns:1fr}
  .cdb-category-content-grid{grid-template-columns:1fr}
  .cdb-category-sidebar{position:static;flex-direction:column;flex-wrap:nowrap}
  .cdb-category-sidebar>*{flex:1;min-width:0}
}
@media (max-width:640px){
  .cdb-grid-3,.cdb-grid-2{grid-template-columns:1fr}
  .cdb-filter-bar{position:static}
  .cdb-product-search-form{flex-direction:column;align-items:stretch}
  /* Sidebar form mobile */
  .sidebar-form{padding:20px;border-radius:18px}
  .sf-checks{padding:12px 10px 8px}
  .sf-check-label{font-size:13px;word-break:break-word}
  .sf-input,.sf-textarea{font-size:16px} /* Prevent iOS zoom */
  .cdb-product-card{padding:18px;word-break:break-word;overflow-wrap:break-word}
  .cdb-product-card-specs{gap:4px}
  .cdb-spec-row{font-size:12px}
  .cdb-spec-value{max-width:65%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  /* Category hero grid mobile */
  .cdb-category-hero-grid{grid-template-columns:1fr}
  .cdb-category-content-grid{grid-template-columns:1fr}
  .cdb-category-sidebar{position:static;flex-direction:column;flex-wrap:nowrap}
  .cdb-category-sidebar>*{flex:1;min-width:0}
  /* Resource search & filter mobile */
  .res-filter-inner{padding:16px}
  .res-filter-tags{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:4px}
  .res-filter-btn{white-space:nowrap;flex-shrink:0}
  .article-grid{grid-template-columns:1fr}
  .res-pagination li a,.res-pagination li span{min-width:36px;height:36px;font-size:13px}
}

/* Global hero description text override — site-wide coverage */
html body #page .hero-desc,
html body .hero-desc,
html body #page [class*="hero"] p,
html body #page [class*="banner"] p,
.hero-section .hero-desc,
.banner-text .hero-desc,
.custom-banner p {
    color: #e2e8f0 !important;
    opacity: 1 !important;
    --gray-500: #e2e8f0 !important;
}