/*
Theme Name: WeighingScalesNearMe
Theme URI: https://weighingscalesnearme.com
Author: WeighingScalesNearMe
Author URI: https://weighingscalesnearme.com
Description: India's premier weighing scales and Dharam Kanta directory lead generation theme. Full homepage content, city/type/service landing pages, lead capture forms, admin lead management, and complete Theme Customizer support.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wsnm
Tags: business, directory, lead-generation, custom-post-types, theme-customizer
*/
:root{--clr-primary:#e97316;--clr-primary-dark:#c2610f;--clr-primary-light:#fed7aa;--clr-secondary:#1e3a5f;--clr-secondary-dark:#14273f;--clr-secondary-light:#2d5286;--clr-bg:#ffffff;--clr-muted-bg:#f8fafc;--clr-text:#0f172a;--clr-muted:#64748b;--clr-border:#e2e8f0;--clr-white:#ffffff;--radius:8px;--radius-lg:12px;--shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.08);--shadow-md:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);--shadow-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);--transition:150ms ease;--container:1200px;--font:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,sans-serif}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;scroll-behavior:smooth}body{font-family:var(--font);color:var(--clr-text);background:var(--clr-bg);line-height:1.6}img{max-width:100%;height:auto;display:block}a{color:var(--clr-primary);text-decoration:none;transition:color var(--transition)}a:hover{color:var(--clr-primary-dark)}ul{list-style:none}button{cursor:pointer;font-family:inherit;border:none}
.container{max-width:var(--container);margin-inline:auto;padding-inline:1.25rem}.section-title{font-size:2rem;font-weight:700;color:var(--clr-text);margin-bottom:.75rem}.section-subtitle{color:var(--clr-muted);font-size:1.05rem;max-width:600px;margin-inline:auto}.text-center{text-align:center}.text-primary{color:var(--clr-primary)}.badge{display:inline-flex;align-items:center;gap:.35rem;background:rgba(255,255,255,.12);color:#fff;border-radius:999px;padding:.35rem .85rem;font-size:.85rem;font-weight:500}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.65rem 1.4rem;border-radius:var(--radius);font-size:.95rem;font-weight:600;transition:all var(--transition)}.btn-primary{background:var(--clr-primary);color:#fff}.btn-primary:hover{background:var(--clr-primary-dark);color:#fff}.btn-secondary{background:var(--clr-secondary);color:#fff}.btn-secondary:hover{background:var(--clr-secondary-dark);color:#fff}.btn-outline{background:transparent;border:2px solid var(--clr-border);color:var(--clr-text)}.btn-outline:hover{border-color:var(--clr-primary);color:var(--clr-primary)}.btn-lg{padding:.85rem 2rem;font-size:1.05rem}.btn-block{width:100%;justify-content:center}.btn:disabled{opacity:.6;cursor:not-allowed}
.site-header{background:#fff;border-bottom:1px solid var(--clr-border);position:sticky;top:0;z-index:1000}.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px}.site-logo{display:flex;align-items:center;gap:.5rem;font-size:1.2rem;font-weight:700;color:var(--clr-text)}.site-logo:hover{color:var(--clr-text)}.logo-icon{background:var(--clr-primary);color:#fff;width:36px;height:36px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1rem}.logo-text span{color:var(--clr-primary)}.main-nav ul{display:flex;gap:1.75rem;align-items:center}.main-nav a{color:var(--clr-muted);font-size:.95rem;font-weight:500}.main-nav a:hover,.main-nav a.current{color:var(--clr-primary)}.nav-cta{background:var(--clr-primary)!important;color:#fff!important;padding:.4rem 1rem;border-radius:var(--radius)}.nav-cta:hover{background:var(--clr-primary-dark)!important}.menu-toggle{display:none;background:none;padding:.25rem}
.hero-section{background:var(--clr-secondary);color:#fff;padding:5rem 0 4rem;position:relative;overflow:hidden}.hero-section::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 50% 0%,rgba(233,115,22,.15) 0%,transparent 70%);pointer-events:none}.hero-inner{text-align:center;position:relative;z-index:1}.hero-title{font-size:clamp(2rem,5vw,3.5rem);font-weight:800;line-height:1.15;margin-bottom:1.25rem}.hero-title span{color:var(--clr-primary)}.hero-subtitle{font-size:1.1rem;color:rgba(255,255,255,.78);max-width:760px;margin-inline:auto;margin-bottom:1.25rem}.hero-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem;margin-top:1.5rem}
.search-wrap{max-width:720px;margin-inline:auto}.search-form{display:flex;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);border-radius:var(--radius-lg);overflow:hidden;backdrop-filter:blur(8px)}.search-form input[type="search"]{flex:1;background:transparent;border:none;outline:none;padding:1rem 1.25rem;font-size:1.05rem;color:#fff}.search-form input::placeholder{color:rgba(255,255,255,.55)}.search-form button{background:var(--clr-primary);color:#fff;padding:0 1.75rem;font-size:1rem;font-weight:600;white-space:nowrap}.search-form button:hover{background:var(--clr-primary-dark)}
.card{background:#fff;border:1px solid var(--clr-border);border-radius:var(--radius-lg);padding:1.5rem;transition:all var(--transition)}.card:hover{border-color:rgba(233,115,22,.4);box-shadow:var(--shadow-md)}.card-icon{width:56px;height:56px;background:rgba(233,115,22,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:1rem;font-size:1.5rem}.card-title{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}.card-desc{color:var(--clr-muted);font-size:.9rem;line-height:1.5}
.city-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.85rem}.city-card{border:1px solid var(--clr-border);border-radius:var(--radius);padding:.65rem 1rem;display:flex;align-items:center;gap:.6rem;background:#fff;transition:all var(--transition);font-size:.95rem;font-weight:500;color:var(--clr-text)}.city-card:hover{border-color:var(--clr-primary);color:var(--clr-primary);box-shadow:var(--shadow)}.city-card svg{color:var(--clr-muted);flex-shrink:0;width:16px;height:16px}.city-card:hover svg{color:var(--clr-primary)}
.scale-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.25rem}
.capacity-wrap{display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}.capacity-pill{border:2px solid var(--clr-border);border-radius:999px;padding:.55rem 1.4rem;font-weight:600;font-size:.9rem;color:var(--clr-text);background:#fff;transition:all var(--transition)}.capacity-pill:hover,.capacity-pill:focus{border-color:var(--clr-primary);background:rgba(233,115,22,.05);color:var(--clr-primary)}
.services-section{background:var(--clr-secondary);color:#fff}.services-section .card{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1);color:#fff}.services-section .card:hover{background:rgba(255,255,255,.1)}.services-section .card-desc{color:rgba(255,255,255,.7)}.services-section .card-icon{background:rgba(233,115,22,.2)}
.section{padding:5rem 0}.section-sm{padding:3rem 0}.section-muted{background:var(--clr-muted-bg)}
.lead-form-card{background:#fff;border:1px solid var(--clr-border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg)}.lead-form-header{background:rgba(233,115,22,.05);border-bottom:1px solid rgba(233,115,22,.15);padding:1.5rem}.lead-form-header h3{font-size:1.35rem;font-weight:700;margin-bottom:.25rem}.lead-form-header p{color:var(--clr-muted);font-size:.9rem}.lead-form-body{padding:1.5rem}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.form-group{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem}.form-group label{font-size:.88rem;font-weight:600;color:var(--clr-text)}.form-group label span{color:#ef4444}.form-group input,.form-group textarea,.form-group select{border:1px solid var(--clr-border);border-radius:var(--radius);padding:.65rem .85rem;font-size:.95rem;font-family:inherit;color:var(--clr-text);background:#fff;transition:border-color var(--transition);outline:none;width:100%}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{border-color:var(--clr-primary);box-shadow:0 0 0 3px rgba(233,115,22,.12)}.form-group textarea{resize:vertical;min-height:100px}.form-note{font-size:.78rem;color:var(--clr-muted);text-align:center;margin-top:.75rem}.form-success{text-align:center;padding:2rem}.form-success-icon{width:56px;height:56px;background:rgba(22,163,74,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-inline:auto;margin-bottom:1rem;font-size:1.5rem;color:#16a34a}
.lead-form-full{background:var(--clr-secondary);padding:4rem 0;color:#fff}
.page-hero{background:var(--clr-secondary);color:#fff;padding:3.5rem 0 3rem}.page-hero-breadcrumb{font-size:.83rem;color:var(--clr-primary);text-transform:uppercase;letter-spacing:.08em;font-weight:600;margin-bottom:.75rem;display:flex;align-items:center;gap:.5rem}.page-hero h1{font-size:clamp(1.75rem,4vw,2.75rem);font-weight:800;margin-bottom:.75rem}.page-hero p{color:rgba(255,255,255,.75);font-size:1.05rem;max-width:640px}
.content-sidebar-layout{display:grid;grid-template-columns:1fr 380px;gap:3rem;align-items:start}.content-main{min-width:0}.content-sidebar{position:sticky;top:80px}.prose h2{font-size:1.5rem;font-weight:700;margin-top:2rem;margin-bottom:.75rem}.prose h3{font-size:1.2rem;font-weight:600;margin-top:1.5rem;margin-bottom:.5rem}.prose p{margin-bottom:1rem;color:var(--clr-text);line-height:1.75}.prose ul{list-style:disc;padding-left:1.5rem;margin-bottom:1rem}.prose ul li{margin-bottom:.35rem}.prose-placeholder{border:2px dashed var(--clr-border);border-radius:var(--radius-lg);padding:3rem 2rem;text-align:center;background:var(--clr-muted-bg)}.prose-placeholder p{color:var(--clr-muted)}
.trust-box{background:rgba(233,115,22,.05);border:1px solid rgba(233,115,22,.2);border-radius:var(--radius-lg);padding:1.5rem;margin-top:1.25rem}.trust-box h4{font-size:1rem;font-weight:700;margin-bottom:.85rem}.trust-list{display:flex;flex-direction:column;gap:.55rem}.trust-item{display:flex;align-items:flex-start;gap:.5rem;font-size:.88rem}.trust-item svg{color:var(--clr-primary);flex-shrink:0;margin-top:.1rem}
.related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}.related-card{border:1px solid var(--clr-border);padding:1rem 1.25rem;border-radius:var(--radius);display:flex;align-items:center;justify-content:space-between;transition:all var(--transition);color:var(--clr-text);font-weight:500}.related-card:hover{border-color:var(--clr-primary);color:var(--clr-primary)}.related-card svg{color:var(--clr-muted);flex-shrink:0}.related-card:hover svg{color:var(--clr-primary)}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:2rem}.step{text-align:center}.step-num{width:44px;height:44px;background:rgba(233,115,22,.1);color:var(--clr-primary);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.15rem;margin-inline:auto;margin-bottom:.85rem}.step h4{font-weight:700;margin-bottom:.35rem}.step p{font-size:.9rem;color:var(--clr-muted)}
.faq-list{display:flex;flex-direction:column;gap:.75rem}.faq-item{border:1px solid var(--clr-border);border-radius:var(--radius);overflow:hidden}.faq-question{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.25rem;font-weight:600;cursor:pointer;background:#fff;width:100%;text-align:left}.faq-question:hover{background:var(--clr-muted-bg)}.faq-answer{padding:0 1.25rem;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease}.faq-item.open .faq-answer{max-height:400px;padding:0 1.25rem 1.25rem}.faq-toggle{transition:transform .3s ease;line-height:1}.faq-item.open .faq-toggle{transform:rotate(45deg)}
.pagination{display:flex;justify-content:center;gap:.5rem;margin-top:2rem}.pagination a,.pagination span{padding:.5rem .85rem;border:1px solid var(--clr-border);border-radius:var(--radius);color:var(--clr-text);font-size:.9rem}.pagination .current{background:var(--clr-primary);border-color:var(--clr-primary);color:#fff}.pagination a:hover{border-color:var(--clr-primary);color:var(--clr-primary)}
.alert{padding:1rem 1.25rem;border-radius:var(--radius);font-size:.93rem;margin-bottom:1rem}.alert-success{background:#dcfce7;color:#166534;border:1px solid #bbf7d0}.alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.site-footer{background:var(--clr-secondary);color:rgba(255,255,255,.7);padding:4rem 0 2rem}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:3rem}.footer-brand .site-logo{color:#fff;margin-bottom:1rem}.footer-brand p{font-size:.88rem;line-height:1.7}.footer-col h4{color:#fff;font-size:.93rem;font-weight:700;margin-bottom:1.1rem}.footer-col ul{display:flex;flex-direction:column;gap:.5rem}.footer-col ul li a{color:rgba(255,255,255,.6);font-size:.88rem}.footer-col ul li a:hover{color:var(--clr-primary)}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:1.5rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem;font-size:.83rem}.footer-links{display:flex;gap:1.25rem}.footer-links a{color:rgba(255,255,255,.5)}.footer-links a:hover{color:var(--clr-primary)}
.search-results-grid{display:flex;flex-direction:column;gap:1rem}.result-card{display:flex;align-items:flex-start;gap:1rem;border:1px solid var(--clr-border);border-radius:var(--radius);padding:1.25rem;transition:all var(--transition)}.result-card:hover{border-color:var(--clr-primary);box-shadow:var(--shadow)}.result-icon{background:rgba(233,115,22,.08);width:44px;height:44px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:1.1rem;color:var(--clr-primary)}.result-info h3{font-size:1rem;font-weight:600;margin-bottom:.2rem}.result-info p{font-size:.85rem;color:var(--clr-muted)}.result-type{font-size:.75rem;background:rgba(233,115,22,.1);color:var(--clr-primary);padding:.15rem .5rem;border-radius:999px;font-weight:600;display:inline-block;margin-bottom:.35rem}
.error-404-wrap{text-align:center;padding:6rem 1rem}.error-404-wrap h1{font-size:6rem;font-weight:800;color:var(--clr-primary);line-height:1}.error-404-wrap h2{font-size:1.75rem;font-weight:700;margin-bottom:1rem}.error-404-wrap p{color:var(--clr-muted);margin-bottom:2rem}
.status-badge{display:inline-block;padding:.2rem .6rem;border-radius:999px;font-size:.78rem;font-weight:600}.status-new{background:#dbeafe;color:#1d4ed8}.status-contacted{background:#fef3c7;color:#92400e}.status-converted{background:#dcfce7;color:#166534}
@media(max-width:1024px){.content-sidebar-layout{grid-template-columns:1fr}.content-sidebar{position:static}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:768px){.main-nav{display:none;position:absolute;top:64px;left:0;right:0;background:#fff;border-bottom:1px solid var(--clr-border);padding:1rem}.main-nav.open{display:block}.main-nav ul{flex-direction:column;gap:.25rem}.menu-toggle{display:flex;align-items:center}.form-row{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:1.5rem}.footer-bottom{flex-direction:column;text-align:center}.city-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.scale-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}.header-inner{position:relative}}
@media(max-width:480px){.hero-title{font-size:1.75rem}.section{padding:3rem 0}}
.wp-caption{max-width:100%}.wp-caption-text{color:var(--clr-muted);font-size:.85rem;margin-top:.4rem}.alignleft{float:left;margin-right:1.5rem;margin-bottom:1rem}.alignright{float:right;margin-left:1.5rem;margin-bottom:1rem}.aligncenter{display:block;margin-inline:auto}.screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;width:1px;word-wrap:normal!important}
