/* ===== WA Energy — styles ===== */
:root{
  --green-900:#0B4D26;
  --green-800:#0E6B33;
  --green:#189244;
  --green-600:#1FA84E;
  --green-100:#E7F5EB;
  --orange:#F5A623;
  --orange-600:#E08E0B;
  --orange-100:#FFF3DD;
  --ink:#122017;
  --ink-soft:#4B5A50;
  --line:#E4E8E2;
  --bg:#FBFBF8;
  --card:#FFFFFF;
  --radius:14px;
  --shadow:0 8px 24px rgba(11,77,38,.08);
  --shadow-lg:0 20px 50px rgba(11,77,38,.16);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:'Roboto',Arial,sans-serif;
  font-weight:500;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none}
h1,h2,h3,h4{margin:0;font-weight:700;line-height:1.15}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
.container{max-width:1240px;margin:0 auto;padding:0 24px}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12.5px;letter-spacing:.09em;text-transform:uppercase;
  color:var(--green-800);font-weight:700;
  background:var(--green-100);padding:6px 14px;border-radius:999px;
}
.section{padding:76px 0}
.section-head{max-width:640px;margin:0 0 42px}
.section-head h2{font-size:clamp(26px,3.6vw,38px);margin-top:14px}
.section-head p{margin-top:12px;color:var(--ink-soft);font-size:16px;line-height:1.6}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;border-radius:999px;font-weight:700;font-size:15px;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:nowrap;
}
.btn:active{transform:scale(.97)}
.btn-primary{background:var(--green);color:#fff;box-shadow:0 10px 24px rgba(24,146,68,.28)}
.btn-primary:hover{background:var(--green-800)}
.btn-accent{background:var(--orange);color:#231400;box-shadow:0 10px 24px rgba(245,166,35,.32)}
.btn-accent:hover{background:var(--orange-600)}
.btn-outline{background:transparent;border:1.5px solid var(--line);color:var(--ink)}
.btn-outline:hover{border-color:var(--green);color:var(--green-800)}
.btn-ghost-white{background:rgba(255,255,255,.14);color:#fff;border:1.5px solid rgba(255,255,255,.55);backdrop-filter:blur(6px)}
.btn-ghost-white:hover{background:rgba(255,255,255,.26)}
.btn-sm{padding:9px 16px;font-size:13px;border-radius:999px}
.btn-block{width:100%}
.pill{
  display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;
  padding:5px 11px;border-radius:999px;letter-spacing:.03em;text-transform:uppercase;
}
.pill-lite{background:#E9F2FF;color:#1D5FB0}
.pill-max{background:#F1E9FF;color:#6A2FC9}
.pill-pro{background:#FFE9EC;color:#C4264A}
.pill-new{background:var(--orange-100);color:var(--orange-600)}
.pill-top{background:var(--green-100);color:var(--green-800)}
.pill-best{background:#FFF0E0;color:#B85D00}
.pill-eco{background:#E7F5EB;color:#146B36}

/* ---------- Nav ---------- */
.nav{
  position:sticky;top:0;z-index:60;background:rgba(251,251,248,.92);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line);
}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:78px;gap:10px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:19px;white-space:nowrap;flex-shrink:0}
.brand img{height:34px;width:auto;flex-shrink:0}
.nav-links{display:flex;align-items:center;gap:30px}
.nav-links a{font-size:14.5px;font-weight:700;color:var(--ink-soft);padding:6px 0;border-bottom:2px solid transparent}
.nav-links a:hover{color:var(--green-800);border-color:var(--green)}
.nav-actions{display:flex;align-items:center;gap:12px}
.icon-btn{
  width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:var(--green-100);color:var(--green-800);position:relative;flex-shrink:0;
}
.icon-btn:hover{background:var(--green);color:#fff}
.badge-count{
  position:absolute;top:-3px;right:-3px;background:var(--orange);color:#231400;
  font-size:10.5px;font-weight:800;min-width:18px;height:18px;border-radius:999px;
  display:flex;align-items:center;justify-content:center;padding:0 4px;border:2px solid var(--bg);
}
.wzn-chip{
  display:flex;align-items:center;gap:7px;background:var(--orange-100);color:#8A5A00;
  padding:7px 13px 7px 8px;border-radius:999px;font-weight:800;font-size:13.5px;
}
.wzn-chip .dot{width:22px;height:22px;border-radius:50%;background:var(--orange);color:#231400;
  display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:900}
.avatar{
  width:40px;height:40px;border-radius:50%;background:var(--green);color:#fff;font-weight:800;
  display:flex;align-items:center;justify-content:center;font-size:15px;
}
.hamburger{display:none;width:42px;height:42px;border-radius:10px;background:var(--green-100);align-items:center;justify-content:center}
.nav-cta-mobile{display:none}
@media(max-width:960px){
  .nav-links{position:fixed;top:78px;left:0;right:0;height:calc(100vh - 78px);background:#fff;flex-direction:column;
    padding:26px 24px;gap:4px;transform:translateX(100%);transition:transform .25s ease;overflow-y:auto;z-index:65}
  .nav-links.open{transform:translateX(0)}
  .nav-links a{width:100%;padding:14px 6px;border-bottom:1px solid var(--line);font-size:16px}
  .hamburger{display:flex}
  .nav-links .nav-cta-mobile{display:flex;gap:10px;margin-top:16px}
  #nav-auth-area .btn{display:none}
  #nav-auth-area .wzn-chip{padding:6px 10px 6px 6px;font-size:12px}
  #nav-auth-area .wzn-chip span:not(.dot){display:none}
  .brand img{height:28px}
}
@media(max-width:420px){
  .brand img{height:24px}
}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;min-height:640px;display:flex;align-items:center;color:#fff}
.hero > .container{width:100%}
.hero::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(100deg, rgba(9,44,20,.94) 8%, rgba(9,44,20,.72) 42%, rgba(9,44,20,.28) 78%);
  z-index:1;
}
.hero-bg{position:absolute;inset:0;object-fit:cover;width:100%;height:100%}
.hero-content{position:relative;z-index:2;max-width:620px;padding:90px 0}
.hero-content .eyebrow{background:rgba(255,255,255,.16);color:#fff}
.hero-content h1{font-size:clamp(34px,5vw,54px);margin-top:18px;letter-spacing:-.01em}
.hero-content h1 span{color:var(--orange)}
.hero-content p{margin-top:18px;font-size:17px;line-height:1.65;color:#EAF3EC}
.hero-cta{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap}
.hero-stats{display:flex;gap:34px;margin-top:46px;flex-wrap:wrap}
.hero-stats div b{display:block;font-size:24px}
.hero-stats div span{font-size:12.5px;color:#CFE3D5;text-transform:uppercase;letter-spacing:.06em}

/* ---------- Services ---------- */
.svc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.svc-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:30px 24px;transition:box-shadow .2s, transform .2s;display:flex;flex-direction:column}
.svc-card:hover{box-shadow:var(--shadow);transform:translateY(-4px)}
.svc-icon{width:64px;height:64px;object-fit:contain;margin-bottom:20px}
.svc-card h3{font-size:17px;margin-bottom:10px}
.svc-card p{font-size:14px;color:var(--ink-soft);line-height:1.6}
.svc-more{
  margin-top:14px;padding:0 0;border-top:1px dashed var(--line);padding-top:14px;
  font-size:13.5px;color:var(--ink-soft);line-height:1.6;display:none;
}
.svc-card.open .svc-more{display:block}
.svc-read{margin-top:auto;align-self:flex-start;background:var(--orange);color:#231400;font-weight:800;font-size:13px;padding:9px 16px;border-radius:999px}
@media(max-width:960px){.svc-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.svc-grid{grid-template-columns:1fr}}

/* ---------- About / trusted partner ---------- */
.about-wrap{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.about-card{
  background:var(--green-900);border-radius:20px;padding:40px;color:#fff;position:relative;overflow:hidden;
}
.about-card::after{content:"";position:absolute;width:280px;height:280px;background:var(--orange);opacity:.12;border-radius:50%;right:-80px;bottom:-90px}
.about-stats{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:26px;position:relative;z-index:1}
.about-stats div b{font-size:30px;color:var(--orange);display:block}
.about-stats div span{font-size:13px;color:#CFE3D5}
.why-list{margin-top:22px;display:flex;flex-direction:column;gap:16px}
.why-item{display:flex;gap:14px;align-items:flex-start}
.why-item .num{
  flex-shrink:0;width:34px;height:34px;border-radius:10px;background:var(--green-100);color:var(--green-800);
  display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;
}
.why-item h4{font-size:15.5px;margin-bottom:4px}
.why-item p{font-size:14px;color:var(--ink-soft);line-height:1.55}
@media(max-width:900px){.about-wrap{grid-template-columns:1fr}}

/* ---------- Recommendation ---------- */
.reco-section{background:var(--green-900);color:#fff;border-radius:28px;margin:0 24px;padding:64px 46px;position:relative;overflow:hidden}
.reco-section::before{content:"";position:absolute;inset:0;background:radial-gradient(600px 300px at 85% 0%, rgba(245,166,35,.18), transparent 60%)}
.reco-inner{position:relative;z-index:1;max-width:1200px;margin:0 auto}
.reco-head{max-width:600px}
.reco-head .eyebrow{background:rgba(255,255,255,.14);color:#fff}
.reco-head h2{color:#fff;font-size:clamp(26px,3.6vw,36px);margin-top:14px}
.reco-head p{color:#D9E9DD;margin-top:12px;font-size:15.5px;line-height:1.6}
.reco-detect{
  margin-top:28px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;
}
.reco-status{font-size:13.5px;color:#BFE0C8}
.reco-result{
  margin-top:36px;display:grid;grid-template-columns:repeat(5,1fr);gap:16px;
}
.reco-tile{
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:16px;
  padding:20px 16px;text-align:center;
}
.reco-tile img{width:38px;height:38px;object-fit:contain;margin:0 auto 12px}
.reco-tile b{display:block;font-size:18px}
.reco-tile span{font-size:12px;color:#CFE3D5;text-transform:uppercase;letter-spacing:.04em}
.reco-plan-card{
  margin-top:22px;background:#fff;color:var(--ink);border-radius:18px;padding:26px 28px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
}
.reco-plan-card .l span{display:block;font-size:12.5px;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.05em}
.reco-plan-card .l b{font-size:22px;color:var(--green-800)}
@media(max-width:900px){.reco-result{grid-template-columns:repeat(2,1fr)}.reco-section{padding:44px 22px;margin:0 12px;border-radius:20px}}

/* ---------- Plan detail page ---------- */
.plan-hero{background:var(--green-100);padding:50px 0 36px}
.breadcrumb{font-size:13px;color:var(--ink-soft);margin-bottom:16px}
.breadcrumb a{color:var(--green-800);font-weight:700}
.plan-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px;align-items:center}
.plan-photo{background:#fff;border-radius:20px;padding:24px;box-shadow:var(--shadow)}
.plan-name{font-size:clamp(26px,4vw,38px);color:var(--green-800)}
.plan-specs{margin-top:20px;display:flex;flex-direction:column;gap:12px}
.plan-specs li{display:flex;gap:10px;align-items:flex-start;font-size:15.5px}
.plan-specs img{width:20px;height:20px;margin-top:2px}
.plan-suitable{margin-top:18px;font-size:14.5px;color:var(--ink-soft)}
.plan-suitable b{color:var(--ink)}
.plan-cap-title{margin-top:8px;color:var(--orange-600);font-weight:800;font-size:15px}
.cap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-top:34px}
.cap-item{text-align:center}
.cap-item .ic{
  width:56px;height:56px;border-radius:14px;background:var(--green-100);display:flex;align-items:center;justify-content:center;
  margin:0 auto 10px;color:var(--green-800)
}
.cap-item span{font-size:13px;font-weight:700}
.plan-cta{margin-top:30px;display:flex;gap:14px;flex-wrap:wrap}
.under-plan{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:60px}
.under-item{text-align:center;padding:26px}
.under-item img{width:52px;height:52px;object-fit:contain;margin:0 auto 16px}
.under-item h4{font-size:16px;margin-bottom:8px}
.under-item p{font-size:13.5px;color:var(--ink-soft);line-height:1.6}
.plan-switch{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}
.plan-switch button{padding:9px 18px;border-radius:999px;font-weight:700;font-size:13.5px;border:1.5px solid var(--line);background:#fff}
.plan-switch button.active{background:var(--green);color:#fff;border-color:var(--green)}
@media(max-width:860px){.plan-layout{grid-template-columns:1fr}.cap-grid{grid-template-columns:repeat(2,1fr)}}

/* ---------- Products teaser (home) ---------- */
.cat-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.cat-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px 16px;text-align:center;
  transition:.2s;
}
.cat-card:hover{border-color:var(--green);box-shadow:var(--shadow);transform:translateY(-3px)}
.cat-card .ic{width:56px;height:56px;object-fit:contain;margin:0 auto 14px}
.cat-card b{font-size:14.5px}
@media(max-width:860px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:560px){.cat-grid{grid-template-columns:repeat(2,1fr)}}

/* ---------- Products listing page ---------- */
.shop-topbar{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:18px 0;border-bottom:1px solid var(--line);margin-bottom:26px;
}
.shop-count{font-size:13.5px;color:var(--ink-soft)}
.active-filters{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.chip{
  display:flex;align-items:center;gap:8px;background:var(--green-100);color:var(--green-800);
  padding:7px 8px 7px 14px;border-radius:999px;font-size:13px;font-weight:700;
}
.chip button{background:transparent;color:inherit;font-size:15px;line-height:1;padding:2px 4px}
.sort-select{
  padding:10px 16px;border-radius:999px;border:1.5px solid var(--line);font-family:inherit;font-weight:700;font-size:13.5px;
  background:#fff;
}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.product-card{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;cursor:pointer;
  transition:.2s;display:flex;flex-direction:column;
}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:transparent}
.product-media{position:relative;aspect-ratio:1/1;background:#F3F6F2;overflow:hidden}
.product-media img{width:100%;height:100%;object-fit:contain;padding:14px}
.product-media .pill{position:absolute;top:12px;left:12px}
.product-body{padding:16px 16px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-cat{font-size:11.5px;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.product-body h4{font-size:15px;line-height:1.35}
.product-body p{font-size:13px;color:var(--ink-soft);line-height:1.5;flex:1}
.product-quote{margin-top:10px;background:var(--green-100);color:var(--green-800);font-weight:800;font-size:13px;padding:10px;border-radius:10px;text-align:center}
.product-quote:hover{background:var(--green);color:#fff}
@media(max-width:1080px){.product-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.product-grid{grid-template-columns:repeat(2,1fr)}}
.pagination{display:flex;justify-content:center;gap:8px;margin-top:40px}
.pagination button{width:38px;height:38px;border-radius:10px;border:1.5px solid var(--line);background:#fff;font-weight:700}
.pagination button.active{background:var(--green);color:#fff;border-color:var(--green)}

/* ---------- Product detail ---------- */
.pd-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:54px}
.pd-gallery{position:sticky;top:100px;align-self:start}
.pd-main-img{
  background:#F3F6F2;border-radius:18px;aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;
  overflow:hidden;position:relative;
}
.pd-main-img img{width:100%;height:100%;object-fit:contain;padding:26px}
.pd-nav{
  position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;
  background:#fff;color:var(--ink);box-shadow:0 6px 18px rgba(0,0,0,.14);display:flex;align-items:center;justify-content:center;
}
.pd-nav:hover{background:var(--green);color:#fff}
.pd-nav-prev{left:14px}
.pd-nav-next{right:14px}
.pd-thumbs{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.pd-thumb{
  width:64px;height:64px;border-radius:10px;overflow:hidden;background:#F3F6F2;border:2px solid transparent;flex-shrink:0;padding:0;
}
.pd-thumb img{width:100%;height:100%;object-fit:contain;padding:6px}
.pd-thumb.active{border-color:var(--green)}
.pd-cat{color:var(--ink-soft);font-size:13px;text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.pd-name{font-size:clamp(24px,3.4vw,32px);margin-top:8px}
.pd-badges{display:flex;gap:8px;margin-top:12px}
.pd-desc{margin-top:16px;color:var(--ink-soft);font-size:15px;line-height:1.7}
.pd-specs{margin-top:26px;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.pd-specs table{width:100%;border-collapse:collapse}
.pd-specs th{background:var(--orange);color:#231400;text-align:left;padding:12px 18px;font-size:13px;text-transform:uppercase;letter-spacing:.04em}
.pd-specs td{padding:12px 18px;font-size:14px;border-top:1px solid var(--line)}
.pd-specs tr:nth-child(even) td{background:#FAFBF9}
.pd-actions{margin-top:28px;display:flex;gap:14px;flex-wrap:wrap}
.qty-select{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:999px;overflow:hidden}
.qty-select button{width:38px;height:44px;background:#fff;font-weight:800;font-size:16px}
.qty-select span{width:36px;text-align:center;font-weight:700}
@media(max-width:900px){.pd-layout{grid-template-columns:1fr}.pd-gallery{position:static}}

/* ---------- Testimonials ---------- */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.testi-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.stars{color:var(--orange);font-size:15px;letter-spacing:2px}
.testi-card p{margin-top:14px;font-size:14.5px;line-height:1.65;color:var(--ink)}
.testi-who{display:flex;align-items:center;gap:12px;margin-top:20px}
.testi-who .av{width:40px;height:40px;border-radius:50%;background:var(--green-100);color:var(--green-800);display:flex;align-items:center;justify-content:center;font-weight:800}
.testi-who b{display:block;font-size:14px}
.testi-who span{font-size:12.5px;color:var(--ink-soft)}
@media(max-width:900px){.testi-grid{grid-template-columns:1fr}}

/* ---------- FAQ ---------- */
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}
.faq-q{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px;cursor:pointer}
.faq-q h4{font-size:15.5px}
.faq-q img{width:20px;height:20px;transition:transform .25s ease}
.faq-item.open .faq-q img{transform:rotate(90deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-a p{padding:0 22px 20px;font-size:14.5px;color:var(--ink-soft);line-height:1.65}
.faq-item.open .faq-a{max-height:260px}

/* ---------- Footer ---------- */
footer{background:var(--green-900);color:#DCEBDF;margin-top:40px}
.foot-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding:64px 0 40px}
.foot-brand{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.foot-brand img{height:34px}
.foot-col h5{color:#fff;font-size:14.5px;margin-bottom:18px;letter-spacing:.03em}
.foot-col ul li{margin-bottom:12px;font-size:14px;color:#BFDAC5}
.foot-col ul li a:hover{color:#fff}
.foot-contact li{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px;font-size:13.5px}
.foot-contact img{width:18px;height:18px;margin-top:2px;filter:brightness(0) invert(1);opacity:.85}
.foot-social{display:flex;gap:10px;margin-top:18px}
.foot-social a{width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center}
.foot-social img{width:16px;height:16px;filter:brightness(0) invert(1)}
.foot-bottom{border-top:1px solid rgba(255,255,255,.12);padding:20px 0;font-size:12.5px;color:#9BC0A4;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}
@media(max-width:900px){.foot-inner{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.foot-inner{grid-template-columns:1fr}}

/* ---------- Floating widgets ---------- */
.fab-col{position:fixed;bottom:24px;right:20px;display:flex;flex-direction:column;gap:14px;z-index:70}
.fab{
  width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 26px rgba(0,0,0,.22);position:relative;color:#fff;
}
.fab-cart{background:var(--green)}
.fab-watt{background:var(--orange);color:#231400}
.fab-wa{position:fixed;bottom:24px;left:20px;z-index:70;width:58px;height:58px;border-radius:50%;background:#25D366;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(0,0,0,.22)}
.fab .badge-count{top:-2px;right:-2px}

/* Cart drawer */
.drawer-overlay{position:fixed;inset:0;background:rgba(9,20,13,.5);z-index:90;opacity:0;pointer-events:none;transition:opacity .25s}
.drawer-overlay.show{opacity:1;pointer-events:auto}
.drawer{
  position:fixed;top:0;right:0;bottom:0;width:400px;max-width:92vw;background:#fff;z-index:91;
  transform:translateX(100%);transition:transform .3s ease;display:flex;flex-direction:column;
}
.drawer.show{transform:translateX(0)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:22px;border-bottom:1px solid var(--line)}
.drawer-body{flex:1;overflow:auto;padding:16px 22px}
.cart-row{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-row img{width:64px;height:64px;object-fit:contain;background:#F3F6F2;border-radius:10px;padding:6px}
.cart-row .info{flex:1}
.cart-row .info b{font-size:14px;display:block}
.cart-row .info span{font-size:12.5px;color:var(--ink-soft)}
.cart-row .rm{color:#C4264A;font-size:12.5px;font-weight:700;margin-top:6px}
.drawer-foot{padding:20px 22px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:10px}
.empty-state{padding:60px 10px;text-align:center;color:var(--ink-soft)}

/* Chat panel */
.chat-panel{
  position:fixed;bottom:96px;right:20px;width:360px;max-width:90vw;height:500px;max-height:74vh;background:#fff;
  border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.3);z-index:91;display:flex;flex-direction:column;overflow:hidden;
  transform:translateY(16px) scale(.98);opacity:0;pointer-events:none;transition:.2s;
}
.chat-panel.show{transform:translateY(0) scale(1);opacity:1;pointer-events:auto}
.chat-head{background:var(--green-900);color:#fff;padding:16px 18px;display:flex;align-items:center;gap:10px}
.chat-head .dot{width:9px;height:9px;border-radius:50%;background:#4ADE80}
.chat-head b{font-size:14.5px}
.chat-head span{font-size:11.5px;color:#BFDAC5;display:block}
.chat-body{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:12px;background:#F7F9F6}
.msg{max-width:82%;padding:10px 14px;border-radius:14px;font-size:13.5px;line-height:1.5}
.msg.bot{background:#fff;border:1px solid var(--line);align-self:flex-start;border-bottom-left-radius:4px}
.msg.user{background:var(--green);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.chat-input{display:flex;gap:8px;padding:12px;border-top:1px solid var(--line)}
.chat-input input{flex:1;border:1.5px solid var(--line);border-radius:999px;padding:11px 16px;font-family:inherit;font-size:13.5px}
.chat-input button{width:42px;height:42px;border-radius:50%;background:var(--green);color:#fff;flex-shrink:0}

/* Modals */
.modal-overlay{position:fixed;inset:0;background:rgba(9,20,13,.55);z-index:95;display:none;align-items:center;justify-content:center;padding:20px}
.modal-overlay.show{display:flex}
.modal{background:#fff;border-radius:20px;max-width:440px;width:100%;padding:30px;position:relative;max-height:88vh;overflow:auto}
.modal.wide{max-width:600px}
.modal-close{position:absolute;top:16px;right:16px;width:34px;height:34px;border-radius:50%;background:var(--green-100);color:var(--green-800);display:flex;align-items:center;justify-content:center}
.modal h3{font-size:20px;margin-bottom:6px}
.modal .sub{font-size:13.5px;color:var(--ink-soft);margin-bottom:20px}
.modal-opt{
  display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 18px;border:1.5px solid var(--line);
  border-radius:14px;margin-bottom:12px;
}
.modal-opt b{font-size:14.5px;display:block}
.modal-opt span{font-size:12.5px;color:var(--ink-soft)}
.buynow-msg{text-align:center;padding:14px 6px 6px}
.buynow-msg-icon{
  width:56px;height:56px;border-radius:50%;margin:0 auto 18px;display:flex;align-items:center;justify-content:center;
  font-size:26px;font-weight:800;
}
.buynow-msg.insufficient .buynow-msg-icon{background:#FFE9EC;color:#C4264A}
.buynow-msg.success .buynow-msg-icon{background:var(--green-100);color:var(--green-800)}
.buynow-msg p{font-size:15px;color:var(--ink);line-height:1.65}
.map-frame{width:100%;height:220px;border-radius:14px;border:1px solid var(--line);overflow:hidden;margin-top:14px}
.map-frame iframe{width:100%;height:100%;border:0}
.track-list{margin-top:18px;display:flex;flex-direction:column;gap:10px}
.track-row{display:flex;align-items:center;gap:12px;font-size:14px}
.track-check{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;flex-shrink:0}
.track-check.done{background:var(--green);color:#fff}
.track-check.pending{background:#F0F0EC;color:#A7ADA5;border:1.5px dashed #C7CDC4}

/* Forms */
.form-field{margin-bottom:16px}
.form-field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px;color:var(--ink-soft)}
.form-field input,.form-field select{
  width:100%;padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;font-family:inherit;font-size:14px;
}
.form-field input:focus,.form-field select:focus{outline:none;border-color:var(--green)}
.radio-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.radio-card{border:1.5px solid var(--line);border-radius:12px;padding:16px;text-align:center;cursor:pointer;font-weight:700;font-size:14px}
.radio-card.sel{border-color:var(--green);background:var(--green-100);color:var(--green-800)}
.stepper-dots{display:flex;gap:6px;margin-bottom:22px}
.stepper-dots span{height:5px;flex:1;border-radius:99px;background:var(--line)}
.stepper-dots span.on{background:var(--green)}
.appliance-row{display:flex;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.stepper-mini{display:flex;align-items:center;gap:10px}
.stepper-mini button{width:28px;height:28px;border-radius:50%;background:var(--green-100);color:var(--green-800);font-weight:800}

/* Views */
.view{display:none}
.view.active{display:block}

/* Auth pages */
.auth-wrap{min-height:calc(100vh - 78px);display:flex;align-items:center;justify-content:center;padding:60px 20px;background:var(--green-100)}
.auth-card{background:#fff;border-radius:22px;box-shadow:var(--shadow-lg);max-width:460px;width:100%;padding:38px}
.auth-card h2{font-size:24px}
.auth-card .sub{color:var(--ink-soft);font-size:14px;margin-top:6px;margin-bottom:26px}
.auth-switch{margin-top:20px;text-align:center;font-size:13.5px;color:var(--ink-soft)}
.auth-switch a{color:var(--green-800);font-weight:800}

/* Dashboard */
.dash-wrap{padding:44px 0 70px;background:var(--bg)}
.dash-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:30px}
.dash-hi{font-size:26px}
.dash-grid{display:grid;grid-template-columns:1.1fr 1.4fr;gap:22px}
.wzn-card{
  background:linear-gradient(135deg,var(--green-900),var(--green-800));color:#fff;border-radius:20px;padding:30px;
  position:relative;overflow:hidden;
}
.wzn-card::after{content:"";position:absolute;width:200px;height:200px;background:var(--orange);opacity:.18;border-radius:50%;right:-60px;top:-70px}
.wzn-card span{font-size:12.5px;text-transform:uppercase;letter-spacing:.06em;color:#CFE3D5}
.wzn-card b{font-size:40px;display:block;margin-top:8px;position:relative;z-index:1}
.wzn-card small{font-size:12.5px;color:#BFDAC5;position:relative;z-index:1}
.dash-banner{
  margin-top:16px;background:var(--orange-100);border:1.5px dashed var(--orange);border-radius:16px;padding:20px 22px;
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
}
.dash-banner b{font-size:15px}
.dash-banner p{font-size:13px;color:#8A5A00;margin-top:4px}
.profile-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:26px}
.profile-row{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.profile-row span{color:var(--ink-soft)}
.dash-links{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}
.dash-link{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;text-align:center;font-weight:700;font-size:13.5px}
.dash-link:hover{border-color:var(--green);color:var(--green-800)}
@media(max-width:860px){.dash-grid{grid-template-columns:1fr}.dash-links{grid-template-columns:1fr 1fr}}

/* ---------- WZN feature cards (dashboard) ---------- */
.wzn-feature-row{display:flex;flex-direction:column;gap:22px;margin-top:26px}
.wzn-feature-card{
  border:1.5px solid var(--orange);border-radius:24px;background:#fff;
  display:grid;grid-template-columns:220px 1fr;align-items:center;gap:34px;padding:28px 36px;
}
.wzn-feature-card .fc-illus{display:flex;align-items:center;justify-content:center}
.wzn-feature-card .fc-illus img{width:100%;max-width:200px;animation:wznFloat 4.5s ease-in-out infinite}
.wzn-feature-row .wzn-feature-card:nth-child(2) .fc-illus img{animation-delay:.5s}
.wzn-feature-row .wzn-feature-card:nth-child(3) .fc-illus img{animation-delay:1s}
@keyframes wznFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.wzn-feature-card h4{font-size:19px;margin-bottom:8px}
.wzn-feature-card p{font-size:14px;color:var(--ink-soft);line-height:1.65;max-width:460px}
.wzn-feature-card .btn{margin-top:16px}
@media(max-width:760px){
  .wzn-feature-card{grid-template-columns:1fr;text-align:center;padding:26px}
  .wzn-feature-card p{max-width:none;margin-left:auto;margin-right:auto}
  .wzn-feature-card .fc-illus img{max-width:160px}
}
@media(prefers-reduced-motion: reduce){
  .wzn-feature-card .fc-illus img{animation:none}
}

/* ---------- Referral modal ---------- */
.referral-link-box{
  display:flex;gap:8px;align-items:center;background:var(--green-100);border-radius:12px;padding:8px 8px 8px 16px;margin-top:16px;
}
.referral-link-box input{
  flex:1;border:none;background:transparent;font-family:inherit;font-size:13.5px;color:var(--ink);font-weight:700;outline:none;
}
.referral-stats{display:flex;gap:12px;margin-top:18px}
.referral-stat{flex:1;background:#FAFBF9;border:1px solid var(--line);border-radius:12px;padding:14px;text-align:center}
.referral-stat b{display:block;font-size:20px;color:var(--green-800)}
.referral-stat span{font-size:11.5px;color:var(--ink-soft);text-transform:uppercase;letter-spacing:.03em}

.toast{
  position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(20px);background:var(--ink);color:#fff;
  padding:13px 22px;border-radius:999px;font-size:13.5px;font-weight:700;z-index:200;opacity:0;pointer-events:none;
  transition:.25s;display:flex;align-items:center;gap:10px;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

@media(max-width:900px){
  .about-wrap,.pd-layout{gap:30px}
  footer .foot-inner{padding:44px 0 30px}
}
