/* Generated by tools/build-assets.js from: assets/css/icons.css, assets/css/main.css, assets/css/live-search.css, assets/css/theme-polish.css */
/* assets/css/icons.css */
/*! Font Awesome Free 7.3.0 subset for Hekmat Gostar. Font: SIL OFL 1.1; CSS: MIT. */
@font-face{font-family:"Font Awesome 7 Free";font-style:normal;font-weight:900;font-display:block;src:url("../fonts/fontawesome/fa-solid-subset.woff2") format("woff2")}
@font-face{font-family:"Font Awesome 7 Free";font-style:normal;font-weight:400;font-display:block;src:url("../fonts/fontawesome/fa-regular-subset.woff2") format("woff2")}
@font-face{font-family:"Font Awesome 7 Brands";font-style:normal;font-weight:400;font-display:block;src:url("../fonts/fontawesome/fa-brands-subset.woff2") format("woff2")}
.fa-solid,.fa-regular,.fa-brands{font-feature-settings:normal;font-style:normal;font-synthesis:none;font-variant:normal;line-height:1;text-align:center;text-rendering:auto;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.fa-solid{font-family:"Font Awesome 7 Free";font-weight:900}.fa-regular{font-family:"Font Awesome 7 Free";font-weight:400}.fa-brands{font-family:"Font Awesome 7 Brands";font-weight:400}
.fa-solid:before,.fa-regular:before,.fa-brands:before{content:var(--fa)}
@keyframes fa-spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.fa-spin{animation:fa-spin 1s linear infinite}
.fa-align-right{--fa:"\f038"}
.fa-angle-down{--fa:"\f107"}
.fa-angle-left{--fa:"\f104"}
.fa-angle-right{--fa:"\f105"}
.fa-arrow-down-1-9{--fa:"\f162"}
.fa-arrow-down-a-z{--fa:"\f15d"}
.fa-arrow-down-wide-short{--fa:"\f160"}
.fa-arrow-left{--fa:"\f060"}
.fa-arrow-right{--fa:"\f061"}
.fa-arrow-right-from-bracket{--fa:"\f08b"}
.fa-arrow-right-to-bracket{--fa:"\f090"}
.fa-arrow-turn-up{--fa:"\f148"}
.fa-arrow-up-9-1{--fa:"\f887"}
.fa-arrow-up-right-from-square{--fa:"\f08e"}
.fa-arrow-up-wide-short{--fa:"\f161"}
.fa-arrows-left-right{--fa:"\f07e"}
.fa-bag-shopping{--fa:"\f290"}
.fa-barcode{--fa:"\f02a"}
.fa-bars{--fa:"\f0c9"}
.fa-basket-shopping{--fa:"\f291"}
.fa-bell{--fa:"\f0f3"}
.fa-book{--fa:"\f02d"}
.fa-book-open{--fa:"\f518"}
.fa-book-open-reader{--fa:"\f5da"}
.fa-bookmark{--fa:"\f02e"}
.fa-border-all{--fa:"\f84c"}
.fa-box{--fa:"\f466"}
.fa-box-open{--fa:"\f49e"}
.fa-building{--fa:"\f1ad"}
.fa-bullseye{--fa:"\f140"}
.fa-calendar{--fa:"\f133"}
.fa-calendar-check{--fa:"\f274"}
.fa-calendar-days{--fa:"\f073"}
.fa-certificate{--fa:"\f0a3"}
.fa-check{--fa:"\f00c"}
.fa-chevron-down{--fa:"\f078"}
.fa-chevron-left{--fa:"\f053"}
.fa-circle{--fa:"\f111"}
.fa-circle-check{--fa:"\f058"}
.fa-circle-exclamation{--fa:"\f06a"}
.fa-circle-info{--fa:"\f05a"}
.fa-circle-notch{--fa:"\f1ce"}
.fa-circle-xmark{--fa:"\f057"}
.fa-clock{--fa:"\f017"}
.fa-clock-rotate-left{--fa:"\f1da"}
.fa-comment-dots{--fa:"\f4ad"}
.fa-comments{--fa:"\f086"}
.fa-copy{--fa:"\f0c5"}
.fa-credit-card{--fa:"\f09d"}
.fa-envelope{--fa:"\f0e0"}
.fa-envelope-circle-check{--fa:"\e4e8"}
.fa-exclamation{--fa:"\21"}
.fa-eye{--fa:"\f06e"}
.fa-eye-slash{--fa:"\f070"}
.fa-file-arrow-down{--fa:"\f56d"}
.fa-file-lines{--fa:"\f15c"}
.fa-filter{--fa:"\f0b0"}
.fa-fire{--fa:"\f06d"}
.fa-floppy-disk{--fa:"\f0c7"}
.fa-folder{--fa:"\f07b"}
.fa-folder-open{--fa:"\f07c"}
.fa-handshake{--fa:"\f2b5"}
.fa-hashtag{--fa:"\23"}
.fa-headset{--fa:"\f590"}
.fa-heart{--fa:"\f004"}
.fa-house{--fa:"\f015"}
.fa-images{--fa:"\f302"}
.fa-info{--fa:"\f129"}
.fa-instagram{--fa:"\f16d"}
.fa-key{--fa:"\f084"}
.fa-layer-group{--fa:"\f5fd"}
.fa-list{--fa:"\f03a"}
.fa-location-crosshairs{--fa:"\f601"}
.fa-location-dot{--fa:"\f3c5"}
.fa-lock{--fa:"\f023"}
.fa-magnifying-glass{--fa:"\f002"}
.fa-magnifying-glass-chart{--fa:"\e522"}
.fa-magnifying-glass-location{--fa:"\f689"}
.fa-magnifying-glass-minus{--fa:"\f010"}
.fa-maximize{--fa:"\f31e"}
.fa-minus{--fa:"\f068"}
.fa-newspaper{--fa:"\f1ea"}
.fa-paper-plane{--fa:"\f1d8"}
.fa-pen{--fa:"\f304"}
.fa-pen-nib{--fa:"\f5ad"}
.fa-phone{--fa:"\f095"}
.fa-plus{--fa:"\2b"}
.fa-print{--fa:"\f02f"}
.fa-quote-right{--fa:"\f10e"}
.fa-receipt{--fa:"\f543"}
.fa-rotate{--fa:"\f2f1"}
.fa-rotate-left{--fa:"\f2ea"}
.fa-route{--fa:"\f4d7"}
.fa-share-nodes{--fa:"\f1e0"}
.fa-shield-halved{--fa:"\f3ed"}
.fa-shield-heart{--fa:"\e574"}
.fa-sliders{--fa:"\f1de"}
.fa-spinner{--fa:"\f110"}
.fa-star{--fa:"\f005"}
.fa-store{--fa:"\f54e"}
.fa-tags{--fa:"\f02c"}
.fa-telegram{--fa:"\f2c6"}
.fa-ticket{--fa:"\f145"}
.fa-trash-can{--fa:"\f2ed"}
.fa-triangle-exclamation{--fa:"\f071"}
.fa-truck-fast{--fa:"\f48b"}
.fa-user{--fa:"\f007"}
.fa-user-edit,.fa-user-pen{--fa:"\f4ff"}
.fa-user-plus{--fa:"\f234"}
.fa-wallet{--fa:"\f555"}
.fa-wand-magic-sparkles{--fa:"\e2ca"}
.fa-whatsapp{--fa:"\f232"}
.fa-xmark{--fa:"\f00d"}

/* assets/css/main.css */
@font-face{font-family:YekanBakh;src:url('../fonts/Yekan-Bakh/Yekan-Bakh-FaNum-400-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:YekanBakh;src:url('../fonts/Yekan-Bakh/Yekan-Bakh-FaNum-400-Regular.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:YekanBakh;src:url('../fonts/Yekan-Bakh/Yekan-Bakh-FaNum-600-Bold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:YekanBakh;src:url('../fonts/Yekan-Bakh/Yekan-Bakh-FaNum-600-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:YekanBakh;src:url('../fonts/Yekan-Bakh/Yekan-Bakh-FaNum-800-Fat.woff2') format('woff2');font-weight:800;font-display:swap}
:root{--ink:#17203b;--ink-2:#4c5875;--muted:#778098;--primary:#312e81;--primary-2:#4541ad;--sky:#14a9d5;--gold:#f5c452;--cream:#fbf8f1;--paper:#fff;--surface:#f5f7fb;--line:#e6e9f0;--success:#169873;--danger:var(--primary);--shadow:0 14px 44px rgba(35,40,78,.09);--shadow-sm:0 8px 24px rgba(35,40,78,.07);--r-sm:10px;--r:18px;--r-lg:28px;--font:YekanBakh,Tahoma,sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;direction:rtl;font-family:var(--font);font-size:16px;line-height:1.85;color:var(--ink);background:var(--paper);overflow-x:hidden}body.modal-open{overflow:hidden}a{text-decoration:none;color:inherit;transition:.25s}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}button{cursor:pointer}ul{margin:0;padding:0}.container{width:min(1240px,calc(100% - 40px));margin-inline:auto}.site-main{min-height:50vh}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-80px;right:20px;z-index:9999;background:var(--ink);color:#fff;padding:10px 18px;border-radius:10px}.skip-link:focus{top:20px}.hg-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:0;border-radius:13px;padding:11px 22px;font-weight:700;transition:.25s}.hg-btn-primary,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--primary);color:#fff}.hg-btn-primary:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--sky);color:#fff;transform:translateY(-2px)}.hg-btn-ghost{background:#fff;border:1px solid var(--line);color:var(--primary)}.hg-btn-light{background:#fff;color:var(--primary)}.hg-text-link{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-weight:700}.hg-text-link:hover{gap:13px;color:var(--sky)}.hg-kicker{display:inline-flex;align-items:center;gap:8px;color:var(--sky);font-size:14px;font-weight:800;letter-spacing:.1px;margin-bottom:8px}.hg-kicker:before{content:"";width:20px;height:3px;border-radius:4px;background:var(--gold)}.hg-kicker-light{color:var(--sky)}.section-heading{margin-bottom:34px}.section-heading h2{font-size:clamp(28px,3.2vw,42px);line-height:1.35;margin:3px 0 0;font-weight:800;letter-spacing:-.5px}.section-heading-row{display:flex;justify-content:space-between;align-items:end;gap:30px}.section-heading-row>p{max-width:470px;margin:0;color:var(--muted)}
/* header */
.hg-topbar{background:var(--ink);color:#e9edfb;font-size:13px}.hg-topbar-inner{height:38px;display:flex;align-items:center;justify-content:space-between}.hg-topbar p{margin:0;display:flex;align-items:center;gap:8px}.hg-topbar p i{color:var(--gold)}.hg-topbar-inner>div{display:flex;align-items:center;gap:14px}.hg-topbar-inner>div span{width:1px;height:13px;background:#53607f}.hg-topbar a:hover{color:var(--gold)}.site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(230,233,240,.9)}.admin-bar .site-header{top:32px}.hg-header-main{min-height:92px;display:grid;grid-template-columns:235px minmax(300px,1fr) auto;align-items:center;gap:34px}.hg-logo .custom-logo-link{display:inline-flex}.hg-logo .custom-logo{max-width:200px;max-height:68px;object-fit:contain}.hg-brand{display:flex;align-items:center;gap:11px}.hg-brand img{width:58px;height:58px;object-fit:contain}.hg-brand span{display:flex;flex-direction:column}.hg-brand strong{font-size:20px;line-height:1.3;color:var(--primary)}.hg-brand small{font-size:11px;color:var(--muted)}.hg-search{position:relative}.hg-ajax-search-form{height:51px;display:flex;align-items:center;background:var(--surface);border:1px solid transparent;border-radius:14px;padding:3px 5px 3px 16px;transition:.2s;position:relative}.hg-ajax-search-form:focus-within{background:#fff;border-color:#cfd5e2;box-shadow:0 0 0 4px rgba(49,46,129,.06)}.hg-ajax-search-form>i{margin-inline:10px 5px;color:var(--muted)}.hg-search-input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);padding:8px}.hg-search-input::placeholder{color:#939bae}.hg-ajax-search-form>button{height:41px;border:0;background:var(--primary);color:#fff;border-radius:11px;padding:0 20px;font-size:14px;font-weight:700}.hg-search-results{display:none;position:absolute;right:0;left:0;top:calc(100% + 10px);background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:8px;z-index:20}.hg-search-results.is-open{display:block}.hg-search-item{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:11px;padding:8px;border-radius:11px}.hg-search-item:hover{background:var(--surface)}.hg-search-item img{width:48px;height:58px;object-fit:cover;border-radius:7px}.hg-search-item strong{display:block;font-size:14px;line-height:1.5}.hg-search-item small{color:var(--primary);font-weight:700}.hg-search-all,.hg-search-empty{display:block;padding:10px;text-align:center;color:var(--muted);font-size:13px}.hg-search-all{color:var(--primary);font-weight:700;border-top:1px solid var(--line)}.hg-header-actions{display:flex;align-items:center;gap:20px}.hg-header-action{display:flex;align-items:center;gap:9px;position:relative}.hg-header-action>i{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f0f1f8;color:var(--primary);font-size:18px}.hg-header-action>span:not(.hg-cart-count){display:flex;flex-direction:column;font-size:13px;font-weight:700}.hg-header-action small{font-size:10px;font-weight:400;color:var(--muted)}.hg-header-action:hover>i{background:var(--primary);color:#fff}.hg-cart-count{position:absolute;right:29px;top:-4px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--gold);color:var(--ink);font-size:10px;font-weight:800;border:2px solid #fff}.hg-nav-row{min-height:54px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line)}.hg-main-menu{height:54px}.hg-menu{height:100%;display:flex;align-items:center;gap:32px;list-style:none}.hg-menu li{position:relative}.hg-menu a{display:flex;align-items:center;height:54px;font-size:14px;font-weight:600;color:var(--ink-2)}.hg-menu a:hover,.hg-menu .current-menu-item>a{color:var(--primary)}.hg-menu .current-menu-item>a:after{content:"";position:absolute;right:0;left:0;bottom:0;height:3px;background:var(--gold);border-radius:3px}.hg-menu .sub-menu{display:none;position:absolute;right:0;top:100%;min-width:210px;height:auto;background:#fff;border:1px solid var(--line);border-radius:0 0 14px 14px;padding:8px;box-shadow:var(--shadow);list-style:none}.hg-menu li:hover>.sub-menu{display:block}.hg-menu .sub-menu a{height:auto;padding:8px 10px;border-radius:8px}.hg-menu .sub-menu a:hover{background:var(--surface)}.hg-publish-link{display:flex;align-items:center;gap:8px;color:var(--primary);font-size:14px;font-weight:800}.hg-publish-link i{color:var(--sky)}.hg-menu-toggle{display:none;border:0;background:transparent;color:var(--primary);font-size:22px}
/* hero */
.hero-section{position:relative;overflow:hidden;background:#fff;padding:34px 0 18px}.hero-grid{display:grid;grid-template-columns:minmax(420px,.84fr) minmax(560px,1.16fr);align-items:center;gap:0;min-height:670px}.hero-content{position:relative;z-index:2;text-align:center;padding:20px 0}.hero-content h1{margin:0;color:var(--primary);font-size:clamp(40px,3.6vw,57px);font-weight:800;letter-spacing:-1.2px;line-height:1.48}.hero-subtitle{display:flex;align-items:center;justify-content:center;gap:20px;margin-top:10px;color:var(--primary);font-size:18px;font-weight:600}.hero-subtitle:before,.hero-subtitle:after{content:"";width:60px;height:2px;border-radius:2px;background:var(--gold)}.hero-content>p{max-width:520px;margin:25px auto 0;color:#626b7e;font-size:16px;line-height:2.05}.hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;max-width:500px;margin:30px auto 0}.hero-actions .hg-btn{min-height:58px;border-radius:11px;font-size:16px}.hero-actions .hg-btn-primary{background:var(--primary);box-shadow:0 9px 20px rgba(24,56,117,.12)}.hero-actions .hg-btn-ghost{border-color:var(--primary);color:var(--primary)}.hero-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:42px}.hero-benefits>div{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0}.hero-benefits>div>i{display:grid;place-items:center;width:49px;height:49px;color:var(--primary);font-size:31px}.hero-benefits>div:nth-child(2)>i{color:var(--gold)}.hero-benefits span{display:flex;flex-direction:column;line-height:1.6}.hero-benefits strong{color:var(--primary);font-size:13px}.hero-benefits small{color:#7c8493;font-size:10px}.hero-visual{position:relative;align-self:stretch;min-height:670px}.hero-visual img{position:absolute;left:-78px;bottom:0;width:auto;max-width:none;height:100%;object-fit:contain;object-position:left bottom}
/* explorer */
.book-explorer-section{padding:95px 0 85px}.book-explorer{border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;padding:18px;box-shadow:var(--shadow-sm)}.explorer-tabs{display:flex;gap:7px;padding:5px;background:var(--surface);border-radius:15px;margin-bottom:18px}.explorer-tab,.product-tab{border:0;background:transparent;color:var(--muted);border-radius:11px;padding:11px 22px;font-weight:700}.explorer-tab{flex:1}.explorer-tab i{margin-left:7px}.explorer-tab.active,.product-tab.active{background:#fff;color:var(--primary);box-shadow:0 4px 14px rgba(35,40,78,.08)}.explorer-content{display:none;grid-template-columns:repeat(3,1fr);gap:12px}.explorer-content.active{display:grid;animation:hgFade .3s ease}.explorer-card{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:13px;padding:14px;border:1px solid var(--line);border-radius:15px}.explorer-card:hover{border-color:var(--primary-soft);transform:translateY(-2px);box-shadow:var(--shadow-sm)}.entity-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:14px;font-size:22px;font-weight:800;color:var(--primary);background:#efeffa}.entity-color-2{background:#e7f8fc;color:var(--sky)}.entity-color-3{background:#fff5dc;color:var(--ink)}.entity-color-4{background:#e9f7f1;color:var(--success)}.entity-color-5{background:#f9ebf3;color:#a24f7c}.explorer-card>span:nth-child(2){display:flex;flex-direction:column}.explorer-card strong{font-size:15px}.explorer-card small{font-size:11px;color:var(--muted)}.explorer-card>i{color:#b7bdca;font-size:12px}.explorer-card:hover>i{color:var(--sky);transform:translateX(-3px)}.explorer-empty,.hg-empty-state{grid-column:1/-1;text-align:center;padding:42px 20px;border:1px dashed #d9dde7;border-radius:16px;color:var(--muted)}.explorer-empty i,.hg-empty-state>i{display:block;font-size:34px;color:#c6cad5;margin-bottom:12px}.explorer-empty strong,.hg-empty-state strong{display:block;color:var(--ink);margin-bottom:5px}.explorer-empty a{color:var(--primary);font-weight:700;font-size:13px}
/* products */
.book-browser-section{padding:88px 0;background:var(--surface)}.product-tabs{display:flex;gap:7px;margin:-8px 0 27px}.product-tab.active{background:var(--primary);color:#fff}.product-panel{display:none}.product-panel.active{display:block;animation:hgFade .3s ease}.hg-products-grid,.woocommerce .products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.hg-product-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:.3s;position:relative}.hg-product-card:hover{transform:none;box-shadow:var(--shadow);border-color:transparent}.hg-product-image{position:relative;height:315px;padding:22px 24px 0;background:linear-gradient(150deg,#f7f5ef,#f3f5f9);overflow:hidden}.hg-product-image>a:first-of-type{display:block;height:100%}.hg-product-image img{width:100%;height:100%;object-fit:contain;transition:.35s}.hg-product-card:hover .hg-product-image img{transform:none}.hg-product-badges{position:absolute;right:12px;top:12px;z-index:2;display:flex;gap:5px}.hg-product-badges span{border-radius:7px;padding:3px 8px;color:#fff;font-size:10px;font-weight:800}.hg-product-badges .sale{background:var(--danger)}.hg-product-badges .stock{background:#747b8e}.hg-quick-cart{position:absolute!important;left:50%;bottom:12px;z-index:3;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border:0!important;border-radius:12px!important;background:var(--primary)!important;color:#fff!important;transform:translateX(-50%);opacity:1}.hg-quick-cart span{display:none}.hg-product-card:hover .hg-quick-cart{transform:translateX(-50%);opacity:1}.hg-quick-cart.loading{opacity:.6}.hg-product-content{padding:17px 17px 15px}.hg-product-tax{font-size:11px;color:var(--sky);font-weight:700;height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hg-product-tax a:hover{color:var(--primary)}.hg-product-card h2{font-size:16px;line-height:1.65;margin:3px 0 2px;font-weight:800;min-height:53px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hg-product-card h2 a:hover{color:var(--primary)}.hg-product-author{margin:0;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hg-product-footer{display:flex;align-items:end;justify-content:space-between;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.hg-product-price{color:var(--primary);font-weight:800;font-size:15px}.hg-product-price del{display:block;color:#aaa;font-size:10px;font-weight:400}.hg-product-price ins{text-decoration:none}.hg-card-more{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--surface);color:var(--primary);font-size:11px}.hg-product-card:hover .hg-card-more{background:var(--primary);color:#fff}
/* benefits and publish */
.hg-benefits{padding:34px 0;border-bottom:1px solid var(--line)}.hg-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}.hg-benefit-grid>div{display:flex;align-items:center;gap:13px;padding:8px 22px;border-left:1px solid var(--line)}.hg-benefit-grid>div:last-child{border:0}.hg-benefit-grid>div>span{display:grid;place-items:center;min-width:46px;height:46px;border-radius:13px;background:#f0effb;color:var(--primary)}.hg-benefit-grid strong{display:block;font-size:14px}.hg-benefit-grid p{margin:1px 0 0;color:var(--muted);font-size:10px;line-height:1.7}.author-cta-section{padding:105px 0;background:var(--ink);color:#fff;overflow:hidden}.author-cta-grid{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:80px}.author-cta-image{height:450px;position:relative}.author-image-shape{position:absolute;inset:25px 10px 0 30px;background:linear-gradient(140deg,var(--primary-2),var(--primary));border-radius:45% 55% 60% 40%/48% 39% 61% 52%}.author-cta-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:2;filter:drop-shadow(0 20px 35px rgba(0,0,0,.25))}.author-cta-image>span{position:absolute;left:0;bottom:30px;z-index:3;padding:10px 14px;border-radius:12px;background:#fff;color:var(--ink);font-size:12px;font-weight:700;box-shadow:var(--shadow)}.author-cta-image>span i{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:var(--success-soft);color:var(--success);margin-left:5px}.author-cta-content h2{font-size:clamp(34px,4vw,52px);line-height:1.35;margin:3px 0 16px}.author-cta-content>p{color:var(--line-strong);max-width:650px;font-size:17px}.author-steps{display:flex;align-items:center;justify-content:space-between;margin:30px 0}.author-steps>div{display:flex;align-items:center;gap:9px}.author-steps b{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.1);color:var(--gold)}.author-steps span{display:flex;flex-direction:column}.author-steps strong{font-size:13px}.author-steps small{color:#8692b5;font-size:10px}.author-steps>i{color:#596382;font-size:11px}
/* blog */
.blog-section{padding:95px 0}.blog-grid,.hg-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.blog-card{border:1px solid var(--line);border-radius:18px;background:#fff;overflow:hidden;transition:.3s}.blog-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:transparent}.blog-card-image{height:230px;position:relative;display:block;overflow:hidden;background:#edeef6}.blog-card-image img{width:100%;height:100%;object-fit:cover;transition:.4s}.blog-card:hover .blog-card-image img{transform:scale(1.04)}.blog-placeholder{display:grid;place-items:center;height:100%;font-size:52px;color:#c0c4d5;background:linear-gradient(135deg,#eeedf9,#f3fafb)}.blog-card-category{position:absolute;right:14px;bottom:13px;padding:4px 10px;border-radius:8px;background:rgba(255,255,255,.92);color:var(--primary);font-size:10px;font-weight:800}.blog-card-content{padding:19px}.blog-card-meta{display:flex;gap:15px;color:var(--muted);font-size:10px}.blog-card-meta span{display:flex;align-items:center;gap:5px}.blog-card-content h3{font-size:19px;line-height:1.65;margin:8px 0 5px}.blog-card-content h3 a:hover{color:var(--primary)}.blog-card-content>p{margin:0;color:var(--muted);font-size:13px;line-height:1.9;min-height:50px}.blog-read-more{display:inline-flex;align-items:center;gap:7px;margin-top:13px;color:var(--primary);font-size:12px;font-weight:800}.blog-read-more:hover{gap:11px;color:var(--sky)}
/* newsletter and footer */
.hg-newsletter{background:linear-gradient(115deg,var(--primary),var(--primary-2));color:#fff}.hg-newsletter-inner{min-height:145px;display:flex;justify-content:space-between;align-items:center;gap:40px}.hg-newsletter-copy{display:flex;align-items:center;gap:17px}.hg-newsletter-copy>i{font-size:36px;color:var(--gold)}.hg-newsletter h2{margin:0;font-size:24px}.hg-newsletter p{margin:2px 0 0;color:var(--footer-text);font-size:13px}.hg-newsletter-form{display:flex;width:min(440px,100%);padding:5px;background:#fff;border-radius:14px}.hg-newsletter-form input{flex:1;min-width:0;border:0;outline:0;padding:9px 13px;background:transparent}.hg-newsletter-form button{border:0;border-radius:10px;background:var(--gold);color:var(--ink);font-weight:800;padding:9px 22px}.site-footer{background:var(--footer-bg);color:#b8c0d5}.footer-stats{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #283149}.footer-stats>div{min-height:112px;display:grid;grid-template-columns:42px auto;grid-template-rows:auto auto;align-content:center;column-gap:12px;padding:15px 28px;border-left:1px solid #283149}.footer-stats>div:last-child{border:0}.footer-stats i{grid-row:1/3;align-self:center;color:var(--gold);font-size:24px}.footer-stats strong{font-size:24px;line-height:1.3;color:#fff}.footer-stats span{font-size:11px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.35fr;gap:50px;padding:65px 0 55px}.footer-logo{display:flex;align-items:center;gap:10px;color:#fff}.footer-logo img{width:58px;height:58px;object-fit:contain}.footer-logo strong{font-size:20px}.footer-brand>p{max-width:340px;font-size:13px;margin:18px 0}.footer-socials{display:flex;gap:8px}.footer-socials a{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#202943;color:#fff}.footer-socials a:hover{background:var(--sky);transform:translateY(-2px)}.footer-column h3,.footer-widget h3{color:#fff;font-size:16px;margin:0 0 17px}.footer-column ul,.footer-widget ul{list-style:none}.footer-column li,.footer-widget li{margin:7px 0}.footer-column li a,.footer-widget li a{font-size:12px}.footer-column li a:hover{color:var(--gold);padding-right:3px}.footer-contact p{display:flex;gap:10px;margin:9px 0;font-size:12px}.footer-contact i{width:18px;margin-top:7px;color:var(--gold)}.footer-bottom{min-height:70px;border-top:1px solid #283149;display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px}.footer-bottom p{margin:0}
/* page headers and content */
.hg-page-hero,.hg-shop-hero{background:linear-gradient(120deg,#f6f5fd,#f2fafc);padding:66px 0}.hg-page-hero--compact{padding:49px 0}.hg-page-hero h1,.hg-shop-hero h1{font-size:clamp(33px,4.3vw,52px);line-height:1.35;margin:4px 0 8px}.hg-page-hero p,.hg-shop-hero>div>div{color:var(--muted);margin:0;max-width:690px}.hg-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:16px;color:var(--muted);font-size:11px}.hg-breadcrumbs a:hover{color:var(--primary)}.hg-breadcrumbs i{font-size:8px}.hg-content-section{padding:75px 0}.hg-page-content{max-width:900px}.hg-page-cover{margin:0 0 35px}.hg-page-cover img{width:100%;border-radius:var(--r)}.hg-content-layout,.hg-single-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:42px}.hg-prose{font-size:16px;color:#343e58;line-height:2.15}.hg-prose h2,.hg-prose h3,.hg-prose h4{color:var(--ink);line-height:1.55;margin:1.7em 0 .6em}.hg-prose h2{font-size:29px}.hg-prose h3{font-size:23px}.hg-prose a{color:var(--primary);text-decoration:underline;text-decoration-color:#c7c6e4;text-underline-offset:4px}.hg-prose blockquote{margin:30px 0;padding:20px 24px;border-right:4px solid var(--gold);background:var(--cream);border-radius:12px;color:var(--ink)}.hg-prose img{border-radius:14px}.hg-prose table{width:100%;border-collapse:collapse}.hg-prose td,.hg-prose th{border:1px solid var(--line);padding:9px 12px}.hg-pagination{grid-column:1/-1;margin-top:34px}.nav-links{display:flex;justify-content:center;gap:7px}.page-numbers{display:grid;place-items:center;min-width:40px;height:40px;border:1px solid var(--line);border-radius:10px;color:var(--ink-2)}.page-numbers.current,.page-numbers:hover{background:var(--primary);color:#fff;border-color:var(--primary)}.hg-sidebar{display:flex;flex-direction:column;gap:18px}.hg-widget{border:1px solid var(--line);border-radius:15px;background:#fff;padding:20px}.hg-widget-title{font-size:16px;margin:0 0 15px;padding-bottom:11px;border-bottom:1px solid var(--line)}.hg-widget ul{list-style:none}.hg-widget li{display:flex;justify-content:space-between;margin:7px 0;color:var(--muted);font-size:13px}.hg-widget li a:hover{color:var(--primary)}.hg-widget .search-form{display:flex}.hg-widget .search-field{min-width:0;width:100%;border:1px solid var(--line);border-radius:10px;padding:10px}.hg-widget .search-submit{border:0;background:var(--primary);color:#fff;border-radius:10px;margin-right:6px}.hg-widget-cta{background:var(--primary);color:#fff;text-align:center}.hg-widget-cta>i{font-size:34px;color:var(--gold)}.hg-widget-cta h3{margin:8px 0}.hg-widget-cta p{font-size:12px;color:var(--line-strong)}.hg-widget-cta a{display:inline-block;padding:7px 13px;background:#fff;color:var(--primary);border-radius:9px;font-size:11px;font-weight:800}
/* article */
.hg-single-header{background:linear-gradient(125deg,#f6f5fd,#f5fbfc);padding:50px 0 85px}.hg-single-header-inner{max-width:900px}.hg-single-category{display:inline-block;padding:4px 10px;border-radius:8px;background:#e9e8f6;color:var(--primary);font-size:11px;font-weight:800}.hg-single-header h1{font-size:clamp(34px,4.5vw,58px);line-height:1.45;margin:14px 0 18px}.hg-single-meta{display:flex;flex-wrap:wrap;gap:20px;color:var(--muted);font-size:12px}.hg-single-meta span{display:flex;align-items:center;gap:6px}.hg-single-layout{align-items:start;margin-top:-40px;padding-bottom:80px}.hg-article-main{min-width:0;background:#fff;border-radius:var(--r);box-shadow:var(--shadow);padding:26px}.hg-single-cover{margin:0 0 30px}.hg-single-cover img{width:100%;max-height:530px;object-fit:cover;border-radius:16px}.hg-tags{display:flex;align-items:center;flex-wrap:wrap;gap:7px;border-top:1px solid var(--line);padding-top:20px;margin-top:25px;font-size:12px}.hg-tags a{padding:4px 9px;background:var(--surface);border-radius:8px;color:var(--muted)}.hg-author-box{display:flex;gap:15px;margin-top:28px;padding:18px;background:var(--surface);border-radius:14px}.hg-author-box img{width:72px;height:72px;border-radius:50%}.hg-author-box span{font-size:10px;color:var(--muted)}.hg-author-box h3{margin:0;font-size:17px}.hg-author-box p{margin:3px 0;color:var(--muted);font-size:12px}
/* about/contact/error */
.hg-about-hero{padding:55px 0}.hg-about-hero-grid{display:grid;grid-template-columns:1.3fr .7fr;align-items:center;gap:60px}.hg-about-mark{justify-self:center;display:flex;flex-direction:column;align-items:center;padding:25px 45px;background:#fff;border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow-sm);transform:rotate(-2deg)}.hg-about-mark img{width:120px;height:120px;object-fit:contain}.hg-about-mark span{font-size:12px;color:var(--muted)}.hg-about-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:70px}.hg-about-intro h2{font-size:36px;margin:4px 0 15px}.hg-about-values{display:grid;gap:12px}.hg-about-values article{position:relative;padding:18px 70px 18px 18px;border:1px solid var(--line);border-radius:15px}.hg-about-values i{position:absolute;right:17px;top:20px;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eeedf9;color:var(--primary)}.hg-about-values h3{margin:0;font-size:16px}.hg-about-values p{margin:3px 0 0;color:var(--muted);font-size:12px}.hg-process-section{padding:80px 0;background:var(--surface)}.hg-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.hg-process-grid>div{position:relative;background:#fff;border:1px solid var(--line);border-radius:17px;padding:24px}.hg-process-grid b{position:absolute;left:15px;top:12px;color:#e5e6ed;font-size:30px}.hg-process-grid i{display:grid;place-items:center;width:48px;height:48px;border-radius:13px;background:#edecf8;color:var(--primary);font-size:18px}.hg-process-grid h3{font-size:16px;margin:15px 0 4px}.hg-process-grid p{margin:0;color:var(--muted);font-size:12px}.hg-contact-section{padding:75px 0}.hg-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:start}.hg-contact-info h2,.hg-contact-form-wrap h2{font-size:34px;margin:3px 0 10px}.hg-contact-info>p,.hg-contact-form-wrap>p{color:var(--muted)}.hg-contact-cards{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:25px}.hg-contact-cards>a,.hg-contact-cards>div{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:14px;padding:15px}.hg-contact-cards i{display:grid;place-items:center;min-width:40px;height:40px;border-radius:11px;background:#eeedf9;color:var(--primary)}.hg-contact-cards span{display:flex;flex-direction:column}.hg-contact-cards small{color:var(--muted);font-size:10px}.hg-contact-cards strong{font-size:12px;line-height:1.7}.hg-contact-form-wrap{border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:var(--shadow-sm)}.hg-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hg-contact-form label,.hg-form-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700}.hg-contact-form .full,.hg-form-grid .full{grid-column:1/-1}.hg-contact-form input,.hg-contact-form textarea,.hg-form-grid input,.hg-form-grid select,.hg-form-grid textarea,.hg-shop-filters input,.hg-shop-filters select{width:100%;border:1px solid var(--line);border-radius:11px;background:#fff;padding:10px 12px;outline:none}.hg-contact-form input:focus,.hg-contact-form textarea:focus,.hg-form-grid input:focus,.hg-form-grid textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(49,46,129,.07)}.hg-contact-form button{justify-self:start;border:0;border-radius:11px;background:var(--primary);color:#fff;padding:11px 20px;font-weight:800}.hg-notice,.woocommerce-message,.woocommerce-info,.woocommerce-error{border:0!important;border-radius:12px!important;padding:14px 18px!important;margin:0 0 18px!important;background:#edf8f4!important;color:var(--success)!important;list-style:none}.hg-notice.error,.woocommerce-error{background:var(--primary-soft-2)!important;color:var(--primary)!important}.hg-map iframe{display:block;width:100%;height:430px;border:0}.hg-error-page{text-align:center;padding:110px 0}.hg-error-page .container{max-width:700px}.hg-error-visual{display:flex;justify-content:center;align-items:center;gap:8px;font-size:90px;font-weight:800;color:var(--primary);line-height:1}.hg-error-visual i{font-size:75px;color:var(--gold)}.hg-error-page h1{font-size:40px;margin:20px 0 8px}.hg-error-page p{color:var(--muted)}.hg-error-page form{display:flex;max-width:480px;margin:24px auto}.hg-error-page input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;padding:11px 14px}.hg-error-page form button{border:0;background:var(--primary);color:#fff;border-radius:12px;padding:0 18px;margin-right:6px}.hg-error-page .container>div:last-child{display:flex;justify-content:center;gap:10px}
/* shop archive */
.hg-shop-hero{padding:45px 0}.hg-shop-section{padding:55px 0 85px}.hg-shop-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}.hg-shop-sidebar{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden;position:sticky;top:175px}.hg-shop-filter-head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line);font-weight:800}.hg-shop-filter-head i{color:var(--primary);margin-left:7px}.hg-filter-close{display:none}.hg-shop-filters{display:flex;flex-direction:column;gap:17px;padding:18px}.hg-shop-filters label:not(.hg-stock-check){display:flex;flex-direction:column;gap:6px}.hg-shop-filters label>span:first-child{font-size:12px;font-weight:700}.hg-shop-filters select{font-size:12px}.hg-filter-search>div{position:relative}.hg-filter-search i{position:absolute;left:12px;top:14px;color:var(--muted);font-size:11px}.hg-stock-check{display:flex;align-items:center;gap:8px;font-size:11px}.hg-stock-check input{width:17px;height:17px}.hg-clear-filters{text-align:center;color:var(--danger);font-size:11px}.hg-widget{border-radius:0;border-width:1px 0 0}.hg-shop-main{min-width:0}.woocommerce .woocommerce-ordering{float:left;margin:0 0 24px}.woocommerce .woocommerce-ordering select{border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:#fff}.woocommerce .woocommerce-result-count{float:right;margin:9px 0 24px;color:var(--muted);font-size:12px}.hg-mobile-filter-row{display:none}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:6px}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{display:grid;place-items:center;min-width:39px;height:39px;border:1px solid var(--line);border-radius:9px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--primary);color:#fff;border-color:var(--primary)}
/* single product */
.hg-product-page{padding:35px 0 80px;background:linear-gradient(#f8f9fc 0 480px,#fff 480px)}.hg-single-product{margin-top:22px}.hg-product-summary-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:35px;box-shadow:var(--shadow-sm)}.hg-product-gallery{min-width:0}.woocommerce div.product div.images{width:100%;float:none;margin:0}.woocommerce div.product div.images img{border-radius:14px}.woocommerce div.product .summary{width:auto;float:none;margin:0}.woocommerce div.product .product_title{font-size:35px;line-height:1.45;margin:5px 0 10px}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--primary);font-size:23px;font-weight:800}.woocommerce div.product p.price del{color:#aaa;font-size:14px}.woocommerce div.product p.price ins{text-decoration:none}.woocommerce-product-rating{display:flex;align-items:center;gap:10px}.woocommerce .star-rating{color:var(--gold)}.woocommerce-product-details__short-description{color:var(--muted);font-size:14px;margin:18px 0}.hg-book-meta{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;margin:20px 0;border-block:1px solid var(--line);padding:10px 0}.hg-book-meta>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:11px}.hg-book-meta span{color:var(--muted)}.hg-book-meta strong{text-align:left}.hg-book-meta a{color:var(--primary)}.woocommerce div.product form.cart{display:flex;align-items:center;gap:10px;margin:22px 0}.woocommerce .quantity .qty{width:78px;height:49px;border:1px solid var(--line);border-radius:12px}.woocommerce div.product form.cart .button{height:49px;flex:1}.stock.in-stock{display:inline-flex;padding:4px 9px;border-radius:7px;background:#e8f7f1;color:var(--success);font-size:11px}.stock.out-of-stock{color:var(--danger)}.hg-buy-promises{display:flex;flex-wrap:wrap;gap:13px;margin-top:15px;color:var(--muted);font-size:10px}.hg-buy-promises i{color:var(--success);margin-left:3px}.hg-product-details{margin-top:35px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;display:flex;gap:8px;border-bottom:1px solid var(--line)}.woocommerce div.product .woocommerce-tabs ul.tabs:before{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li{border:0;background:transparent;margin:0;padding:0}.woocommerce div.product .woocommerce-tabs ul.tabs li:before,.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 18px;color:var(--muted)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--primary);border-bottom:3px solid var(--gold)}.woocommerce div.product .woocommerce-tabs .panel{padding:25px;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 17px 17px}.woocommerce div.product .woocommerce-tabs .panel h2{font-size:24px}.related.products,.up-sells{margin-top:60px}.related.products>h2,.up-sells>h2{font-size:28px;margin-bottom:24px}
/* cart, checkout, account */
.woocommerce-cart .site-main,.woocommerce-checkout .site-main,.woocommerce-account .site-main{padding:55px 0;background:var(--surface)}.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{width:min(1180px,calc(100% - 40px));margin-inline:auto}.woocommerce table.shop_table{border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden;border-collapse:separate}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px;border-color:var(--line)}.woocommerce-cart table.cart img{width:65px;border-radius:8px}.woocommerce-cart .cart-collaterals .cart_totals{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px}.woocommerce-cart .cart-collaterals .cart_totals h2{font-size:22px}.woocommerce a.remove{display:grid;place-items:center;color:var(--danger)!important}.woocommerce a.remove:hover{background:var(--danger);color:#fff!important}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.select2-container--default .select2-selection--single{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:#fff;height:auto}.woocommerce-checkout #customer_details,.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--line);border-radius:15px;padding:22px;margin-bottom:20px}.woocommerce-checkout #order_review_heading{margin-top:30px}.woocommerce-checkout #payment{background:#eef0f7;border-radius:14px}.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px minmax(0,1fr);gap:25px}.woocommerce-account .woocommerce:before,.woocommerce-account .woocommerce:after,.woocommerce-account .woocommerce-notices-wrapper{grid-column:1/-1}.woocommerce-MyAccount-navigation{width:auto!important;float:none!important}.woocommerce-MyAccount-navigation ul{list-style:none;background:#fff;border:1px solid var(--line);border-radius:15px;padding:10px}.woocommerce-MyAccount-navigation li a{display:block;padding:9px 12px;border-radius:9px;font-size:13px}.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation li a:hover{background:var(--primary);color:#fff}.woocommerce-MyAccount-content{width:auto!important;float:none!important;background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px}.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border-color:var(--line);border-radius:15px;background:#fff}
/* comments/modal */
.comments-area{margin-top:35px;padding-top:30px;border-top:1px solid var(--line)}.comments-title,.comment-reply-title{font-size:23px}.comment-list{list-style:none}.comment-body{padding:16px;margin:12px 0;background:var(--surface);border-radius:13px}.comment-meta{font-size:11px}.comment-content{font-size:13px}.comment-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.comment-form-comment,.comment-notes,.comment-form-cookies-consent,.form-submit{grid-column:1/-1}.comment-form label{display:block;font-size:11px}.comment-form input:not([type=checkbox]),.comment-form textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px}.hg-modal{display:none;position:fixed;inset:0;z-index:3000;padding:22px}.hg-modal.is-open{display:grid;place-items:center}.hg-modal-overlay{position:absolute;inset:0;background:rgba(11,16,36,.72);backdrop-filter:blur(5px)}.hg-modal-dialog{position:relative;width:min(670px,100%);max-height:calc(100vh - 44px);overflow:auto;background:#fff;border-radius:23px;padding:28px;box-shadow:0 30px 80px rgba(0,0,0,.25);animation:hgModal .25s ease}.hg-modal-close{position:absolute;left:18px;top:18px;display:grid;place-items:center;width:35px;height:35px;border:0;border-radius:10px;background:var(--surface);color:var(--ink)}.hg-modal-header{display:flex;align-items:center;gap:12px;margin-bottom:20px}.hg-modal-header>span{display:grid;place-items:center;width:50px;height:50px;border-radius:14px;background:#edecf8;color:var(--primary);font-size:20px}.hg-modal-header p{margin:0;color:var(--sky);font-size:10px;font-weight:800}.hg-modal-header h2{margin:0;font-size:24px}.hg-modal-progress{display:flex;gap:5px;margin-bottom:22px}.hg-modal-progress span{height:4px;flex:1;background:var(--line);border-radius:3px}.hg-modal-progress span.active{background:var(--primary)}.hg-modal-step{display:none}.hg-modal-step.active{display:block;animation:hgFade .25s}.hg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.hg-form-grid small{color:var(--muted);font-weight:400}.hg-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:19px}.hg-modal-actions button{border:0;border-radius:11px;background:var(--primary);color:#fff;padding:10px 18px;font-weight:800}.hg-modal-prev{background:var(--surface)!important;color:var(--ink)!important}.hg-modal-note{margin:18px 0 0;padding-top:15px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;text-align:center}.hg-modal-note i{color:var(--success)}
@keyframes hgFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@keyframes hgModal{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:1100px){.hg-header-main{grid-template-columns:190px minmax(250px,1fr) auto;gap:18px}.hg-header-action>span:not(.hg-cart-count){display:none}.hg-menu{gap:22px}.hero-grid{gap:30px}.hero-visual{min-height:450px}.hg-products-grid,.woocommerce .products{grid-template-columns:repeat(3,1fr)}.explorer-content{grid-template-columns:repeat(2,1fr)}.author-cta-grid{gap:35px}.footer-grid{grid-template-columns:1.4fr 1fr 1fr}.footer-contact{grid-column:1/-1}.hg-benefit-grid{grid-template-columns:1fr 1fr}.hg-benefit-grid>div:nth-child(2){border:0}.hg-contact-grid{gap:35px}.hg-shop-layout{grid-template-columns:235px minmax(0,1fr)}}
@media(max-width:900px){.hg-topbar{display:none}.admin-bar .site-header{top:46px}.hg-header-main{min-height:78px;grid-template-columns:44px 1fr auto}.hg-menu-toggle{display:block}.hg-logo{justify-self:center}.hg-brand small,.hg-brand span{display:none}.hg-brand img{width:52px;height:52px}.hg-logo .custom-logo{max-height:54px}.hg-header-main>.hg-search{grid-column:1/-1;grid-row:2;padding-bottom:12px}.hg-header-actions{position:absolute;left:20px;top:17px}.hg-header-action:first-child{display:none}.hg-nav-row{display:none;position:absolute;right:0;left:0;top:100%;height:calc(100vh - 130px);overflow:auto;background:#fff;padding:10px 20px 25px;box-shadow:var(--shadow);border-top:1px solid var(--line)}.hg-nav-row.is-open{display:block}.hg-main-menu{height:auto}.hg-menu{display:block;height:auto}.hg-menu a{height:auto;padding:11px;border-bottom:1px solid var(--line)}.hg-menu .sub-menu{display:block;position:static;box-shadow:none;border:0;padding-right:18px}.hg-publish-link{margin-top:15px;padding:10px}.hero-section{padding:55px 0}.hero-grid{grid-template-columns:1fr}.hero-content{text-align:center}.hero-content h1,.hero-content>p{margin-inline:auto}.hero-actions,.hero-chips{justify-content:center}.hero-visual{min-height:440px;width:min(590px,100%);margin-inline:auto}.section-heading-row{align-items:start}.hg-products-grid,.woocommerce .products{grid-template-columns:repeat(2,1fr)}.hg-product-image{height:340px}.author-cta-grid{grid-template-columns:1fr}.author-cta-image{height:370px;order:2}.author-cta-content{text-align:center}.author-cta-content>p{margin-inline:auto}.author-steps{max-width:620px;margin-inline:auto;margin-block:28px}.blog-grid,.hg-post-grid{grid-template-columns:repeat(2,1fr)}.blog-grid .blog-card:last-child{display:none}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-stats>div{padding:12px}.hg-content-layout,.hg-single-layout{grid-template-columns:1fr}.hg-sidebar{display:grid;grid-template-columns:repeat(2,1fr)}.hg-about-intro{grid-template-columns:1fr}.hg-process-grid{grid-template-columns:1fr 1fr}.hg-contact-grid{grid-template-columns:1fr}.hg-shop-layout{display:block}.hg-shop-sidebar{display:none;position:fixed;z-index:2100;inset:0 0 0 auto;width:min(360px,88vw);border-radius:0;overflow:auto}.hg-shop-sidebar.is-open{display:block}.hg-filter-close{display:block;border:0;background:transparent;font-size:19px}.hg-mobile-filter-row{display:block;clear:both;margin-bottom:15px}.hg-filter-open{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 13px}.hg-product-summary-grid{grid-template-columns:1fr}.woocommerce-account .woocommerce{grid-template-columns:1fr}}
@media(max-width:620px){body{font-size:15px}.container{width:min(100% - 28px,1240px)}.hg-ajax-search-form>button{width:42px;font-size:0;padding:0}.hg-ajax-search-form>button:after{content:"\f002";font:900 14px "Font Awesome 7 Free"}.hg-header-actions{left:14px}.hero-section{padding-top:38px}.hero-content h1{font-size:37px}.hero-content>p{font-size:15px}.hero-actions{flex-direction:column;align-items:stretch}.hero-chips{display:none}.hero-visual{min-height:340px}.hero-image-wrap{inset:0 10px}.hero-float-new{right:0;top:35px}.hero-float-trust{left:0;bottom:30px}.book-explorer-section,.book-browser-section,.blog-section,.author-cta-section{padding:65px 0}.section-heading-row{display:block}.section-heading-row .hg-text-link{margin-top:12px}.section-heading h2{font-size:29px}.explorer-tabs{overflow:auto}.explorer-tab{min-width:120px;padding:9px}.explorer-content{grid-template-columns:1fr}.explorer-card{grid-template-columns:48px 1fr auto}.entity-avatar{width:48px;height:48px}.product-tabs{overflow:auto}.product-tab{white-space:nowrap}.hg-products-grid,.woocommerce .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hg-product-image{height:230px;padding:15px 12px 0}.hg-product-content{padding:12px}.hg-product-card h2{font-size:13px;min-height:44px}.hg-product-author{font-size:10px}.hg-product-price{font-size:12px}.hg-product-tax{font-size:9px}.hg-quick-cart{display:grid!important}.hg-benefit-grid{grid-template-columns:1fr}.hg-benefit-grid>div{border:0;border-bottom:1px solid var(--line)!important;padding:13px 5px}.author-cta-image{height:290px}.author-steps{display:grid;grid-template-columns:1fr;gap:10px;text-align:right}.author-steps>i{display:none}.author-steps>div{padding:9px;background:rgba(255,255,255,.05);border-radius:12px}.blog-grid,.hg-post-grid{grid-template-columns:1fr}.blog-grid .blog-card:last-child{display:block}.hg-newsletter-inner{padding:28px 0;display:block}.hg-newsletter-form{margin-top:18px}.hg-newsletter-copy>i{font-size:29px}.hg-newsletter h2{font-size:20px}.footer-stats{grid-template-columns:1fr 1fr}.footer-stats>div:nth-child(2){border-left:0}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-brand{grid-column:auto}.footer-contact{grid-column:auto}.footer-bottom{display:block;text-align:center;padding:18px}.hg-page-hero,.hg-shop-hero{padding:35px 0}.hg-page-hero h1,.hg-shop-hero h1{font-size:34px}.hg-content-section{padding:50px 0}.hg-sidebar{grid-template-columns:1fr}.hg-article-main{padding:16px}.hg-single-header{padding:35px 0 65px}.hg-single-header h1{font-size:32px}.hg-about-hero-grid{grid-template-columns:1fr}.hg-about-mark{display:none}.hg-about-intro h2{font-size:29px}.hg-process-grid{grid-template-columns:1fr}.hg-contact-cards{grid-template-columns:1fr}.hg-contact-form-wrap{padding:20px}.hg-contact-form,.hg-form-grid{grid-template-columns:1fr}.hg-contact-form .full,.hg-form-grid .full{grid-column:auto}.hg-error-visual{font-size:65px}.hg-error-visual i{font-size:55px}.hg-error-page h1{font-size:31px}.hg-error-page .container>div:last-child{flex-direction:column}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none}.woocommerce .woocommerce-ordering select{width:100%}.hg-product-summary-grid{padding:18px;gap:25px}.woocommerce div.product .product_title{font-size:28px}.hg-book-meta{grid-template-columns:1fr}.woocommerce div.product form.cart{align-items:stretch}.woocommerce div.product form.cart .button{font-size:12px}.woocommerce div.product .woocommerce-tabs ul.tabs{overflow:auto}.woocommerce div.product .woocommerce-tabs ul.tabs li a{white-space:nowrap}.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce,.woocommerce-account .woocommerce{width:calc(100% - 24px)}.woocommerce table.shop_table_responsive tr td{padding:10px}.hg-modal{padding:10px}.hg-modal-dialog{padding:20px}.hg-modal-header h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.hg-toast{position:fixed;left:24px;bottom:24px;z-index:4000;max-width:390px;padding:13px 18px;border-radius:12px;background:var(--ink);color:#fff;box-shadow:var(--shadow);opacity:0;transform:translateY(15px);transition:.25s}.hg-toast.show{opacity:1;transform:none}.hg-toast.success{border-right:4px solid var(--success)}.hg-toast.error{border-right:4px solid var(--danger)}

/* Book author profile */
.hg-author-profile{padding:40px 0 72px;background:linear-gradient(125deg,#f6f5fd,#f3fafb)}
.hg-author-profile-card{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:48px;align-items:center;margin-top:22px;padding:36px 40px;background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-sm)}
.hg-author-portrait{grid-column:2;grid-row:1;width:270px;height:330px;justify-self:center;border:8px solid #fff;border-radius:20px;overflow:hidden;background:linear-gradient(145deg,var(--primary),var(--primary-2));box-shadow:0 12px 35px rgba(35,40,78,.16);display:grid;place-items:center}
.hg-author-portrait img{width:100%;height:100%;object-fit:cover}
.hg-author-portrait span{color:#fff;font-size:120px;font-weight:800;line-height:1}
.hg-author-intro{grid-column:1;grid-row:1;min-height:260px;display:flex;flex-direction:column;justify-content:center;padding:10px 4px}
.hg-author-intro h1{font-size:clamp(34px,4vw,48px);line-height:1.4;margin:7px 0 18px}
.hg-author-bio{max-width:780px;color:var(--ink-2);font-size:16px;line-height:2.15}
.hg-author-bio p:first-child{margin-top:0}.hg-author-bio p:last-child{margin-bottom:0}
.hg-author-empty-bio{color:var(--muted);font-size:16px}
.hg-author-books{padding:75px 0 90px}
.hg-author-books .section-heading-row{margin-bottom:30px}
.hg-author-books .section-heading-row>p{color:var(--muted);font-size:13px}
.hg-author-books .woocommerce-pagination{margin-top:34px}
.hg-author-no-books{text-align:center;padding:70px 20px;border:1px dashed var(--line);border-radius:18px;background:var(--surface);color:var(--muted)}
.hg-author-no-books i{display:block;margin-bottom:12px;color:var(--primary);font-size:38px}
.hg-author-no-books p{margin:0}
@media(max-width:900px){.hg-author-profile-card{grid-template-columns:minmax(0,1fr) 230px;gap:30px;padding:28px}.hg-author-portrait{width:210px;height:270px}.hg-author-intro{min-height:220px}}
@media(max-width:620px){.hg-author-profile{padding:28px 0 52px}.hg-author-profile-card{grid-template-columns:1fr;gap:24px;padding:22px 18px}.hg-author-portrait{grid-column:1;grid-row:1;width:min(230px,76vw);height:280px;margin-inline:auto}.hg-author-intro{grid-column:1;grid-row:2;min-height:0;padding:0;text-align:center}.hg-author-bio{text-align:right}.hg-author-intro h1{font-size:34px}.hg-author-books{padding:55px 0 70px}.hg-author-books .section-heading-row>p{margin-top:8px}}
/* Responsive home hero */
@media(max-width:1100px){.hero-grid{grid-template-columns:minmax(380px,.9fr) minmax(480px,1.1fr);gap:0;min-height:590px}.hero-visual{min-height:590px}.hero-visual img{left:-52px}.hero-content h1{font-size:42px}.hero-subtitle{font-size:16px}.hero-benefits{gap:8px}}
@media(max-width:900px){.hero-section{padding:48px 0 0}.hero-grid{grid-template-columns:1fr;min-height:0}.hero-content{order:1;max-width:650px;margin-inline:auto;padding:0}.hero-content h1,.hero-content>p{margin-inline:auto}.hero-actions{justify-content:initial}.hero-benefits{margin-top:34px}.hero-visual{order:2;width:100%;min-height:520px;margin:20px auto 0}.hero-visual img{left:50%;height:100%;width:auto;max-width:none;transform:translateX(-50%)}}
@media(max-width:620px){.hero-section{padding:34px 0 0}.hero-content h1{font-size:32px;line-height:1.55;letter-spacing:-.5px}.hero-subtitle{gap:10px;font-size:13px}.hero-subtitle:before,.hero-subtitle:after{width:30px}.hero-content>p{margin-top:18px;font-size:14px;line-height:1.95}.hero-actions{grid-template-columns:1fr;margin-top:23px}.hero-actions .hg-btn{min-height:51px;font-size:14px}.hero-benefits{gap:4px;margin-top:28px}.hero-benefits>div>i{width:39px;height:39px;font-size:25px}.hero-benefits strong{font-size:11px}.hero-benefits small{font-size:8px}.hero-visual{min-height:340px;margin-top:10px}}
/* Filterable homepage book browser */
.hg-book-filters{margin-bottom:28px;padding:20px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow-sm)}.hg-book-filter-main{display:grid;grid-template-columns:minmax(280px,1.35fr) minmax(190px,.65fr) auto;gap:12px}.hg-book-filter-main label{min-width:0}.hg-book-filter-main input,.hg-book-filter-main select,.hg-book-filter-taxonomies select{width:100%;height:50px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:8px 12px;outline:0;color:var(--ink)}.hg-book-filter-main input:focus,.hg-book-filter-main select:focus,.hg-book-filter-taxonomies select:focus{border-color:#aaa8d5;box-shadow:0 0 0 3px rgba(49,46,129,.06)}.hg-book-search{position:relative}.hg-book-search i{position:absolute;right:15px;top:17px;color:var(--muted)}.hg-book-search input{padding-right:43px}.hg-book-filter-main .hg-btn{height:50px;white-space:nowrap}.hg-book-filter-taxonomies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.hg-book-filter-taxonomies label{display:flex;flex-direction:column;gap:5px;min-width:0}.hg-book-filter-taxonomies label>span{font-size:11px;font-weight:700;color:var(--ink-2)}.hg-book-filter-taxonomies select{height:45px;font-size:12px}.hg-book-filter-footer,.hg-book-results-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.hg-book-filter-footer{margin-top:15px}.hg-book-filter-footer .hg-clear-filters{display:inline-flex;align-items:center;gap:5px}.hg-book-results-head{margin:0 0 18px}.hg-book-results-head strong{font-size:14px}.hg-book-results-head span{color:var(--muted);font-size:12px}.hg-filtered-products .hg-empty-state{background:#fff}.hg-books-pagination{margin-top:34px}.hg-books-pagination .page-numbers{list-style:none}.hg-books-pagination>ul{display:flex;justify-content:center;gap:7px}.hg-books-pagination li>.page-numbers{display:grid}
@media(max-width:900px){.hg-book-filter-main{grid-template-columns:1fr 1fr}.hg-book-filter-main .hg-btn{grid-column:1/-1}.hg-book-filter-taxonomies{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.hg-book-filters{padding:14px}.hg-book-filter-main,.hg-book-filter-taxonomies{grid-template-columns:1fr}.hg-book-filter-main .hg-btn{grid-column:auto}.hg-book-filter-taxonomies{gap:9px}.hg-book-filter-footer,.hg-book-results-head{align-items:flex-start;flex-direction:column}.hg-book-results-head{gap:3px}}
/* Publisher submission CTA */
.author-cta-section{position:relative;isolation:isolate;overflow:hidden;padding:88px 0;background:linear-gradient(135deg,#111a35 0%,#182850 58%,var(--footer-bg) 100%);color:#fff}.author-cta-section:before,.author-cta-section:after{content:"";position:absolute;z-index:-1;border-radius:50%;filter:blur(2px);pointer-events:none}.author-cta-section:before{width:420px;height:420px;right:-180px;top:-230px;background:rgba(37,99,235,.13)}.author-cta-section:after{width:330px;height:330px;left:-170px;bottom:-210px;background:rgba(245,196,82,.09)}.author-cta-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);align-items:center;gap:72px}.author-cta-content{min-width:0}.author-cta-content .hg-kicker{margin-bottom:9px;color:var(--sky)}.author-cta-content h2{max-width:650px;margin:0 0 15px;font-size:clamp(36px,3.7vw,51px);line-height:1.42;letter-spacing:-.7px}.author-cta-content>p{max-width:670px;margin:0;color:#c3cce0;font-size:16px;line-height:2}.author-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:30px 0}.author-steps>div{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:10px;min-width:0;padding:14px 12px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.055)}.author-steps>i{display:none}.author-steps b{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:rgba(245,196,82,.14);color:var(--gold);font-size:15px}.author-steps span{display:flex;min-width:0;flex-direction:column}.author-steps strong{font-size:12px;white-space:nowrap}.author-steps small{color:#9eaac4;font-size:9px;white-space:nowrap}.author-cta-content>.hg-btn{min-height:52px;padding-inline:25px;border:1px solid rgba(255,255,255,.35);box-shadow:0 10px 26px rgba(0,0,0,.12)}.author-cta-image{position:relative;height:430px;overflow:hidden;border:1px solid rgba(255,255,255,.14);border-radius:28px;background:var(--footer-bg);box-shadow:0 28px 65px rgba(3,8,22,.28)}.author-cta-image:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(to top,rgba(5,12,28,.42),transparent);pointer-events:none}.author-cta-image img{position:static;width:100%;height:100%;object-fit:cover;object-position:center;filter:none}.author-cta-image>span{position:absolute;z-index:2;left:18px;bottom:18px;display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border:1px solid rgba(255,255,255,.65);border-radius:11px;background:rgba(255,255,255,.94);box-shadow:0 12px 28px rgba(0,0,0,.18);color:#17203b;font-size:11px;font-weight:700;backdrop-filter:blur(8px)}.author-cta-image>span i{display:grid;place-items:center;width:22px;height:22px;margin:0;border-radius:50%;background:var(--success-soft);color:var(--success)}
@media(max-width:1100px){.author-cta-grid{gap:38px}.author-cta-image{height:370px}.author-steps{gap:8px}.author-steps>div{grid-template-columns:34px minmax(0,1fr);padding:12px 9px}.author-steps b{width:34px;height:34px}.author-steps strong{font-size:11px}}
@media(max-width:900px){.author-cta-section{padding:72px 0}.author-cta-grid{grid-template-columns:1fr;gap:38px}.author-cta-content{text-align:right}.author-cta-content>p{margin:0}.author-steps{max-width:none;margin:28px 0}.author-cta-image{order:2;width:100%;height:410px;margin:0}.author-cta-content>.hg-btn{margin:0}}
@media(max-width:620px){.author-cta-section{padding:58px 0}.author-cta-content h2{font-size:31px}.author-cta-content>p{font-size:14px}.author-steps{grid-template-columns:1fr;gap:8px}.author-steps>div{grid-template-columns:38px minmax(0,1fr);padding:11px 12px}.author-steps b{width:38px;height:38px}.author-steps strong{font-size:12px}.author-steps small{font-size:9px}.author-cta-content>.hg-btn{width:100%}.author-cta-image{height:270px;border-radius:20px}.author-cta-image>span{left:12px;bottom:12px}}
/* Single-row site header */
.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid #e8ebf1;box-shadow:0 7px 24px rgba(24,39,75,.055);backdrop-filter:blur(14px)}.hg-header-main{position:relative;display:grid;grid-template-columns:auto minmax(280px,1fr) minmax(250px,340px) auto;align-items:center;gap:22px;min-height:82px}.hg-logo{display:flex;align-items:center;min-width:0}.hg-logo .custom-logo-link{display:flex;align-items:center}.hg-logo .custom-logo{width:auto;max-width:150px;max-height:54px;object-fit:contain}.hg-brand{display:flex;align-items:center;gap:9px;white-space:nowrap}.hg-brand img{width:50px;height:50px;object-fit:contain}.hg-brand span{display:flex;flex-direction:column}.hg-brand strong{font-size:17px;line-height:1.35}.hg-brand small{font-size:9px}.hg-nav-row{display:block;min-width:0;min-height:0;border:0}.hg-main-menu{height:82px}.hg-menu{display:flex;align-items:center;gap:clamp(13px,1.55vw,25px);height:100%;list-style:none;white-space:nowrap}.hg-menu a{height:82px;color:#46516c;font-size:13px;font-weight:650}.hg-menu a:hover,.hg-menu .current-menu-item>a{color:var(--primary)}.hg-menu .current-menu-item>a:after{height:3px;background:var(--primary)}.hg-menu .sub-menu{top:calc(100% - 1px);border-radius:0 0 13px 13px}.hg-menu .sub-menu a{height:auto}.hg-search{min-width:0}.hg-ajax-search-form{height:46px;padding:3px 4px 3px 10px;border-color:#edf0f5;border-radius:12px;background:#f6f7fa}.hg-ajax-search-form>i{margin-inline:9px 3px;font-size:13px}.hg-search-input{font-size:12px}.hg-ajax-search-form>button{height:38px;padding-inline:16px;border-radius:9px;font-size:12px}.hg-header-actions{display:flex;align-items:center;gap:7px}.hg-header-action{position:relative;display:grid;place-items:center}.hg-header-action>i{width:42px;height:42px;border:1px solid #eaedf3;border-radius:11px;background:#f7f8fb;font-size:16px}.hg-header-action>span:not(.hg-cart-count){display:none}.hg-header-action:hover>i{border-color:var(--primary);background:var(--primary);color:#fff}.hg-cart-count{right:27px;top:-6px;width:18px;height:18px;font-size:9px}.hg-menu-toggle{display:none;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:#f7f8fb;color:var(--primary);font-size:18px}
@media(max-width:1180px){.hg-header-main{grid-template-columns:auto minmax(250px,1fr) minmax(220px,280px) auto;gap:14px}.hg-brand span{display:none}.hg-menu{gap:14px}.hg-menu a{font-size:12px}.hg-ajax-search-form>button{width:38px;padding:0;font-size:0}.hg-ajax-search-form>button:after{content:"\f002";font:900 13px "Font Awesome 7 Free"}}
@media(max-width:900px){.hg-header-main{grid-template-columns:40px 68px minmax(0,1fr) auto;gap:8px;min-height:70px}.hg-menu-toggle{display:grid;place-items:center}.hg-logo{justify-self:stretch}.hg-logo .custom-logo{max-width:68px;max-height:47px}.hg-brand span{display:none}.hg-brand img{width:48px;height:48px}.hg-header-main>.hg-search{grid-column:auto;grid-row:auto;padding:0}.site-header .hg-ajax-search-form{height:42px}.site-header .hg-ajax-search-form>i{display:none}.site-header .hg-ajax-search-form>button{width:35px;height:35px}.site-header .hg-search-input{padding:6px 9px;font-size:11px}.hg-header-actions{position:static;gap:4px}.hg-header-action>i{width:39px;height:39px}.hg-cart-count{right:25px;top:-5px}.hg-nav-row{display:none;position:absolute;z-index:30;right:0;left:0;top:100%;height:auto;max-height:calc(100vh - 85px);overflow:auto;padding:7px 14px 18px;border-top:1px solid var(--line);border-radius:0 0 15px 15px;background:#fff;box-shadow:0 18px 35px rgba(24,39,75,.12)}.hg-nav-row.is-open{display:block}.hg-main-menu{height:auto}.hg-menu{display:block;height:auto;white-space:normal}.hg-menu a{height:auto;padding:11px 4px;border-bottom:1px solid #eef0f4;font-size:13px}.hg-menu .current-menu-item>a:after{display:none}.hg-menu .sub-menu{display:block;position:static;min-width:0;padding:2px 14px 5px;border:0;box-shadow:none}.hg-menu .sub-menu a{padding-block:8px;color:var(--muted);font-size:12px}}
@media(max-width:480px){.site-header .container{width:min(100% - 16px,1240px)}.hg-header-main{grid-template-columns:39px 53px minmax(0,1fr) 39px;gap:5px}.hg-logo .custom-logo{max-width:53px;max-height:43px}.hg-brand img{width:43px;height:43px}.site-header .hg-search-input{min-width:0;padding-inline:7px}.site-header .hg-search-input::placeholder{font-size:10px}.hg-header-action>i{width:37px;height:37px}.hg-cart-count{right:23px}.hg-menu-toggle{width:38px;height:38px}}
/* Refined footer and trust badges */
.site-footer{padding-top:28px;background:linear-gradient(145deg,var(--footer-bg) 0%,var(--footer-bg) 55%,var(--footer-bg) 100%);color:#b9c3d8}.footer-stats{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;border:1px solid rgba(255,255,255,.085);border-radius:18px;background:rgba(255,255,255,.035)}.footer-stats>div{min-height:98px;padding:14px 24px;border-color:rgba(255,255,255,.075)}.footer-stats i{font-size:21px}.footer-stats strong{font-size:22px}.footer-grid{display:grid;grid-template-columns:1.55fr .85fr .95fr 1.25fr;gap:44px;padding:56px 0 44px}.footer-logo img{width:52px;height:52px}.footer-logo strong{font-size:18px}.footer-brand>p{margin:15px 0 19px;color:#aeb9cf;line-height:2}.footer-socials a{border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.06)}.footer-column h3,.footer-widget h3{position:relative;margin-bottom:20px;padding-bottom:10px;font-size:14px}.footer-column h3:after,.footer-widget h3:after{content:"";position:absolute;right:0;bottom:0;width:28px;height:2px;border-radius:2px;background:var(--gold)}.footer-column li,.footer-widget li{margin:8px 0}.footer-column li a,.footer-widget li a{color:#b5bfd3;font-size:11px}.footer-contact p{align-items:flex-start;margin:10px 0;line-height:1.9}.footer-contact i{margin-top:5px}.footer-trust-row{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:25px 0;border-top:1px solid rgba(255,255,255,.085)}.footer-trust-copy{display:flex;align-items:center;gap:13px}.footer-trust-copy>i{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(245,196,82,.22);border-radius:13px;background:rgba(245,196,82,.08);color:var(--gold);font-size:20px}.footer-trust-copy>div{display:flex;flex-direction:column}.footer-trust-copy strong{color:#fff;font-size:13px}.footer-trust-copy span{color:#8996b0;font-size:10px}.footer-trust-badges{display:grid;grid-template-columns:repeat(3,88px);gap:10px}.footer-trust-badge{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:88px;height:82px;overflow:hidden;border:1px solid rgba(255,255,255,.13);border-radius:13px;background:#fff;color:var(--ink)}.footer-trust-badge:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(0,0,0,.16)}.footer-trust-badge img{width:100%;height:100%;padding:8px;object-fit:contain}.footer-trust-badge i{font-size:24px;color:var(--primary)}.footer-trust-badge small{font-size:9px;font-weight:700}.footer-bottom{min-height:66px;border-color:rgba(255,255,255,.085);color:#8390aa}
@media(max-width:1100px){.footer-grid{grid-template-columns:1.35fr 1fr 1fr;gap:34px}.footer-contact{grid-column:auto}.footer-brand{grid-column:1/-1}.footer-brand>p{max-width:560px}}
@media(max-width:760px){.footer-stats{grid-template-columns:1fr 1fr}.footer-stats>div:nth-child(2){border-left:0}.footer-grid{grid-template-columns:1fr 1fr;padding-block:45px 35px}.footer-brand{grid-column:1/-1}.footer-contact{grid-column:1/-1}.footer-trust-row{align-items:flex-start;flex-direction:column}.footer-trust-badges{width:100%;grid-template-columns:repeat(3,minmax(76px,88px));justify-content:start}}
@media(max-width:480px){.site-footer{padding-top:18px}.footer-stats>div{min-height:84px;grid-template-columns:32px auto;padding:10px 12px}.footer-stats i{font-size:18px}.footer-stats strong{font-size:18px}.footer-stats span{font-size:9px}.footer-grid{grid-template-columns:1fr;gap:28px;padding-block:38px 30px}.footer-brand,.footer-contact{grid-column:auto}.footer-trust-badges{grid-template-columns:repeat(3,1fr);gap:7px}.footer-trust-badge{width:100%;height:76px}.footer-bottom{display:block;min-height:0;padding:18px 0;text-align:center}.footer-bottom p+p{margin-top:5px}}
/* Full-width shop with top filters */
.hg-shop-section{padding:48px 0 85px;background:#f7f8fb}.hg-shop-top-filters{margin-bottom:30px;padding:21px;border:1px solid #e1e5ed;border-radius:20px;background:#fff;box-shadow:0 12px 34px rgba(35,40,78,.065)}.hg-shop-filter-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:17px;padding-bottom:15px;border-bottom:1px solid var(--line)}.hg-shop-filter-title>div{display:flex;align-items:center;gap:11px}.hg-shop-filter-title>div>i{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#eeeff9;color:var(--primary)}.hg-shop-filter-title>div>span{display:flex;flex-direction:column;line-height:1.65}.hg-shop-filter-title strong{font-size:14px}.hg-shop-filter-title small{color:var(--muted);font-size:10px}.hg-shop-filter-title .hg-clear-filters{display:inline-flex;align-items:center;gap:6px;color:var(--danger);font-size:11px}.hg-shop-filter-primary{display:grid;grid-template-columns:minmax(300px,1.35fr) minmax(210px,.65fr) auto;gap:12px}.hg-shop-filter-primary label{min-width:0}.hg-shop-filter-primary input,.hg-shop-filter-primary select,.hg-shop-filter-taxonomies select{width:100%;height:49px;border:1px solid var(--line);border-radius:11px;background:#fff;padding:8px 12px;outline:0;color:var(--ink);font-size:12px}.hg-shop-filter-primary input:focus,.hg-shop-filter-primary select:focus,.hg-shop-filter-taxonomies select:focus{border-color:#aaa8d5;box-shadow:0 0 0 3px rgba(49,46,129,.06)}.hg-shop-filter-primary .hg-filter-search>div{position:relative}.hg-shop-filter-primary .hg-filter-search i{position:absolute;right:15px;left:auto;top:17px;color:var(--muted);font-size:13px}.hg-shop-filter-primary .hg-filter-search input{padding-right:42px}.hg-shop-filter-primary .hg-btn{height:49px;white-space:nowrap}.hg-shop-filter-taxonomies{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.hg-shop-filter-taxonomies label{display:flex;min-width:0;flex-direction:column;gap:5px}.hg-shop-filter-taxonomies label>span{color:var(--ink-2);font-size:11px;font-weight:700}.hg-shop-filter-taxonomies select{height:45px}.hg-shop-filter-footer{display:flex;align-items:center;justify-content:flex-start;margin-top:15px}.hg-shop-filter-footer .hg-stock-check{font-size:11px}.hg-shop-main{min-width:0}.hg-shop-results-bar{min-height:43px;margin-bottom:16px}.hg-shop-results-bar:after{content:"";display:block;clear:both}.woocommerce .hg-shop-results-bar .woocommerce-result-count{float:none;margin:0;color:var(--muted);font-size:12px}.hg-shop-main>.products{clear:both}
@media(max-width:900px){.hg-shop-section{padding-top:35px}.hg-shop-filter-primary{grid-template-columns:1fr 1fr}.hg-shop-filter-primary .hg-btn{grid-column:1/-1}.hg-shop-filter-taxonomies{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.hg-shop-top-filters{padding:15px;border-radius:16px}.hg-shop-filter-title{align-items:flex-start}.hg-shop-filter-title>div>span small{display:none}.hg-shop-filter-title>div>i{width:35px;height:35px}.hg-shop-filter-title .hg-clear-filters{font-size:0}.hg-shop-filter-title .hg-clear-filters i{font-size:13px}.hg-shop-filter-primary,.hg-shop-filter-taxonomies{grid-template-columns:1fr}.hg-shop-filter-primary .hg-btn{grid-column:auto}.hg-shop-filter-taxonomies{gap:9px}.hg-shop-filter-footer{margin-top:13px}}
/* Bespoke WooCommerce book page */
.hg-product-page{padding:28px 0 88px;background:linear-gradient(180deg,#f4f6fa 0,#f8f9fb 620px,#fff 620px)}.hg-product-page .hg-breadcrumbs{margin-bottom:20px}.hg-single-product.hg-book-product{margin-top:0}.hg-book-showcase{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);align-items:start;gap:25px}.hg-book-gallery-shell,.hg-book-summary{position:relative;min-width:0;border:1px solid #e3e7ef;border-radius:23px;background:#fff;box-shadow:0 12px 35px rgba(35,40,78,.06)}.hg-book-gallery-shell{padding:27px}.hg-book-gallery-shell .onsale{right:20px;top:20px;z-index:5;display:grid;place-items:center;min-width:52px;min-height:30px;padding:4px 10px;border:0;border-radius:9px;background:var(--danger);color:#fff;font-size:11px;font-weight:800;line-height:1}.woocommerce div.product .hg-book-gallery-shell div.images{width:100%;float:none;margin:0}.woocommerce div.product .hg-book-gallery-shell div.images img{max-height:570px;border-radius:15px;object-fit:contain}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs li{width:auto;float:none}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs img{height:82px;padding:5px;border:1px solid var(--line);border-radius:10px;object-fit:contain}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs img.flex-active{border-color:var(--primary)}.hg-book-summary{padding:30px}.hg-book-category{display:inline-flex;align-items:center;gap:7px;padding:5px 10px;border-radius:8px;background:#eef0fa;color:var(--primary);font-size:11px;font-weight:700}.hg-book-category:hover{background:var(--primary);color:#fff}.woocommerce div.product .hg-book-summary .product_title{margin:12px 0 8px;color:var(--ink);font-size:clamp(29px,3vw,39px);font-weight:800;line-height:1.5;letter-spacing:-.5px}.hg-book-summary .woocommerce-product-rating{margin:0 0 16px}.hg-book-summary .woocommerce-review-link{color:var(--muted);font-size:10px}.hg-book-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0 22px}.hg-book-spec{display:grid;grid-template-columns:35px minmax(0,1fr);align-items:center;gap:9px;min-width:0;min-height:67px;padding:9px 10px;border:1px solid #e5e8f0;border-radius:12px;background:#fafbfc}.hg-book-spec>i{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#eceefa;color:var(--primary);font-size:13px}.hg-book-spec>span{display:flex;min-width:0;flex-direction:column}.hg-book-spec small{color:#8a92a5;font-size:8px;font-weight:600;line-height:1.6}.hg-book-spec strong{overflow-wrap:anywhere;color:#26324e;font-size:10px;line-height:1.7}.hg-book-spec a{color:#26324e}.hg-book-spec a:hover{color:var(--primary)}.hg-book-spec-plain{background:#fffaf0;border-color:var(--gold-soft)}.hg-book-spec-plain>i{background:#fff1cd;color:var(--ink)}.hg-book-purchase{padding:18px;border:1px solid #e1e5ed;border-radius:16px;background:#f7f8fb}.hg-book-price-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:13px;border-bottom:1px solid #e2e5ec}.hg-book-price-row>span{color:var(--muted);font-size:11px}.woocommerce div.product .hg-book-price-row p.price{margin:0;color:var(--primary);font-size:24px}.woocommerce div.product .hg-book-price-row p.price del{margin-left:7px}.hg-book-purchase>.stock{margin:13px 0 0}.woocommerce div.product .hg-book-purchase form.cart{display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;margin:14px 0 0}.woocommerce div.product .hg-book-purchase form.cart::before,.woocommerce div.product .hg-book-purchase form.cart::after{display:none}.woocommerce div.product .hg-book-purchase form.cart .quantity{float:none;margin:0}.woocommerce div.product .hg-book-purchase form.cart .quantity .qty{width:100%;height:52px;background:#fff}.woocommerce div.product .hg-book-purchase form.cart .button{float:none;width:100%;height:52px;border-radius:12px;background:var(--primary);font-size:13px}.woocommerce div.product .hg-book-purchase form.cart .button:hover{background:var(--sky)}.hg-buy-promises{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:15px}.hg-buy-promises span{display:flex;align-items:center;justify-content:center;gap:5px;padding:7px;border-radius:9px;background:#f5faf8;color:#60716b;font-size:8px}.hg-buy-promises i{margin:0;color:var(--success)}.hg-book-description,.hg-book-reviews{margin-top:28px;padding:30px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 8px 25px rgba(35,40,78,.045)}.hg-book-section-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px;padding-bottom:17px;border-bottom:1px solid var(--line)}.hg-book-section-heading>span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#eeeff9;color:var(--primary)}.hg-book-section-heading>div{display:flex;flex-direction:column}.hg-book-section-heading small{color:var(--muted);font-size:9px}.hg-book-section-heading h2{margin:0;font-size:21px}.hg-book-description .hg-prose{max-width:960px}.hg-book-reviews #reviews{padding:0}.hg-book-reviews #reviews #comments h2{font-size:18px}.hg-book-reviews #reviews ol.commentlist{padding:0}.hg-book-reviews #review_form_wrapper{margin-top:24px;padding:22px;border-radius:15px;background:#f7f8fb}.hg-book-recommendations{margin-top:45px}.hg-book-recommendations .related.products,.hg-book-recommendations .up-sells{margin-top:45px}.hg-book-recommendations .related.products>h2,.hg-book-recommendations .up-sells>h2{font-size:25px}.hg-book-recommendations .products{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.hg-book-showcase{grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:18px}.hg-book-gallery-shell,.hg-book-summary{padding:22px}.hg-book-specs{grid-template-columns:1fr 1fr}.hg-book-recommendations .products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.hg-book-showcase{grid-template-columns:1fr}.hg-book-gallery-shell{max-width:650px;width:100%;margin-inline:auto}.hg-book-summary{width:100%}.woocommerce div.product .hg-book-gallery-shell div.images img{max-height:620px}.hg-book-specs{grid-template-columns:repeat(3,minmax(0,1fr))}.hg-book-recommendations .products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hg-product-page{padding-top:20px}.hg-book-gallery-shell,.hg-book-summary,.hg-book-description,.hg-book-reviews{padding:16px;border-radius:17px}.woocommerce div.product .hg-book-summary .product_title{font-size:27px}.hg-book-specs{grid-template-columns:1fr 1fr;gap:7px}.hg-book-spec{grid-template-columns:31px minmax(0,1fr);min-height:62px;padding:8px}.hg-book-spec>i{width:31px;height:31px}.hg-book-purchase{padding:13px}.woocommerce div.product .hg-book-purchase form.cart{grid-template-columns:68px minmax(0,1fr)}.hg-buy-promises{grid-template-columns:1fr}.hg-book-description,.hg-book-reviews{margin-top:18px}.hg-book-section-heading{margin-bottom:16px}.hg-book-recommendations .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
@media(max-width:420px){.hg-book-specs{grid-template-columns:1fr}.hg-book-recommendations .products{grid-template-columns:1fr}}

/* Refined single-book presentation */
.hg-book-product{--book-ink:var(--ink);--book-primary:var(--primary);--book-primary-dark:var(--primary);--book-soft:#f4f8fc;--book-line:#dfe7f0;--book-gold:var(--gold)}.hg-book-product .hg-book-category{display:none!important}.hg-book-showcase{gap:22px}.hg-book-gallery-shell,.hg-book-summary{border-color:var(--book-line);border-radius:20px;box-shadow:0 12px 34px rgba(25,54,89,.07)}.hg-book-gallery-shell{display:flex;align-items:center;justify-content:center;padding:26px;background:linear-gradient(145deg,#fff,#f8fafc)}.woocommerce div.product .hg-book-gallery-shell div.images img{max-height:510px}.hg-book-summary{padding:27px 29px}.woocommerce div.product .hg-book-summary .product_title{margin:0 0 12px;color:var(--book-ink);font-size:clamp(24px,2.25vw,31px);font-weight:800;line-height:1.62;letter-spacing:-.25px}
.hg-book-rating{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;margin:0 0 18px;padding:11px 14px;border:1px solid var(--book-line);border-radius:13px;background:var(--book-soft)}.hg-rating-result{display:flex;align-items:center;gap:10px;padding-left:18px;border-left:1px solid #dbe4ed}.hg-rating-score{color:var(--book-ink);font-size:22px;line-height:1}.hg-rating-result>div{display:flex;flex-direction:column;gap:1px}.hg-rating-result small{color:#7b899d;font-size:8px}.hg-rating-meter{position:relative;display:block;width:99px;height:20px;direction:ltr;color:#cfd7e2;font-family:Arial,sans-serif;font-size:18px;line-height:20px;letter-spacing:2px;white-space:nowrap}.hg-rating-meter>span,.hg-rating-meter>b{position:absolute;inset:0 auto auto 0;display:block}.hg-rating-meter>b{overflow:hidden;color:var(--book-gold);font-weight:400}.hg-rating-submit{display:grid;grid-template-columns:auto auto minmax(120px,1fr);align-items:center;justify-content:start;gap:8px}.hg-rating-submit>span{color:#637187;font-size:9px;font-weight:700}.hg-rating-picker{display:flex;direction:ltr}.hg-rating-picker button{display:grid;place-items:center;width:25px;height:25px;padding:0;border:0;background:transparent;color:#c7cfda;font-size:15px;transition:.18s}.hg-rating-picker button:hover,.hg-rating-picker button:focus,.hg-rating-picker button.is-active{color:var(--book-gold);outline:0;transform:translateY(-1px)}.hg-rating-picker button:disabled{cursor:wait;opacity:.65}.hg-rating-message{overflow:hidden;color:#7b899d;font-size:8px;line-height:1.6;text-overflow:ellipsis;white-space:nowrap}.hg-rating-message.is-success{color:var(--success)}.hg-rating-message.is-error{color:var(--danger)}
.hg-book-specs{gap:8px;margin:0 0 18px}.hg-book-spec,.hg-book-spec-plain{min-height:64px;border-color:var(--book-line);background:#fff}.hg-book-spec>i,.hg-book-spec-plain>i{background:#eaf2f9;color:var(--book-primary)}.hg-book-spec small{color:#8490a2}.hg-book-spec strong,.hg-book-spec a{color:var(--ink)}.hg-book-spec a:hover{color:var(--book-primary)}
.hg-book-purchase{display:grid;grid-template-columns:minmax(145px,.55fr) minmax(245px,1fr);align-items:center;gap:16px;padding:14px 16px;border-color:var(--book-line);border-radius:14px;background:#f7f9fc}.hg-book-price-row{align-items:flex-start;flex-direction:column;gap:2px;padding:0 0 0 16px;border:0;border-left:1px solid #dce4ed}.hg-book-price-row>span{font-size:9px}.woocommerce div.product .hg-book-price-row p.price{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;margin:0;color:var(--book-primary-dark);font-size:20px;line-height:1.5}.woocommerce div.product .hg-book-price-row p.price del{margin:0;color:#9aa5b5;font-size:11px;opacity:1}.woocommerce div.product .hg-book-price-row p.price ins{color:var(--book-primary-dark);text-decoration:none}.woocommerce div.product .hg-book-purchase form.cart{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:9px!important;min-height:0!important;margin:0!important}.woocommerce div.product .hg-book-purchase form.cart .quantity{flex:0 0 72px;margin:0!important}.woocommerce div.product .hg-book-purchase form.cart .quantity .qty{width:72px;height:48px;border-color:#d7e0ea;border-radius:10px;background:#fff}.woocommerce div.product .hg-book-purchase form.cart .button{flex:1 1 auto;width:auto!important;height:48px;min-height:48px;border-radius:10px;background:var(--book-primary-dark);font-size:12px}.woocommerce div.product .hg-book-purchase form.cart .button:hover{background:var(--book-primary)}.hg-book-purchase>.stock{grid-column:2;margin:0}.hg-buy-promises{gap:7px;margin-top:11px}.hg-buy-promises span{min-height:31px;border:1px solid #e3eee9;background:#f7fbf9;color:#5e716b;font-size:8px}
.hg-book-description{display:grid;grid-template-columns:220px minmax(0,1fr);overflow:hidden;margin-top:30px;padding:0;border-color:var(--book-line);border-radius:20px;box-shadow:0 10px 30px rgba(25,54,89,.055)}.hg-book-description-heading{position:relative;display:flex;align-items:flex-start;flex-direction:column;min-height:100%;overflow:hidden;padding:31px 28px;background:linear-gradient(155deg,var(--book-primary-dark),var(--primary-2));color:#fff}.hg-book-description-heading>span{display:grid;place-items:center;width:46px;height:46px;margin-bottom:18px;border:1px solid rgba(255,255,255,.2);border-radius:13px;background:rgba(255,255,255,.1);color:var(--gold)}.hg-book-description-heading small{color:var(--footer-text);font-size:9px}.hg-book-description-heading h2{position:relative;z-index:1;margin:3px 0;color:#fff;font-size:20px;line-height:1.65}.hg-description-quote{position:absolute;left:-12px;bottom:-18px;color:rgba(255,255,255,.055);font-size:110px;transform:rotate(8deg)}.hg-book-description .hg-prose{max-width:none;padding:31px 36px;color:#536276;font-size:13px;line-height:2.2;text-align:justify}.hg-book-description .hg-prose>:first-child{margin-top:0}.hg-book-description .hg-prose>:last-child{margin-bottom:0}.hg-book-reviews{display:none!important}
.hg-similar-books{margin-top:38px;padding:25px;border:1px solid var(--book-line);border-radius:20px;background:#f8fafc}.hg-similar-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px;padding-bottom:17px;border-bottom:1px solid #e1e8f0}.hg-similar-heading>div{display:flex;align-items:center;gap:11px}.hg-similar-heading>div>span{display:grid;place-items:center;width:43px;height:43px;border-radius:12px;background:#e6f0f8;color:var(--book-primary)}.hg-similar-heading>div>div{display:flex;flex-direction:column}.hg-similar-heading small{color:#8490a2;font-size:8px}.hg-similar-heading h2{margin:0;color:var(--book-ink);font-size:21px}.hg-similar-heading>a{display:flex;align-items:center;gap:7px;color:var(--book-primary);font-size:10px;font-weight:700}.hg-similar-books>.hg-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.hg-similar-books .hg-product-card{border-color:#e2e8f0;border-radius:15px;box-shadow:0 7px 20px rgba(25,54,89,.045)}.hg-similar-books .hg-product-image{height:270px}.hg-similar-books .hg-product-content{padding:14px}.hg-similar-books .hg-product-card h2{font-size:14px}
@media(max-width:1100px){.hg-book-rating{grid-template-columns:1fr;gap:9px}.hg-rating-result{padding:0 0 8px;border:0;border-bottom:1px solid #dbe4ed}.hg-rating-submit{grid-template-columns:auto auto minmax(100px,1fr)}.hg-book-purchase{grid-template-columns:1fr}.hg-book-price-row{padding:0 0 10px;border:0;border-bottom:1px solid #dce4ed}.hg-book-purchase>.stock{grid-column:auto}.hg-similar-books>.hg-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.hg-book-showcase{gap:16px}.hg-book-summary{padding:24px}.hg-book-description{grid-template-columns:190px minmax(0,1fr)}.hg-book-description-heading{padding:27px 22px}.hg-book-description .hg-prose{padding:27px}.hg-similar-books>.hg-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.hg-book-summary{padding:18px}.woocommerce div.product .hg-book-summary .product_title{font-size:23px;line-height:1.65}.hg-rating-submit{grid-template-columns:auto 1fr}.hg-rating-message{grid-column:1/-1;white-space:normal}.hg-book-purchase{gap:10px;padding:13px}.hg-book-description{display:block}.hg-book-description-heading{min-height:165px;padding:22px}.hg-book-description-heading>span{width:40px;height:40px;margin-bottom:10px}.hg-book-description-heading h2{font-size:18px}.hg-book-description .hg-prose{padding:22px;font-size:12px}.hg-similar-books{padding:16px}.hg-similar-heading{align-items:flex-start}.hg-similar-heading>a{font-size:0}.hg-similar-heading>a i{font-size:13px}.hg-similar-books>.hg-products-grid{gap:10px}.hg-similar-books .hg-product-image{height:230px}}
@media(max-width:420px){.hg-book-purchase{display:block}.woocommerce div.product .hg-book-purchase form.cart{margin-top:11px!important}.hg-similar-books>.hg-products-grid{grid-template-columns:1fr}.hg-similar-books .hg-product-image{height:300px}}

/* Purchase panel spacing and readable book specs */
.hg-book-spec{grid-template-columns:38px minmax(0,1fr);gap:10px;min-height:72px;padding:10px 11px}.hg-book-spec>i{width:38px;height:38px;font-size:14px}.hg-book-spec small{font-size:10px;line-height:1.55}.hg-book-spec strong{font-size:12px;line-height:1.75}
.hg-book-purchase{display:grid;grid-template-columns:minmax(0,1fr) 178px;align-items:stretch;gap:14px;padding:14px;border-color:#dce5ee;background:#f7f9fc}.hg-book-buy-main{display:grid;grid-template-columns:minmax(138px,.65fr) minmax(250px,1.35fr);align-items:center;gap:15px;min-width:0}.hg-book-price-row{min-width:0;gap:3px;padding:2px 0 2px 15px;border:0;border-left:1px solid #d9e2eb}.hg-book-price-row>span{color:#76859a;font-size:10px;font-weight:600}.woocommerce div.product .hg-book-price-row p.price{display:flex!important;align-items:flex-start;flex-direction:column;gap:0;margin:0!important;color:var(--book-primary-dark);font-size:19px;line-height:1.55}.woocommerce div.product .hg-book-price-row p.price del{display:block;margin:0;color:#929daf;font-size:11px;line-height:1.5;opacity:1}.woocommerce div.product .hg-book-price-row p.price ins{display:block;color:var(--book-primary-dark);font-size:19px;font-weight:800;line-height:1.55;text-decoration:none}.hg-book-cart-area{display:flex;align-items:stretch;justify-content:center;flex-direction:column;min-width:0}.woocommerce div.product .hg-book-cart-area .stock{display:inline-flex;align-items:center;width:max-content;max-width:100%;min-height:27px;margin:0 0 8px;padding:3px 9px;border-radius:8px;background:#e8f5ef;color:var(--success);font-size:10px}.woocommerce div.product .hg-book-cart-area form.cart{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:9px!important;width:100%;min-height:0!important;margin:0!important}.woocommerce div.product .hg-book-cart-area form.cart .quantity{flex:0 0 64px;margin:0!important}.woocommerce div.product .hg-book-cart-area form.cart .quantity .qty{width:64px;height:46px;border:1px solid #d4dde8;border-radius:10px;background:#fff;color:var(--book-ink);font-size:13px}.woocommerce div.product .hg-book-cart-area form.cart .button{flex:1 1 auto;width:auto!important;height:46px;min-height:46px;padding:8px 15px!important;border:0!important;border-radius:10px!important;background:linear-gradient(135deg,var(--primary-2),var(--primary))!important;box-shadow:0 7px 16px rgba(23,63,104,.18);color:#fff!important;font-size:12px;font-weight:750}.woocommerce div.product .hg-book-cart-area form.cart .button:hover{background:linear-gradient(135deg,var(--sky),var(--primary))!important;box-shadow:0 9px 20px rgba(23,63,104,.24);transform:translateY(-1px)}.hg-book-purchase>.hg-buy-promises{display:grid;grid-template-columns:1fr;align-content:center;gap:6px;margin:0;padding:0 14px 0 0;border-right:1px solid #d9e2eb}.hg-book-purchase>.hg-buy-promises span{justify-content:flex-start;min-height:36px;padding:6px 9px;border:1px solid #dcebe5;border-radius:9px;background:#f3faf7;color:#526d64;font-size:10px;font-weight:600}.hg-book-purchase>.hg-buy-promises i{width:16px;color:var(--success);font-size:11px;text-align:center}
@media(max-width:1100px){.hg-book-showcase{grid-template-columns:1fr}.hg-book-gallery-shell{width:100%;max-width:650px;margin-inline:auto}.hg-book-purchase{grid-template-columns:minmax(0,1fr) 185px}.hg-book-price-row{padding:2px 0 2px 15px;border:0;border-left:1px solid #d9e2eb}}
@media(max-width:760px){.hg-book-purchase{grid-template-columns:1fr}.hg-book-purchase>.hg-buy-promises{padding:12px 0 0;border:0;border-top:1px solid #d9e2eb}}
@media(max-width:620px){.hg-book-buy-main{grid-template-columns:1fr;gap:10px}.hg-book-price-row{padding:0 0 10px;border:0;border-bottom:1px solid #d9e2eb}.woocommerce div.product .hg-book-price-row p.price,.woocommerce div.product .hg-book-price-row p.price ins{font-size:18px}.hg-book-purchase>.hg-buy-promises span{font-size:10px}.hg-book-spec small{font-size:9.5px}.hg-book-spec strong{font-size:11.5px}}
.hg-book-spec small{font-size:11px}.hg-book-spec strong{font-size:13px}.hg-book-price-row>span{font-size:11px}.hg-book-price-row .woocommerce-Price-amount,.woocommerce div.product .hg-book-cart-area form.cart .button{white-space:nowrap}.woocommerce div.product .hg-book-cart-area form.cart .quantity .qty{font-size:14px}.woocommerce div.product .hg-book-cart-area form.cart .button{font-size:13px}.hg-book-purchase>.hg-buy-promises span{font-size:10.5px}
@media(max-width:620px){.hg-book-spec small{font-size:10px}.hg-book-spec strong{font-size:12px}}

/* Product gallery, sale badge and final cart control overrides */
.hg-book-gallery-shell{display:block;min-height:540px;padding:20px;background:linear-gradient(145deg,#f8fafc,#f1f5f9)}.woocommerce div.product .hg-book-gallery-shell div.images{display:block;width:100%;margin:0!important}.hg-book-gallery-shell .woocommerce-product-gallery__wrapper,.hg-book-gallery-shell .flex-viewport{overflow:hidden;border:1px solid #e0e7ef;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(24,55,88,.055)}.hg-book-gallery-shell .woocommerce-product-gallery__image>a{display:flex;align-items:center;justify-content:center;min-height:450px;padding:26px}.woocommerce div.product .hg-book-gallery-shell .woocommerce-product-gallery__image img{width:auto!important;max-width:100%;height:430px!important;max-height:430px;margin:auto;border-radius:8px;object-fit:contain;box-shadow:0 12px 25px rgba(18,39,66,.09)}.hg-book-gallery-shell .woocommerce-product-gallery__trigger{top:14px!important;right:auto!important;left:14px!important;z-index:8!important;width:42px!important;height:42px!important;border:1px solid #dfe7ef!important;border-radius:12px!important;background:#fff!important;box-shadow:0 6px 16px rgba(20,49,81,.1)!important}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0 0!important;padding:9px;border:1px solid #e0e7ef;border-radius:14px;background:#fff}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs li{width:auto!important;margin:0!important;overflow:hidden;border-radius:9px}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs img{width:100%!important;height:76px!important;padding:6px;border:1px solid transparent;border-radius:9px;background:#f7f9fc;object-fit:contain;opacity:.7;transition:.2s}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs img:hover{opacity:1}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs img.flex-active{border-color:var(--sky);background:#fff;box-shadow:0 0 0 2px rgba(43,109,159,.1);opacity:1}.hg-book-sale-badge{position:absolute;top:15px;right:15px;z-index:12;display:flex;align-items:center;justify-content:center;flex-direction:column;width:66px;height:66px;border:3px solid #fff;border-radius:18px;background:linear-gradient(145deg,var(--primary-2),var(--primary));box-shadow:0 9px 20px var(--primary-ring);color:#fff;line-height:1.2;transform:rotate(3deg)}.hg-book-sale-badge small{margin-bottom:3px;color:#ffe6aa;font-size:9px;font-weight:700}.hg-book-sale-badge strong{font-size:16px;font-weight:850}
.woocommerce div.product .hg-book-cart-area form.cart{column-gap:14px!important}.woocommerce div.product .hg-book-cart-area form.cart .quantity{flex:0 0 66px!important;margin:0!important}.woocommerce div.product .hg-book-cart-area form.cart .quantity .qty{width:66px!important;height:48px!important;margin:0!important;border:1px solid #cfdbe7!important;box-shadow:inset 0 1px 2px rgba(17,42,70,.04)}.woocommerce div.product .hg-book-cart-area form.cart button.single_add_to_cart_button.button.alt,.woocommerce div.product .hg-book-cart-area form.cart button.single_add_to_cart_button{flex:1 1 auto!important;width:auto!important;height:48px!important;min-height:48px!important;margin:0!important;padding:8px 18px!important;border:1px solid var(--primary)!important;border-radius:11px!important;background:var(--primary)!important;background-color:var(--primary)!important;background-image:none!important;box-shadow:0 8px 18px rgba(23,63,104,.2)!important;color:#fff!important;font-size:13px!important;line-height:1.4!important;opacity:1!important}.woocommerce div.product .hg-book-cart-area form.cart button.single_add_to_cart_button.button.alt:hover,.woocommerce div.product .hg-book-cart-area form.cart button.single_add_to_cart_button:hover{border-color:var(--primary)!important;background:var(--primary)!important;background-color:var(--primary)!important;background-image:none!important;box-shadow:0 10px 22px rgba(23,111,141,.24)!important;color:#fff!important}
@media(max-width:1100px){.hg-book-gallery-shell{min-height:0}.hg-book-gallery-shell .woocommerce-product-gallery__image>a{min-height:420px}.woocommerce div.product .hg-book-gallery-shell .woocommerce-product-gallery__image img{height:400px!important;max-height:400px}}
@media(max-width:620px){.hg-book-gallery-shell{padding:12px}.hg-book-gallery-shell .woocommerce-product-gallery__image>a{min-height:340px;padding:18px}.woocommerce div.product .hg-book-gallery-shell .woocommerce-product-gallery__image img{height:320px!important;max-height:320px}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs{gap:6px;padding:7px}.woocommerce div.product .hg-book-gallery-shell .flex-control-thumbs img{height:62px!important}.hg-book-sale-badge{top:9px;right:9px;width:57px;height:57px;border-radius:15px}.hg-book-sale-badge strong{font-size:14px}.woocommerce div.product .hg-book-cart-area form.cart{column-gap:12px!important}}
.hg-book-gallery-shell .flex-viewport .woocommerce-product-gallery__wrapper{border:0;border-radius:0;background:transparent;box-shadow:none}

/* assets/css/live-search.css */
/* Header live product search */
.hg-search,
.hg-live-search-form {
    min-width: 0;
}

.hg-live-search-form {
    isolation: isolate;
}

.hg-live-search-input {
    flex: 1;
    min-width: 0;
    padding: 8px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

.hg-live-search-input::placeholder {
    color: #939bae;
}

.hg-live-search-input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
}

.hg-live-search-form > .hg-search-clear {
    display: grid;
    place-items: center;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    min-height: 31px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #8d96a8;
    font-size: 12px;
    transition: .18s;
}

.hg-live-search-form > .hg-search-clear[hidden] {
    display: none;
}

.hg-live-search-form > .hg-search-clear::after {
    content: none !important;
}

.hg-live-search-form > .hg-search-clear:hover,
.hg-live-search-form > .hg-search-clear:focus-visible {
    outline: 0;
    background: #eceef5;
    color: var(--primary);
}

.hg-live-search-form > .hg-search-submit {
    flex: 0 0 auto;
}

.hg-live-search-form .hg-search-results {
    right: 0;
    left: 0;
    top: calc(100% + 9px);
    z-index: 60;
    max-height: min(440px, calc(100vh - 130px));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 7px;
    border: 1px solid #dfe4ed;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(25, 39, 72, .16);
    scrollbar-color: #cdd3df transparent;
    scrollbar-width: thin;
}

.hg-live-search-form .hg-search-results::-webkit-scrollbar {
    width: 6px;
}

.hg-live-search-form .hg-search-results::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #cdd3df;
}

.hg-live-search-form .hg-search-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 11px;
    min-width: 0;
    min-height: 78px;
    padding: 7px 8px;
    border-bottom: 1px solid #edf0f4;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    transition: .18s;
}

.hg-live-search-form .hg-search-item:last-of-type {
    border-bottom-color: transparent;
}

.hg-live-search-form .hg-search-item:hover,
.hg-live-search-form .hg-search-item:focus-visible,
.hg-live-search-form .hg-search-item.is-active {
    outline: 0;
    border-bottom-color: transparent;
    background: #f3f5fa;
}

.hg-search-item-media {
    display: grid;
    place-items: center;
    width: 54px;
    height: 66px;
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 8px;
    background: linear-gradient(145deg, #f7f5ef, #f1f4f8);
}

.hg-live-search-form .hg-search-item .hg-search-item-media img {
    width: 100%;
    height: 100%;
    padding: 3px;
    border-radius: 0;
    object-fit: contain;
}

.hg-search-item-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.55;
}

.hg-live-search-form .hg-search-item .hg-search-item-meta {
    display: block;
    width: 100%;
    overflow: hidden;
    color: #7c879b;
    font-size: 9px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hg-live-search-form .hg-search-item .hg-search-item-title {
    display: -webkit-box;
    width: 100%;
    min-height: 37px;
    overflow: hidden;
    color: var(--ink);
    font-size: 12px;
    font-weight: 750;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hg-search-item-price {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-height: 18px;
    margin-top: 2px;
    direction: rtl;
}

.hg-search-item-price b {
    color: var(--primary);
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}

.hg-search-item-price del {
    color: #a0a8b6;
    font-size: 8.5px;
    white-space: nowrap;
}

.hg-search-item-price em {
    padding: 1px 6px;
    border-radius: 6px;
    background: var(--primary-soft-2);
    color: var(--primary);
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
}

.hg-search-item-arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f0f1f6;
    color: #9099aa;
    font-size: 9px;
    transition: .18s;
}

.hg-search-item:hover .hg-search-item-arrow,
.hg-search-item:focus-visible .hg-search-item-arrow,
.hg-search-item.is-active .hg-search-item-arrow {
    background: var(--primary);
    color: #fff;
    transform: translateX(-2px);
}

.hg-live-search-form .hg-search-all {
    position: sticky;
    bottom: -7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    margin-top: 5px;
    border: 1px solid #e1e4ee;
    border-radius: 10px;
    background: rgba(248, 249, 252, .97);
    box-shadow: 0 -5px 15px rgba(255, 255, 255, .95);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hg-live-search-form .hg-search-all:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.hg-search-status {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 70px;
    padding: 10px 11px;
}

.hg-search-status-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #eff1f7;
    color: var(--primary);
    font-size: 15px;
}

.hg-search-status.is-error .hg-search-status-icon {
    background: var(--primary-soft-2);
    color: var(--danger);
}

.hg-search-status > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.hg-search-status strong {
    color: #24314a;
    font-size: 11px;
}

.hg-search-status small {
    color: var(--muted);
    font-size: 9.5px;
}

@media (max-width: 900px) {
    .hg-live-search-form .hg-search-results {
        max-height: min(420px, calc(100vh - 150px));
    }
}

@media (max-width: 620px) {
    .hg-live-search-form {
        padding-left: 5px;
    }

    .hg-live-search-form > .hg-search-clear {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
    }

    .hg-live-search-form .hg-search-results {
        top: calc(100% + 7px);
        max-height: min(400px, calc(100vh - 150px));
        padding: 5px;
        border-radius: 13px;
    }

    .hg-live-search-form .hg-search-item {
        grid-template-columns: 46px minmax(0, 1fr) 26px;
        gap: 9px;
        min-height: 69px;
        padding: 6px;
    }

    .hg-search-item-media {
        width: 46px;
        height: 58px;
        border-radius: 7px;
    }

    .hg-live-search-form .hg-search-item .hg-search-item-title {
        min-height: 34px;
        font-size: 10.8px;
    }

    .hg-live-search-form .hg-search-item .hg-search-item-meta {
        font-size: 8.3px;
    }

    .hg-search-item-price b {
        font-size: 9.5px;
    }

    .hg-search-item-price del {
        display: none;
    }

    .hg-search-item-arrow {
        width: 26px;
        height: 26px;
    }

    .hg-live-search-form .hg-search-all {
        min-height: 42px;
        font-size: 10px;
    }
}

/* assets/css/theme-polish.css */
/*
 * Hekmat Gostar final design-system layer.
 * Shared components should consume these tokens instead of introducing
 * unrelated accent colours.
 */
:root {
    --primary-rgb: 49 46 129;
    --primary-2-rgb: 69 65 173;
    --sky-rgb: 20 169 213;
    --gold-rgb: 245 196 82;
    --ink-rgb: 23 32 59;
    --paper-rgb: 255 255 255;
    --success-rgb: 22 152 115;
    --primary-soft: #eeeff9;
    --primary-soft-2: #f6f5fd;
    --sky-soft: rgb(var(--sky-rgb) / .1);
    --gold-soft: rgb(var(--gold-rgb) / .16);
    --success-soft: rgb(var(--success-rgb) / .1);
    --primary-ring: rgba(49, 46, 129, .12);
    --surface-2: #fafbfc;
    --line-strong: #dce1e9;
    --footer-bg: #111a35;
    --footer-bg-2: #182850;
    --footer-text: #b9c3d8;
    --footer-muted: #8996b0;
    --danger: var(--primary);
}

::selection {
    background: var(--primary);
    color: var(--paper);
}

body {
    accent-color: var(--primary);
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid var(--primary-ring);
    outline-offset: 2px;
}

.hg-btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce div.product .hg-book-purchase form.cart .button:hover {
    background: var(--primary-2);
    color: var(--paper);
}

.hg-text-link:hover,
.hg-product-tax,
.hg-kicker {
    color: var(--primary-2);
}

/* Keep the homepage accents on the shared blue/gold palette. */
.hero-content h1,
.hero-benefits strong {
    color: var(--primary);
}

.hero-subtitle,
.hero-benefits > div > i {
    color: var(--primary-2);
}

.hero-benefits > div:nth-child(2) > i {
    color: var(--gold);
}

.hero-content > p,
.hero-benefits small {
    color: var(--muted);
}

.hero-actions .hg-btn-primary {
    background: var(--primary);
    box-shadow: 0 9px 20px var(--primary-ring);
}

.hero-actions .hg-btn-primary:hover {
    background: var(--primary-2);
}

.hero-actions .hg-btn-ghost {
    border-color: var(--primary);
    color: var(--primary);
}

.author-cta-section {
    background: linear-gradient(135deg, var(--footer-bg), var(--footer-bg-2));
}

.site-header {
    border-color: var(--line);
}

.hg-menu a {
    color: var(--ink-2);
}

@media (min-width: 901px) {
    .site-header .hg-nav-row {
        justify-self: stretch;
    }

    .site-header .hg-main-menu,
    .site-header .hg-menu {
        justify-content: center;
    }
}

.hg-ajax-search-form,
.hg-header-action > i,
.hg-menu-toggle {
    border-color: var(--line);
    background: var(--surface);
}

.hg-book-filter-main input:focus,
.hg-book-filter-main select:focus,
.hg-book-filter-taxonomies select:focus,
.hg-shop-filter-primary input:focus,
.hg-shop-filter-primary select:focus,
.hg-shop-filter-taxonomies select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-ring);
}

/* Product cards
 * Keep card interactions stable in every loop (home, shop, search, taxonomy,
 * account and recommendations). Page-level WooCommerce selectors must not
 * reintroduce the old lift/zoom animation.
 */
body .hg-product-card {
    transform: none !important;
    transition: border-color .2s ease, box-shadow .2s ease !important;
}

body .hg-product-card:hover,
body .woocommerce .products .hg-product-card:hover {
    border-color: var(--line-strong) !important;
    box-shadow: var(--shadow-sm) !important;
    transform: none !important;
}

body .hg-product-card .hg-product-image img,
body .hg-product-card:hover .hg-product-image img,
body .woocommerce .products .hg-product-card:hover .hg-product-image img {
    transform: none !important;
    transition: none !important;
}

.hg-product-image {
    background: linear-gradient(150deg, var(--cream), var(--surface));
}

.hg-product-badges .stock {
    background: var(--ink-2);
}

body .hg-product-card .hg-quick-cart {
    left: 50%;
    bottom: 17px;
    display: grid !important;
    place-items: center;
    opacity: 1 !important;
    transform: translateX(-50%) !important;
    transition: background-color .2s ease, box-shadow .2s ease !important;
}

body .hg-product-card .hg-quick-cart > i {
    display: block;
    margin: 0;
    line-height: 1;
}

body .hg-product-card:hover .hg-quick-cart,
body .hg-product-card .hg-quick-cart:hover,
body .hg-product-card .hg-quick-cart:focus-visible,
body .woocommerce .products .hg-product-card:hover .hg-quick-cart {
    left: 50% !important;
    opacity: 1 !important;
    transform: translateX(-50%) !important;
}

body .hg-product-card .hg-quick-cart:hover {
    background: var(--primary-2) !important;
    box-shadow: 0 9px 20px var(--primary-ring);
}

.hg-card-more {
    background: var(--primary-soft);
}

.hg-product-card:hover .hg-card-more {
    background: var(--primary);
}

/* Keep journal card covers at the same ratio as the single article cover. */
body .blog-card .blog-card-image {
    height: auto;
    aspect-ratio: 920 / 610;
}

body .blog-card .blog-card-image img {
    object-fit: cover;
    object-position: center;
}

.hg-products-grid:has(> .hg-product-card:only-child) {
    grid-template-columns: minmax(245px, 290px);
    justify-content: start;
}

/* The book page used to introduce a second, unrelated blue palette. */
.hg-book-product {
    --book-ink: var(--ink);
    --book-primary: var(--primary);
    --book-primary-dark: var(--primary);
    --book-soft: var(--surface);
    --book-line: var(--line);
    --book-gold: var(--gold);
}

body.single-product .hg-book-purchase > .hg-buy-promises span {
    border-color: rgb(var(--sky-rgb) / .18);
    background: var(--sky-soft);
    color: var(--ink-2);
}

body.single-product .hg-book-purchase > .hg-buy-promises i {
    color: var(--sky);
}

.hg-book-description-heading {
    background: linear-gradient(155deg, var(--primary), var(--primary-2));
}

.hg-product-page > .container {
    width: min(1180px, calc(100% - 40px));
}

body.single-product .hg-book-cart-area form.cart button.single_add_to_cart_button,
body.single-product .hg-book-cart-area form.cart button.single_add_to_cart_button.button.alt {
    border-color: var(--primary) !important;
    background: var(--primary) !important;
    background-color: var(--primary) !important;
}

body.single-product .hg-book-cart-area form.cart button.single_add_to_cart_button:hover,
body.single-product .hg-book-cart-area form.cart button.single_add_to_cart_button.button.alt:hover {
    border-color: var(--primary-2) !important;
    background: var(--primary-2) !important;
    background-color: var(--primary-2) !important;
}

/* Shop archive */
.hg-shop-hero {
    padding: 34px 0 30px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, var(--paper), var(--primary-soft-2));
}

.hg-shop-hero .hg-breadcrumbs {
    margin-bottom: 18px;
}

.hg-shop-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.hg-shop-hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.35;
}

.hg-shop-hero p {
    max-width: 720px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.hg-shop-hero-mark {
    display: grid;
    place-items: center;
    flex: 0 0 78px;
    height: 78px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    font-size: 28px;
}

.hg-shop-section {
    padding: 42px 0 82px;
    background: var(--surface);
}

.hg-shop-section > .container {
    width: min(1180px, calc(100% - 40px));
}

.hg-shop-top-filters {
    margin-bottom: 24px;
    border-color: var(--line-strong);
    background: var(--paper);
}

.hg-shop-filter-title > div > i {
    background: var(--primary-soft);
}

.hg-shop-filter-primary input,
.hg-shop-filter-primary select,
.hg-shop-filter-taxonomies select {
    border-color: var(--line);
    background: var(--paper);
}

.hg-shop-main {
    width: 100%;
}

.woocommerce .hg-shop-results-bar .woocommerce-result-count {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    margin: 0;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--paper);
}

.hg-shop-main > .hg-products-grid {
    width: 100%;
    margin: 0;
}

.hg-shop-main .woocommerce-pagination {
    margin-top: 36px;
}

/* Footer */
.site-footer {
    background: linear-gradient(145deg, var(--footer-bg), var(--footer-bg-2));
    color: var(--footer-text);
}

.footer-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-footer .footer-menu,
.site-footer .footer-column > .hg-menu {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    height: auto;
    list-style: none;
    white-space: normal;
}

.site-footer .footer-menu li,
.site-footer .footer-column > .hg-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.site-footer .footer-menu a,
.site-footer .footer-column > .hg-menu a {
    display: inline-flex;
    align-items: center;
    height: auto;
    padding: 0;
    border: 0;
    color: var(--footer-text);
    font-size: 11px;
    line-height: 1.9;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-column > .hg-menu a:hover {
    color: var(--gold);
}

.footer-brand > p {
    color: var(--footer-text);
}

.footer-trust-copy span,
.footer-bottom {
    color: var(--footer-muted);
}

.footer-socials a:hover {
    background: var(--primary-2);
}

/* Floating Telegram contact */
.hg-telegram-float {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 980;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 60px;
    padding: 6px 7px 6px 16px;
    border: 1px solid rgb(var(--paper-rgb) / .2);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 16px 38px rgb(var(--ink-rgb) / .22);
    color: var(--paper);
    direction: rtl;
    isolation: isolate;
    transition: background-color .2s ease, box-shadow .2s ease;
}

.hg-telegram-float:hover,
.hg-telegram-float:focus-visible {
    background: linear-gradient(135deg, var(--primary-2), var(--primary));
    box-shadow: 0 18px 42px rgb(var(--primary-rgb) / .28);
    color: var(--paper);
    transform: none;
}

.hg-telegram-float-icon {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--sky);
    color: var(--paper);
    font-size: 22px;
}

.hg-telegram-float-icon::before {
    position: absolute;
    inset: -5px;
    z-index: -1;
    border: 1px solid rgb(var(--sky-rgb) / .46);
    border-radius: 17px;
    content: "";
    animation: hgTelegramPulse 2.4s ease-out infinite;
}

.hg-telegram-float-copy {
    display: flex;
    min-width: 104px;
    flex-direction: column;
    line-height: 1.5;
}

.hg-telegram-float-copy small {
    color: var(--footer-text);
    font-size: 8px;
}

.hg-telegram-float-copy strong {
    color: var(--paper);
    font-size: 12px;
}

@keyframes hgTelegramPulse {
    0% {
        opacity: .75;
        transform: scale(.92);
    }
    70%,
    100% {
        opacity: 0;
        transform: scale(1.18);
    }
}

@media (max-width: 900px) {
    .hg-product-page > .container,
    .hg-shop-section > .container {
        width: min(100% - 32px, 1180px);
    }

    .hg-shop-hero-inner {
        align-items: flex-start;
    }

    .hg-shop-main > .hg-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.home .hero-section {
        padding: 34px 0 42px;
    }

    body.home .hero-grid {
        min-height: 0;
    }

    body.home .hero-visual {
        display: none;
    }

    .hg-product-page > .container,
    .hg-shop-section > .container {
        width: min(100% - 24px, 1180px);
    }

    .hg-shop-hero {
        padding: 24px 0;
    }

    .hg-shop-hero-mark {
        display: none;
    }

    .hg-shop-hero h1 {
        font-size: 30px;
    }

    .hg-shop-section {
        padding: 24px 0 60px;
    }

    .hg-quick-cart {
        bottom: 10px;
        width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        transform: translateX(-50%);
        opacity: 1;
    }

    .hg-shop-main > .hg-products-grid {
        gap: 10px;
    }

    .hg-products-grid:has(> .hg-product-card:only-child),
    .hg-shop-main > .hg-products-grid:has(> .hg-product-card:only-child) {
        grid-template-columns: minmax(0, 1fr);
        max-width: 320px;
        margin-inline: 0 auto;
    }

    .footer-stats {
        grid-template-columns: 1fr;
    }

    .footer-stats > div,
    .footer-stats > div:nth-child(2) {
        min-height: 72px;
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .075);
    }

    .footer-stats > div:last-child {
        border-bottom: 0;
    }

    .hg-telegram-float {
        left: 12px;
        bottom: 14px;
        min-height: 54px;
        padding: 5px;
        border-radius: 16px;
    }

    .hg-telegram-float-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 13px;
        font-size: 21px;
    }

    .hg-telegram-float-copy {
        display: none;
    }
}

.hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) {
    color: var(--ink-2);
}

.hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) h2 {
    margin: 0 0 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--book-line);
    color: var(--book-primary-dark);
    font-size: 22px;
    line-height: 1.7;
}

.hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) h3 {
    margin: 28px 0 11px;
    color: var(--primary);
    font-size: 17px;
    line-height: 1.8;
}

.hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) p {
    margin: 0 0 15px;
}

.hg-book-description .hg-prose .hg-catalog-description__identity {
    margin: 20px 0 24px;
    padding: 14px 18px;
    border: 1px solid var(--book-line);
    border-radius: 13px;
    background: var(--surface);
}

.hg-book-description .hg-prose .hg-catalog-description__identity p {
    margin: 0;
}

.hg-book-description .hg-prose .hg-catalog-description__identity span {
    display: inline-block;
    margin: 0 8px;
    color: var(--sky);
}

.hg-book-description .hg-prose .hg-catalog-description__note {
    margin-top: 24px;
    padding: 12px 16px;
    border-right: 3px solid var(--sky);
    border-radius: 10px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
}

.hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) ul,
.hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) ol {
    margin: 13px 0 20px;
    padding-right: 24px;
}

.hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) li {
    margin-bottom: 7px;
}

.hg-book-description .hg-prose .hg-book-toc {
    margin-top: 28px;
    overflow: hidden;
    border: 1px solid var(--book-line);
    border-radius: 15px;
    background: var(--surface);
}

.hg-book-description .hg-prose .hg-book-toc summary {
    position: relative;
    padding: 15px 48px 15px 18px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    cursor: pointer;
    list-style: none;
}

.hg-book-description .hg-prose .hg-book-toc summary::-webkit-details-marker {
    display: none;
}

.hg-book-description .hg-prose .hg-book-toc summary::before {
    position: absolute;
    top: 50%;
    right: 18px;
    content: "+";
    color: var(--sky);
    font-size: 21px;
    line-height: 1;
    transform: translateY(-50%);
}

.hg-book-description .hg-prose .hg-book-toc[open] summary::before {
    content: "−";
}

.hg-book-description .hg-prose .hg-book-toc__content {
    max-height: 620px;
    overflow: auto;
    padding: 20px 24px;
    border-top: 1px solid var(--book-line);
    background: var(--paper);
    line-height: 2.05;
}

@media (max-width: 620px) {
    .hg-book-description .hg-prose :is(.hg-publisher-description, .hg-catalog-description) h2 {
        font-size: 19px;
    }

    .hg-book-description .hg-prose .hg-book-toc__content {
        max-height: 480px;
        padding: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hg-telegram-float-icon::before {
        animation: none;
    }
}

@media print {
    .hg-telegram-float {
        display: none !important;
    }
}
