/*
Theme Name: Heating Radiators
Theme URI: https://www.heating-radiators.com/
Author: SUNLIKE
Description: Independent WordPress theme for heating-radiators.com.
Version: 0.1.0
Requires PHP: 8.1
Text Domain: heating-radiators
*/
:root{--ink:#17212b;--navy:#102b3f;--blue:#176b91;--red:#df3f34;--paper:#fff;--mist:#f3f6f8;--line:#dce4e9;--muted:#5d6b76;--radius:14px;--shadow:0 16px 40px rgba(16,43,63,.12)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Inter,Segoe UI,Arial,sans-serif;line-height:1.65}a{color:var(--blue);text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto}.wrap{width:min(1180px,calc(100% - 36px));margin-inline:auto}.topbar{background:var(--navy);color:#dce8ef;font-size:.88rem}.topbar .wrap{display:flex;justify-content:space-between;gap:24px;padding:8px 0}.topbar a{color:#fff}.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-row{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:78px}.brand img{display:block;max-width:190px;max-height:56px}.nav{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.nav a{color:var(--ink);font-size:.92rem;font-weight:700;letter-spacing:.02em}.nav .cta{padding:10px 16px;color:#fff;background:var(--red);border-radius:999px}.hero{position:relative;overflow:hidden;color:#fff;background:linear-gradient(120deg,rgba(16,43,63,.98),rgba(23,107,145,.88));padding:94px 0}.hero:after{content:"";position:absolute;width:520px;height:520px;right:-120px;top:-250px;border:90px solid rgba(255,255,255,.08);border-radius:50%}.hero-content{position:relative;z-index:1;max-width:760px}.eyebrow{margin:0 0 12px;color:#9ad4eb;font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}.hero h1{max-width:740px;margin:0 0 22px;font-size:clamp(2.5rem,6vw,5.4rem);line-height:1.02;letter-spacing:-.045em}.hero p{max-width:680px;margin:0 0 32px;color:#e3edf2;font-size:1.12rem}.buttons{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border:1px solid transparent;border-radius:999px;font-weight:800}.button-primary{color:#fff;background:var(--red)}.button-secondary{color:#fff;border-color:rgba(255,255,255,.55)}.section{padding:76px 0}.section-soft{background:var(--mist)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:30px}.section-head h2{max-width:720px;margin:0;font-size:clamp(1.9rem,4vw,3.2rem);line-height:1.1;letter-spacing:-.03em}.section-head p{max-width:540px;margin:0;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 22px rgba(16,43,63,.06);transition:.2s ease}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card-media{display:flex;align-items:center;justify-content:center;aspect-ratio:16/10;background:#eef3f6;overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover}.card-body{padding:22px}.card h3{margin:0 0 8px;font-size:1.2rem;line-height:1.3}.card p{margin:0;color:var(--muted)}.category-card{min-height:180px;padding:26px;background:linear-gradient(145deg,#fff,#eef4f7)}.category-card span{display:block;margin-top:22px;color:var(--red);font-weight:800}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.metric{padding:26px;background:#fff}.metric strong{display:block;color:var(--navy);font-size:2rem}.content-shell{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:48px;padding:58px 0 84px}.content-main{min-width:0}.content-main h1{margin:0 0 18px;font-size:clamp(2rem,5vw,4rem);line-height:1.1;letter-spacing:-.035em}.content-main h2{margin-top:1.6em;line-height:1.25}.content-main table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.content-main td,.content-main th{padding:10px;border:1px solid var(--line)}.content-main iframe{max-width:100%}.meta{margin-bottom:28px;color:var(--muted)}.featured{margin:0 0 28px;border-radius:var(--radius);box-shadow:var(--shadow)}.sidebar{align-self:start;padding:24px;background:var(--mist);border-radius:var(--radius)}.sidebar h2{margin-top:0;font-size:1.2rem}.site-footer{padding:58px 0 24px;color:#cfdae0;background:#0c2232}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px}.site-footer h2,.site-footer h3{color:#fff}.site-footer a{color:#e5eef3}.copyright{margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:.86rem}.notice-box{padding:20px;border-left:4px solid var(--red);background:#fff4f2}.menu-toggle{display:none;border:0;background:none;font-size:1.4rem}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,1fr)}.content-shell{grid-template-columns:1fr}.nav{display:none}.nav.open{position:absolute;display:flex;flex-direction:column;align-items:stretch;top:78px;left:0;right:0;padding:24px;background:#fff;border-bottom:1px solid var(--line)}.menu-toggle{display:block}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.topbar .wrap{display:block}.hero{padding:70px 0}.section{padding:56px 0}.grid,.footer-grid{grid-template-columns:1fr}.metrics{grid-template-columns:1fr}.section-head{display:block}.section-head p{margin-top:12px}}
.page-intro{max-width:760px;margin:-4px 0 30px;color:var(--muted);font-size:1.08rem}.special-page .content-main{max-width:none}.special-grid{margin-top:24px}.special-grid .category-card h2{margin:0 0 8px;font-size:1.35rem}.btu-calculator{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:28px;background:var(--mist);border-radius:var(--radius)}.btu-calculator label{display:grid;gap:6px;font-weight:700}.btu-calculator input,.btu-calculator select{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fff;font:inherit}.btu-calculator .button{align-self:end}.btu-result{margin-top:20px;padding:24px;border-left:4px solid var(--red);background:#fff4f2;font-size:1.1rem}.contact-panel{display:grid;grid-template-columns:1fr 1fr;gap:24px}.contact-panel section{padding:28px;background:var(--mist);border-radius:var(--radius)}.contact-panel h2{margin-top:0}@media(max-width:700px){.btu-calculator,.contact-panel{grid-template-columns:1fr}}
.header-row{min-height:96px}.brand{display:flex;align-items:center;padding:7px 0}.brand img{display:block;width:300px;max-width:32vw;max-height:none;height:auto}@media(max-width:600px){.header-row{min-height:82px}.brand img{width:210px;max-width:58vw}.nav.open{top:82px}}
.footer-brand{display:block;max-width:320px;margin-bottom:20px}.footer-brand img{display:block;width:100%;height:auto}.product-listing-grid .card-media{background:#fff}.product-listing-grid .card-body p:empty{display:none}
.category-card-image{padding:0;min-height:0}.category-card-image .category-card-media{display:block;margin:0;aspect-ratio:16/10;overflow:hidden;background:#fff;color:inherit}.category-card-image .category-card-media img{display:block;width:100%;height:100%;object-fit:contain;padding:12px}.category-card-image .category-card-copy{display:block;margin:0;padding:22px;color:inherit}.category-card-image .category-card-copy h2{margin:0 0 8px}.category-card-image .category-card-copy strong{display:block;margin-top:18px;color:var(--red)}
.product-category-overview{grid-template-columns:repeat(12,minmax(0,1fr))}.product-category-overview .category-card-image{grid-column:span 3}.product-category-overview .category-card-image:nth-child(1){grid-column:span 7}.product-category-overview .category-card-image:nth-child(2){grid-column:span 5}.product-category-overview .category-card-image:nth-child(-n+2) .category-card-media{aspect-ratio:16/7}.product-category-overview .category-card-image:nth-child(-n+2) .category-card-copy h2{font-size:1.55rem}@media(max-width:900px){.product-category-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.product-category-overview .category-card-image,.product-category-overview .category-card-image:nth-child(1),.product-category-overview .category-card-image:nth-child(2){grid-column:span 1}.product-category-overview .category-card-image:nth-child(-n+2) .category-card-media{aspect-ratio:16/10}}@media(max-width:600px){.product-category-overview{grid-template-columns:1fr}}
.nav a{position:relative;display:inline-block;padding:9px 2px;transition:color .2s ease,transform .2s ease,background-color .2s ease,box-shadow .2s ease}.nav a:not(.cta)::after{content:"";position:absolute;left:50%;right:50%;bottom:2px;height:3px;border-radius:99px;background:var(--red);transition:left .22s ease,right .22s ease}.nav a:not(.cta):hover,.nav a:not(.cta):focus-visible{color:var(--red);transform:translateY(-2px)}.nav a:not(.cta):hover::after,.nav a:not(.cta):focus-visible::after{left:0;right:0}.nav .cta:hover,.nav .cta:focus-visible{color:#fff;background:var(--navy);transform:translateY(-2px);box-shadow:0 8px 18px rgba(16,43,63,.22)}.nav a:focus-visible{outline:3px solid rgba(229,64,53,.25);outline-offset:4px}
.products-overview-page{grid-template-columns:minmax(0,1fr);padding-top:54px}.products-overview-page>.sidebar{display:none}.products-overview-page .product-category-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}.products-overview-page .product-category-overview .category-card-image:nth-child(n){grid-column:span 1;display:flex;flex-direction:column;min-width:0;background:#fff}.products-overview-page .product-category-overview .category-card-media:nth-child(n){aspect-ratio:16/10;background:#eef3f6}.products-overview-page .category-card-image .category-card-media img{width:100%;height:100%;padding:0;object-fit:cover;transition:transform .35s ease}.products-overview-page .category-card-image:hover .category-card-media img{transform:scale(1.045)}.products-overview-page .category-card-copy{display:flex;flex:1;flex-direction:column;min-height:190px;padding:24px;background:#fff}.products-overview-page .category-card-copy h2{font-size:1.35rem}.products-overview-page .category-card-copy p{color:var(--muted);font-weight:400}.products-overview-page .category-card-copy strong{margin-top:auto;padding-top:18px}.products-overview-page .category-card-image:hover{border-color:rgba(229,64,53,.35)}@media(max-width:900px){.products-overview-page .product-category-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.products-overview-page .product-category-overview{grid-template-columns:1fr}.products-overview-page .category-card-copy{min-height:0}}

/* Homepage hero: real radiator image with a strong text-safe overlay. */
.hero{min-height:590px;display:flex;align-items:center;background-color:#0b202f;background-image:linear-gradient(90deg,rgba(11,32,47,.98) 0%,rgba(11,32,47,.92) 32%,rgba(11,32,47,.48) 62%,rgba(11,32,47,.04) 100%),url('assets/hero-radiator.jpg');background-position:center,right center;background-size:100% 100%,auto 100%;background-repeat:no-repeat}
.hero:after{display:none}
.hero-content{width:100%;max-width:1180px}
.hero h1{max-width:690px}
.hero p{max-width:650px}
@media(max-width:760px){.hero{min-height:540px;padding:72px 0;background-image:linear-gradient(90deg,rgba(11,32,47,.96),rgba(11,32,47,.72)),url('assets/hero-radiator.jpg');background-position:center,right center;background-size:100% 100%,auto 100%}.hero h1{font-size:clamp(2.35rem,12vw,3.65rem)}}

/* Compact product imagery on the homepage category cards. */
body.home .category-card{position:relative;min-height:350px;padding:210px 26px 26px;background:#fff}
body.home .category-card:before{content:"";position:absolute;inset:0 0 auto;height:184px;background-color:#eef3f6;background-image:var(--card-img);background-position:center;background-size:contain;background-repeat:no-repeat}
body.home .category-card:nth-child(1){--card-img:url('/uploads/allimg/211213/1-211213211440392.jpg')}
body.home .category-card:nth-child(2){--card-img:url('/uploads/allimg/211214/main2_140_1.jpg')}
body.home .category-card:nth-child(3){--card-img:url('/uploads/allimg/211214/1.jpg')}
body.home .category-card:nth-child(4){--card-img:url('/uploads/allimg/211214/61zbEUEwHzL._AC_SL1001_.jpg')}
body.home .category-card:nth-child(5){--card-img:url('/uploads/allimg/211229/11.jpg')}
body.home .category-card:nth-child(6){--card-img:url('/uploads/allimg/220525/1-2205251345550-L.jpg')}
@media(max-width:600px){body.home .category-card{min-height:330px;padding-top:200px;background-size:100% 174px}}

/* Product photography should remain fully visible on all product grids. */
.products-overview-page .category-card-image .category-card-media img{padding:10px;object-fit:contain;transform:none}
.products-overview-page .category-card-image:hover .category-card-media img{transform:none}
.product-listing-grid .card-media img{padding:8px;object-fit:contain}
.products-hero{position:relative;overflow:hidden;margin:30px 0 34px;border-radius:var(--radius);background:var(--navy);box-shadow:var(--shadow)}.products-hero img{display:block;width:100%;height:auto}.products-hero figcaption{position:absolute;left:0;right:0;bottom:0;display:grid;gap:3px;padding:28px 30px;color:#fff;background:linear-gradient(transparent,rgba(8,28,42,.92))}.products-hero figcaption strong{font-size:1.25rem}.products-hero figcaption span{color:#e4edf2}@media(max-width:600px){.products-hero figcaption{position:static;padding:20px;background:var(--navy)}}

/* About: concise factory-first company presentation. */
.about-factory-page{grid-template-columns:minmax(0,1fr);padding-top:54px}.about-factory-page>.sidebar{display:none}.about-lead{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:42px;margin:10px 0 42px}.about-lead img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow)}.about-button-secondary{color:var(--navy);border-color:var(--line);background:#fff}.about-stats{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;margin:0 0 72px;border:1px solid var(--line);border-radius:var(--radius);background:var(--line);gap:1px}.about-stats div{padding:25px;background:var(--mist)}.about-stats strong{display:block;color:var(--navy);font-size:clamp(1.45rem,3vw,2.15rem);line-height:1.2}.about-stats span{color:var(--muted);font-size:.92rem}.about-section-head{max-width:760px;margin-bottom:28px}.about-section-head h2{margin:.15em 0 .35em;font-size:clamp(2rem,4vw,3.2rem);line-height:1.08;letter-spacing:-.035em}.about-section-head>p:last-child{color:var(--muted);font-size:1.05rem}.factory-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.factory-card{overflow:hidden;margin:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:0 8px 22px rgba(16,43,63,.06)}.factory-card-wide{grid-column:span 2}.factory-card img{display:block;width:100%;height:280px;object-fit:cover}.factory-card-wide img{height:390px}.factory-card figcaption{display:grid;gap:3px;padding:18px 20px}.factory-card figcaption strong{color:var(--navy);font-size:1.08rem}.factory-card figcaption span{color:var(--muted)}.about-cta{display:flex;align-items:center;justify-content:space-between;gap:34px;margin-top:56px;padding:38px;border-radius:var(--radius);background:var(--navy);color:#fff}.about-cta h2{max-width:720px;margin:0;color:#fff;line-height:1.18}.about-cta .eyebrow{margin-bottom:8px}.pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:42px 0 0}.pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--navy);font-weight:700}.pagination .page-numbers:hover,.pagination .current{border-color:var(--red);background:var(--red);color:#fff}@media(max-width:800px){.about-lead{grid-template-columns:1fr}.about-stats{grid-template-columns:repeat(2,1fr)}.factory-grid{grid-template-columns:1fr}.factory-card-wide{grid-column:span 1}.factory-card img,.factory-card-wide img{height:260px}.about-cta{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.about-stats{grid-template-columns:1fr 1fr}.about-stats div{padding:18px}.factory-card img,.factory-card-wide img{height:220px}.about-cta{padding:26px}}
