/*
Theme Name: Cellpower
Theme URI: https://cellpower.lk
Author: Cellpower (Pvt) Ltd
Description: One-click theme for cellpower.lk — Fox ESS hybrid and on-grid range with datasheets, system sizer, Budget 2027 subsidy calculator, PayHere advance payments, WhatsApp button, light/dark mode and English, Sinhala, Tamil, Chinese and Hindi. Activating it creates the pages and sets the homepage.
Version: 1.3.2
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: cellpower
*/
/* Theme-level additions (main styles in assets/theme.css) */
.view{display:block}
.cp-main{min-height:60vh}
.entry{max-width:1240px;margin:0 auto;padding:clamp(48px,7vw,104px) max(5vw,20px)}
.lang-sel{height:42px}
.grp[hidden]{display:none}
.series-wrap{padding:clamp(28px,4vw,48px) 0;border-top:1px solid var(--line)}
.series-wrap:first-child{border-top:0}
.cp-series .cp-photo{top:96px}
footer .wrap a{display:block}
html[data-theme=dark] footer h4{color:#fff!important}
.admin-bar header{top:32px}
@media(max-width:782px){.admin-bar header{top:46px}}
#theme .cp-i-sun{display:none}html[data-theme=dark] #theme .cp-i-sun{display:block}html[data-theme=dark] #theme .cp-i-moon{display:none}
.panel form.cp-ph-form,.panel .cp-ph-form{border:0;padding:0;background:none;box-shadow:none;max-width:none}
.grp.is-hidden{display:none}
.lang-menu{position:relative}
.lang-menu summary{list-style:none;cursor:pointer;height:42px;display:flex;align-items:center;gap:6px;padding:0 12px;border:1px solid var(--line);background:var(--card);border-radius:10px;font-size:15px;white-space:nowrap}
.lang-menu summary::-webkit-details-marker{display:none}
.lang-menu[open] summary{border-color:var(--mut)}
.lang-list{position:absolute;right:0;top:48px;z-index:50;min-width:160px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:var(--sh);padding:6px;display:grid}
.lang-list a{padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--ink);font-size:15px}
.lang-list a:hover,.lang-list a[aria-current]{background:var(--bg2)}
.lang-list a[aria-current]{font-weight:600}
