/*
Theme Name: ZGS Plastic Solutions
Theme URI: https://zgs.solutions
Author: ZGS Plastic Solutions
Description: Modern, responsive WordPress theme for ZGS Plastic Solutions, based on the supplied company one-page PDF. Includes configurable company contact information, logo and product images.
Version: 1.6.4
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: zgs
*/

:root{
  --zgs-orange:#001489;
  --zgs-orange-dark:#000f66;
  --zgs-accent:#f4511e;
  --zgs-ink:#111315;
  --zgs-muted:#697078;
  --zgs-light:#f5f6f7;
  --zgs-white:#fff;
  --zgs-border:#e5e7eb;
  --zgs-radius:18px;
  --zgs-shadow:0 18px 45px rgba(0,0,0,.10);
  --zgs-max:1180px;
  --zgs-blue:#001489;
  --zgs-logo-desktop:220px;
  --zgs-logo-mobile:150px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--zgs-ink);background:#fff;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.6}
img{max-width:100%;height:auto}
a{color:inherit}
.container{width:min(calc(100% - 40px),var(--zgs-max));margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(17,19,21,.96);backdrop-filter:blur(10px);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;text-decoration:none;gap:12px}
.brand img{max-height:52px;width:auto}
.brand-mark{font-weight:900;font-size:30px;letter-spacing:-2px;color:var(--zgs-blue, #001489)}
.brand-sub{font-size:12px;letter-spacing:1.2px;color:#fff;text-transform:uppercase}
.nav-toggle{display:none;background:none;border:1px solid #555;color:#fff;border-radius:8px;padding:8px 11px}
.main-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:28px}
.main-nav a{text-decoration:none;color:#fff;font-weight:700;font-size:14px}
.main-nav a:hover{color:var(--zgs-blue, #001489)}
.header-cta{display:inline-flex;align-items:center;gap:8px;background:var(--zgs-blue, #001489);color:#fff!important;padding:11px 17px;border-radius:999px;text-decoration:none;font-weight:800}
.hero{background:radial-gradient(circle at 80% 20%,rgba(244,81,30,.28),transparent 34%),linear-gradient(125deg,#0e1012 0%,#1a1d20 58%,#111315 100%);color:#fff;position:relative;overflow:hidden}
.hero:after{content:"";position:absolute;right:-140px;bottom:-220px;width:520px;height:520px;border:70px solid rgba(244,81,30,.12);border-radius:50%}
.hero-inner{min-height:650px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:60px;padding:72px 0}
.eyebrow{color:var(--zgs-blue, #001489);font-weight:900;text-transform:uppercase;letter-spacing:2px;font-size:13px}
.hero h1{font-size:clamp(46px,6vw,76px);line-height:.98;letter-spacing:-3px;margin:16px 0 24px;max-width:720px}
.hero h1 span{color:var(--zgs-blue, #001489)}
.hero p{font-size:19px;color:#d9dde0;max-width:620px}
.hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 21px;border-radius:999px;text-decoration:none;font-weight:900;border:2px solid transparent}
.btn-primary{background:var(--zgs-blue, #001489);color:#fff}
.btn-primary:hover{background:var(--zgs-orange-dark)}
.btn-outline{border-color:#555;color:#fff}
.hero-visual{position:relative;min-height:390px;border-radius:26px;background:#23272a;border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 80px rgba(0,0,0,.35);display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-visual img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.hero-visual-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;padding:30px}
.hero-visual-fallback .part{width:210px;height:120px;border-radius:45% 12% 12% 45%;background:linear-gradient(145deg,#f7f7f7,#aeb5b9);box-shadow:25px 25px 45px rgba(0,0,0,.4);transform:rotate(-12deg)}
.stats{background:#fff;box-shadow:var(--zgs-shadow);margin-top:-45px;position:relative;z-index:3;border-radius:18px;padding:24px;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.stat{text-align:center;padding:8px 12px;border-right:1px solid var(--zgs-border)}
.stat:last-child{border-right:0}
.stat strong{display:block;font-size:25px;color:var(--zgs-blue, #001489);line-height:1.1}
.stat span{font-size:13px;color:var(--zgs-muted);font-weight:700}
.section{padding:88px 0}
.section.alt{background:var(--zgs-light)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}
.section-kicker{color:var(--zgs-blue, #001489);font-weight:900;text-transform:uppercase;letter-spacing:1.8px;font-size:12px}
.section h2{font-size:clamp(32px,4vw,48px);line-height:1.05;letter-spacing:-1.5px;margin:8px 0 0}
.section-intro{max-width:600px;color:var(--zgs-muted);font-size:17px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--zgs-border);border-radius:var(--zgs-radius);overflow:hidden;box-shadow:0 8px 25px rgba(0,0,0,.05)}
.card-media{aspect-ratio:16/10;background:#e8eaec;overflow:hidden}
.card-media img{width:100%;height:100%;object-fit:cover;display:block}
.card-body{padding:22px}
.card h3{margin:0 0 8px;font-size:21px}
.card p{margin:0;color:var(--zgs-muted)}
.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.feature{padding:30px;background:#fff;border:1px solid var(--zgs-border);border-radius:var(--zgs-radius)}
.feature-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff0eb;color:var(--zgs-blue, #001489);font-size:22px;font-weight:900;margin-bottom:18px}
.feature h3{margin:0 0 7px}
.feature p{color:var(--zgs-muted);margin:0}
.capability-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:20px}
.capability-list div{padding:14px 16px;border:1px solid var(--zgs-border);border-radius:12px;background:#fff;font-weight:700}
.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.about-panel{background:#151719;color:#fff;border-radius:24px;padding:38px}
.about-panel h3{font-size:30px;margin-top:0}
.about-panel p{color:#cbd0d3}
.about-panel strong{color:var(--zgs-blue, #001489)}
.contact-box{background:#111315;color:#fff;border-radius:24px;padding:45px;display:grid;grid-template-columns:1.2fr .8fr;gap:40px;align-items:center}
.contact-box h2{font-size:clamp(32px,4vw,50px);line-height:1.05;margin:8px 0 15px}
.contact-details{display:grid;gap:14px}
.contact-detail{display:flex;gap:12px;align-items:flex-start}
.contact-detail b{display:block}
.contact-detail span{color:#cbd0d3}
.site-footer{background:#0b0d0e;color:#b8bdc1;padding:45px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:40px}
.site-footer h3{color:#fff;margin-top:0}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--zgs-blue, #001489)}
.footer-bottom{border-top:1px solid #272a2c;margin-top:30px;padding-top:20px;font-size:13px;display:flex;justify-content:space-between;gap:20px}
.page-hero{background:#151719;color:#fff;padding:90px 0}
.page-hero h1{font-size:clamp(42px,6vw,68px);line-height:1;margin:10px 0}
.breadcrumb{color:#aeb4b8;font-size:14px}
.wp-block-image img,.entry-content img{border-radius:14px}
.entry-content{font-size:17px}
.entry-content h2{font-size:36px}
.entry-content h3{font-size:25px}
.cta-strip{padding:30px;background:var(--zgs-blue, #001489);color:#fff;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.cta-strip h3{margin:0;font-size:28px}
.cta-strip .btn{background:#fff;color:#111315}
.notice{padding:14px 18px;border-left:4px solid var(--zgs-blue, #001489);background:#fff7f3;margin:20px 0}
@media(max-width:900px){
  .main-nav{display:none;position:absolute;left:0;right:0;top:78px;background:#111315;padding:15px 20px;border-bottom:1px solid #333}
  .main-nav.is-open{display:block}
  .main-nav ul{display:grid;gap:0}
  .main-nav li a{display:block;padding:13px 5px}
  .nav-toggle{display:block}
  .header-cta{display:none}
  .hero-inner,.about-grid,.contact-box{grid-template-columns:1fr}
  .hero-inner{padding:55px 0}
  .hero-visual{min-height:300px}
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2){border-right:0}
  .cards{grid-template-columns:repeat(2,1fr)}
  .feature-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .container{width:min(calc(100% - 28px),var(--zgs-max))}
  .hero h1{letter-spacing:-2px}
  .hero p{font-size:17px}
  .hero-visual{min-height:230px}
  .stats{grid-template-columns:1fr 1fr;margin-top:-25px;padding:15px}
  .stat{border-right:0}
  .stat strong{font-size:20px}
  .cards{grid-template-columns:1fr}
  .capability-list{grid-template-columns:1fr}
  .section{padding:62px 0}
  .section-head{display:block}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{display:block}
  .footer-bottom span{display:block;margin-top:8px}
  .contact-box{padding:28px}
}

/* WordPress core template support */
.featured-image{margin-bottom:30px}.featured-image img{width:100%;max-height:650px;object-fit:cover;border-radius:18px}.card h2 a,.card h3 a{text-decoration:none;color:inherit}.card h2{margin-top:0}.zgs-pagination{margin-top:40px}.zgs-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.zgs-pagination a,.zgs-pagination span{display:inline-flex;padding:9px 13px;border:1px solid var(--zgs-border);border-radius:9px;text-decoration:none}.comments-area{margin-top:50px}.comments-area input,.comments-area textarea{max-width:100%;padding:12px;border:1px solid var(--zgs-border);border-radius:8px}.custom-logo-link{display:flex;align-items:center}.custom-logo{max-height:52px;width:auto}

/* ZGS Pantone Blue C edition */
:root{
  --zgs-blue:#001489; /* Pantone Blue C visual approximation for digital screens */
}
.site-header{background:var(--zgs-blue)}
.hero{background:radial-gradient(circle at 80% 20%,rgba(0,20,137,.34),transparent 34%),linear-gradient(125deg,#050b2e 0%,#001489 58%,#050b2e 100%)}
.btn-primary{background:var(--zgs-blue)}
.btn-primary:hover{background:#000f66}
.hero h1 span,.eyebrow,.section-kicker,.stat strong,.feature-icon,.brand-mark{color:var(--zgs-blue)}
.brand img,.custom-logo{width:var(--zgs-logo-desktop);max-width:var(--zgs-logo-desktop);height:auto;max-height:none;object-fit:contain}
.header-cta{background:var(--zgs-blue)}
.about-panel strong{color:#4b67ff}
.contact-box{background:var(--zgs-blue)}
.cta-strip{background:var(--zgs-blue)}
.notice{border-left-color:var(--zgs-blue);background:#f3f5ff}
.capability-list div:hover,.card:hover{border-color:rgba(0,20,137,.35)}
@media(max-width:600px){
  .brand img,.custom-logo{width:var(--zgs-logo-mobile);max-width:var(--zgs-logo-mobile)}
}





/* =========================================================
   ZGS RFQ — DEDICATED PAGE / TWO-COLUMN FORM
   Column 1: labels | Column 2: fields
   ========================================================= */

.rfq-page-hero{
  background:linear-gradient(120deg,#071a42 0%,#001489 62%,#06275d 100%);
}

.rfq-section{
  background:#f4f7fb;
  padding:64px 0 90px;
}

.rfq-form-card{
  width:100%;
  max-width:1050px;
  margin:0 auto;
  background:#fff;
  border:1px solid #dfe5ec;
  border-radius:20px;
  padding:38px 42px 34px;
  box-shadow:0 20px 55px rgba(15,35,65,.11);
}

.rfq-form-header{
  padding-bottom:22px;
  border-bottom:1px solid #e9edf2;
  margin-bottom:5px;
}

.rfq-form-header h2{
  margin:6px 0 7px;
  color:#0b3b7d;
  font-size:36px;
  line-height:1.08;
  letter-spacing:-1px;
}

.rfq-form-header p{
  margin:0;
  color:#68788a;
  font-size:15px;
}

.rfq-required{
  color:#f4511e;
  font-weight:900;
}

.rfq-fields-grid{
  display:grid;
  grid-template-columns:210px minmax(0,1fr);
  column-gap:30px;
  width:100%;
}

.rfq-label-cell,
.rfq-input-cell{
  min-width:0;
  min-height:70px;
  border-bottom:1px solid #edf0f3;
  display:flex;
  align-items:center;
}

.rfq-label-cell label{
  display:block;
  width:100%;
  color:#26394f;
  font-size:15px;
  font-weight:700;
  line-height:1.35;
}

.rfq-input-cell{
  padding:11px 0;
}

.rfq-input-cell input,
.rfq-input-cell textarea,
.rfq-input-cell select{
  display:block;
  width:100%;
  max-width:none;
  box-sizing:border-box;
  margin:0;
  padding:12px 14px;
  border:1px solid #c7d0da;
  border-radius:8px;
  background:#fff;
  color:#1c2a39;
  font-family:inherit;
  font-size:15px;
  line-height:1.4;
  outline:none;
  box-shadow:0 1px 2px rgba(20,40,60,.025);
  transition:border-color .16s ease,box-shadow .16s ease;
}

.rfq-input-cell input{
  height:46px;
}

.rfq-input-cell textarea{
  min-height:145px;
  resize:vertical;
}

.rfq-input-cell input::placeholder,
.rfq-input-cell textarea::placeholder{
  color:#9aa6b3;
  opacity:1;
}

.rfq-input-cell input:hover,
.rfq-input-cell textarea:hover{
  border-color:#a9b5c1;
}

.rfq-input-cell input:focus,
.rfq-input-cell textarea:focus,
.rfq-input-cell select:focus{
  border-color:#001489;
  box-shadow:0 0 0 3px rgba(0,20,137,.10);
}

.rfq-details-label{
  align-items:flex-start;
  padding-top:21px;
}

.rfq-details-input{
  align-items:flex-start;
  padding-top:15px;
  padding-bottom:15px;
}

.rfq-form-footer{
  display:flex;
  align-items:center;
  gap:25px;
  padding-top:25px;
}

.rfq-submit-button{
  min-width:190px;
  min-height:52px;
  padding:12px 25px;
  border:0;
  border-radius:27px;
  background:#f4511e;
  color:#fff;
  font-family:inherit;
  font-size:16px;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(244,81,30,.22);
  transition:background .15s ease,transform .15s ease;
}

.rfq-submit-button:hover{
  background:#d83e13;
  transform:translateY(-1px);
}

.rfq-confidential{
  display:flex;
  align-items:center;
  gap:10px;
  max-width:390px;
  color:#697889;
  font-size:12.5px;
  line-height:1.45;
}

.rfq-lock{
  width:29px;
  height:29px;
  flex:0 0 29px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#edf2f7;
  color:#4e657b;
  font-weight:800;
}

.rfq-success,
.rfq-error{
  padding:16px 18px;
  margin:0 0 20px;
  border-radius:10px;
}

.rfq-success{
  background:#edf8f0;
  border:1px solid #cce8d3;
  border-left:4px solid #2f7d45;
}

.rfq-error{
  background:#fff3f1;
  border:1px solid #f0d1cc;
  border-left:4px solid #c62828;
}

.rfq-success p{
  margin:4px 0 0;
}

@media(max-width:820px){
  .rfq-form-card{
    padding:30px 25px;
  }

  .rfq-fields-grid{
    grid-template-columns:170px minmax(0,1fr);
    column-gap:20px;
  }
}

@media(max-width:650px){
  .rfq-section{
    padding:35px 0 55px;
  }

  .rfq-form-card{
    padding:25px 18px;
    border-radius:15px;
  }

  .rfq-form-header h2{
    font-size:30px;
  }

  .rfq-fields-grid{
    grid-template-columns:1fr;
    column-gap:0;
  }

  .rfq-label-cell{
    min-height:0;
    border-bottom:0;
    padding:14px 0 6px;
    display:block;
  }

  .rfq-input-cell{
    min-height:0;
    border-bottom:1px solid #edf0f3;
    padding:0 0 15px;
    display:block;
  }

  .rfq-details-label{
    padding-top:14px;
  }

  .rfq-details-input{
    padding-top:0;
    padding-bottom:15px;
  }

  .rfq-form-footer{
    flex-direction:column;
    align-items:stretch;
  }

  .rfq-submit-button{
    width:100%;
  }

  .rfq-confidential{
    max-width:none;
  }
}


/* =========================================================
   ZGS v1.6 — Logo-harmony visual system
   Based on the supplied ZGS logo: white, deep navy and vivid orange.
   ========================================================= */
:root{
  --zgs-orange:#fe5801;
  --zgs-orange-dark:#d94700;
  --zgs-navy:#222b39;
  --zgs-navy-deep:#172131;
  --zgs-blue:#222b39;
  --zgs-ink:#222b39;
  --zgs-muted:#65707d;
  --zgs-light:#f2f4f6;
  --zgs-warm:#fafaf9;
  --zgs-border:#dfe4e9;
}

body{background:var(--zgs-warm);color:var(--zgs-ink)}
.site-header{
  background:#fff !important;
  color:var(--zgs-navy) !important;
  border-bottom:1px solid #e3e6ea;
  box-shadow:0 4px 18px rgba(34,43,57,.07);
  backdrop-filter:blur(10px);
}
.header-inner{min-height:92px}
.brand{min-width:210px}
.brand img,.custom-logo{
  width:250px !important;
  max-width:250px !important;
  max-height:78px !important;
  object-fit:contain;
}
.brand-mark{color:var(--zgs-orange) !important}
.brand-sub{color:var(--zgs-navy) !important}
.main-nav ul{gap:26px}
.main-nav a{color:var(--zgs-navy) !important;font-weight:750}
.main-nav a:hover{color:var(--zgs-orange) !important}
.header-cta{
  background:var(--zgs-orange) !important;
  color:#fff !important;
  box-shadow:0 7px 16px rgba(254,88,1,.20);
}
.header-cta:hover{background:var(--zgs-orange-dark) !important}
.nav-toggle{border-color:#cfd5db;color:var(--zgs-navy);background:#fff}

.hero{
  background:
    radial-gradient(circle at 86% 18%,rgba(254,88,1,.30),transparent 30%),
    linear-gradient(135deg,var(--zgs-navy-deep) 0%,var(--zgs-navy) 62%,#303b4c 100%) !important;
}
.hero:after{border-color:rgba(254,88,1,.14)}
.eyebrow,.section-kicker{color:var(--zgs-orange) !important}
.hero h1 span{color:var(--zgs-orange) !important}
.btn-primary{background:var(--zgs-orange) !important}
.btn-primary:hover{background:var(--zgs-orange-dark) !important}
.btn-outline{border-color:rgba(255,255,255,.45)}

.stats{border:1px solid #e3e7eb}
.stat strong{color:var(--zgs-orange) !important}
.section.alt{background:#eef1f4 !important}
.section{background:var(--zgs-warm)}
.card,.feature{background:#fff;border-color:#dfe4e9}
.card:hover{border-color:rgba(254,88,1,.45);box-shadow:0 14px 34px rgba(34,43,57,.10)}
.feature-icon{background:#fff2eb;color:var(--zgs-orange) !important}
.about-panel{background:var(--zgs-navy)}
.about-panel strong{color:var(--zgs-orange) !important}
.contact-box{background:linear-gradient(135deg,var(--zgs-navy-deep),var(--zgs-navy)) !important}
.cta-strip{background:var(--zgs-navy) !important}
.notice{border-left-color:var(--zgs-orange) !important;background:#fff5ef}
.page-hero{
  background:
    radial-gradient(circle at 88% 20%,rgba(254,88,1,.22),transparent 28%),
    linear-gradient(135deg,var(--zgs-navy-deep),var(--zgs-navy)) !important;
}

.site-footer{background:#151c27}
.site-footer a:hover{color:var(--zgs-orange)}

/* Dedicated RFQ visual treatment */
.rfq-page-hero{
  background:
    radial-gradient(circle at 88% 18%,rgba(254,88,1,.25),transparent 28%),
    linear-gradient(135deg,var(--zgs-navy-deep),var(--zgs-navy)) !important;
}
.rfq-section{background:#eef1f4 !important}
.rfq-form-card{border-color:#dce2e8;box-shadow:0 20px 55px rgba(34,43,57,.10)}
.rfq-form-header h2{color:var(--zgs-navy) !important}
.rfq-label-cell label{color:var(--zgs-navy)}
.rfq-required{color:var(--zgs-orange) !important}
.rfq-input-cell input:focus,.rfq-input-cell textarea:focus,.rfq-input-cell select:focus{
  border-color:var(--zgs-orange) !important;
  box-shadow:0 0 0 3px rgba(254,88,1,.11) !important;
}
.rfq-submit-button{background:var(--zgs-orange) !important}
.rfq-submit-button:hover{background:var(--zgs-orange-dark) !important}

/* Mobile header */
@media(max-width:900px){
  .header-inner{min-height:82px}
  .main-nav{top:82px;background:#fff !important;border-bottom:1px solid #dfe4e9}
  .main-nav li a{color:var(--zgs-navy) !important}
  .brand img,.custom-logo{width:205px !important;max-width:205px !important;max-height:66px !important}
}
@media(max-width:600px){
  .brand img,.custom-logo{width:180px !important;max-width:180px !important;max-height:60px !important}
}

/* Robust RFQ two-column rows — prevents theme/plugin CSS from collapsing the layout. */
.rfq-fields-grid{display:block !important;width:100% !important}
.rfq-field-row{
  display:grid !important;
  grid-template-columns:210px minmax(0,1fr) !important;
  column-gap:30px !important;
  width:100% !important;
  align-items:center !important;
}
.rfq-field-row .rfq-label-cell{grid-column:1 !important;grid-row:1 !important}
.rfq-field-row .rfq-input-cell{grid-column:2 !important;grid-row:1 !important}
@media(max-width:820px){
  .rfq-field-row{grid-template-columns:170px minmax(0,1fr) !important;column-gap:20px !important}
}
@media(max-width:650px){
  .rfq-field-row{grid-template-columns:1fr !important;column-gap:0 !important;display:grid !important}
  .rfq-field-row .rfq-label-cell{grid-column:1 !important;grid-row:1 !important}
  .rfq-field-row .rfq-input-cell{grid-column:1 !important;grid-row:2 !important}
}

/* =========================================================
   ZGS v1.6.1 — final visual corrections
   ========================================================= */
:root{
  --zgs-orange:#FE5801;
  --zgs-orange-dark:#D94700;
  --zgs-navy:#222B39;
  --zgs-navy-deep:#172131;
  --zgs-ink:#222B39;
  --zgs-muted:#65707D;
  --zgs-light:#F1F3F5;
  --zgs-warm:#FCFCFB;
  --zgs-border:#DDE2E7;
  --zgs-radius:16px;
  --zgs-shadow:0 14px 40px rgba(34,43,57,.09);
}

html,body{background:var(--zgs-warm);color:var(--zgs-ink)}
body{overflow-x:hidden}

.site-header{
  background:#fff !important;
  color:var(--zgs-navy) !important;
  border-bottom:1px solid #E3E6EA;
  box-shadow:0 4px 18px rgba(34,43,57,.08);
}
.header-inner{min-height:104px;gap:22px}
.brand{min-width:0;flex:0 0 auto}
.brand img,.custom-logo,.zgs-default-logo{
  width:235px !important;
  height:92px !important;
  max-width:235px !important;
  max-height:92px !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block;
}
.main-nav{flex:1 1 auto}
.main-nav ul{justify-content:flex-end;align-items:center;gap:24px}
.main-nav a{color:var(--zgs-navy) !important;font-size:14px;font-weight:750}
.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--zgs-orange) !important}
.header-cta{flex:0 0 auto;background:var(--zgs-orange) !important;color:#fff !important}
.header-cta:hover{background:var(--zgs-orange-dark) !important}
.nav-toggle{border-color:#CDD3D9;color:var(--zgs-navy);background:#fff}

.hero{
  background:
    radial-gradient(circle at 84% 20%,rgba(254,88,1,.25),transparent 31%),
    linear-gradient(135deg,var(--zgs-navy-deep) 0%,var(--zgs-navy) 64%,#354153 100%) !important;
}
.hero:after{border-color:rgba(254,88,1,.13)}
.eyebrow,.section-kicker{color:var(--zgs-orange) !important}
.hero h1 span{color:var(--zgs-orange) !important}
.btn-primary{background:var(--zgs-orange) !important}
.btn-primary:hover{background:var(--zgs-orange-dark) !important}
.stat strong{color:var(--zgs-orange) !important}
.feature-icon{color:var(--zgs-orange) !important;background:#FFF1EA}
.contact-box{background:var(--zgs-navy) !important}
.cta-strip{background:var(--zgs-orange) !important}
.about-panel{background:var(--zgs-navy) !important}
.about-panel strong{color:var(--zgs-orange) !important}
.notice{border-left-color:var(--zgs-orange) !important;background:#FFF6F1 !important}

/* RFQ: each label/input pair is an independent two-column row. */
.rfq-fields-grid{
  display:block !important;
  width:100% !important;
}
.rfq-field-row{
  display:grid !important;
  grid-template-columns:210px minmax(0,1fr) !important;
  column-gap:30px !important;
  align-items:center !important;
  width:100% !important;
}
.rfq-field-row .rfq-label-cell{
  grid-column:1 !important;
  grid-row:1 !important;
  min-width:0 !important;
}
.rfq-field-row .rfq-input-cell{
  grid-column:2 !important;
  grid-row:1 !important;
  min-width:0 !important;
}
.rfq-form-card{border-color:#DCE2E8;box-shadow:0 18px 50px rgba(34,43,57,.10)}
.rfq-form-header h2{color:var(--zgs-navy) !important}
.rfq-input-cell input:focus,.rfq-input-cell textarea:focus,.rfq-input-cell select:focus{
  border-color:var(--zgs-orange) !important;
  box-shadow:0 0 0 3px rgba(254,88,1,.12) !important;
}
.rfq-submit-button{background:var(--zgs-orange) !important}
.rfq-submit-button:hover{background:var(--zgs-orange-dark) !important}

.site-footer{background:var(--zgs-navy-deep)}
.site-footer a:hover{color:var(--zgs-orange)}

@media(max-width:1000px){
  .header-inner{min-height:96px}
  .brand img,.custom-logo,.zgs-default-logo{width:205px !important;height:82px !important;max-width:205px !important;max-height:82px !important}
  .main-nav ul{gap:16px}
  .main-nav a{font-size:13px}
}

@media(max-width:900px){
  .header-inner{min-height:88px}
  .brand img,.custom-logo,.zgs-default-logo{width:190px !important;height:78px !important;max-width:190px !important;max-height:78px !important}
  .main-nav{top:88px;background:#fff !important;box-shadow:0 12px 25px rgba(34,43,57,.10)}
  .main-nav a{color:var(--zgs-navy) !important}
  .rfq-field-row{grid-template-columns:170px minmax(0,1fr) !important;column-gap:20px !important}
}

@media(max-width:650px){
  .header-inner{min-height:78px}
  .brand img,.custom-logo,.zgs-default-logo{width:165px !important;height:68px !important;max-width:165px !important;max-height:68px !important}
  .main-nav{top:78px}
  .rfq-field-row{
    display:block !important;
  }
  .rfq-field-row .rfq-label-cell,
  .rfq-field-row .rfq-input-cell{
    display:block !important;
    grid-column:auto !important;
    grid-row:auto !important;
    width:100% !important;
  }
  .rfq-field-row .rfq-label-cell{
    min-height:0 !important;
    border-bottom:0 !important;
    padding:14px 0 6px !important;
  }
  .rfq-field-row .rfq-input-cell{
    min-height:0 !important;
    border-bottom:1px solid #EDF0F3 !important;
    padding:0 0 15px !important;
  }
}

/* =========================================================
   ZGS v1.6.2 — Fully configurable logo sizing + mobile hero links
   ========================================================= */

/* The logo size is controlled from Appearance > Customize > Logo Sizing.
   Width is the size control; height remains automatic to preserve the logo aspect ratio. */
.brand img,
.brand .custom-logo,
.brand .zgs-default-logo,
.custom-logo-link .custom-logo{
  width:var(--zgs-logo-desktop,220px) !important;
  max-width:var(--zgs-logo-desktop,220px) !important;
  height:auto !important;
  max-height:none !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block !important;
}

/* Keep the entire hero content above the decorative overlay. */
.hero-inner{
  position:relative;
  z-index:2;
}
.hero-actions,
.hero-actions .btn,
.hero-actions a{
  position:relative;
  z-index:3;
  pointer-events:auto !important;
}
.hero:after{
  pointer-events:none !important;
  z-index:1 !important;
}

/* The mobile CTA must remain a real, tappable link. */
@media(max-width:900px){
  .brand img,
  .brand .custom-logo,
  .brand .zgs-default-logo,
  .custom-logo-link .custom-logo{
    width:var(--zgs-logo-mobile,150px) !important;
    max-width:var(--zgs-logo-mobile,150px) !important;
    height:auto !important;
    max-height:none !important;
  }

  .hero-actions{
    position:relative;
    z-index:5;
    display:flex !important;
    flex-wrap:wrap !important;
  }

  .hero-actions .btn{
    min-width:0;
    touch-action:manipulation;
    -webkit-tap-highlight-color:rgba(254,88,1,.18);
  }
}

@media(max-width:600px){
  .hero-actions{
    width:100%;
    gap:12px;
  }
  .hero-actions .btn{
    flex:1 1 100%;
    width:100%;
    min-height:52px;
  }
}



/* Configurable product specifications */
.product-specs {
    color: #596273;
    font-size: 0.96rem;
    line-height: 1.7;
}
.product-specs p {
    margin: 0 0 .65rem;
}
.product-specs p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ZGS v1.6.4 — RFQ CAD / image / PDF attachment field
   ========================================================= */
.rfq-file-input{
  height:auto !important;
  min-height:48px;
  padding:8px 10px !important;
  cursor:pointer;
  background:#fff !important;
}
.rfq-file-input::file-selector-button{
  margin-right:12px;
  padding:9px 14px;
  border:0;
  border-radius:7px;
  background:var(--zgs-navy,#222B39);
  color:#fff;
  font:700 14px/1.2 inherit;
  cursor:pointer;
}
.rfq-file-input:hover::file-selector-button{background:var(--zgs-orange,#FE5801)}
.rfq-file-help{
  display:block;
  margin-top:7px;
  color:#778391;
  font-size:12px;
  line-height:1.4;
}
