/*
Theme Name: Scrap Nearby
Author: OpenAI
Description: Mobile-friendly doorstep scrap pickup website for Scrap Nearby, Mumbai.
Version: 2.0
*/
:root{--g:#064e2b;--l:#65a30d;--o:#f59e0b;--ink:#17231b;--muted:#5e6b62;--line:#e0e8e1;--soft:#f5faf4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:16px/1.6 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink)}a{color:var(--g)}.wrap{width:min(1120px,calc(100% - 36px));margin:auto}.top{background:var(--g);color:white;padding:7px 0;font-size:13px}.head{position:sticky;top:0;background:#ffffffed;backdrop-filter:blur(10px);border-bottom:1px solid var(--line);z-index:5}.headin{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:78px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--g);font-weight:950;font-size:22px;line-height:1.05}.mark{display:grid;place-items:center;background:var(--g);color:#fff;border-radius:12px;width:42px;height:42px}.brand small{display:block;font-size:10px;letter-spacing:1px;color:var(--muted);margin-top:5px}.nav{display:flex;align-items:center;gap:20px}.nav a{text-decoration:none;color:#294331;font-weight:700;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 20px;border-radius:999px;background:var(--l);color:#fff!important;font-weight:850;text-decoration:none;border:0;cursor:pointer}.btn:hover{background:var(--g)}.btn.alt{background:var(--o);color:#1b2a1f!important}.btn.out{background:transparent;border:1px solid #c8d9c8;color:var(--g)!important}.toggle{display:none;border:0;border-radius:9px;padding:10px;background:#e9f4e7;color:var(--g);font-size:20px}.hero{background:radial-gradient(circle at 88% 12%,#d6edc9 0,transparent 28%),linear-gradient(120deg,#f1f9ef,#fff 68%);padding:72px 0}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:44px;align-items:center}.eyebrow{display:inline-block;border-radius:999px;background:#e5f3df;color:var(--g);padding:7px 12px;font-size:12px;font-weight:900;letter-spacing:.7px;text-transform:uppercase}.hero h1{font-size:clamp(40px,5.3vw,66px);line-height:1.04;letter-spacing:-2px;color:#123b24;margin:20px 0}.hero h1 span{color:var(--l)}.lead{font-size:18px;color:var(--muted);max-width:600px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0}.trust{display:flex;gap:16px;flex-wrap:wrap;font-size:13px;font-weight:800;color:#395341}.trust span:before{content:"✓";background:#dff0d8;border-radius:50%;display:inline-grid;place-items:center;width:20px;height:20px;margin-right:6px;color:var(--g)}.card{background:white;border:1px solid var(--line);border-radius:24px;padding:25px;box-shadow:0 14px 36px #064e2b12}.card h3{margin:0 0 15px;color:var(--g)}.materials{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.material{padding:13px;border:1px solid var(--line);background:#fbfdfb;border-radius:14px}.material b{display:block;color:#17432a;font-size:14px}.material small{color:var(--muted)}.icon{font-size:23px;display:block}.section{padding:70px 0}.soft{background:var(--soft)}.sectionhead{text-align:center;max-width:700px;margin:0 auto 34px}.section h2{font-size:clamp(30px,3.5vw,44px);line-height:1.12;letter-spacing:-1px;color:#143c25;margin:12px 0}.sectionhead p{color:var(--muted)}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.service,.step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}.service h3,.step h3{margin:10px 0 7px;color:#19472c}.service p,.step p{color:var(--muted);font-size:14px;margin:0}.service .iconbox{display:grid;place-items:center;background:#e8f4e3;border-radius:14px;width:50px;height:50px;font-size:25px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.num{background:var(--g);color:#fff;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-weight:900}.pills{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.pill{background:white;border:1px solid #d8e7d6;border-radius:999px;padding:10px 15px;font-size:14px;font-weight:750;color:#2b5037}.booking{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;align-items:start}.bookinfo{background:var(--g);color:white;border-radius:22px;padding:28px}.bookinfo h2{color:white}.bookinfo p{color:#e0eee3}.formcard{background:white;border:1px solid var(--line);border-radius:22px;padding:26px;box-shadow:0 12px 34px #064e2b0d}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:6px}.full{grid-column:1/-1}.field label{font-size:13px;font-weight:800;color:#294a32}.field input,.field select,.field textarea{width:100%;border:1px solid #d5e1d6;background:#fbfdfb;border-radius:10px;padding:12px;font:inherit;min-height:46px}.field textarea{min-height:90px}.note{font-size:12px;color:var(--muted)}.status{display:none;padding:12px;margin-top:12px;border-radius:10px;background:#edf8e9;color:var(--g);font-size:14px}.faq{max-width:800px;margin:auto}.faq details{padding:17px 0;border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;font-weight:850;color:#21452c}.faq p{color:var(--muted)}.cta{padding:36px;background:#eaf5e5;border-radius:24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{margin:0;color:#143c25}.footer{background:#092f1b;color:#e4efe6;padding:45px 0 20px}.footgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:28px}.footer h3{color:#fff}.footer a{color:#e4efe6}.footer p,.footer li{font-size:14px;color:#c5d7c8}.bottom{border-top:1px solid #ffffff26;margin-top:25px;padding-top:16px;font-size:12px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.floatwa{position:fixed;right:16px;bottom:16px;background:#168b48;color:white!important;border-radius:999px;padding:13px 17px;text-decoration:none;font-weight:850;z-index:6;box-shadow:0 7px 22px #0002}.page{padding:50px 0;min-height:45vh}
@media(max-width:850px){.hero-grid{gap:24px}.nav{gap:10px}.nav a{font-size:12px}.grid3{grid-template-columns:repeat(2,1fr)}.booking{grid-template-columns:1fr}.footgrid{grid-template-columns:1fr 1fr}.footgrid>div:first-child{grid-column:1/-1}}
@media(max-width:620px){.wrap{width:calc(100% - 28px)}.headin{min-height:68px}.brand{font-size:18px}.toggle{display:block}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;padding:12px 22px 20px;box-shadow:0 10px 20px #0001;flex-direction:column;align-items:stretch}.nav.open{display:flex}.nav a{padding:10px 0;border-bottom:1px solid var(--line);font-size:15px}.hero{padding:45px 0}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:42px;letter-spacing:-1.4px}.lead{font-size:16px}.section{padding:52px 0}.sectionhead{text-align:left}.grid3,.steps{grid-template-columns:1fr}.booking{grid-template-columns:1fr}.formcard{padding:19px}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}.pills{justify-content:flex-start}.cta{flex-direction:column;align-items:flex-start;padding:26px}.footgrid{grid-template-columns:1fr}.footgrid>div:first-child{grid-column:auto}}

/* Editable scrap price list */
.price-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.price-card{background:#fff;border:1px solid #dce8df;border-radius:18px;padding:24px;box-shadow:0 8px 28px rgba(20,60,35,.06)}
.price-card h3{font-size:18px;margin:0 0 14px;color:#174d32}
.price-value{font-size:25px;font-weight:800;color:#1e7a42;letter-spacing:-.5px}
.price-value small{font-size:14px;font-weight:600;color:#627468;margin-left:4px}
.price-card p,.price-note{font-size:13px;color:#647568;margin:10px 0 0}
@media(max-width:760px){.price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.price-card{padding:16px}.price-value{font-size:19px}}
@media(max-width:420px){.price-grid{grid-template-columns:1fr 1fr}.price-card h3{font-size:15px}}

/* Header/logo sizing correction: prevents a banner logo from taking over the page */
.head{position:sticky;top:0;z-index:99;background:#fff;border-bottom:1px solid #e4eee6}
.headin{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:88px}
.headin>div:first-child{flex:0 1 280px;min-width:0}
.custom-logo-link{display:inline-flex;align-items:center;max-width:260px;max-height:68px;overflow:hidden}
.custom-logo-link img.custom-logo{display:block;width:auto!important;height:auto!important;max-width:260px!important;max-height:64px!important;object-fit:contain}
.nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.8vw,26px);flex:1;min-width:0}
.nav a{font-size:14px;font-weight:700;white-space:nowrap}
.brand{display:inline-flex;align-items:center;gap:12px;font-size:22px;font-weight:900;line-height:1;color:#10482c;text-decoration:none}
.brand small{display:block;font-size:10px;letter-spacing:1.4px;margin-top:7px;color:#56705e}
.mark{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#218b43;color:#fff;font-size:17px}
.top .wrap{font-size:12px;line-height:1.6}
.toggle{display:none}
@media(max-width:900px){
 .headin{min-height:76px;gap:12px}
 .headin>div:first-child{flex:1}
 .custom-logo-link{max-width:210px;max-height:56px}
 .custom-logo-link img.custom-logo{max-width:210px!important;max-height:52px!important}
 .toggle{display:block;border:1px solid #d8e7dc;background:#f6fbf7;color:#174d32;border-radius:10px;padding:9px 12px;font-size:20px}
 .nav{display:none;position:absolute;top:100%;left:0;right:0;padding:16px 22px 22px;background:#fff;border-bottom:1px solid #dce8df;box-shadow:0 12px 24px rgba(0,0,0,.08);align-items:stretch;flex-direction:column;gap:4px}
 .nav.open{display:flex}
 .nav a{padding:12px 10px;white-space:normal}
 .nav a.btn{text-align:center;margin-top:8px}
}
@media(max-width:520px){
 .top .wrap{font-size:10px}
 .top .wrap span{display:none}
 .brand{font-size:18px}
 .brand small{font-size:8px;letter-spacing:1px}
 .custom-logo-link{max-width:185px}
 .custom-logo-link img.custom-logo{max-width:185px!important;max-height:48px!important}
}

/* Multi-page navigation and persistent contact actions */
html{scroll-padding-top:110px}
.head{position:sticky!important;top:0;z-index:999;background:#fff;border-bottom:1px solid #e1ebe3;box-shadow:0 4px 18px rgba(12,52,29,.05)}
.headin{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.headbrand{flex:0 0 auto;min-width:0}
.headbrand .custom-logo-link{display:flex;align-items:center;max-width:230px;max-height:60px;overflow:hidden}
.headbrand .custom-logo{max-width:230px!important;max-height:58px!important;width:auto!important;height:auto!important;object-fit:contain}
.headbrand .brand{font-size:20px;white-space:nowrap}
.nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(10px,1.3vw,22px);flex:1}
.nav a{font-size:13px;font-weight:750;white-space:nowrap}
.nav a.btn{padding:13px 17px}
.top .wrap{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding-top:7px;padding-bottom:7px}
.toggle{display:none}
.inner-page{min-height:60vh}
.page-hero{padding:54px 0 46px;background:linear-gradient(125deg,#f1f9f1,#e4f4d8)}
.page-hero h1{font-size:clamp(34px,5vw,52px);margin:12px 0;color:#12452b}
.page-hero p{margin:0;color:#506b59}
.page-content{padding-top:38px;padding-bottom:85px}
.page-content .sectionhead{text-align:left;margin:0 0 24px}
.page-content .sectionhead h2{margin-top:8px}
.page-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:35px}
.page-actions .btn{display:inline-flex;align-items:center;justify-content:center}
.phone-link,.text-link{color:#14753b;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.home-phone{margin-top:18px;font-size:15px}
.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.contact-card,.about-card{background:#fff;border:1px solid #dce8df;border-radius:18px;padding:28px;box-shadow:0 8px 25px rgba(20,60,35,.05)}
.contact-card h2,.about-card h2{margin-top:0}
.wp-page-content{margin-bottom:28px}
.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.shortcut{display:block;background:#fff;border:1px solid #dce8df;border-radius:18px;padding:24px;text-decoration:none;color:#174d32;box-shadow:0 8px 24px rgba(20,60,35,.04)}
.shortcut h2{font-size:22px;margin:0 0 10px}
.shortcut p{color:#627468}
.shortcut span{font-weight:800;color:#218b43}
.material{text-decoration:none;color:inherit}
.sticky-actions{display:none}
@media(max-width:980px){
 .headin{gap:8px}.headbrand .brand{font-size:17px}.headbrand .brand small{font-size:8px}.headbrand .custom-logo-link,.headbrand .custom-logo{max-width:175px!important}
 .nav{gap:8px}.nav a{font-size:12px}.nav a.btn{padding:11px 12px}
}
@media(max-width:760px){
 .headin{min-height:72px;position:relative}
 .toggle{display:block;border:1px solid #d7e5db;background:#f4faf5;color:#174d32;border-radius:10px;padding:8px 12px;font-size:22px;line-height:1.1}
 .nav{display:none;position:absolute;top:100%;left:-20px;right:-20px;z-index:1000;background:#fff;padding:12px 20px 20px;box-shadow:0 14px 24px rgba(0,0,0,.12);border-top:1px solid #e1ebe3;align-items:stretch;flex-direction:column;gap:2px}
 .nav.open{display:flex}.nav a{font-size:15px;padding:12px 10px;white-space:normal}.nav a.btn{text-align:center;margin-top:7px}
 .top .wrap{font-size:10px}
 .contact-grid,.home-shortcuts{grid-template-columns:1fr}
 .sticky-actions{display:grid;grid-template-columns:.8fr 1.1fr 1fr;gap:8px;position:fixed;bottom:0;left:0;right:0;z-index:1200;padding:9px 10px calc(9px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce8df;box-shadow:0 -5px 22px rgba(0,0,0,.09)}
 .sticky-actions a{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;font-size:14px;font-weight:800;text-decoration:none}
 .sticky-call{background:#eef7ed;color:#15512f}.sticky-book{background:#4d9f12;color:#fff}.sticky-wa{background:#128c48;color:#fff}
 .floatwa{display:none!important}
 body{padding-bottom:74px}
 .page-content{padding-bottom:45px}
}
@media(max-width:480px){
 .headbrand .brand{font-size:15px}.headbrand .brand small{font-size:7px;letter-spacing:.7px}
 .headbrand .custom-logo-link,.headbrand .custom-logo{max-width:150px!important;max-height:46px!important}
 .top .top-right{display:none}
 .page-hero{padding:36px 0 30px}
 .page-content{padding-top:25px}
 .contact-card,.about-card{padding:20px}
 .price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Laptop-first layout: do not switch to mobile hamburger on ordinary laptop widths */
@media(min-width:761px) and (max-width:1100px){
 .headin{gap:8px}
 .headbrand .brand{font-size:16px}
 .headbrand .brand small{font-size:8px;letter-spacing:.6px}
 .headbrand .custom-logo-link,.headbrand .custom-logo{max-width:150px!important;max-height:48px!important}
 .nav{display:flex!important;gap:8px}
 .nav a{font-size:11px;white-space:nowrap}
 .nav a.btn{padding:10px 11px}
 .toggle{display:none!important}
 .hero{padding:55px 0}
 .hero-grid{gap:24px}
}
@media(min-width:1101px){
 .headbrand .custom-logo-link,.headbrand .custom-logo{max-width:230px!important;max-height:58px!important}
 .nav{display:flex!important}
 .toggle{display:none!important}
}

/* Version 1.3: full-width content rhythm, protected logo, detailed page sections */
.head{width:100%;overflow:visible}
.headin{width:min(1200px,calc(100% - 40px));min-height:88px;gap:clamp(14px,2vw,28px)}
.headbrand{display:flex;align-items:center;flex:0 0 auto;max-width:270px;min-width:0;overflow:visible}
.headbrand .custom-logo-link{display:flex!important;align-items:center;justify-content:flex-start;width:auto!important;height:auto!important;max-width:250px!important;max-height:70px!important;overflow:visible!important}
.headbrand img.custom-logo{display:block!important;width:auto!important;height:auto!important;max-width:250px!important;max-height:68px!important;object-fit:contain!important;object-position:left center!important}
.headbrand .brand{white-space:normal;line-height:1.1}
.nav{flex:1;min-width:0}
.nav a{line-height:1.25}
.hero{padding:clamp(58px,6vw,88px) 0}
.hero-grid{grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:clamp(30px,4vw,64px)}
.hero-copy{max-width:620px}
.hero h1{max-width:680px}
.hero-small{font-size:13px;color:#5e6b62;margin-top:8px}
.card-intro{font-size:14px;color:#5e6b62;margin-top:-7px}
.trust-section{padding-top:34px;padding-bottom:34px;background:#fff}
.trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.trust-grid article{padding:22px;border:1px solid #e0e8e1;border-radius:17px;background:#fff}
.trust-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e8f4e3;color:#064e2b;font-weight:900;font-size:22px}
.trust-grid h3{margin:14px 0 6px;color:#17452b;font-size:18px}
.trust-grid p{font-size:14px;color:#5e6b62;margin:0}
.price-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.price-card{min-width:0;padding:24px;overflow-wrap:anywhere}
.price-card h3{font-size:17px;line-height:1.3}
.center-action{display:flex;justify-content:center;margin-top:28px}
.four-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
.detail-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:36px;align-items:start}
.detail-split h2{font-size:clamp(30px,3.5vw,42px);line-height:1.15;color:#143c25}
.check-list,.info-panel ul{padding-left:22px}
.check-list li,.info-panel li{margin:10px 0;color:#435d49}
.info-panel{background:#f2f8ef;border:1px solid #dce8df;border-radius:20px;padding:28px}
.info-panel h3{font-size:23px;color:#17452b;margin-top:0}
.final-cta{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:center;padding:clamp(28px,4vw,50px);border-radius:26px;background:linear-gradient(120deg,#eaf5e5,#f6fbf3)}
.final-cta h2{font-size:clamp(30px,4vw,44px);line-height:1.1;color:#143c25;margin:14px 0}
.final-cta p{color:#526b59}
.cta-side{padding:25px;border-radius:18px;background:#fff;border:1px solid #dce8df}
.cta-side h3{font-size:24px;color:#064e2b;margin-top:0}
.page-intro{font-size:17px;line-height:1.8;color:#526b59;max-width:850px;margin:0 0 28px}
.process-note,.item-guidance{margin-top:30px}
.page-content{max-width:1200px}
.page-content .sectionhead{text-align:left;max-width:850px;margin-left:0}
.page-content .price-grid{margin-top:28px}
.wp-page-content{max-width:900px;font-size:17px;line-height:1.8;color:#3f5746}
.wp-page-content h2,.wp-page-content h3{color:#17452b}
.page-actions{padding-top:24px;border-top:1px solid #e0e8e1}
@media(min-width:1101px){
 .headin{min-height:92px}
 .nav{gap:clamp(12px,1.5vw,24px)}
 .nav a{font-size:13px}
 .nav a.btn{padding:13px 17px}
}
@media(max-width:1100px){
 .headin{width:calc(100% - 30px)}
 .headbrand{max-width:190px}
 .headbrand .custom-logo-link,.headbrand img.custom-logo{max-width:180px!important;max-height:56px!important}
 .nav{gap:7px}
 .nav a{font-size:11px}
 .nav a.btn{padding:10px 11px}
 .hero-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:24px}
 .trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .four-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 .headin{width:calc(100% - 28px);min-height:72px}
 .headbrand{max-width:220px}
 .headbrand .custom-logo-link,.headbrand img.custom-logo{max-width:205px!important;max-height:54px!important}
 .hero-grid{grid-template-columns:1fr}
 .hero{padding:45px 0}
 .hero h1{font-size:clamp(38px,10vw,48px)}
 .trust-grid{grid-template-columns:1fr 1fr}
 .price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .detail-split,.final-cta{grid-template-columns:1fr}
 .four-steps{grid-template-columns:1fr 1fr}
 .cta-side{max-width:none}
}
@media(max-width:480px){
 .headbrand{max-width:175px}
 .headbrand .custom-logo-link,.headbrand img.custom-logo{max-width:160px!important;max-height:48px!important}
 .trust-grid,.four-steps{grid-template-columns:1fr}
 .price-card{padding:16px}
 .price-value{font-size:18px}
 .page-content .price-grid{gap:10px}
 .final-cta{padding:24px}
}

/* Version 1.4: final logo containment and full desktop header protection */
.head,.headin,.headbrand{overflow:visible!important}
.headbrand{flex:0 1 280px;min-width:120px}
.headbrand .custom-logo-link{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;height:auto!important;max-width:280px!important;max-height:82px!important;overflow:visible!important}
.headbrand img.custom-logo{display:block!important;width:auto!important;height:auto!important;max-width:280px!important;max-height:78px!important;object-fit:contain!important;object-position:center left!important}
.headbrand .brand{display:flex;align-items:center;gap:10px;max-width:280px}
.headin{align-items:center}
.nav{flex-wrap:nowrap}
@media(min-width:1101px){
 .headbrand{flex-basis:280px}
 .headbrand .custom-logo-link,.headbrand img.custom-logo{max-width:270px!important;max-height:78px!important}
 .nav{gap:clamp(10px,1.2vw,20px)}
 .nav a{font-size:13px}
}
@media(min-width:761px) and (max-width:1100px){
 .headbrand{flex-basis:175px;max-width:175px}
 .headbrand .custom-logo-link,.headbrand img.custom-logo{max-width:170px!important;max-height:58px!important}
 .nav{gap:6px}
 .nav a{font-size:10.5px}
 .nav a.btn{padding:9px 10px}
}
@media(max-width:760px){
 .headbrand{flex-basis:auto;max-width:220px}
 .headbrand .custom-logo-link,.headbrand img.custom-logo{max-width:205px!important;max-height:58px!important}
}
@media(max-width:480px){
 .headbrand .custom-logo-link,.headbrand img.custom-logo{max-width:165px!important;max-height:48px!important}
}
.price-grid{align-items:stretch}
.price-card{height:100%;display:flex;flex-direction:column}
.price-card p{margin-top:auto;padding-top:8px}
.price-updated{font-size:13px;color:#5e6b62}

/* Version 1.5: remove unwanted blank space before the top green bar */
html, body{margin-top:0!important;padding-top:0!important}
body{position:relative}
body>.top:first-child{margin-top:0!important}
.top{margin-block-start:0!important;position:relative;top:0!important}
body.admin-bar .top{margin-top:0!important}
body>.wp-site-blocks{margin-top:0!important;padding-top:0!important}
body>.wp-block-spacer:first-child,
body>.elementor-element:first-child,
body>.wp-block-group:empty,
body>p:empty,
body>div:empty{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
body>.top{clear:both}

/* Contact email links */
.footer a[href^="mailto:"],.phone-link[href^="mailto:"]{overflow-wrap:anywhere}

/* Version 1.9: full Scrap Nearby logo in footer */
.footer-logo-link{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:12px;padding:8px 12px;max-width:310px;line-height:0;margin:0 0 16px;text-decoration:none;box-shadow:0 2px 10px rgba(0,0,0,.08)}
.footer-logo{display:block;width:100%;max-width:285px;height:auto;max-height:115px;object-fit:contain}
.footer .footgrid>div:first-child{min-width:0}
@media(max-width:760px){.footer-logo-link{max-width:270px}.footer-logo{max-width:245px;max-height:100px}}

/* Optional customer location sharing */
.location-field{display:flex;flex-direction:column;align-items:flex-start;gap:8px}.location-field .note{margin:0}.location-field button{cursor:pointer}.location-field button:disabled{opacity:.65;cursor:wait}


/* Version 2.1: social media links in footer */
.footer-social{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;margin:20px 0 18px;padding:14px 0;border-top:1px solid rgba(255,255,255,.16);border-bottom:1px solid rgba(255,255,255,.16)}
.footer-social .social-link{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 190px;padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;transition:background .2s ease,transform .2s ease}
.footer-social .social-link:hover{background:rgba(255,255,255,.16);transform:translateY(-1px)}
.footer-social .social-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#fff;color:#07532d;font-size:28px;font-weight:800;line-height:1}
.footer-social .social-facebook .social-icon{font-family:Arial,sans-serif;font-size:31px;border-radius:50%}
.footer-social .social-link span:last-child{display:flex;flex-direction:column;line-height:1.25}
.footer-social .social-link small{font-size:11px;opacity:.85}
.footer-social .social-link strong{font-size:14px;font-weight:800}
.footer-social .social-link b{font-size:12px;font-weight:600;opacity:.92}
@media(max-width:760px){.footer-social{gap:8px}.footer-social .social-link{flex-basis:100%;padding:9px 10px}.footer-social .social-icon{flex-basis:34px;width:34px;height:34px}}

/* Compact legal quick links in footer */
.footer .legal-quick a{font-size:12px;color:#d5e5d8;text-decoration:underline;text-underline-offset:3px}
.footer .legal-quick a:hover{color:#fff}
.wp-page-content{max-width:900px;margin:0 auto 28px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:clamp(20px,4vw,38px);box-shadow:0 8px 24px #064e2b08}
.wp-page-content h2{margin:28px 0 8px;color:#143c25;font-size:clamp(20px,2.5vw,27px);line-height:1.25}
.wp-page-content h2:first-child{margin-top:0}
.wp-page-content p,.wp-page-content li{color:#3f5144}
.wp-page-content ul,.wp-page-content ol{padding-left:22px}
.wp-page-content a{overflow-wrap:anywhere}
