/* eDigital Xyz — theme styles (matches exported UI 1:1) */
:root{
  --background:#f7f7f7;--foreground:#26292e;--card:#fff;--card-foreground:#26292e;
  --primary:#16a34a;--primary-foreground:#fff;--secondary:#f1f2f3;--secondary-foreground:#26292e;
  --muted:#f1f2f3;--muted-foreground:#6b7280;--accent:#e11d1d;--accent-foreground:#fff;
  --border:#e5e7eb;--radius:0.625rem;
  --gradient-hero:linear-gradient(180deg,#1cb45c,#16a34a);
  --shadow-card:0 6px 20px -10px rgba(0,0,0,.25);
}
*,*::before,*::after{box-sizing:border-box;border-color:var(--border)}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--background);color:var(--foreground);
  font-family:'Hind Siliguri',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:15px;line-height:1.6}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;line-height:1.25}
.wrap{margin-inline:auto;width:100%;max-width:1152px;padding-inline:1rem}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip-link{position:absolute;left:-9999px}
.skip-link:focus{left:1rem;top:1rem;background:#fff;padding:.5rem 1rem;z-index:100}

/* topbar notice */
.topbar{background:linear-gradient(90deg,var(--accent),color-mix(in oklab,var(--accent) 70%,#000));color:#fff;font-size:12.5px;line-height:1.45}
.topbar-inner{margin-inline:auto;max-width:1152px;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.35rem .6rem;padding:.5rem .9rem;text-align:center}
.topbar span{display:inline-block}
.topbar a{font-weight:700;display:inline-flex;align-items:center;gap:.3rem;color:#fff;background:rgba(255,255,255,.18);border-radius:999px;padding:.15rem .6rem;white-space:nowrap}
.topbar a:hover{background:rgba(255,255,255,.3)}
@media(min-width:768px){.topbar{font-size:14px}.topbar-inner{justify-content:space-between;text-align:left;flex-wrap:nowrap}}
@media(max-width:380px){.topbar{font-size:11.5px}}

/* header */
.site-header{position:sticky;top:0;z-index:20;background:var(--card);box-shadow:0 1px 2px rgba(0,0,0,.06)}
.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.75rem 1rem}
.brand{font-weight:800;font-size:1rem;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brand .b1{color:var(--primary)}
.brand .b2{margin-left:.25rem;border-radius:.375rem;background:var(--accent);color:var(--accent-foreground);padding:.125rem .375rem}
.brand .b3{margin-left:.25rem;color:var(--primary)}
.brand img{max-height:44px;width:auto}
.main-nav ul{display:none;gap:1.5rem;list-style:none;margin:0;padding:0;font-size:.875rem;font-weight:500}
@media(min-width:768px){.main-nav ul{display:flex}.header-inner{padding:1rem}.brand{font-size:1.25rem}.brand .b2{padding:.125rem .5rem}}

/* hero / categories */
.cat-section{padding:1.5rem 1rem;background:var(--gradient-hero)}
.cat-inner{margin-inline:auto;max-width:64rem}
.notice{border-radius:.375rem;background:var(--accent);color:var(--accent-foreground);padding:.75rem 1rem}
.notice p{margin:0}
.notice .t{font-weight:700}
.notice .s{font-size:.75rem}
.cat-grid{margin-top:1.5rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;text-align:center}
.cat-grid .icon{margin-inline:auto;display:flex;height:3.5rem;width:3.5rem;align-items:center;justify-content:center;
  border-radius:9999px;background:var(--card);font-size:1.25rem;box-shadow:var(--shadow-card);transition:transform .2s;overflow:hidden}
.cat-grid .icon img{width:60%;height:60%;object-fit:contain}
.cat-grid a:hover .icon{transform:scale(1.05)}
.cat-grid h3{margin-top:.5rem;font-size:.75rem;font-weight:600;color:var(--primary-foreground)}
.cat-grid p{margin:0;font-size:10px;text-transform:uppercase;color:rgba(255,255,255,.8)}
@media(min-width:640px){.cat-section{padding:2rem 1rem}.cat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .cat-grid .icon{height:4rem;width:4rem;font-size:1.5rem}.cat-grid h3{font-size:.875rem}.cat-grid p{font-size:11px}}
@media(min-width:768px){.cat-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:1rem;margin-top:2rem}
  .cat-grid .icon{height:5rem;width:5rem;font-size:1.875rem}}

/* hero card + slider */
.hero{margin-inline:auto;max-width:1152px;padding:1.5rem 1rem}
.hero-card{border-radius:.5rem;background:var(--card);padding:1.25rem;text-align:center;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.hero-card img.slide-img{border-radius:.5rem;margin:0 auto .75rem}
.hero-card h1{font-size:1.25rem;font-weight:800}
.hero-card p{margin:.75rem auto 0;max-width:42rem;font-size:.875rem;color:var(--muted-foreground)}
.hero-actions{margin-top:1.25rem;display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}
@media(min-width:640px){.hero{padding:2rem 1rem}.hero-card{padding:2rem}.hero-card h1{font-size:1.5rem}}
@media(min-width:768px){.hero-card h1{font-size:2.25rem}}
.slider{position:relative}
.slider .slide{display:none}
.slider .slide.is-active{display:block}
.slider-dots{display:flex;justify-content:center;gap:.4rem;margin-top:.75rem}
.slider-dots button{width:.5rem;height:.5rem;border-radius:9999px;border:0;background:var(--border);cursor:pointer;padding:0}
.slider-dots button[aria-current="true"]{background:var(--primary);width:1.25rem}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border:0;cursor:pointer;
  border-radius:9999px;padding:.6rem 1.1rem;font-size:.875rem;font-weight:600;
  background:var(--primary);color:var(--primary-foreground);transition:opacity .15s}
.btn:hover{opacity:.9}
.btn-danger{background:var(--accent);color:var(--accent-foreground)}
.btn-green{background:#16a34a;color:#fff}
.btn-wa{background:#25d366;color:#fff}
.btn-outline{background:transparent;color:var(--foreground);border:1px solid var(--border)}
.btn-block{width:100%}

/* features */
.features{margin-inline:auto;display:grid;max-width:1152px;gap:.75rem;padding:1rem}
.feature{border-radius:.5rem;background:var(--card);padding:1.25rem;text-align:center;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.feature h3{font-weight:700;color:var(--primary)}
.feature p{margin:.25rem 0 0;font-size:.875rem;color:var(--muted-foreground)}
@media(min-width:640px){.features{gap:1rem}}
@media(min-width:768px){.features{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* sections + product grid */
.section{margin-inline:auto;width:100%;max-width:1152px;padding:2rem 1rem}
.section>h2{margin-bottom:1.25rem;font-size:1.25rem;font-weight:700;letter-spacing:-.01em}
.section.center>h2{text-align:center}
@media(min-width:768px){.section{padding:2.5rem 1rem}.section>h2{font-size:1.5rem;margin-bottom:1.5rem}}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
@media(min-width:640px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}}
@media(min-width:768px){.product-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
.product-card{display:flex;flex-direction:column;align-items:center;gap:.5rem;border-radius:.75rem;background:var(--secondary);
  padding:1rem;text-align:center;font-size:.875rem;font-weight:500;transition:background .15s}
.product-card:hover{background:var(--muted)}
.product-card img{height:4rem;width:4rem;border-radius:.5rem;object-fit:contain}
.product-card .price{font-size:.75rem;font-weight:600;color:var(--primary)}

/* faq accordion */
.faq{margin-inline:auto;width:100%;max-width:48rem}
.faq-sub{margin:-1rem 0 1rem;text-align:center;font-size:.875rem;color:var(--muted-foreground)}
.faq-item{border-bottom:1px solid var(--border)}
.faq-q{width:100%;background:none;border:0;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:1rem;
  padding:1rem 0;text-align:left;font-size:.875rem;font-weight:500;font-family:inherit;color:inherit}
.faq-q .chev{transition:transform .2s}
.faq-q[aria-expanded="true"] .chev{transform:rotate(180deg)}
.faq-a{display:none;padding-bottom:1rem;font-size:.875rem;color:var(--muted-foreground)}
.faq-q[aria-expanded="true"]+.faq-a{display:block}
@media(min-width:640px){.faq-q{font-size:1rem}}

/* videos / banners */
.video-grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:768px){.video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.video-embed{position:relative;padding-top:56.25%;border-radius:.75rem;overflow:hidden;background:#000}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.banner{border-radius:.75rem;overflow:hidden;box-shadow:var(--shadow-card)}
.offer-grid{display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:640px){.offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.offer{border-radius:.75rem;background:var(--card);padding:1.25rem;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.offer h3{color:var(--primary);font-weight:700}
.offer p{margin:.35rem 0 0;font-size:.875rem;color:var(--muted-foreground)}

/* floating live chat */
.live-chat{position:fixed;bottom:1rem;right:1rem;z-index:30;display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}
.live-chat-toggle{display:inline-flex;align-items:center;gap:.5rem;border:0;cursor:pointer;border-radius:9999px;background:var(--accent);padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:var(--accent-foreground);box-shadow:0 10px 25px -10px rgba(0,0,0,.5)}
.live-chat-toggle svg{height:1rem;width:1rem;fill:currentColor}
.live-chat-toggle .live-chat-open{position:relative}
.live-chat-toggle .live-chat-open circle{fill:#22c55e}
.live-chat-toggle .live-chat-open .live-chat-ping{animation:livePing 1.5s ease-out infinite;opacity:.75}
.live-chat-toggle .live-chat-close{display:none}
.live-chat.is-open .live-chat-toggle .live-chat-open{display:none}
.live-chat.is-open .live-chat-toggle .live-chat-close{display:block}
.live-chat-menu{display:none;flex-direction:column;gap:.5rem;border-radius:1rem;background:var(--card);padding:.5rem;box-shadow:0 10px 25px -10px rgba(0,0,0,.25);border:1px solid var(--border)}
.live-chat-item{display:inline-flex;align-items:center;gap:.5rem;border-radius:9999px;padding:.65rem 1rem;font-size:.75rem;font-weight:600;color:#fff;transition:transform .15s;white-space:nowrap}
.live-chat-item:hover{transform:scale(1.03)}
.live-chat-item svg{height:1rem;width:1rem;fill:currentColor}
.live-chat-menu[hidden]{display:none!important}
.live-chat.is-open .live-chat-menu{display:flex}
.live-chat-messenger{background:#0084ff}
.live-chat-whatsapp{background:#25d366}
.live-chat-call{background:#dc2626}
@keyframes livePing{0%{transform:scale(1);opacity:.75}75%{transform:scale(2.5);opacity:0}100%{transform:scale(2.5);opacity:0}}
@media(min-width:640px){.live-chat{bottom:1.25rem;right:1.25rem}.live-chat-toggle,.live-chat-item{font-size:.875rem}}
body.has-mobile-menu .live-chat{bottom:5rem}
@media(min-width:768px){body.has-mobile-menu .live-chat{bottom:1.25rem}}

/* mobile bottom menu */
.mobile-menu{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;background:var(--card);
  border-top:1px solid var(--border);padding:.35rem .25rem;box-shadow:0 -4px 16px -12px rgba(0,0,0,.4)}
.mobile-menu a{display:flex;flex-direction:column;align-items:center;gap:.15rem;font-size:.7rem;font-weight:600;padding:.25rem 0;color:var(--muted-foreground)}
.mobile-menu a .mi{font-size:1.15rem;line-height:1}
.mobile-menu a:hover,.mobile-menu a.is-active{color:var(--primary)}
@media(min-width:768px){.mobile-menu{display:none}}
body.has-mobile-menu{padding-bottom:4rem}
@media(min-width:768px){body.has-mobile-menu{padding-bottom:0}}

/* footer */
.site-footer{border-top:1px solid var(--border);background:linear-gradient(180deg,var(--card),color-mix(in oklab,var(--primary) 5%,var(--card)))}
.footer-grid{margin-inline:auto;display:grid;max-width:1152px;gap:1.75rem;padding:2.25rem 1rem}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem}}
@media(min-width:768px){.footer-grid{grid-template-columns:1.4fr repeat(3,minmax(0,1fr));padding:3rem 1rem}
  .footer-about{grid-column:span 1}}
.footer-about h3{font-weight:800;font-size:1.15rem;letter-spacing:-.01em}
.footer-about p{margin-top:.6rem;font-size:.875rem;line-height:1.7;color:var(--muted-foreground);max-width:38ch}
.footer-phone{margin-top:1rem;display:inline-flex;align-items:center;gap:.4rem;font-size:1.05rem;font-weight:800;color:#fff;
  background:var(--primary);border-radius:999px;padding:.45rem .95rem;box-shadow:var(--shadow-card)}
.footer-phone:hover{filter:brightness(1.08)}
.footer-social{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.5rem;font-size:.8125rem}
.footer-social a{border:1px solid var(--border);background:var(--card);border-radius:999px;padding:.35rem .8rem;font-weight:600;transition:.18s}
.footer-social a:hover{background:var(--primary);color:#fff;border-color:transparent;transform:translateY(-1px)}
.site-footer h4{font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--primary);
  padding-bottom:.5rem;border-bottom:1px solid var(--border)}
.site-footer h4.plain{font-size:.75rem}
.site-footer ul{margin:.75rem 0 0;padding:0;list-style:none;font-size:.875rem;color:var(--muted-foreground)}
.site-footer ul li{margin-bottom:.45rem}
.site-footer ul li a{position:relative;transition:.18s;display:inline-block}
.site-footer ul li a:hover{color:var(--primary);transform:translateX(3px)}
.copyright{border-top:1px solid var(--border);text-align:center;font-size:.8125rem;color:var(--muted-foreground);padding:1rem}

/* single product */
.product-hero{display:grid;gap:1.5rem;grid-template-columns:1fr}
@media(min-width:768px){.product-hero{grid-template-columns:280px minmax(0,1fr)}}
.product-hero .thumb{border-radius:.75rem;background:var(--card);padding:1.5rem;box-shadow:0 1px 2px rgba(0,0,0,.06);display:flex;align-items:center;justify-content:center}
.product-hero .thumb img{max-height:200px;object-fit:contain}
.product-title{font-size:1.25rem;font-weight:800}
@media(min-width:768px){.product-title{font-size:1.75rem}}
.product-price{margin-top:.5rem;font-size:1.125rem;font-weight:700;color:var(--primary)}
.pkg-list{margin-top:1rem;display:grid;gap:.5rem;grid-template-columns:1fr}
@media(min-width:640px){.pkg-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pkg{display:flex;justify-content:space-between;gap:.75rem;align-items:center;border:1px solid var(--border);border-radius:9999px;
  background:var(--card);padding:.6rem 1rem;font-size:.875rem;cursor:pointer}
.pkg input{accent-color:var(--primary)}
.pkg.is-selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}
.pkg .p{font-weight:700;color:var(--primary)}
.prose{margin-top:1rem;font-size:.9rem;color:var(--muted-foreground);white-space:pre-line}
.tags{margin-top:1rem;display:flex;flex-wrap:wrap;gap:.4rem}
.tag{border-radius:9999px;background:var(--secondary);padding:.25rem .7rem;font-size:.75rem;color:var(--muted-foreground)}

/* checkout dialog */
.dlg-backdrop{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.5);display:none;overflow-y:auto;padding:1rem}
.dlg-backdrop.is-open{display:block}
.dlg{margin:2rem auto;width:100%;max-width:72rem;border-radius:1rem;background:var(--card);padding:1.25rem;box-shadow:var(--shadow-card)}
.dlg h2{font-size:1.125rem;font-weight:700}
.dlg-grid{margin-top:1rem;display:grid;gap:1rem;grid-template-columns:1fr}
@media(min-width:1024px){.dlg{padding:1.75rem}.dlg-grid{grid-template-columns:minmax(0,1fr) 340px;gap:1.5rem}}
.dlg-card{border:1px solid var(--border);border-radius:.75rem;padding:1rem}
.dlg-card h3{font-size:.95rem;font-weight:700;margin-bottom:.75rem}
.field{margin-bottom:.75rem}
.field label{display:block;font-size:.8rem;font-weight:600;margin-bottom:.3rem}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--border);border-radius:9999px;background:var(--card);
  padding:.6rem 1rem;font-size:.875rem;font-family:inherit;color:inherit}
.field textarea{border-radius:.75rem}
.pay-grid{display:grid;gap:.75rem;grid-template-columns:1fr}
@media(min-width:640px){.pay-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.pay{display:block;border:1px solid var(--border);border-radius:.75rem;padding:.75rem;cursor:pointer;text-align:center}
.pay.is-selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary) inset}
.pay img{height:32px;margin:0 auto .4rem;object-fit:contain}
.pay .n{font-weight:700;font-size:.85rem}
.pay .num{font-size:.8rem;color:var(--primary);font-weight:600}
.pay .hint{font-size:.7rem;color:var(--muted-foreground)}
.summary li{display:flex;justify-content:space-between;font-size:.85rem;padding:.25rem 0;list-style:none}
.summary ul{margin:0;padding:0}
.summary .total{border-top:1px solid var(--border);margin-top:.5rem;padding-top:.5rem;font-weight:800}
.dlg-actions{display:grid;gap:.5rem;margin-top:.75rem}
.note{font-size:.7rem;color:var(--muted-foreground);margin-top:.5rem}
.dlg-close{float:right;background:none;border:0;font-size:1.25rem;cursor:pointer;color:var(--muted-foreground)}

/* generic pages */
.page-content{margin-inline:auto;max-width:48rem;padding:2rem 1rem}
.page-content h1{font-size:1.5rem;font-weight:800;margin-bottom:1rem}
.entry-list{display:grid;gap:1rem}
.entry{background:var(--card);border-radius:.75rem;padding:1.25rem;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.pagination{display:flex;gap:.5rem;justify-content:center;margin-top:1.5rem;flex-wrap:wrap}
.pagination .page-numbers{padding:.4rem .8rem;border-radius:9999px;background:var(--secondary);font-size:.85rem}
.pagination .current{background:var(--primary);color:var(--primary-foreground)}
