/*
Theme Name: Honar Market FA
Theme URI: https://honarmarket.ir
Author: HonarMarket
Author URI: https://honarmarket.ir
Description: قالب حرفه‌ای مارکت‌پلیس فارسی برای فروش فایل دیجیتال و محصولات فیزیکی. سازگار کامل با ووکامرس و المنتور، سبد جانبی، لیست علاقه‌مندی، مقایسه، نمای سریع، فیلتر آژاکسی و فونت‌های فارسی self-hosted.
Version: 4.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: honar-market-fa
Tags: rtl-language-support, e-commerce, woocommerce, elementor, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready, blog, one-column, two-columns
*/

@font-face{font-family:"Vazirmatn";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Vazirmatn-Regular.woff2") format("woff2")}
@font-face{font-family:"Vazirmatn";font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/Vazirmatn-Medium.woff2") format("woff2")}
@font-face{font-family:"Vazirmatn";font-style:normal;font-weight:700;font-display:swap;src:url("assets/fonts/Vazirmatn-Bold.woff2") format("woff2")}
@font-face{font-family:"Vazirmatn";font-style:normal;font-weight:800;font-display:swap;src:url("assets/fonts/Vazirmatn-ExtraBold.woff2") format("woff2")}
@font-face{font-family:"Lalezar";font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/Lalezar-Regular.woff2") format("woff2")}

:root{--paper:#FBF6EC;--paper-2:#F4ECDD;--ink:#17212B;--turq:#0FA3A3;--turq-dark:#0B7E7E;--amber:#F2A03D;--coral:#E4572E;--line:#E7DECD;--card:#fff;--muted:#5a6672;--radius:18px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;direction:rtl}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"Vazirmatn",Tahoma,sans-serif;font-size:16px;line-height:1.9}
h1,h2,h3,h4{line-height:1.5;margin:0 0 .6em}
img{max-width:100%;height:auto}
a{color:var(--turq-dark);text-decoration:none}
::selection{background:var(--amber);color:var(--ink)}
.hm-container{max-width:1240px;margin-inline:auto;padding-inline:20px;position:relative;z-index:2}
.hm-display,.hm-h2,.hm-h3,.hm-btn,.hm-logo-txt,.hm-cat figcaption b,.woocommerce-loop-product__title,.hm-stat b,.hm-w-amount,.hm-tab,.hm-404 .big,.hm-win-title{font-family:"Lalezar","Vazirmatn",sans-serif;font-weight:400}
mark{background:linear-gradient(transparent 58%,rgba(242,160,61,.6) 0);color:inherit;padding:0 .12em}
.screen-reader-text{position:absolute!important;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}
.hm-skip{position:absolute;top:-50px;right:12px;background:var(--ink);color:#fff;padding:8px 16px;border-radius:8px;z-index:999}
.hm-skip:focus{top:12px}

/* صفحه سبد خرید */
.hm-cart-page{padding:40px 0 60px}
.hm-cart-page h1{margin-bottom:24px}
.hm-cart-back{display:inline-flex;align-items:center;gap:8px;background:var(--turq);color:#fff!important;border:2px solid var(--ink);border-radius:12px;padding:10px 22px;font-weight:800;box-shadow:3px 3px 0 var(--ink);margin-bottom:20px;transition:.18s}
.hm-cart-back:hover{background:var(--ink);transform:translate(1px,1px);box-shadow:1px 1px 0 var(--ink)}
.woocommerce-cart-form table.shop_table{width:100%;border:2px solid var(--ink)!important;border-radius:16px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden;background:#fff}
.woocommerce-cart-form table.shop_table th{background:var(--ink);color:#fff;padding:14px 16px;font-weight:700}
.woocommerce-cart-form table.shop_table td{padding:16px;border-top:1px solid var(--line);vertical-align:middle}
.woocommerce-cart-form .product-remove a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:2px solid var(--coral);border-radius:50%;color:var(--coral)!important;font-size:18px;font-weight:800;line-height:1;text-decoration:none!important}
.woocommerce-cart-form .product-remove a:hover{background:var(--coral);color:#fff!important}
.woocommerce-cart-form .product-thumbnail img{width:72px;height:72px;object-fit:contain;object-position:center;border-radius:10px;border:2px solid var(--ink);background:var(--paper-2)}
.woocommerce-cart-form .quantity input.qty{width:64px;padding:8px;border:2px solid var(--ink);border-radius:10px;text-align:center}
.woocommerce-cart-form button[name="update_cart"]{background:var(--paper-2);color:var(--ink);border:2px solid var(--ink);border-radius:12px;padding:10px 20px;font-weight:800;cursor:pointer}
.cart_totals{background:#fff;border:2px solid var(--ink);border-radius:16px;padding:24px;margin-top:24px}
.cart_totals h2{font-family:"Lalezar",sans-serif;margin-bottom:16px}
.cart_totals .checkout-button{display:block;text-align:center;background:var(--amber);color:var(--ink)!important;border:2px solid var(--ink);border-radius:12px;padding:14px;font-weight:800;box-shadow:3px 3px 0 var(--ink);margin-top:16px}
.cart_totals .checkout-button:hover{background:var(--ink);color:#fff!important}
.hm-badge-dl{position:absolute;top:12px;right:12px;z-index:5;background:var(--turq);color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:999px;border:1.5px solid var(--ink);box-shadow:2px 2px 0 var(--ink)}
.woocommerce ul.products li.product{position:relative}

/* دکمه‌ها */
.hm-btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;background:var(--turq);color:#fff;border:2px solid var(--ink);border-radius:14px;padding:11px 22px;font-size:15px;cursor:pointer;box-shadow:4px 4px 0 var(--ink);transition:.18s}
.hm-btn:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink);color:#fff;background:var(--turq-dark)}
.hm-btn-amber{background:var(--amber);color:var(--ink)}
.hm-btn-light{background:#fff;color:var(--ink)}
.hm-btn-ghost{background:transparent;color:var(--ink)}
.hm-btn-sm{padding:7px 15px;font-size:13px;border-radius:11px}
.hm-btn-block{width:100%}
.hm-link{font-weight:700;color:var(--turq-dark)}
.hm-link:hover{color:var(--coral)}

/* هدر */
.hm-header{position:sticky;top:0;z-index:100;background:rgba(251,246,236,.93);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);transition:box-shadow .3s}
.hm-header.is-stuck{box-shadow:0 14px 30px -20px rgba(23,33,43,.4)}
.hm-header-in{display:flex;align-items:center;gap:16px;height:76px}
.hm-logo{display:flex;align-items:center;gap:10px;color:var(--ink);flex-shrink:0}
.hm-logo-mark{width:44px;height:44px;display:grid;place-items:center;background:var(--turq);color:#fff;font-family:"Lalezar";font-size:22px;border:2px solid var(--ink);border-radius:12px;transform:rotate(-6deg);box-shadow:3px 3px 0 var(--ink);transition:.25s}
.hm-logo:hover .hm-logo-mark{transform:rotate(6deg) scale(1.05)}
.hm-logo-txt{font-size:22px;line-height:1.1}
.hm-logo-txt small{display:block;font-family:"Vazirmatn";font-size:11px;color:var(--muted);letter-spacing:.03em}
.hm-logo-custom img,.custom-logo-link img{max-height:52px;width:auto;height:auto;display:block}
.hm-nav ul{display:flex;gap:2px;list-style:none;margin:0;padding:0}
.hm-nav a{display:block;padding:8px 14px;border-radius:10px;color:var(--ink);font-weight:700;font-size:14px;position:relative}
.hm-nav a::after{content:"";position:absolute;bottom:4px;right:14px;left:14px;height:3px;border-radius:3px;background:var(--turq);transform:scaleX(0);transform-origin:right;transition:.25s}
.hm-nav a:hover::after{transform:scaleX(1)}
.hm-header .hm-search{flex:1;max-width:380px;margin-inline:auto}
.hm-search-form{display:flex;border:2px solid var(--ink);border-radius:999px;background:#fff;overflow:hidden;transition:.2s}
.hm-search-form:focus-within{box-shadow:4px 4px 0 var(--turq)}
.hm-search-form input[type=search]{flex:1;border:0;outline:0;padding:10px 18px;font-family:inherit;font-size:14px;background:transparent;min-width:0}
.hm-search-form button{border:0;background:var(--turq);color:#fff;padding:0 16px;cursor:pointer}
.hm-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.hm-chip-wallet{display:inline-flex;align-items:center;gap:8px;background:#E0F3F1;border:2px solid var(--turq);color:var(--turq-dark);border-radius:999px;padding:6px 14px;font-size:13px;font-weight:800}
.hm-chip-wallet .dot{width:9px;height:9px;border-radius:50%;background:var(--turq);animation:hm-pulse 2s infinite}
@keyframes hm-pulse{0%{box-shadow:0 0 0 0 rgba(15,163,163,.5)}70%{box-shadow:0 0 0 8px rgba(15,163,163,0)}100%{box-shadow:0 0 0 0 rgba(15,163,163,0)}}
.hm-cart{position:relative;display:grid;place-items:center;width:44px;height:44px;border:2px solid var(--ink);border-radius:12px;background:#fff;color:var(--ink)}
.hm-cart:hover{background:var(--amber)}
.hm-cart-n{position:absolute;top:-8px;right:-8px;min-width:20px;height:20px;display:grid;place-items:center;background:var(--coral);color:#fff;border-radius:999px;font-size:11px;font-weight:800;padding:0 5px}
.hm-burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:8px}
.hm-burger span{width:24px;height:3px;background:var(--ink);border-radius:3px;transition:.25s}
.hm-burger.active span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.hm-burger.active span:nth-child(2){opacity:0}
.hm-burger.active span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}
.hm-drawer{position:fixed;top:0;bottom:0;right:0;width:min(320px,85vw);background:var(--ink);color:var(--paper);padding:90px 26px 26px;z-index:99;transform:translateX(105%);transition:transform .35s;overflow:auto}
.hm-drawer.open{transform:none}
.hm-drawer ul{list-style:none;margin:0;padding:0}
.hm-drawer a{display:block;color:var(--paper);font-family:"Lalezar";font-size:22px;padding:10px 0;border-bottom:1px dashed rgba(255,255,255,.15)}
.hm-drawer a:hover{color:var(--amber)}
.hm-drawer .hm-drawer-extra{margin-top:24px;display:grid;gap:10px}

/* هیرو */
.hm-hero{position:relative;overflow:hidden;background:radial-gradient(620px 420px at 12% 8%,rgba(15,163,163,.16),transparent 60%),radial-gradient(520px 380px at 90% 92%,rgba(242,160,61,.18),transparent 60%),var(--paper)}
.hm-hero::before{content:"";position:absolute;inset:0;background-image:radial-gradient(var(--line) 1.5px,transparent 1.5px);background-size:24px 24px;mask-image:linear-gradient(180deg,#000,transparent 85%);opacity:.6}
.hm-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:44px;align-items:center;padding:72px 0 84px}
.hm-badge{display:inline-block;background:#fff;border:2px solid var(--ink);border-radius:999px;padding:6px 18px;font-size:13px;font-weight:800;box-shadow:3px 3px 0 var(--amber)}
.hm-display{font-size:clamp(32px,4.6vw,56px);line-height:1.35;margin:20px 0 14px}
.hm-lead{font-size:17px;color:var(--muted);max-width:52ch;margin:0 0 26px}
.hm-hero-search{max-width:520px}
.hm-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.hm-chip{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--line);border-radius:999px;padding:7px 16px;font-size:13.5px;font-weight:700;color:var(--ink);transition:.2s}
.hm-chip:hover{transform:translateY(-2px);border-color:var(--turq);background:#E0F3F1}
.hm-chip .hm-dot{width:9px;height:9px;border-radius:50%;background:var(--turq)}
.hm-hero-art{position:relative;height:470px}
.hm-float{position:absolute;width:225px;aspect-ratio:1;border-radius:18px;overflow:hidden;border:2px solid var(--ink);box-shadow:9px 9px 0 rgba(23,33,43,.14);background:#fff;animation:hm-float 6s ease-in-out infinite;animation-delay:var(--d,0s)}
.hm-float img{width:100%;height:100%;object-fit:cover;display:block}
.hm-ph{display:block;width:100%;height:100%}
.hm-ph-1,.hm-cat.hm-ph-1{background:linear-gradient(135deg,#0FA3A3,#7ADBD3)}
.hm-ph-2,.hm-cat.hm-ph-2{background:linear-gradient(135deg,#F2A03D,#F8CE93)}
.hm-ph-3,.hm-cat.hm-ph-3{background:linear-gradient(135deg,#E4572E,#F2A48B)}
.hm-ph-4,.hm-cat.hm-ph-4{background:linear-gradient(135deg,#22303C,#5D7183)}
.f1{top:2%;right:6%}.f2{top:20%;left:2%;width:262px;z-index:2}.f3{bottom:4%;right:14%}.f4{bottom:0;left:20%;width:198px}
@keyframes hm-float{0%,100%{translate:0 0}50%{translate:0 -14px}}

/* نوار متحرک */
.hm-ticker{background-color:var(--ink);background-size:cover;background-position:center;color:var(--paper);overflow:hidden;border-block:2px solid var(--ink)}
.hm-ticker-track{display:flex;width:max-content;animation:hm-ticker 42s linear infinite}
.hm-ticker-track span{display:inline-flex;align-items:center;gap:34px;padding:11px 17px;font-family:"Lalezar";font-size:18px;white-space:nowrap}
.hm-ticker-track i{font-style:normal;color:var(--amber)}
.hm-ticker-track a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:8px;transition:color .2s}
.hm-ticker-track a:hover{color:var(--amber)}
.hm-ticker:hover .hm-ticker-track{animation-play-state:paused}
@keyframes hm-ticker{from{transform:translateX(0)}to{transform:translateX(50%)}}

/* سکشن‌ها */
.hm-sec{padding:82px 0}
.hm-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:38px;flex-wrap:wrap}
.hm-overline{display:inline-block;background:var(--ink);color:var(--paper);border-radius:999px;padding:4px 16px;font-size:12px;font-weight:800;margin-bottom:10px}
.hm-h2{font-size:clamp(26px,3.4vw,40px);margin:0}
.hm-sub{color:var(--muted);margin:8px 0 0;max-width:60ch}
.hm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.hm-stat{background:#fff;border:2px solid var(--ink);border-radius:var(--radius);padding:22px;text-align:center;box-shadow:5px 5px 0 rgba(23,33,43,.12);transition:.25s}
.hm-stat:hover{transform:translateY(-5px);box-shadow:5px 9px 0 rgba(15,163,163,.3)}
.hm-stat b{display:block;font-size:34px;color:var(--turq-dark);line-height:1.2}
.hm-stat span{font-size:13px;color:var(--muted);font-weight:700}

/* دسته‌ها */
.hm-cats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hm-cats--cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hm-cats--cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm-cats--cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hm-cats--cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.hm-cats--cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
/* ستون رنگی + عکس محصول — مثل نمونه: پس‌زمینه رنگی پر + محصول وسط بدون کادر سفید */
.hm-cat{position:relative;display:block;border-radius:18px;overflow:hidden;border:2px solid var(--ink);aspect-ratio:4/3;background:var(--paper-2);transition:.25s;text-decoration:none;color:inherit}
.hm-cat-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:22px 20px 52px;z-index:1;pointer-events:none}
.hm-cat-product,.hm-cat img.hm-cat-product{
  width:auto;max-width:70%;max-height:68%;height:auto;
  object-fit:contain;object-position:center;display:block;
  background:transparent!important;border:0!important;border-radius:0;box-shadow:none;
  filter:drop-shadow(0 10px 18px rgba(23,33,43,.22));
  transition:transform .4s ease,filter .4s ease;
}
/* بدون خط‌چین — ستون یکرنگ یکپارچه */
.hm-cat-placeholder{display:none}
.hm-cat img,.hm-cat .hm-cat-product,.hm-cat .hm-cat-stage img{
  background:transparent!important;background-color:transparent!important;
  border:0!important;outline:0!important;box-shadow:none!important;
}
.hm-cat:hover{transform:translateY(-5px);box-shadow:7px 7px 0 var(--turq)}
.hm-cat:hover .hm-cat-product{transform:scale(1.06) translateY(-4px);filter:drop-shadow(0 14px 22px rgba(23,33,43,.28))}
.hm-cat figcaption{position:absolute;inset-inline:0;bottom:0;padding:28px 14px 12px;background:linear-gradient(transparent,rgba(23,33,43,.82));color:#fff;display:flex;justify-content:space-between;align-items:center;gap:8px;z-index:2}
.hm-cat figcaption b{font-size:15px;line-height:1.3}
.hm-cat figcaption em{font-style:normal;background:var(--turq);border-radius:999px;padding:2px 10px;font-size:11px;font-weight:800;white-space:nowrap}

/* محصولات ووکامرس */
ul.products{display:grid;grid-template-columns:repeat(var(--hm-cols,4),1fr);gap:22px;margin:0;padding:0;list-style:none}
ul.products.columns-1{--hm-cols:1}
ul.products.columns-2{--hm-cols:2}
ul.products.columns-3{--hm-cols:3}
ul.products.columns-4{--hm-cols:4}
ul.products.columns-5{--hm-cols:5}
ul.products.columns-6{--hm-cols:6}
ul.products li.product{background:var(--card);border:2px solid var(--ink);border-radius:var(--radius);overflow:hidden;position:relative;margin:0!important;padding:0!important;width:auto!important;float:none!important;display:flex;flex-direction:column;transition:.25s}
ul.products li.product:hover{transform:translateY(-6px);box-shadow:9px 9px 0 rgba(15,163,163,.28)}
/* کادر استاندارد تصویر محصول — نمایش کامل و باکیفیت (بدون برش) */
ul.products li.product .woocommerce-loop-product__link,
ul.products li.product > a:first-child{display:block;background:var(--paper-2);aspect-ratio:4/3;overflow:hidden;line-height:0}
ul.products li.product a img,
ul.products li.product img,
ul.products li.product .attachment-woocommerce_thumbnail,
ul.products li.product .wp-post-image{
	width:100%!important;height:100%!important;aspect-ratio:4/3!important;
	object-fit:contain!important;object-position:center!important;
	display:block!important;margin:0!important;max-width:100%!important;
	background:var(--paper-2);transition:transform .5s
}
ul.products li.product:hover a img{transform:scale(1.03)}
/* تصاویر مرتبط / آپسل / کراس‌سل و بلوک‌های دیگر فروشگاه */
.related ul.products li.product a img,
.upsells ul.products li.product a img,
.cross-sells ul.products li.product a img,
.hm-shop ul.products li.product a img,
.woocommerce .products ul li.product a img{object-fit:contain!important;aspect-ratio:4/3!important;background:var(--paper-2)}
.woocommerce-loop-product__title{font-size:19px;color:var(--ink);padding:14px 16px 2px}
ul.products .price{color:var(--turq-dark);font-weight:800;font-size:16px;padding:2px 16px;margin:0}
ul.products .star-rating{margin:4px 16px;color:var(--amber)}
ul.products .button,.hm-shop a.button,.hm-shop button.button,.woocommerce button.button.alt{background:var(--turq)!important;color:#fff!important;border:2px solid var(--ink)!important;border-radius:12px!important;font-weight:800;font-family:"Lalezar";box-shadow:3px 3px 0 var(--ink);transition:.18s}
ul.products .button{margin:14px 16px 18px;text-align:center}
ul.products .button:hover,.hm-shop a.button:hover,.woocommerce button.button.alt:hover{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ink)}
ul.products .onsale,.hm-shop span.onsale{position:absolute;top:12px;right:12px;z-index:2;background:var(--coral)!important;color:#fff!important;border-radius:999px!important;padding:4px 14px!important;font-weight:800;font-size:12px;min-height:0;min-width:0;line-height:1.6;margin:0}
.hm-empty{background:#fff;border:2px dashed var(--turq);border-radius:var(--radius);padding:40px;text-align:center;color:var(--muted)}

/* ویژگی‌ها — ستون‌ها با کلاس (بدون اینلاین) تا مدیاکوئری موبایل درست کار کند */
.hm-features{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background-color:#fff;background-size:cover;background-position:center;background-repeat:no-repeat;border:2px solid var(--ink);border-radius:16px;overflow:hidden}
.hm-features--cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.hm-features--cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm-features--cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.hm-features--cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.hm-features--cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.hm-feature{padding:26px 24px;border-right:1px solid var(--line);display:flex;gap:14px;align-items:flex-start;transition:background .25s;min-width:0}
.hm-feature:first-child{border-right:0}
.hm-feature:hover{background:var(--paper-2)}
.hm-feature-ico{width:42px;height:42px;min-width:42px;display:grid;place-items:center;border-radius:10px;background:var(--paper-2);border:1px solid var(--line);color:var(--fc,var(--turq));flex-shrink:0;font-size:18px;line-height:1}
.hm-feature-ico svg{width:20px;height:20px;fill:currentColor}
.hm-feature-ico i,.hm-feature-ico .e-font-icon-svg{font-size:18px;width:1em;height:1em;display:block}
.hm-feature h3{font-size:16px;margin:0 0 4px;word-break:break-word}
.hm-feature p{margin:0;font-size:13px;color:var(--muted);word-break:break-word}
a.hm-feature{text-decoration:none;color:inherit;cursor:pointer}
.hm-feature-body{display:block;min-width:0;flex:1}

/* کد HTML حرفه‌ای */
.hm-html-box{min-width:0}

/* بنر فروشندگان */
.hm-band-wrap{max-width:1100px;margin-inline:auto;width:100%}
.hm-band{background:var(--ink);color:var(--paper);border-radius:20px;padding:28px 32px;position:relative;overflow:hidden;border:2px solid var(--ink);box-shadow:6px 6px 0 rgba(23,33,43,.12)}
.hm-band::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(15,163,163,.3) 1.5px,transparent 1.5px);background-size:20px 20px;opacity:.4}
.hm-band::after{content:"بفروشید";position:absolute;bottom:-18px;left:14px;font-family:"Lalezar";font-size:72px;color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.07);pointer-events:none}
.hm-band-grid{display:grid;grid-template-columns:1.4fr auto;gap:20px;align-items:center;position:relative;z-index:2}
.hm-band h2{font-size:clamp(20px,2.6vw,28px);margin:0 0 6px}
.hm-band p{color:#B9C4CC;margin:0;font-size:14px;line-height:1.7}
.hm-band-action{justify-self:end}
.hm-band .hm-btn{white-space:nowrap;box-shadow:3px 3px 0 rgba(0,0,0,.25)}

/* وبلاگ */
.hm-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hm-post{background:#fff;border:2px solid var(--ink);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.25s}
.hm-post:hover{transform:translateY(-5px);box-shadow:8px 8px 0 rgba(242,160,61,.4)}
.hm-post-img img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.hm-post-body{padding:20px 22px 24px;display:flex;flex-direction:column;flex:1}
.hm-post-date{font-size:12px;color:var(--muted);font-weight:700}
.hm-post-title{font-size:20px;margin:6px 0 8px}
.hm-post-title a{color:var(--ink)}
.hm-post p{font-size:14px;color:var(--muted);flex:1}

/* فوتر */
.hm-footer{background:var(--ink);color:#C7D1D8;margin-top:90px;position:relative;z-index:2}
.hm-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:34px;padding:64px 0 34px}
.hm-footer .hm-logo-txt{color:#fff}
.hm-footer h4{font-family:"Lalezar";color:#fff;font-size:19px;margin-bottom:14px}
.hm-footer a{color:#C7D1D8}
.hm-footer a:hover{color:var(--amber)}
.hm-footer ul{list-style:none;margin:0;padding:0}
.hm-footer li{margin-bottom:9px}
.hm-footer-bar{border-top:1px solid rgba(255,255,255,.12);padding:18px 0;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:13px}
.hm-usdt-tag{display:inline-flex;align-items:center;gap:8px;background:rgba(15,163,163,.15);border:1px solid var(--turq);color:#7ADBD3;border-radius:999px;padding:4px 14px;font-weight:700;margin-top:16px}

/* کیف پول */
.hm-wallet{max-width:1000px;margin-inline:auto}
.hm-w-balance{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:linear-gradient(135deg,var(--turq),var(--turq-dark));color:#fff;border:2px solid var(--ink);border-radius:22px;padding:32px 36px;box-shadow:8px 8px 0 rgba(23,33,43,.18);position:relative;overflow:hidden}
.hm-w-balance::after{content:"USDT";position:absolute;left:18px;bottom:-34px;font-family:"Space Grotesk";font-weight:700;font-size:120px;color:rgba(255,255,255,.1);pointer-events:none}
.hm-w-label{display:block;font-size:12.5px;opacity:.85;font-weight:700}
.hm-w-amount{font-size:clamp(34px,4vw,50px);line-height:1.2}
.hm-w-amount small{font-size:.45em;font-family:"Vazirmatn";font-weight:800}
.hm-w-grid{display:grid;grid-template-columns:1fr 1.25fr;gap:22px;margin-top:24px;align-items:start}
.hm-box{background:#fff;border:2px solid var(--ink);border-radius:var(--radius);padding:28px}
.hm-box h3{font-size:22px}
.hm-address{display:flex;align-items:center;gap:10px;background:var(--paper);border:2px dashed var(--turq);border-radius:12px;padding:12px 14px;margin:14px 0;direction:ltr}
.hm-address code{flex:1;word-break:break-all;font-size:13px;background:none;color:var(--ink)}
.hm-copy{border:2px solid var(--ink);background:var(--amber);border-radius:9px;padding:5px 14px;font-weight:800;cursor:pointer;font-family:inherit;transition:.2s}
.hm-copy.copied,.hm-copy:hover{background:var(--turq);color:#fff}
.hm-field{display:block;margin-bottom:14px;font-size:13px;font-weight:700}
.hm-field input,textarea,select{width:100%;border:2px solid var(--ink);border-radius:12px;padding:11px 14px;font-family:inherit;font-size:14px;background:#fff;outline:0;margin-top:4px}
.hm-field input:focus,textarea:focus{box-shadow:3px 3px 0 var(--turq)}
.hm-hint{font-size:12.5px;color:var(--muted);margin:10px 0 0}
table.hm-tx{width:100%;border-collapse:collapse;font-size:13.5px}
table.hm-tx th{text-align:right;font-size:12px;color:var(--muted);border-bottom:2px solid var(--line);padding:8px 6px}
table.hm-tx td{padding:10px 6px;border-bottom:1px solid var(--line)}
.hm-pill{border-radius:999px;padding:3px 12px;font-size:11.5px;font-weight:800;white-space:nowrap}
.hm-pill.pending{background:#FFF3D6;color:#9A6B00}
.hm-pill.approved{background:#DFF5E7;color:#1B7A3D}
.hm-pill.rejected{background:#FDE3DC;color:#B3261E}
.hm-notice{border:2px solid var(--ink);border-radius:14px;padding:14px 18px;margin:18px 0;font-weight:700}
.hm-notice-ok{background:#DFF5E7}
.hm-notice-err{background:#FDE3DC}

/* صفحات داخلی ووکامرس */
.hm-shop{padding-top:40px}
.hm-shop .woocommerce-breadcrumb{font-size:12.5px;color:var(--muted);margin-bottom:20px}
.hm-shop div.product{display:flex;gap:40px;flex-wrap:wrap}
.hm-shop div.product .woocommerce-product-gallery{flex:1 1 420px;max-width:520px}
.hm-shop div.product .woocommerce-product-gallery img{border-radius:var(--radius);border:2px solid var(--ink);object-fit:contain;background:var(--paper-2);width:100%;height:auto}
.woocommerce div.product div.images img{object-fit:contain;background:var(--paper-2)}
.hm-shop div.product .summary{flex:1 1 380px}
.hm-shop .product_title{font-size:clamp(26px,3vw,38px)}
.hm-shop .summary .price{font-size:26px;color:var(--turq-dark);font-weight:800}
.hm-shop .woocommerce-tabs .panel{background:#fff;border:2px solid var(--ink);border-radius:var(--radius);padding:26px}
.hm-shop .cart_totals{background:#fff;border:2px solid var(--ink);border-radius:var(--radius);padding:24px}
.woocommerce-message,.woocommerce-info{border-top-color:var(--turq)}

/* وبلاگ تکی */
.hm-single{max-width:820px;padding:56px 20px}
.hm-single-meta{color:var(--muted);font-size:13px;margin-bottom:22px}
.hm-single-img{border-radius:var(--radius);border:2px solid var(--ink);width:100%;margin-bottom:26px}
.hm-comments{margin-top:50px;background:#fff;border:2px solid var(--ink);border-radius:var(--radius);padding:28px}
.comment-list{list-style:none;padding:0}
.comment-list li{border-bottom:1px solid var(--line);padding:14px 0}

/* ۴۰۴ */
.hm-404{text-align:center;padding:90px 20px}
.hm-404 .big{font-size:130px;line-height:1;color:var(--turq);text-shadow:0 0 40px rgba(15,163,163,.4)}

/* ورود اسکرول */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease}
.reveal.in{opacity:1;transform:none}
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}.d4{transition-delay:.32s}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}

/* واکنش‌گرا */
@media (max-width:1080px){
  .hm-nav{display:none}.hm-burger{display:flex}.hm-header .hm-search{display:none}
  ul.products{--hm-cols:3!important}
  .hm-cats{grid-template-columns:repeat(3,1fr)}
  .hm-stats,
  .hm-features,
  .hm-features--cols-3,
  .hm-features--cols-4,
  .hm-features--cols-5,
  .hm-features--cols-6{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-feature{border-right:1px solid var(--line);border-top:0}
  .hm-feature:nth-child(2n){border-right:0}
  .hm-feature:nth-child(n+3){border-top:1px solid var(--line)}
  .hm-hero-grid{grid-template-columns:1fr;padding:52px 0 60px}
  .hm-hero-art{height:400px;max-width:560px}
}
@media (max-width:780px){
  ul.products{--hm-cols:2!important}
  .hm-blog-grid{grid-template-columns:repeat(2,1fr)}
  .hm-cats{grid-template-columns:repeat(2,1fr)}
  .hm-w-grid,.hm-band-grid,.hm-footer-grid{grid-template-columns:1fr}
}
@media (max-width:480px){
  ul.products{--hm-cols:2!important;gap:14px}
  .hm-stats,
  .hm-features,
  .hm-features[class*="hm-features--cols-"]{grid-template-columns:1fr}
  .hm-feature{border-right:0;border-top:1px solid var(--line);padding:20px 18px}
  .hm-feature:first-child{border-top:0}
  .hm-feature-ico{width:38px;height:38px;min-width:38px;font-size:16px}
  .hm-feature-ico svg{width:18px;height:18px}
  .hm-box,.hm-band{padding:22px}
}
/* ═══════════════════════════════════════════
   v4.0.0 — Professional polish (additive)
   ═══════════════════════════════════════════ */

/* Accessibility: visible focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.hm-btn:focus-visible {
	outline: 3px solid var(--turq);
	outline-offset: 2px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Page & single refinements */
.hm-page-header { text-align: center; margin-bottom: 32px; }
.hm-page-content,
.hm-single-body { line-height: 1.85; font-size: 16px; }
.hm-page-content > *:first-child,
.hm-single-body > *:first-child { margin-top: 0; }
.hm-single-header { margin-bottom: 8px; }
.hm-single-thumb { margin: 0 0 28px; }
.hm-single-footer {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
	font-size: 14px;
	color: var(--muted);
}
.hm-tags-label { font-weight: 700; margin-left: 6px; color: var(--ink); }

/* Post navigation */
.hm-post-nav { margin: 48px 0 24px; }
.hm-post-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.hm-post-nav a {
	display: block;
	padding: 16px 18px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: #fff;
	transition: .2s;
}
.hm-post-nav a:hover { background: var(--amber); }
.hm-nav-label {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	margin-bottom: 4px;
}
.hm-nav-title { font-weight: 800; font-size: 15px; }

/* 404 refinements */
.hm-404-inner { max-width: 560px; margin: 0 auto; }
.hm-404-code {
	font-family: "Lalezar", cursive;
	font-size: clamp(90px, 18vw, 140px);
	line-height: 1;
	color: var(--turq);
	text-shadow: 0 0 40px rgba(15, 163, 163, .35);
	margin: 0 0 8px;
}
.hm-404-lead { color: var(--muted); margin: 12px 0 28px; font-size: 16px; }
.hm-404-search { max-width: 460px; margin: 0 auto 28px; }
.hm-404-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin: 0;
}
.hm-btn-outline {
	background: transparent !important;
	color: var(--ink) !important;
	border: 2px solid var(--ink);
}
.hm-btn-outline:hover {
	background: var(--ink) !important;
	color: #fff !important;
}

/* Empty states */
.hm-empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.hm-empty-search { max-width: 460px; margin: 0 auto 40px; }
.hm-archive-desc { color: var(--muted); margin-top: 8px; font-size: 15px; }
.hm-search-count { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* Page links (multipage posts) */
.hm-page-links {
	margin-top: 28px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 14px;
}
.hm-page-links-title { font-weight: 700; margin-left: 8px; }
.hm-page-links a {
	display: inline-block;
	padding: 4px 10px;
	border: 1.5px solid var(--ink);
	border-radius: 8px;
	margin: 0 3px;
	font-weight: 700;
}
.hm-page-links a:hover { background: var(--turq); color: #fff; border-color: var(--turq); }

/* Comments polish */
.hm-comments-closed { color: var(--muted); font-size: 14px; }
.hm-comments .comment-reply-title { font-size: 1.25rem; margin-bottom: 16px; }
.hm-comments .comment-form input[type="text"],
.hm-comments .comment-form input[type="email"],
.hm-comments .comment-form input[type="url"],
.hm-comments .comment-form textarea {
	width: 100%;
	border: 2px solid var(--ink);
	border-radius: 12px;
	padding: 10px 14px;
	font-family: inherit;
	font-size: 14px;
	background: #fff;
}
.hm-comments .comment-form .form-submit input {
	background: var(--turq);
	color: #fff;
	border: 2px solid var(--ink);
	border-radius: 12px;
	padding: 10px 22px;
	font-weight: 800;
	cursor: pointer;
	font-family: inherit;
}
.hm-comments .comment-form .form-submit input:hover { background: var(--amber); color: var(--ink); }

/* Elementor page spacing consistency */
.hm-page-elementor { padding-top: 40px; padding-bottom: 40px; }
.hm-fullwidth .hm-page-elementor { padding-top: 0; }

@media (max-width: 780px) {
	.hm-post-nav .nav-links { grid-template-columns: 1fr; }
	.hm-404-actions { flex-direction: column; align-items: center; }
}
