/*
Theme Name: HTL Industrial
Theme URI: https://example.com/htl-industrial
Author: OpenAI
Description: Custom B2B industrial hardware WordPress theme for Hindustan Trade Links (HTL). Non-ecommerce catalogue and RFQ focused.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: htl-industrial
*/

:root{
  --htl-bg:#f7f7f7;
  --htl-surface:#ffffff;
  --htl-gold:#ffb22c;
  --htl-brown:#854836;
  --htl-black:#000000;
  --htl-text:#171717;
  --htl-muted:#6d6d6d;
  --htl-border:#e5e5e5;
  --htl-radius:18px;
  --htl-shadow:0 14px 40px rgba(0,0,0,.08);
  --htl-container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--htl-bg);color:var(--htl-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea,select{font:inherit}
.container{width:min(var(--htl-container),calc(100% - 32px));margin-inline:auto}
.site-main{min-height:55vh}
.section{padding:86px 0}
.section-sm{padding:52px 0}
.eyebrow{display:inline-flex;gap:8px;align-items:center;color:var(--htl-brown);font-size:.78rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.eyebrow:before{content:"";width:28px;height:3px;background:var(--htl-gold);border-radius:5px}
h1,h2,h3,h4{line-height:1.1;margin:0 0 18px;font-weight:800;letter-spacing:-.025em}
h1{font-size:clamp(2.8rem,6vw,5.7rem)}h2{font-size:clamp(2rem,4vw,3.6rem)}h3{font-size:1.35rem}
p{margin:0 0 18px}.lead{font-size:1.12rem;color:#555;max-width:760px}.muted{color:var(--htl-muted)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;border-radius:12px;font-weight:800;border:2px solid transparent;transition:.2s ease;cursor:pointer}.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--htl-gold);color:#111}.btn-primary:hover{filter:brightness(.96)}
.btn-dark{background:var(--htl-black);color:#fff}.btn-outline{border-color:rgba(255,255,255,.32);color:#fff}.btn-outline-dark{border-color:#222;color:#222;background:transparent}
.topbar{background:var(--htl-black);color:#fff;font-size:.86rem}.topbar-inner{min-height:38px;display:flex;justify-content:space-between;align-items:center;gap:16px}.topbar-links{display:flex;gap:18px;flex-wrap:wrap}.topbar a{opacity:.9}.topbar a:hover{color:var(--htl-gold)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--htl-border)}.header-inner{height:84px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:12px;min-width:180px}.custom-logo{max-height:56px;width:auto}.fallback-logo{width:68px;height:68px;object-fit:contain}.brand-text strong{display:block;font-size:1.12rem}.brand-text small{color:var(--htl-muted)}
.main-nav{margin-left:auto}.main-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:22px;align-items:center}.main-nav a{font-weight:700;font-size:.93rem}.main-nav a:hover,.current-menu-item>a{color:var(--htl-brown)}
.header-cta{white-space:nowrap}.nav-toggle{display:none;margin-left:auto;background:none;border:0;font-size:1.6rem}
.hero{position:relative;overflow:hidden;background:linear-gradient(115deg,#070707 0%,#17110d 55%,#2a1710 100%);color:#fff}.hero:after{content:"";position:absolute;right:-12%;top:-38%;width:58%;aspect-ratio:1;border-radius:50%;border:46px solid rgba(255,178,44,.13);box-shadow:0 0 0 46px rgba(133,72,54,.13)}.hero-inner{position:relative;z-index:2;min-height:690px;display:grid;grid-template-columns:1.07fr .93fr;align-items:center;gap:50px}.hero .eyebrow{color:#ffd986}.hero h1 span{color:var(--htl-gold)}.hero-copy p{font-size:1.12rem;color:#d6d6d6;max-width:690px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 24px}.hero-trust{display:flex;gap:18px;flex-wrap:wrap;color:#c9c9c9;font-size:.9rem}.hero-card{background:#fff;color:#111;border-radius:26px;padding:22px;box-shadow:0 26px 60px rgba(0,0,0,.35);transform:rotate(1deg)}.hero-card img{border-radius:18px;background:#fff;max-height:420px;object-fit:contain;margin:auto}.hero-card .mini{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.hero-card .mini div{background:#f6f6f6;border-radius:12px;padding:12px;text-align:center}.hero-card strong{font-size:1.15rem}.hero-card small{display:block;color:#777}
.stat-strip{margin-top:-38px;position:relative;z-index:4}.stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:18px;box-shadow:var(--htl-shadow);overflow:hidden}.stat{padding:26px;text-align:center;border-right:1px solid var(--htl-border)}.stat:last-child{border-right:0}.stat strong{display:block;font-size:1.9rem;color:var(--htl-brown)}.stat span{font-size:.9rem;color:var(--htl-muted)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}.section-head .copy{max-width:760px}
.grid{display:grid;gap:22px}.category-grid{grid-template-columns:repeat(3,1fr)}.card{background:var(--htl-surface);border:1px solid var(--htl-border);border-radius:var(--htl-radius);overflow:hidden;box-shadow:0 6px 22px rgba(0,0,0,.035);transition:.2s ease}.card:hover{transform:translateY(-3px);box-shadow:var(--htl-shadow)}.category-card{padding:28px;position:relative;min-height:230px}.category-card:after{content:"";position:absolute;right:0;bottom:0;width:84px;height:84px;background:linear-gradient(135deg,transparent 50%,var(--htl-gold) 50%)}.category-card .icon{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:#fff3da;color:var(--htl-brown);font-weight:900;margin-bottom:28px}.category-card p{color:var(--htl-muted)}.category-card a{font-weight:800;color:var(--htl-brown)}
.product-grid{grid-template-columns:repeat(3,1fr)}.product-card .thumb{aspect-ratio:4/3;background:#f4f4f4;display:grid;place-items:center;overflow:hidden}.product-card .thumb img{width:100%;height:100%;object-fit:contain;padding:18px}.product-card .body{padding:22px}.product-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:.78rem;color:#666;margin-bottom:10px}.pill{background:#f2f2f2;border-radius:999px;padding:5px 9px}.product-actions{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px}.text-link{font-weight:800;color:var(--htl-brown)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}.feature-panel{background:var(--htl-black);color:#fff;padding:40px;border-radius:24px}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px}.feature-item{padding:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:14px}.feature-item strong{display:block;color:#fff}.feature-item span{color:#bbb;font-size:.9rem}
.industry-grid{grid-template-columns:repeat(4,1fr)}.industry{background:#fff;padding:25px;border-left:4px solid var(--htl-gold);border-radius:12px}.industry p{color:var(--htl-muted);font-size:.92rem}
.cta-band{background:var(--htl-brown);color:#fff;border-radius:26px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:28px}.cta-band p{color:#f3dbd3;max-width:720px}
.archive-hero,.page-hero{background:#111;color:#fff;padding:70px 0}.archive-hero p,.page-hero p{color:#c8c8c8;max-width:760px}
.content-area{padding:60px 0}.content-area article{background:#fff;padding:36px;border-radius:18px}
.single-product{padding:64px 0}.product-layout{display:grid;grid-template-columns:1fr 1fr;gap:46px}.product-gallery{background:#fff;border-radius:20px;padding:26px}.product-gallery img{width:100%;max-height:520px;object-fit:contain}.product-summary{align-self:start}.spec-table{width:100%;border-collapse:collapse;background:#fff;border-radius:16px;overflow:hidden}.spec-table td{padding:14px 16px;border-bottom:1px solid var(--htl-border)}.spec-table tr:last-child td{border-bottom:0}.spec-table td:first-child{font-weight:800;width:42%}
.form-card{background:#fff;border:1px solid var(--htl-border);padding:30px;border-radius:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-field label{display:block;font-weight:800;font-size:.9rem;margin-bottom:6px}.form-field input,.form-field textarea,.form-field select{width:100%;border:1px solid #d7d7d7;background:#fff;border-radius:10px;padding:12px 13px;outline:none}.form-field input:focus,.form-field textarea:focus,.form-field select:focus{border-color:var(--htl-gold);box-shadow:0 0 0 3px rgba(255,178,44,.18)}.form-field.full{grid-column:1/-1}.notice{padding:14px 16px;border-radius:10px;margin-bottom:18px}.notice.success{background:#e9f8ef;color:#176b37}.notice.error{background:#fff0f0;color:#9c2222}
.site-footer{background:#080808;color:#fff;margin-top:80px}.footer-main{padding:58px 0;display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px}.site-footer h4{font-size:1rem}.site-footer p,.site-footer a{color:#bdbdbd}.site-footer a:hover{color:var(--htl-gold)}.footer-menu{list-style:none;margin:0;padding:0;display:grid;gap:9px}.footer-bottom{border-top:1px solid #242424;padding:18px 0;color:#969696;font-size:.86rem;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
.wp-block-image img{border-radius:14px}
@media(max-width:980px){.header-cta{display:none}.nav-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:84px;background:#fff;border-bottom:1px solid #ddd;padding:18px 16px}.main-nav.open{display:block}.main-nav ul{display:grid;gap:6px}.main-nav a{display:block;padding:10px}.hero-inner,.split,.product-layout{grid-template-columns:1fr}.hero-inner{padding:70px 0;min-height:auto}.hero-card{max-width:620px}.category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.industry-grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid var(--htl-border)}.footer-main{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.topbar-inner{padding:8px 0}.topbar-inner>:first-child{display:none}.section{padding:64px 0}.header-inner{height:72px}.main-nav{top:72px}.category-grid,.product-grid,.industry-grid,.stats,.feature-list,.form-grid{grid-template-columns:1fr}.stat{border-right:0!important;border-bottom:1px solid var(--htl-border)!important}.stat:last-child{border-bottom:0!important}.section-head{align-items:start;flex-direction:column}.cta-band{padding:32px;align-items:start;flex-direction:column}.footer-main{grid-template-columns:1fr}.hero-actions .btn{width:100%}.hero-card{transform:none}.product-actions{align-items:flex-start;flex-direction:column}}
