/*
Theme Name: Battery Bank Premium V3
Theme URI: https://batterybank.pk/
Author: Battery Bank
Description: Premium WooCommerce theme for batteries, solar products, quotations and Lahore delivery.
Version: 3.0.0
Text Domain: bb-premium
Requires at least: 6.2
Requires PHP: 7.4
*/

:root{
 --bb-red:#ef1010; --bb-red2:#b9060b; --bb-navy:#10233e; --bb-black:#070707;
 --bb-dark:#101010; --bb-soft:#f6f7f9; --bb-white:#fff; --bb-muted:#6d737d;
 --bb-line:#e7e9ed; --bb-radius:16px; --bb-shadow:0 18px 45px rgba(12,25,48,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;color:#111827;background:#fff;line-height:1.55}
a{text-decoration:none;color:inherit} img{max-width:100%;display:block;height:auto}
button,input,select,textarea{font:inherit}
.bb-container{width:min(1240px,calc(100% - 34px));margin:auto}
.bb-top{background:#07111f;color:#fff;font-size:13px}
.bb-topin{min-height:38px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.bb-toplinks{display:flex;gap:25px;flex-wrap:wrap}.bb-red{color:var(--bb-red)}
.bb-header{background:#fff;position:sticky;top:0;z-index:999;box-shadow:0 5px 25px rgba(0,0,0,.07)}
.bb-headmain{display:grid;grid-template-columns:220px 1fr auto;gap:25px;align-items:center;padding:15px 0}
.bb-logo img{width:205px;max-height:72px;object-fit:contain}
.bb-search{position:relative;display:flex;border:2px solid #eceef2;border-radius:12px;overflow:visible;background:#fff}
.bb-search input{width:100%;height:52px;border:0;outline:0;padding:0 18px;border-radius:12px}
.bb-search button{width:58px;border:0;background:var(--bb-red);color:#fff;cursor:pointer;border-radius:0 10px 10px 0;font-size:20px}
#bb-search-results{display:none;position:absolute;top:58px;left:0;right:0;background:#fff;border-radius:12px;box-shadow:var(--bb-shadow);padding:8px;max-height:420px;overflow:auto;z-index:1002}
.bb-search-result{display:flex;align-items:center;gap:12px;padding:10px;border-radius:9px}.bb-search-result:hover{background:#f4f5f7}
.bb-search-result img{width:48px;height:48px;object-fit:contain}.bb-search-result small{display:block;color:var(--bb-muted)}
.bb-actions{display:flex;gap:18px;align-items:center;font-size:13px}.bb-action{text-align:center;white-space:nowrap}.bb-action b{display:block}
.bb-navrow{border-top:1px solid #edf0f3}.bb-navin{display:flex;align-items:center;min-height:54px;gap:25px}
.bb-catbtn{background:linear-gradient(135deg,var(--bb-red),var(--bb-red2));color:#fff;padding:15px 20px;min-width:225px;font-weight:800}
.bb-menu{display:flex;gap:24px;list-style:none;padding:0;margin:0;font-size:14px;font-weight:700}
.bb-menu a:hover,.current-menu-item>a{color:var(--bb-red)}
.bb-call{margin-left:auto;font-weight:800;color:var(--bb-navy)}
.bb-mobile{display:none;border:0;background:var(--bb-red);color:#fff;padding:10px 15px;border-radius:8px}

.bb-hero{background:linear-gradient(115deg,#02060c 0%,#07111e 55%,#210406 100%);color:#fff;overflow:hidden;position:relative}
.bb-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 75% 45%,rgba(239,16,16,.30),transparent 30%)}
.bb-heroin{position:relative;display:grid;grid-template-columns:1fr 1.05fr;min-height:590px;align-items:center;gap:20px;padding:58px 0}
.bb-kicker{text-transform:uppercase;font-size:13px;letter-spacing:1.1px;color:#d7dce4}
.bb-hero h1{font-size:clamp(45px,5.3vw,76px);line-height:.98;margin:18px 0 22px;text-transform:uppercase;letter-spacing:-2px}
.bb-hero h1 span{color:var(--bb-red)}.bb-hero p{font-size:18px;color:#d8dce2;max-width:570px}
.bb-btns{display:flex;gap:13px;flex-wrap:wrap;margin-top:29px}
.bb-btn{border:0;border-radius:9px;padding:14px 21px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;gap:9px;cursor:pointer}
.bb-primary{background:var(--bb-red);color:#fff}.bb-outline{border:1px solid #87909d;color:#fff}
.bb-trust{display:flex;gap:20px;flex-wrap:wrap;margin-top:30px}.bb-trustitem{display:flex;gap:9px;align-items:center;font-size:13px;font-weight:700}
.bb-round{width:38px;height:38px;border-radius:50%;border:1px solid #586170;display:grid;place-items:center;color:var(--bb-red)}
.bb-heropic{position:relative;align-self:stretch;display:flex;align-items:flex-end}.bb-heropic img{width:100%;height:520px;object-fit:cover;border-radius:30px;mix-blend-mode:screen}
.bb-heropic:after{content:"";position:absolute;left:7%;right:3%;bottom:22px;height:45px;border-radius:50%;background:#090909;border:3px solid var(--bb-red);box-shadow:0 0 35px rgba(239,16,16,.65)}
.bb-notice{background:#fff;color:#111;box-shadow:0 -5px 18px rgba(0,0,0,.12)}
.bb-noticegrid{display:grid;grid-template-columns:repeat(4,1fr)}.bb-noticeitem{padding:20px;display:flex;gap:13px;align-items:center;border-right:1px solid var(--bb-line)}
.bb-noticeitem:last-child{border:0}.bb-noticeitem b{display:block}.bb-noticeitem small{color:var(--bb-muted)}

.bb-sec{padding:68px 0}.bb-soft{background:var(--bb-soft)}.bb-darksec{background:linear-gradient(135deg,#07111f,#111);color:#fff}
.bb-sechead{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:28px}
.bb-title{font-size:31px;line-height:1.1;margin:0;text-transform:uppercase}.bb-title:after{content:"";display:block;width:54px;height:4px;background:var(--bb-red);margin-top:11px;border-radius:5px}
.bb-subtitle{margin-top:9px;color:var(--bb-muted)}
.bb-view{border:1px solid #cbd0d8;border-radius:8px;padding:9px 14px;font-size:13px}
.bb-catgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}
.bb-catcard{background:#fff;border:1px solid var(--bb-line);border-radius:var(--bb-radius);padding:18px;transition:.23s}
.bb-catcard:hover{transform:translateY(-6px);box-shadow:var(--bb-shadow);border-color:#d5d9df}.bb-catcard img{width:100%;height:130px;object-fit:contain}
.bb-catcard h3{font-size:16px;margin:13px 0 4px}.bb-catcard small{color:var(--bb-muted)}

.bb-products{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.bb-product{background:#fff;color:#111;border-radius:15px;padding:13px;display:flex;flex-direction:column;position:relative;box-shadow:0 4px 17px rgba(0,0,0,.05)}
.bb-product-img{height:185px;width:100%;object-fit:contain;background:#fafafa;border-radius:11px}
.bb-product h3{font-size:15px;line-height:1.35;min-height:41px;margin:12px 0 7px}.bb-rating{color:#ef1010;font-size:13px}
.bb-price{font-size:18px;font-weight:900;margin:7px 0 12px}.bb-price del{font-size:12px;color:#000000;font-weight:400}
.bb-badge{position:absolute;top:10px;left:10px;background:var(--bb-red);color:#fff;font-size:11px;padding:4px 8px;border-radius:6px;font-weight:900}
.bb-pactions{display:grid;grid-template-columns:1fr 42px;gap:7px;margin-top:auto}.bb-wish{border:1px solid #ddd;background:#fff;border-radius:8px;cursor:pointer}
.bb-whatsappbtn{display:block;text-align:center;border:1px solid #22a85a;color:#168744;border-radius:8px;padding:8px;margin-top:7px;font-size:12px;font-weight:800}
.bb-quick{position:absolute;right:10px;top:10px;background:#fff;border:1px solid #ddd;border-radius:50%;width:34px;height:34px;cursor:pointer}

.bb-exchange{display:grid;grid-template-columns:.88fr 1.12fr;gap:28px;align-items:stretch}
.bb-excopy{background:linear-gradient(140deg,#091524,#172b47);color:#fff;border-radius:22px;padding:38px}.bb-excopy h2{font-size:42px;line-height:1.05;margin:0 0 17px}.bb-excopy ul{padding-left:19px;color:#d9e0ea}
.bb-calc{background:#fff;border:1px solid var(--bb-line);border-radius:22px;padding:28px;box-shadow:var(--bb-shadow)}
.bb-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.bb-field label{display:block;font-size:13px;font-weight:800;margin-bottom:6px}
.bb-field input,.bb-field select,.bb-field textarea{width:100%;border:1px solid #d9dde3;border-radius:9px;padding:12px;outline:0}
.bb-field input:focus,.bb-field select:focus{border-color:var(--bb-red)}.bb-span2{grid-column:1/-1}
.bb-result{background:#fff4f4;border:1px dashed #ef9b9b;padding:18px;border-radius:12px;margin-top:16px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.bb-result div{text-align:center}.bb-result b{display:block;font-size:21px;color:var(--bb-red)}

.bb-needgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.bb-need{padding:24px;border-radius:16px;background:#fff;border:1px solid var(--bb-line)}
.bb-need span{font-size:31px}.bb-need h3{margin:11px 0 5px}.bb-need p{font-size:14px;color:var(--bb-muted)}
.bb-deal{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;background:linear-gradient(135deg,#ef1010,#8e0007);color:#fff;border-radius:24px;padding:38px}
.bb-countdown{display:flex;gap:10px;margin:22px 0}.bb-time{background:#fff;color:#111;border-radius:10px;padding:11px;min-width:68px;text-align:center}.bb-time b{display:block;font-size:23px}
.bb-brandgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}.bb-brand{height:85px;border:1px solid var(--bb-line);border-radius:13px;display:grid;place-items:center;background:#fff;font-weight:900;color:#727984}
.bb-features{display:grid;grid-template-columns:1.15fr repeat(4,1fr);gap:15px}.bb-feature{background:#fff;border:1px solid var(--bb-line);border-radius:15px;padding:23px}.bb-feature span{font-size:28px;color:var(--bb-red)}
.bb-testimonials{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.bb-testimonial{background:#fff;border:1px solid var(--bb-line);padding:23px;border-radius:15px}.bb-testimonial p{color:#555}
.bb-bloggrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bb-blog{border:1px solid var(--bb-line);border-radius:15px;overflow:hidden;background:#fff}.bb-blog img{height:185px;width:100%;object-fit:cover}.bb-blogbody{padding:19px}
.bb-footer{background:#07111f;color:#fff;padding:55px 0 20px}.bb-footgrid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:35px}.bb-footer img{width:220px;background:#fff;border-radius:10px;padding:8px}
.bb-footer p,.bb-footer li{color:#b8c0ca;font-size:14px}.bb-footer ul{list-style:none;padding:0;display:grid;gap:8px}.bb-copy{border-top:1px solid #203047;margin-top:35px;padding-top:20px;text-align:center;color:#8794a5;font-size:13px}
.bb-float{position:fixed;right:20px;bottom:20px;width:58px;height:58px;background:#20b95b;color:#fff;border-radius:50%;display:grid;place-items:center;font-size:26px;z-index:999;box-shadow:0 10px 25px rgba(0,0,0,.3)}
.bb-modal{display:none;position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:2000;padding:30px}.bb-modal.is-open{display:grid;place-items:center}.bb-modalbox{background:#fff;border-radius:16px;max-width:820px;width:100%;max-height:90vh;overflow:auto;padding:25px;position:relative}.bb-modalclose{position:absolute;right:15px;top:12px;border:0;background:#eee;border-radius:50%;width:36px;height:36px}
.bb-mobilebar{display:none}

.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--bb-red)!important;color:#fff!important;border-radius:8px!important}
.woocommerce span.onsale{background:var(--bb-red)!important}
.woocommerce ul.products li.product{background:#fff;border:1px solid var(--bb-line);padding:14px;border-radius:14px}


@media(max-width:1020px){
 .bb-headmain{grid-template-columns:190px 1fr}.bb-actions{display:none}.bb-search{grid-column:1/-1}.bb-mobile{display:block}.bb-catbtn,.bb-call{display:none}
 .bb-navin{justify-content:space-between}.bb-menu{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:var(--bb-shadow);padding:22px;flex-direction:column}.bb-menu.open{display:flex}
 .bb-heroin{grid-template-columns:1fr;padding:50px 0}.bb-heropic{min-height:350px}.bb-heropic img{height:400px}
 .bb-catgrid{grid-template-columns:repeat(3,1fr)}.bb-products{grid-template-columns:repeat(3,1fr)}.bb-exchange{grid-template-columns:1fr}
 .bb-needgrid,.bb-features{grid-template-columns:repeat(2,1fr)}.bb-features>div:first-child{grid-column:1/-1}.bb-brandgrid{grid-template-columns:repeat(3,1fr)}
 .bb-footgrid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:650px){
 body{padding-bottom:64px}.bb-container{width:min(100% - 22px,1240px)}.bb-toplinks{display:none}.bb-headmain{grid-template-columns:1fr auto}.bb-logo img{width:170px}
 .bb-search{grid-column:1/-1}.bb-hero h1{font-size:44px}.bb-heropic{min-height:270px}.bb-heropic img{height:310px}.bb-noticegrid{grid-template-columns:1fr 1fr}
 .bb-noticeitem{padding:14px;border-bottom:1px solid var(--bb-line)}.bb-catgrid,.bb-products,.bb-needgrid,.bb-features,.bb-testimonials,.bb-bloggrid,.bb-footgrid{grid-template-columns:1fr}
 .bb-formgrid,.bb-result{grid-template-columns:1fr}.bb-span2{grid-column:auto}.bb-brandgrid{grid-template-columns:repeat(2,1fr)}.bb-deal{grid-template-columns:1fr;padding:25px}
 .bb-mobilebar{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #ddd;z-index:1200;height:64px}
 .bb-mobilebar a{display:grid;place-items:center;font-size:11px;font-weight:800}.bb-float{bottom:76px}
}


/* V3 account/auth/admin-facing front-end styles */
.bb-auth-wrap{min-height:72vh;background:linear-gradient(135deg,#07111f,#180205);display:grid;place-items:center;padding:55px 15px}
.bb-auth-card{width:min(980px,100%);background:#fff;border-radius:24px;overflow:hidden;display:grid;grid-template-columns:.9fr 1.1fr;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.bb-auth-side{background:linear-gradient(150deg,#0c1b30,#08111f);color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between}
.bb-auth-side img{width:230px;background:#fff;border-radius:12px;padding:8px}
.bb-auth-main{padding:45px}
.bb-auth-main h1{margin:0 0 8px;font-size:34px}
.bb-auth-tabs{display:flex;gap:8px;margin:22px 0}
.bb-auth-tab{padding:10px 16px;border:1px solid #ddd;border-radius:9px;font-weight:800}
.bb-auth-tab.active{background:var(--bb-red);color:#fff;border-color:var(--bb-red)}
.bb-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.bb-auth-field label{display:block;font-size:13px;font-weight:800;margin-bottom:6px}
.bb-auth-field input,.bb-auth-field select{width:100%;border:1px solid #d9dde3;border-radius:9px;padding:12px}
.bb-auth-span{grid-column:1/-1}
.bb-alert{padding:12px 14px;border-radius:9px;margin-bottom:15px}
.bb-alert-error{background:#fff0f0;color:#a10000;border:1px solid #f1b5b5}
.bb-alert-success{background:#eefbf2;color:#176a34;border:1px solid #b7e3c5}
.bb-account-shell{display:grid;grid-template-columns:245px 1fr;gap:25px}
.bb-account-nav{background:#07111f;color:#fff;border-radius:16px;padding:16px;height:max-content;position:sticky;top:125px}
.bb-account-nav a{display:block;padding:12px 13px;border-radius:9px;margin:3px 0}
.bb-account-nav a:hover,.bb-account-nav a.active{background:var(--bb-red)}
.bb-account-content{background:#fff;border:1px solid var(--bb-line);border-radius:16px;padding:25px}
.bb-account-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:22px}
.bb-account-card{background:#f7f8fa;border:1px solid var(--bb-line);border-radius:13px;padding:18px}
.bb-account-card b{display:block;font-size:26px;color:var(--bb-red)}
.bb-table{width:100%;border-collapse:collapse}
.bb-table th,.bb-table td{border-bottom:1px solid #e7e9ed;padding:12px;text-align:left;font-size:14px}
.bb-admin-help{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.bb-admin-help a{background:#fff;border:1px solid var(--bb-line);padding:20px;border-radius:14px}
@media(max-width:800px){
 .bb-auth-card,.bb-account-shell{grid-template-columns:1fr}.bb-auth-side{padding:28px}.bb-auth-main{padding:28px}
 .bb-account-nav{position:static}.bb-account-cards,.bb-admin-help{grid-template-columns:1fr 1fr}
}
@media(max-width:560px){.bb-auth-grid,.bb-account-cards,.bb-admin-help{grid-template-columns:1fr}.bb-auth-span{grid-column:auto}}
ins .woocommerce-Price-amount{
    color:#ef1010 !important;
}

del .woocommerce-Price-amount{
    color:#888 !important;
}