/*
Theme Name: CHEMCOX Industrial Theme
Theme URI: https://chemcox.com/
Description: CHEMCOX industrial products and specialty chemicals WordPress theme.
Version: 1.3.7
Author: CHEMCOX
Author URI: https://chemcox.com/
License: GPL-2.0-or-later
Text Domain: chemcox
*/


:root{--navy:#24115d;--navy2:#31157b;--green:#17963c;--green2:#2cab4a;--lime:#7abf31;--purple:#5b2a91;--yellow:#f4c63d;--text:#1e2b40;--muted:#68758a;--light:#f5f8f7;--white:#fff;--border:#e2e8e6;--shadow:0 12px 30px rgba(32,42,64,.09);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.container{width:min(1380px,calc(100% - 48px));margin:auto}.site-main{min-height:50vh}.section{padding:58px 0}.eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.12em;font-size:13px;font-weight:800;color:#4f8b55}.section-head{text-align:center;margin-bottom:26px}.section-title{margin:0;color:var(--navy);font-size:34px;line-height:1.18}.section-intro{max-width:760px;margin:9px auto 0;color:var(--muted);font-size:15px}.hero-rule{display:flex;width:290px;height:5px;margin:15px 0 16px;overflow:hidden;border-radius:10px;background:#e6e9e8}.hero-rule i,.hero-rule b,.hero-rule em{display:block;height:100%;font-style:normal}.hero-rule i{width:38%;background:var(--purple)}.hero-rule b{width:32%;background:var(--green)}.hero-rule em{width:30%;background:var(--yellow)}
/* Header */
.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid #edf0ef}.header-inner{min-height:78px;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;flex:0 0 auto}.brand img{display:block;width:205px;height:auto;object-fit:contain}.brand .custom-logo{max-height:62px;width:auto}.site-nav{margin-left:auto}.site-nav ul{display:flex;align-items:center;gap:25px;list-style:none;margin:0;padding:0}.site-nav a{font-size:13px;color:#445269;white-space:nowrap}.site-nav a:hover,.site-nav .current-menu-item>a{color:var(--green);font-weight:700}.nav-toggle{display:none;border:0;background:transparent;font-size:28px;color:var(--navy);cursor:pointer}.header-actions{display:flex;align-items:center;gap:12px;margin-left:8px}.search-link{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#eef8ef;color:var(--green);font-size:22px}.header-cta{display:inline-flex;align-items:center;gap:8px;padding:12px 19px;border-radius:25px;background:var(--green);color:#fff;font-size:13px;font-weight:800;box-shadow:0 7px 16px rgba(23,150,60,.2)}
/* Hero */
.chemcox-hero{position:relative;overflow:hidden;background:#f6faf8}.hero-backdrop{position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,#fff 43%,rgba(245,249,248,.65) 58%,rgba(245,249,248,.15) 100%);z-index:1}.chemcox-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:49% 51%;min-height:520px}.hero-copy{display:flex;flex-direction:column;justify-content:center;padding:55px 15px 70px 4px}.hero-kicker{font-size:13px;letter-spacing:.09em;font-weight:800;color:#588c61;margin:0 0 11px}.hero-kicker span{color:#8aa48e;padding:0 6px}.hero-copy h1{font-size:48px;line-height:1.03;letter-spacing:-1.8px;color:var(--navy);margin:0}.hero-copy h1 span{color:#128c3b}.hero-subtitle{font-size:19px;color:#27354a;margin:0 0 7px}.hero-description{font-size:15px;color:var(--muted);max-width:580px;margin:0 0 22px}.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:25px;padding:12px 22px;font-weight:800;font-size:13px;border:1px solid transparent;transition:.2s ease}.btn span{font-size:17px}.btn-primary{background:var(--green);border-color:var(--green);color:#fff}.btn-primary:hover{background:#117d31;transform:translateY(-1px)}.btn-outline{background:#fff;border-color:var(--green);color:var(--green)}.btn-outline:hover{background:#eef8f0}.btn-white{background:#fff;color:#197c35}.hero-product-stage{position:relative;min-height:520px;overflow:hidden}.hero-industrial-photo{position:absolute;inset:0;background-image:url('assets/images/hero-industrial.png');background-size:cover;background-position:center;filter:saturate(.92)}.hero-product-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.35) 18%,transparent 45%,rgba(0,0,0,.02) 100%)}.hero-packshot{position:absolute;z-index:3;right:5%;bottom:-3px;width:min(70%,560px);max-height:485px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 16px 18px rgba(0,0,0,.12))}.oil-swoosh{position:absolute;z-index:2;width:80%;height:70px;right:-5%;bottom:95px;background:linear-gradient(90deg,#d89b14,#f3be27,#d78b0d);border-radius:50%;transform:rotate(-5deg);opacity:.9;filter:blur(.2px)}.hero-wave{height:74px;position:absolute;z-index:4;left:-4%;right:-4%;bottom:42px;transform:rotate(-1deg);pointer-events:none}.hero-wave span,.hero-wave i,.hero-wave b{position:absolute;left:0;right:0;height:25px;border-radius:50% 50% 0 0;transform:skewX(-14deg)}.hero-wave span{bottom:25px;background:#74b92c}.hero-wave i{bottom:12px;background:#f0c52e}.hero-wave b{bottom:0;background:linear-gradient(90deg,#5b2a91 0 18%,#278c3d 18% 78%,#70bb31 78%)}
/* Values */
.value-strip{position:relative;z-index:7;margin-top:-3px;background:#fff;border-radius:17px;box-shadow:0 12px 28px rgba(21,38,60,.11);display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden}.value-item{display:flex;align-items:center;gap:15px;padding:18px 26px;border-right:1px solid #e7ece9}.value-item:last-child{border-right:0}.value-icon{width:52px;height:52px;flex:0 0 52px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:24px;font-weight:800}.value-icon.quality{background:linear-gradient(145deg,#0f7c34,#3ea84d)}.value-icon.innovation{background:linear-gradient(145deg,#4d1d80,#7c41ae)}.value-icon.sustainable{background:linear-gradient(145deg,#45a72c,#8cc932)}.value-item strong{display:block;color:#202a40;font-size:14px}.value-item small{display:block;color:#718093;font-size:11px;margin-top:3px}
/* Products */
.product-showcase{background:#fff}.homepage-products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.product-card-modern{display:block;background:#fff;border:1px solid #e6ebe8;border-radius:12px;overflow:hidden;box-shadow:0 5px 16px rgba(24,42,57,.06);transition:.2s ease}.product-card-modern:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(24,42,57,.11);border-color:#cde2d2}.product-card-image{height:155px;background:linear-gradient(180deg,#fbfdfc,#f2f7f4);display:flex;align-items:center;justify-content:center;padding:5px 15px}.product-card-image img{height:145px;width:100%;object-fit:contain}.product-card-body{padding:13px 15px 15px;position:relative;min-height:126px}.product-card-body h3{font-size:15px;line-height:1.25;color:var(--navy);margin:0 32px 7px 0}.product-card-body p{font-size:12px;line-height:1.45;color:#66758a;margin:0}.product-arrow{position:absolute;right:14px;bottom:14px;width:27px;height:27px;border-radius:50%;display:grid;place-items:center;background:#f0f9f1;color:#1a9a3d;font-weight:900}
/* About / industries */
.about-showcase{background:linear-gradient(120deg,#f7fbf8,#fff)}.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center}.about-copy h2{font-size:39px;line-height:1.08;color:var(--navy);margin:0}.about-copy h2 span{color:var(--green)}.about-copy p:not(.eyebrow){color:#617087;max-width:700px}.about-panel{background:linear-gradient(135deg,#198d3a,#3d2a86);padding:26px;border-radius:20px;color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:1px;overflow:hidden;box-shadow:var(--shadow)}.about-stat{padding:25px;background:rgba(255,255,255,.08);min-height:130px}.about-stat strong{display:block;font-size:34px;color:#b7dd75}.about-stat span{font-size:14px;line-height:1.35}.industries-showcase{background:#f8faf9}.industry-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.industry-card{min-height:105px;border-radius:14px;background:#fff;border:1px solid #e3e9e6;box-shadow:0 5px 14px rgba(24,42,57,.05);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:var(--navy);transition:.2s}.industry-card span{width:42px;height:42px;border-radius:50%;background:#eff8f0;color:var(--green);display:grid;place-items:center;font-size:20px}.industry-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.industry-card strong{font-size:13px}
/* Brochure/contact */
.brochure-section{padding-top:15px}.brochure-banner{border-radius:18px;padding:28px 42px;background:linear-gradient(100deg,#18a23f,#253b82 55%,#5d248b);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:25px}.brochure-banner .eyebrow{color:#c9efc6}.brochure-banner h2{margin:0;font-size:26px}.brochure-banner p:not(.eyebrow){margin:3px 0 0;color:rgba(255,255,255,.85);font-size:14px}.contact-section{background:#fff}.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:30px}.contact-copy h2,.query-card h2{font-size:32px;line-height:1.15;color:var(--navy);margin:0 0 10px}.contact-copy>p:not(.eyebrow),.query-card>p:not(.eyebrow){color:var(--muted)}.contact-list{display:grid;gap:15px;margin-top:22px}.contact-item{display:flex;gap:13px;align-items:flex-start}.contact-item>span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#edf8ef;color:var(--green);flex:0 0 42px}.contact-item strong{display:block;color:var(--navy);font-size:13px}.contact-item a,.contact-item div>span{display:block;color:#596a7e;font-size:14px}.query-card{border-radius:20px;padding:34px;background:linear-gradient(135deg,#f2faf3,#f6f1fb);border:1px solid #e5e7eb;box-shadow:var(--shadow)}.btn-whatsapp{background:#19a345;color:#fff}.btn-whatsapp:hover{background:#118335}
/* Footer + WhatsApp */
.site-footer{background:#2b166b;color:#fff;padding:30px 0 18px}.footer-top{display:flex;align-items:center;gap:40px;justify-content:space-between}.footer-brand img{width:205px;display:block}.footer-links{display:flex;gap:22px;flex-wrap:wrap;justify-content:flex-end}.footer-links a{font-size:12px;color:#eee}.footer-links a:hover{color:#aee37b}.footer-bottom{margin-top:24px;padding-top:14px;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:20px;color:#c9c3dc;font-size:11px}.whatsapp-float{position:fixed;right:18px;bottom:18px;top:auto;transform:none;z-index:1100}.whatsapp-float a{display:flex;align-items:center;gap:9px;background:#18a544;color:#fff;border-radius:30px;padding:9px 13px 9px 9px;box-shadow:0 10px 26px rgba(0,0,0,.18);font-size:12px}.whatsapp-float-icon{width:36px;height:36px;border-radius:50%;background:#fff;color:#18a544;display:grid;place-items:center;font-size:19px}.whatsapp-float-arrow{font-size:17px}
/* Product pages */
.product-detail-page{background:#fff}.product-detail-hero{background:linear-gradient(90deg,#fff 0%,#fff 45%,#f2f8f2 100%);padding:60px 0 48px}.product-detail-grid{display:grid;grid-template-columns:52% 48%;align-items:center;gap:20px}.product-detail-hero h1{font-size:52px;line-height:1.05;color:var(--navy);margin:0 0 15px}.product-lead{font-size:19px;color:var(--muted);max-width:680px;margin:0 0 22px}.product-detail-actions{display:flex;gap:12px;flex-wrap:wrap}.product-detail-visual{background:transparent;border-radius:24px;padding:0}.product-packshot{display:flex;align-items:center;justify-content:center;min-height:430px;background:transparent!important;box-shadow:none!important} .product-packshot img{width:min(100%,700px);height:auto;display:block;object-fit:contain}.product-packaging-image{position:relative;width:min(100%,700px);margin:0 auto;line-height:0}.product-packaging-image img{width:100%;height:auto;display:block} .packaging-print{position:absolute;z-index:2;overflow:visible;pointer-events:none;line-height:1}.packaging-print text{font-family:Arial,Helvetica,sans-serif;font-size:6px;font-weight:700;letter-spacing:.45px;text-anchor:middle}.packaging-print-bucket{left:27.5%;top:70.5%;width:25%;height:8%;transform:none}.packaging-print-bucket text{fill:rgba(72,34,92,.68);paint-order:stroke;stroke:rgba(255,255,255,.22);stroke-width:.18px}.packaging-print-drum{left:46.5%;top:68.5%;width:29%;height:8%;transform:none}.packaging-print-drum text{fill:rgba(255,255,255,.72);paint-order:stroke;stroke:rgba(0,0,0,.16);stroke-width:.16px}
.product-detail-content{background:#f7faf8}.product-detail-columns{display:grid;grid-template-columns:1.55fr .85fr;gap:24px}.panel{background:#fff;border-radius:18px;padding:30px;box-shadow:var(--shadow)}.product-description-panel h2{font-size:29px;color:var(--navy);margin:0 0 18px}.product-description-panel p:not(.eyebrow){color:#53667d;font-size:16px}.detail-eyebrow{margin-top:34px}.detail-list{padding-left:22px;margin:10px 0 0;color:#42566e}.detail-list li{margin:0 0 13px}.product-spec-panel{align-self:start}.benefit-list{list-style:none;padding:0;margin:10px 0 24px}.benefit-list li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--border);font-weight:700;color:var(--navy)}.benefit-list li span{color:var(--green)}.pack-box{background:#f5f8f6;border-radius:12px;padding:16px;margin:18px 0}.pack-box strong{color:var(--navy);display:block;margin-bottom:6px}.pack-box p{margin:0;color:var(--muted);font-size:14px}.full-btn{width:100%}.related-product-section{background:#fff}.related-copy{text-align:center;color:var(--muted);max-width:700px;margin:0 auto 20px}.center-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}
/* Brochure page */
.dedicated-brochure-page{background:#f6f8f7}.brochure-full-panel{padding:28px}.brochure-toolbar{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin:0 0 18px}.brochure-full-viewer{width:100%;height:calc(100vh - 210px);min-height:700px;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:#eef2f3}.brochure-full-viewer iframe{width:100%;height:100%;border:0;display:block;background:#fff}
/* Responsive */
@media(max-width:1180px){.site-nav ul{gap:15px}.homepage-products{grid-template-columns:repeat(3,1fr)}.hero-copy h1{font-size:42px}.hero-packshot{width:75%}.industry-cards{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.header-inner{min-height:70px}.brand img{width:180px}.nav-toggle{display:block;margin-left:auto}.site-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;padding:15px 24px;border-bottom:1px solid var(--border);box-shadow:0 8px 20px rgba(0,0,0,.06)}.site-nav.open{display:block}.site-nav ul{display:grid;gap:12px}.header-actions{display:none}.chemcox-hero-grid{grid-template-columns:1fr}.hero-copy{padding:45px 0 15px}.hero-product-stage{min-height:390px}.hero-packshot{width:70%;right:13%;max-height:360px}.hero-wave{bottom:20px}.value-strip{grid-template-columns:1fr;margin-top:0}.value-item{border-right:0;border-bottom:1px solid #e7ece9}.value-item:last-child{border-bottom:0}.about-grid,.contact-grid,.product-detail-grid,.product-detail-columns{grid-template-columns:1fr}.about-panel{margin-top:10px}.brochure-banner{padding:25px;display:grid}.footer-top{display:grid;gap:20px}.footer-links{justify-content:flex-start}.footer-bottom{display:grid}.product-detail-hero h1{font-size:45px}.product-packshot{min-height:330px}.brochure-full-viewer{height:calc(100vh - 170px);min-height:560px}}
@media(max-width:600px){.container{width:min(100% - 28px,1380px)}.brand img{width:160px}.section{padding:42px 0}.hero-copy h1{font-size:34px;letter-spacing:-1px}.hero-copy{padding-top:32px}.hero-description{font-size:14px}.hero-product-stage{min-height:330px}.hero-packshot{width:82%;right:9%;max-height:310px}.hero-industrial-photo{background-position:60% center}.value-item{padding:15px 17px}.homepage-products{grid-template-columns:repeat(2,1fr);gap:10px}.product-card-image{height:120px;padding:5px}.product-card-image img{height:112px}.product-card-body{padding:10px;min-height:125px}.product-card-body h3{font-size:13px}.product-card-body p{font-size:11px}.industry-cards{grid-template-columns:repeat(2,1fr)}.about-copy h2,.contact-copy h2,.query-card h2{font-size:29px}.about-panel{grid-template-columns:1fr 1fr}.about-stat{padding:18px;min-height:110px}.brochure-banner h2{font-size:23px}.whatsapp-float{right:9px;top:auto;bottom:18px;transform:none}.whatsapp-float a{padding:8px 11px 8px 8px}.whatsapp-float strong{font-size:11px}.product-detail-hero{padding:40px 0 25px}.product-detail-hero h1{font-size:37px}.product-lead{font-size:16px}.product-packshot{min-height:270px}.packaging-print text{font-size:5px;letter-spacing:.3px}.packaging-print-bucket{left:27%;top:70%;width:27%;height:8%;transform:none}.packaging-print-drum{left:45%;top:68%;width:31%;height:8%;transform:none}.panel{padding:22px}.brochure-full-panel{padding:16px}.brochure-full-viewer{height:calc(100vh - 160px);min-height:500px;border-radius:8px}}


/* v1.3.7 - straight, center-aligned product code directly below each existing logo */
.packaging-print { transform:none !important; }
.packaging-print text { text-anchor:middle !important; dominant-baseline:middle; }
.packaging-print-bucket { left:27.5% !important; top:70.5% !important; width:25% !important; height:8% !important; }
.packaging-print-drum { left:46.5% !important; top:68.5% !important; width:29% !important; height:8% !important; }
@media(max-width:600px){
  .packaging-print-bucket { left:27% !important; top:70% !important; width:27% !important; height:8% !important; }
  .packaging-print-drum { left:45% !important; top:68% !important; width:31% !important; height:8% !important; }
}


/* v1.3.7 - Product name: 2x font, centered under CHEMCOX branding */
.product-name-print,
.product-product-name,
.product-name-overlay,
.packaging-product-name,
.drum-product-name,
.bucket-product-name,
.product-name {
    font-size: 2em !important;
    left: 50% !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

/* Keep the name visually below the CHEMCOX logo/brand, approximately 18mm
   in the product artwork's physical scale. */
.packaging-product-name,
.drum-product-name,
.bucket-product-name,
.product-name-print,
.product-product-name,
.product-name-overlay,
.product-name {
    top: calc(50% + 18mm) !important;
}


/* v1.3.7 - Product name 2x current size, centered 10mm below CHEMCOX wordmark */
.product-packaging-image .packaging-print-bucket,
.product-packaging-image .packaging-print-drum {
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, 10mm) !important;
    text-align: center !important;
}

.product-packaging-image .packaging-print-bucket text,
.product-packaging-image .packaging-print-drum text {
    font-size: 12px !important;
    text-anchor: middle !important;
    text-align: center !important;
}

/* CHEMCOX v1.3.7 - footer color matched to approved reference */
.site-footer, footer.site-footer, .footer, .site-footer .footer-inner {
  background: linear-gradient(135deg,#24115f 0%,#17134b 55%,#10143d 100%) !important;
  background-color:#17134b !important;
}
.site-footer .custom-logo-link,.site-footer .footer-logo,.site-footer .footer-brand,
.site-footer .footer-logo img { background:transparent !important; }
.site-footer .whatsapp-query,.site-footer .whatsapp-button,.whatsapp-query,.whatsapp-button {
  background:#16b84e !important; color:#fff !important;
}
