
/*
Theme Name: HarGharKhabar Digital Store
Theme URI: https://hargharkhabar.com/
Author: HarGharKhabar
Description: A responsive digital products and eBook storefront theme with WooCommerce support and a built-in editorial homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: hargharkhabar
*/
:root{--ink:#10213b;--navy:#07152a;--blue:#0878e8;--cyan:#22c7ed;--paper:#f5f8fc;--muted:#66758b;--line:#e3eaf2;--white:#fff;--radius:18px;--shadow:0 16px 45px rgba(13,39,73,.09)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:16px;line-height:1.65}
a{color:var(--blue);text-decoration:none}
a:hover{color:#045bb4}
img{max-width:100%;height:auto}
.container{width:min(1160px,92%);margin-inline:auto}
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:99;backdrop-filter:blur(12px)}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:900;font-size:21px;letter-spacing:-.04em}
.site-brand:hover{color:var(--ink)}
.brand-mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--blue),var(--cyan));display:grid;place-items:center;color:#fff;font-weight:900}
.site-brand .brand-accent{color:var(--blue)}
.primary-menu{display:flex;align-items:center;gap:26px;list-style:none;padding:0;margin:0}
.primary-menu a{color:#34445a;font-size:14px;font-weight:700}
.header-actions{display:flex;align-items:center;gap:12px}
.header-cart{font-size:14px;font-weight:800;color:var(--ink);padding:10px 14px;border:1px solid var(--line);border-radius:999px}
.menu-toggle{display:none;border:0;background:var(--paper);padding:10px 13px;border-radius:10px;font-size:20px}
.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(110deg,var(--blue),#08a9df);color:#fff!important;border:0;border-radius:999px;padding:13px 22px;font-weight:800;font-size:14px;box-shadow:0 9px 22px rgba(8,120,232,.2);transition:.2s}
.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{transform:translateY(-2px);background:#075fbd;color:#fff!important}
.button-outline{background:transparent;color:var(--ink)!important;border:1px solid #cdd9e7;box-shadow:none}
.hero{padding:76px 0 70px;background:radial-gradient(circle at 85% 18%,rgba(34,199,237,.18),transparent 28%),linear-gradient(135deg,#f4f9ff,#fff 65%)}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:56px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--blue);font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.14em}
.eyebrow:before{content:"";width:22px;height:2px;background:var(--cyan)}
.hero h1{font-size:clamp(38px,5.2vw,66px);line-height:1.05;letter-spacing:-.055em;margin:16px 0 20px;color:var(--navy)}
.hero h1 span{color:var(--blue)}
.hero-copy{font-size:18px;color:#53647a;max-width:610px;margin:0 0 26px}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}
.hero-note{font-size:12px;color:#748399;margin-top:17px}
.hero-art{position:relative}
.hero-art img{width:100%;display:block;border-radius:24px;box-shadow:0 24px 70px rgba(7,31,62,.2);border:1px solid rgba(8,120,232,.14)}
.hero-placeholder{min-height:360px;border-radius:26px;background:linear-gradient(145deg,#07152a,#0b3970);display:flex;align-items:center;justify-content:center;padding:40px;text-align:center;color:#fff;box-shadow:var(--shadow)}
.hero-placeholder strong{font-size:34px;line-height:1.1}
.section{padding:72px 0}
.section-soft{background:var(--paper)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.section-head h2,.center-head h2{font-size:clamp(28px,3.5vw,42px);line-height:1.12;letter-spacing:-.04em;margin:8px 0;color:var(--navy)}
.section-head p,.center-head p{color:var(--muted);margin:0;max-width:650px}
.center-head{text-align:center;max-width:760px;margin:0 auto 34px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.product-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff;transition:.22s;box-shadow:0 5px 22px rgba(12,40,75,.035)}
.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.product-thumb{aspect-ratio:4/3;background:#eaf2fb;display:grid;place-items:center;overflow:hidden}
.product-thumb img{width:100%;height:100%;object-fit:cover}
.product-placeholder{font-size:48px;color:#7ba9d7}
.product-info{padding:20px}
.product-info h3{font-size:18px;line-height:1.3;margin:0 0 8px}
.product-info h3 a{color:var(--ink)}
.product-excerpt{font-size:13px;color:var(--muted);margin:0 0 14px}
.product-meta{display:flex;align-items:center;justify-content:space-between;gap:12px}
.price{font-weight:900;color:var(--navy);font-size:18px}
.price del{font-size:13px;color:#98a5b5;font-weight:500}
.price ins{text-decoration:none}
.no-products{padding:32px;border:1px dashed #c9d8e8;border-radius:16px;color:var(--muted);text-align:center;background:#fff}
.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.value-card{padding:25px;border:1px solid var(--line);border-radius:16px;background:#fff}
.value-icon{width:44px;height:44px;border-radius:13px;background:#e8f6ff;color:var(--blue);display:grid;place-items:center;font-size:20px;margin-bottom:15px}
.value-card h3{margin:0 0 7px;font-size:17px}
.value-card p{margin:0;color:var(--muted);font-size:14px}
.cta-band{padding:44px;border-radius:24px;background:linear-gradient(120deg,#07152a,#0c3e76);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px}
.cta-band h2{font-size:clamp(26px,3vw,38px);line-height:1.15;margin:0 0 8px}
.cta-band p{margin:0;color:#c4d7ee}
.cta-band .button{background:#fff;color:#0758a8!important;white-space:nowrap}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.article-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.article-card img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.article-content{padding:18px}
.article-content h3{font-size:17px;line-height:1.35;margin:5px 0 8px}
.article-content h3 a{color:var(--ink)}
.article-content p{font-size:13px;color:var(--muted);margin:0}
.post-meta{font-size:12px;color:#7d8ba0}
.site-footer{background:#061326;color:#d9e5f4;padding:54px 0 22px;margin-top:50px}
.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:35px}
.site-footer h3{color:#fff;font-size:16px;margin:0 0 12px}
.site-footer p,.site-footer li{color:#aabbd0;font-size:13px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer a{color:#c9dcf2}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px;font-size:12px;color:#91a5bd}
.page-title{padding:48px 0 24px;background:var(--paper)}
.page-title h1{font-size:42px;line-height:1.1;margin:0;color:var(--navy)}
.content-area{padding:45px 0 70px}
.entry-content{max-width:820px}
.entry-content h2,.entry-content h3{color:var(--navy)}
.pagination,.woocommerce nav.woocommerce-pagination ul{margin-top:28px}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;border:1px solid var(--line);padding:14px;border-radius:16px;background:#fff}
.woocommerce ul.products li.product a img{border-radius:10px}
.woocommerce div.product div.images img{border-radius:16px}
.woocommerce div.product .product_title{color:var(--navy)}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--blue);font-weight:900}
.woocommerce .quantity .qty{padding:10px;border:1px solid var(--line);border-radius:8px}
.woocommerce-message,.woocommerce-info{border-top-color:var(--blue)}
.woocommerce-message:before,.woocommerce-info:before{color:var(--blue)}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{border-radius:9px}
.widget-area{padding:20px;background:var(--paper);border-radius:14px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}
@media(max-width:900px){.hero-grid{gap:30px}.product-grid,.article-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.value-grid{grid-template-columns:1fr 1fr}.primary-menu{gap:14px}}
@media(max-width:680px){.header-inner{min-height:66px}.menu-toggle{display:block}.primary-menu{display:none;position:absolute;top:66px;left:0;right:0;background:#fff;padding:18px 5%;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start}.primary-menu.is-open{display:flex}.header-cart{font-size:12px;padding:8px 10px}.hero{padding:48px 0}.hero-grid{grid-template-columns:1fr}.hero-art{order:-1}.hero-copy{font-size:16px}.section{padding:52px 0}.section-head{display:block}.section-head .text-link{display:inline-block;margin-top:12px}.product-grid,.article-grid,.woocommerce ul.products,.value-grid{grid-template-columns:1fr}.cta-band{padding:28px;display:block}.cta-band .button{margin-top:20px}.footer-grid{grid-template-columns:1fr;gap:22px}.page-title h1{font-size:34px}}
