/*
Theme Name: Δ²P Engineering — Black Industrial
Description: Catalogo per categorie, CAD, CNC, stampa 3D e ordini personalizzati.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
Author: DDP Engineering | Design & Manufacturing
Text Domain: ddp-engineering
*/
:root{--bg:#08090a;--panel:#111214;--ink:#f4f4f4;--muted:#a3a5a9;--line:#2b2d30;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:2px solid #fff;outline-offset:5px}img{max-width:100%;height:auto}.wrap{width:min(var(--max),calc(100% - 88px));margin-inline:auto}.header{background:#08090a;border-bottom:1px solid var(--line);position:relative;z-index:2}.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px}.brand{display:flex;align-items:center;gap:13px;white-space:nowrap;line-height:1}.mark{font-size:38px;font-weight:800;letter-spacing:-3px}.mark sup{font-size:.51em;vertical-align:super;letter-spacing:0;margin-inline:1px 3px}.wordmark{font-size:11px;letter-spacing:.23em;font-weight:650}.nav{display:flex;align-items:center;gap:28px;font-size:12px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}.nav-shop{border:1px solid #888;padding:11px 20px}.nav a:hover,.footer a:hover{color:#aaa}.hero{position:relative;isolation:isolate;min-height:650px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;background:#0a0b0c}.hero-media{position:absolute;inset:0;z-index:-1;background:#0d1114 url('hero.svg') right center/auto 100% no-repeat}.hero-media:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#08090a 0%,rgba(8,9,10,.93) 22%,rgba(8,9,10,.5) 52%,rgba(8,9,10,.06) 100%),linear-gradient(0deg,#08090a 0%,transparent 30%)}.hero-img{width:100%;height:100%;object-fit:cover;object-position:70% 50%;display:block;filter:saturate(.6) brightness(.77)}.hero-inner{padding:105px 0 120px}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.23em;text-transform:uppercase;color:#b1b5b9;margin:0 0 18px}.hero h1{font-size:clamp(58px,8.2vw,116px);font-weight:680;letter-spacing:-.075em;line-height:.98;margin:0 0 28px}.hero h1 span{color:#a1a5aa}.hero-copy{font-size:19px;color:#c5c6c8;margin:0 0 32px}.actions{display:flex;flex-wrap:wrap;gap:12px}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:20px;min-height:50px;padding:13px 22px;background:#f2f2f2;color:#08090a;border:1px solid #f2f2f2;font-size:14px;font-weight:650;transition:background .18s,color .18s}.button:hover{background:#bfc2c5;border-color:#bfc2c5}.button.outline{color:#f4f4f4;background:rgba(9,10,11,.42);border-color:#777}.button.outline:hover{background:#26282a}.hero-bottom{position:absolute;bottom:25px;left:0;right:0;display:flex;justify-content:space-between;gap:16px;color:#a6a7a9;font-size:9px;letter-spacing:.1em}.hero-bottom a{letter-spacing:0}.section{border-top:1px solid var(--line);padding:76px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:32px}.section-heading h2,.contact h2{margin:0;font-size:clamp(38px,5vw,68px);font-weight:630;line-height:1.04;letter-spacing:-.06em}.section-heading p:not(.eyebrow){color:var(--muted);font-size:14px;margin:0}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product{background:var(--panel);border:1px solid var(--line);display:flex;flex-direction:column;min-width:0}.product-media{aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden;background:#16181b}.product-media img{width:100%;height:100%;object-fit:cover}.product-media svg{width:50%;height:50%;color:#85898e}.product-info{padding:23px;display:flex;flex-direction:column;flex:1;gap:12px}.product-info h3{margin:0;font-size:20px;font-weight:620}.product-info p{margin:0;color:var(--muted);font-size:14px}.price{font-size:19px}.product-info .button{margin-top:auto}.empty{border:1px solid var(--line);background:var(--panel);padding:30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.empty h3{margin:0 0 6px;font-size:20px}.empty p{color:var(--muted);margin:0;font-size:14px}.services{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.service{border:1px solid var(--line);padding:24px;min-height:190px;background:var(--panel)}.service-num,.order-grid article>span{font:12px monospace;color:#93979d}.service h3,.order-grid h3{font-size:21px;line-height:1.2;font-weight:600;margin:27px 0 12px;letter-spacing:-.025em}.service p,.order-grid p{color:var(--muted);font-size:14px;margin:0}.order-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.order-grid article{border-top:1px solid #777;padding:22px 10px 0 0}.order-grid h3{margin:19px 0 10px}.contact-section{background:#111214}.contact{display:grid;grid-template-columns:1.4fr .6fr;align-items:center;gap:40px}.contact h2{font-size:clamp(42px,6.6vw,86px)}.contact p:not(.eyebrow){color:var(--muted);margin:22px 0 0}.social-actions{display:grid;gap:12px;max-width:360px;width:100%;justify-self:end}.social-actions .button{justify-content:flex-start}.social-actions .button span{margin-left:auto}.social-actions svg{width:22px;height:22px;flex-shrink:0}.button.whatsapp{background:#e8f6ec;border-color:#e8f6ec;color:#0c3921}.button.whatsapp:hover{background:#c9e8d2}.button.unavailable{opacity:.55;cursor:default}.social-actions small,.email{font-size:13px;color:var(--muted)}.footer{border-top:1px solid var(--line);padding:28px 0;font-size:12px;color:var(--muted)}.footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px}.footer-links{display:flex;flex-wrap:wrap;gap:16px}.legal{max-width:65ch;white-space:pre-line}.page-content{padding:60px 0;max-width:800px}.page-content a{text-decoration:underline}.skip-link{position:absolute;left:10px;top:-100px;background:#fff;color:#000;padding:10px;z-index:100}.skip-link:focus{top:10px}@media(max-width:900px){.wrap{width:calc(100% - 48px)}.hero{min-height:590px}.services{grid-template-columns:repeat(2,1fr)}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.nav{gap:15px}.section{padding:56px 0}}@media(max-width:600px){.wrap{width:calc(100% - 36px)}.header .wrap{min-height:68px;gap:10px}.brand{gap:8px}.mark{font-size:30px}.wordmark{font-size:9px;letter-spacing:.13em}.nav a:not(.nav-shop){display:none}.nav-shop{padding:8px 13px}.hero{min-height:640px;justify-content:flex-end}.hero-media{background-size:auto 65%;background-position:center top}.hero-img{object-position:65% top;height:76%}.hero-media:after{background:linear-gradient(0deg,#08090a 8%,rgba(8,9,10,.98) 24%,rgba(8,9,10,.6) 53%,rgba(8,9,10,.08) 100%)}.hero-inner{padding:220px 0 78px}.hero h1{font-size:clamp(54px,13vw,78px);margin-bottom:20px}.hero-copy{font-size:16px}.hero-bottom{font-size:8px;bottom:16px;flex-wrap:wrap;gap:3px}.desktop{display:none}.actions{gap:8px}.actions .button{font-size:12px;gap:10px;padding:11px 13px;min-height:45px}.section{padding:42px 0}.section-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:24px}.products,.order-grid,.contact{grid-template-columns:1fr}.service{padding:17px;min-height:165px}.service h3{font-size:17px}.service p{font-size:13px}.empty{align-items:flex-start;flex-direction:column;padding:22px}.contact{gap:24px}.social-actions{justify-self:start;max-width:none}.footer .wrap{flex-direction:column}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Black Industrial: categories and technical material system */
[hidden]{display:none!important}.hero-copy{max-width:680px}.materials{margin-top:42px;padding:28px 0 0;border-top:1px solid var(--line)}.materials-title{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:20px}.materials-title .eyebrow{margin:0}.materials-title h3{margin:0;font-size:26px;font-weight:600;letter-spacing:-.04em}.material-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line)}.material{padding:22px;border-right:1px solid var(--line)}.material:last-child{border:0}.material strong{font-size:23px;font-weight:600;letter-spacing:-.03em}.material p{margin:8px 0 0;color:var(--muted);font-size:13px}.material-note{font-size:12px;color:var(--muted);margin:14px 0 0}.shop-section{background:#0b0c0d}.category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.category-card{min-height:145px;background:linear-gradient(145deg,#191b1d,#101113);border:1px solid #303236;padding:19px;display:flex;flex-direction:column;align-items:flex-start;gap:9px;transition:border-color .2s,background .2s}.category-card:hover,.category-card.is-selected{border-color:#e4e4e4;background:#222428}.category-card svg{width:30px;height:30px;color:#c1c5cb;margin-bottom:3px}.category-name{font-weight:620;font-size:16px;display:flex;justify-content:space-between;width:100%;gap:8px;align-items:center}.category-name span{font-size:13px;color:#a6a8ad}.category-desc{font-size:12px;color:#a6a8ad}.catalog-list{margin-top:45px}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding-bottom:18px}.catalog-toolbar h3{font-size:25px;letter-spacing:-.04em;margin:0;font-weight:600}.catalog-toolbar p{font-size:12px;color:var(--muted);margin:4px 0 0}.filter-reset{font:inherit;font-size:12px;cursor:pointer;background:transparent;color:var(--ink);border:1px solid #777;padding:9px 14px}.filter-reset:focus-visible{outline:2px solid white;outline-offset:3px}.catalog-group{padding:24px 0;border-bottom:1px solid var(--line);scroll-margin-top:24px}.group-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.group-heading h4{font-size:18px;font-weight:600;margin:0}.group-heading>span{font-size:11px;color:var(--muted)}.group-empty{display:flex;align-items:center;justify-content:space-between;gap:14px;color:var(--muted);font-size:13px}.group-empty p{margin:0}.group-empty a{color:var(--ink);border-bottom:1px solid #666;padding:4px 0}.product-tag{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#b1b5b9}.product-actions{margin-top:auto;display:grid;gap:8px}.product-actions .button{margin:0;font-size:13px}.social-actions .unavailable small{margin-left:auto;font-size:10px;color:inherit}.social-actions .button{min-height:54px}.contact-section{background:linear-gradient(120deg,#151618,#0c0d0e)}
@media(max-width:900px){.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.material-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material:nth-child(2){border-right:0}.material:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:600px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.category-card{padding:13px;min-height:148px}.category-name{font-size:14px}.category-desc{font-size:11px}.material{padding:15px}.material strong{font-size:19px}.material p{font-size:12px}.materials-title{display:block}.materials-title h3{margin-top:7px}.group-empty{align-items:flex-start;flex-direction:column;gap:6px}.catalog-toolbar h3{font-size:21px}.filter-reset{max-width:145px}.hero-copy{max-width:420px}.hero-inner{padding-top:200px}.hero{min-height:660px}}
