@font-face{
	font-family:"YekanBakh";
	src:url("../fonts/YekanBakh-VF.woff2") format("woff2-variations");
	font-weight:100 1000;
	font-style:normal;
	font-display:swap;
}

:root{
	--hm-bg:#f7f8fb;
	--hm-surface:#ffffff;
	--hm-text:#171923;
	--hm-muted:#6b7280;
	--hm-border:#e7e9ef;
	--hm-primary:#5b4df5;
	--hm-primary-dark:#4435dc;
	--hm-soft:#f0efff;
	--hm-success:#0f9f6e;
	--hm-danger:#d14343;
	--hm-radius:18px;
	--hm-radius-sm:12px;
	--hm-shadow:0 10px 35px rgba(24,31,56,.07);
	--hm-container:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
	margin:0;
	background:var(--hm-bg);
	color:var(--hm-text);
	font-family:"YekanBakh",Tahoma,Arial,sans-serif;
	font-size:15px;
	line-height:1.9;
	-webkit-font-smoothing:antialiased;
}
body,button,input,select,textarea{font-family:"YekanBakh",Tahoma,Arial,sans-serif}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.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:focus{
	position:fixed!important;
	top:12px;right:12px;
	width:auto;height:auto;
	padding:10px 14px;
	margin:0;
	clip:auto;
	background:#111827;color:#fff;
	border-radius:10px;
	z-index:99999;
}
.hm-container{
	width:min(calc(100% - 32px),var(--hm-container));
	margin-inline:auto;
}
.hm-content-narrow{max-width:920px}
.hm-main{padding:36px 0 70px;min-height:62vh}

/* Header */
.hm-header{
	position:sticky;top:0;z-index:100;
	background:rgba(255,255,255,.92);
	backdrop-filter:blur(18px);
	border-bottom:1px solid rgba(231,233,239,.9);
}
.admin-bar .hm-header{top:32px}
.hm-header-inner{
	min-height:76px;
	display:grid;
	grid-template-columns:auto 1fr auto;
	align-items:center;
	gap:28px;
}
.hm-brand{display:flex;align-items:center}
.hm-brand .custom-logo{display:block;max-height:46px;width:auto}
.hm-site-title{font-size:21px;font-weight:850;letter-spacing:-.5px}
.hm-nav ul{
	list-style:none;
	display:flex;
	align-items:center;
	gap:8px;
	margin:0;padding:0;
}
.hm-nav a{
	display:flex;
	align-items:center;
	min-height:42px;
	padding:0 13px;
	border-radius:11px;
	color:#363945;
	font-weight:650;
}
.hm-nav a:hover,.hm-nav .current-menu-item>a{
	background:var(--hm-soft);
	color:var(--hm-primary);
}
.hm-header-actions{display:flex;align-items:center;gap:9px}
.hm-icon-link,.hm-account-link{
	display:flex;align-items:center;gap:8px;
	min-height:42px;
	padding:0 14px;
	border:1px solid var(--hm-border);
	border-radius:12px;
	background:#fff;
	font-weight:700;
}
.hm-icon-link b{
	min-width:22px;height:22px;
	display:grid;place-items:center;
	padding:0 5px;
	border-radius:99px;
	background:var(--hm-primary);
	color:#fff;font-size:11px;
}
.hm-menu-toggle{
	display:none;
	width:44px;height:44px;
	padding:10px;border:0;
	background:var(--hm-soft);
	border-radius:12px;
}
.hm-menu-toggle>span:not(.screen-reader-text){
	display:block;height:2px;
	background:var(--hm-primary);
	margin:5px 0;border-radius:4px;
}

/* Hero */
.hm-hero{
	display:grid;
	grid-template-columns:1.45fr .55fr;
	gap:24px;
	align-items:stretch;
	margin-bottom:34px;
}
.hm-hero-content,.hm-hero-card{
	background:var(--hm-surface);
	border:1px solid var(--hm-border);
	border-radius:26px;
	box-shadow:var(--hm-shadow);
}
.hm-hero-content{padding:58px}
.hm-hero-content h1{
	margin:7px 0 10px;
	font-size:clamp(34px,5vw,58px);
	line-height:1.2;
	letter-spacing:-1.5px;
}
.hm-hero-content p{margin:0;color:var(--hm-muted);font-size:17px;max-width:680px}
.hm-kicker{
	display:inline-block;
	color:var(--hm-primary);
	font-weight:800;
	font-size:13px;
}
.hm-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}
.hm-hero-card{
	padding:28px;
	display:grid;
	grid-template-columns:repeat(2,1fr);
	gap:12px;
	align-content:center;
	background:linear-gradient(145deg,#5b4df5,#7a6cff);
}
.hm-hero-badge{
	min-height:96px;
	display:grid;place-items:center;
	border-radius:20px;
	background:rgba(255,255,255,.15);
	border:1px solid rgba(255,255,255,.22);
	color:#fff;
	font-size:21px;font-weight:900;
}
.hm-hero-badge:last-child{grid-column:1/-1}

/* Buttons */
.hm-btn,.button,button.button,input.button,input[type="submit"],
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.edd-submit,.dokan-btn{
	display:inline-flex!important;
	align-items:center;
	justify-content:center;
	gap:7px;
	min-height:44px;
	padding:0 18px!important;
	border:1px solid transparent!important;
	border-radius:12px!important;
	background:var(--hm-primary)!important;
	color:#fff!important;
	font-weight:800!important;
	box-shadow:none!important;
	text-shadow:none!important;
	line-height:1.2!important;
	transition:.2s ease;
}
.hm-btn:hover,.button:hover,button.button:hover,input.button:hover,input[type="submit"]:hover,
.woocommerce a.button:hover,.woocommerce button.button:hover,
.edd-submit:hover,.dokan-btn:hover{
	background:var(--hm-primary-dark)!important;
	transform:translateY(-1px);
}
.hm-btn-light{
	background:#fff!important;
	color:var(--hm-text)!important;
	border-color:var(--hm-border)!important;
}

/* Content */
.hm-section{
	background:var(--hm-surface);
	border:1px solid var(--hm-border);
	border-radius:24px;
	padding:28px;
	box-shadow:var(--hm-shadow);
	margin-bottom:26px;
}
.hm-section-head{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
	margin-bottom:22px;
}
.hm-section-head h2{margin:2px 0 0;font-size:25px}
.hm-page-header{margin-bottom:24px}
.hm-page-header h1{font-size:clamp(28px,4vw,42px);line-height:1.35;margin:0}
.hm-archive-description{color:var(--hm-muted);margin-top:8px}
.hm-single-card{
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:24px;
	padding:34px;
	box-shadow:var(--hm-shadow);
}
.hm-single-cover{margin:-34px -34px 28px}
.hm-single-cover img{
	display:block;width:100%;
	max-height:520px;object-fit:cover;
	border-radius:24px 24px 0 0;
}
.hm-entry-content>*:first-child{margin-top:0}
.hm-entry-content h2,.hm-entry-content h3{line-height:1.45}
.hm-entry-content a{color:var(--hm-primary);text-decoration:underline}
.hm-entry-content table{width:100%;border-collapse:collapse}
.hm-entry-content td,.hm-entry-content th{padding:12px;border:1px solid var(--hm-border)}
.hm-post-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:18px;
}
.hm-post-card{
	overflow:hidden;
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:18px;
	box-shadow:0 8px 24px rgba(24,31,56,.04);
}
.hm-post-thumb{display:block;aspect-ratio:16/10;background:#eef0f5;overflow:hidden}
.hm-post-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:.35s ease}
.hm-post-card:hover .hm-post-thumb img{transform:scale(1.035)}
.hm-placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#f1f2f6,#e6e8ef)}
.hm-post-body{padding:18px}
.hm-post-body h2{margin:5px 0 8px;font-size:18px;line-height:1.5}
.hm-post-excerpt{color:var(--hm-muted)}
.hm-post-excerpt p{margin:0}
.hm-post-meta{font-size:12px;color:var(--hm-muted)}
.hm-empty-state{
	background:#fff;
	border:1px dashed #d7dbe5;
	border-radius:22px;
	padding:48px 24px;
	text-align:center;
}
.hm-error-code{display:block;font-size:64px;font-weight:950;color:var(--hm-primary);line-height:1}

/* Forms */
input[type="text"],input[type="email"],input[type="tel"],input[type="number"],
input[type="password"],input[type="search"],input[type="url"],select,textarea{
	width:100%;
	min-height:46px;
	padding:10px 13px;
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:12px;
	color:var(--hm-text);
	outline:none;
	box-shadow:none;
}
textarea{min-height:120px}
input:focus,select:focus,textarea:focus{
	border-color:var(--hm-primary);
	box-shadow:0 0 0 3px rgba(91,77,245,.1);
}
label{font-weight:700}
.hm-search-form{display:flex;gap:8px;max-width:560px;margin:20px auto 0}
.hm-search-form label{flex:1}
.hm-search-form button{min-height:46px}

/* Pagination */
.nav-links{display:flex;justify-content:center;gap:8px;margin-top:26px}
.nav-links .page-numbers{
	min-width:42px;height:42px;
	display:grid;place-items:center;
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:11px;
}
.nav-links .current{background:var(--hm-primary);color:#fff;border-color:var(--hm-primary)}

/* WooCommerce */
.woocommerce .woocommerce-breadcrumb{color:var(--hm-muted);margin-bottom:20px}
.woocommerce .woocommerce-result-count{color:var(--hm-muted)}
.woocommerce .woocommerce-ordering select{min-width:220px}
.woocommerce ul.products{
	display:grid!important;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:18px;
	margin:0!important;
}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{
	width:auto!important;
	float:none!important;
	margin:0!important;
	padding:14px!important;
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:18px;
	box-shadow:0 8px 24px rgba(24,31,56,.04);
	overflow:hidden;
}
.woocommerce ul.products li.product a img{
	aspect-ratio:1/1;
	object-fit:cover;
	border-radius:14px;
	margin-bottom:13px!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
	padding:0!important;
	font-size:16px!important;
	line-height:1.65;
	min-height:52px;
}
.woocommerce ul.products li.product .price{
	color:var(--hm-primary)!important;
	font-size:15px!important;
	font-weight:900;
}
.woocommerce span.onsale{
	min-width:auto!important;
	min-height:auto!important;
	padding:4px 10px!important;
	line-height:1.5!important;
	border-radius:99px!important;
	background:var(--hm-danger)!important;
	right:12px!important;
	left:auto!important;
	top:12px!important;
}
.woocommerce div.product{
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:24px;
	padding:26px;
	box-shadow:var(--hm-shadow);
}
.woocommerce div.product div.images img{border-radius:18px}
.woocommerce div.product .product_title{font-size:32px;line-height:1.4}
.woocommerce div.product p.price,.woocommerce div.product span.price{
	color:var(--hm-primary)!important;
	font-weight:900;
}
.woocommerce div.product form.cart .button{min-height:48px}
.woocommerce .quantity .qty{width:72px;min-height:48px}
.woocommerce-tabs,.related.products,.up-sells{margin-top:32px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:var(--hm-border)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
	border-color:var(--hm-border)!important;
	background:#f6f7fa!important;
	border-radius:12px 12px 0 0!important;
}
.woocommerce table.shop_table{
	border:1px solid var(--hm-border)!important;
	border-radius:16px!important;
	overflow:hidden;
	background:#fff;
}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:14px!important}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{
	border-color:var(--hm-border)!important;
	border-radius:18px!important;
	background:#fff;
}
.woocommerce-checkout #payment{
	background:#fff!important;
	border:1px solid var(--hm-border);
	border-radius:18px!important;
}
.woocommerce-checkout #payment ul.payment_methods{border-color:var(--hm-border)!important}
.woocommerce-message,.woocommerce-info,.woocommerce-error{
	border-radius:14px!important;
	border-top:0!important;
	background:#fff!important;
	box-shadow:0 6px 20px rgba(24,31,56,.04);
}
.woocommerce-message{border-right:4px solid var(--hm-success)!important}
.woocommerce-info{border-right:4px solid var(--hm-primary)!important}
.woocommerce-error{border-right:4px solid var(--hm-danger)!important}
.woocommerce-account .woocommerce-MyAccount-navigation{
	background:#fff;
	padding:14px;
	border:1px solid var(--hm-border);
	border-radius:18px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{
	display:block;padding:10px 12px;border-radius:10px;
}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{
	background:var(--hm-soft);color:var(--hm-primary);font-weight:800;
}
.woocommerce-account .woocommerce-MyAccount-content{
	background:#fff;padding:24px;border:1px solid var(--hm-border);border-radius:18px;
}

/* EDD */
.edd_downloads_list,.hm-edd-grid .edd_downloads_list{
	display:grid!important;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:18px;
}
.edd_download,.edd_download_inner{
	width:auto!important;
	float:none!important;
}
.edd_download_inner{
	height:100%;
	padding:14px!important;
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:18px;
	box-shadow:0 8px 24px rgba(24,31,56,.04);
}
.edd_download_image img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px}
.edd_download_title{font-size:17px;line-height:1.6}
.edd_price,.edd_download_purchase_form .edd_price{color:var(--hm-primary);font-weight:900}
#edd_checkout_form_wrap{
	background:#fff;
	padding:26px;
	border:1px solid var(--hm-border);
	border-radius:22px;
}
#edd_checkout_form_wrap fieldset{border-color:var(--hm-border)!important;border-radius:14px}
#edd_checkout_cart{border-collapse:collapse;width:100%;background:#fff}
#edd_checkout_cart th,#edd_checkout_cart td{padding:13px;border:1px solid var(--hm-border)}

/* Dokan */
.dokan-dashboard-wrap,
.dokan-store-wrap,
.dokan-single-store{
	font-family:"YekanBakh",Tahoma,Arial,sans-serif!important;
}
.dokan-dashboard-wrap{
	display:grid!important;
	grid-template-columns:240px minmax(0,1fr);
	gap:20px;
}
.dokan-dashboard .dokan-dash-sidebar{
	width:auto!important;
	float:none!important;
	background:#fff!important;
	border:1px solid var(--hm-border);
	border-radius:18px;
	overflow:hidden;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu{
	background:#fff!important;
	margin:0!important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li{
	border-bottom:1px solid var(--hm-border)!important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a{
	color:var(--hm-text)!important;
	padding:13px 16px!important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover{
	background:var(--hm-soft)!important;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active a,
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover a{
	color:var(--hm-primary)!important;
}
.dokan-dashboard .dokan-dashboard-content{
	width:auto!important;
	float:none!important;
	padding:0!important;
}
.dokan-dashboard-content article,
.dokan-dashboard-content .dashboard-widget,
.dokan-dashboard-content .dokan-form-horizontal,
.dokan-dashboard-content .dokan-product-listing{
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:18px;
	box-shadow:none!important;
}
.dokan-form-control{border-radius:11px!important;border-color:var(--hm-border)!important}
.dokan-table{background:#fff;border-collapse:separate!important;border-spacing:0}
.dokan-table th,.dokan-table td{padding:12px!important;border-color:var(--hm-border)!important}
.dokan-store-wrap{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px}
.dokan-store-sidebar,.dokan-single-store{
	width:auto!important;
	float:none!important;
}
.dokan-store-widget{
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:18px;
	padding:18px;
}
.dokan-store-products-filter-area{
	background:#fff;
	padding:14px;
	border:1px solid var(--hm-border);
	border-radius:16px;
}
.dokan-store-products-ordeby{float:none!important}
.dokan-store-products-ordeby select{min-width:210px}

/* Widgets/footer */
.hm-widget{
	background:#fff;
	border:1px solid var(--hm-border);
	border-radius:18px;
	padding:18px;
	margin-bottom:16px;
}
.widget-title{font-size:17px;margin:0 0 12px}
.hm-footer{
	background:#151723;
	color:#d8dbe7;
	padding:44px 0 22px;
}
.hm-footer-widgets{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:22px;
	margin-bottom:30px;
}
.hm-footer .widget-title{color:#fff}
.hm-footer ul{list-style:none;margin:0;padding:0}
.hm-footer-bottom{
	padding-top:22px;
	border-top:1px solid rgba(255,255,255,.08);
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:20px;
}
.hm-footer-bottom p{margin:0}
.hm-footer-bottom ul{display:flex;gap:16px}

/* WP blocks */
.wp-block-button__link{border-radius:12px;background:var(--hm-primary)}
.wp-block-search__button{border-radius:12px}
.wp-block-table table{border-collapse:collapse}
.wp-block-table td,.wp-block-table th{border-color:var(--hm-border)}
.alignwide{max-width:var(--hm-container);margin-inline:auto}

/* Responsive */
@media (max-width:1024px){
	.hm-header-inner{grid-template-columns:auto auto 1fr}
	.hm-menu-toggle{display:block}
	.hm-nav{
		display:none;
		position:absolute;
		top:76px;right:16px;left:16px;
		padding:12px;
		background:#fff;
		border:1px solid var(--hm-border);
		border-radius:16px;
		box-shadow:var(--hm-shadow);
	}
	.hm-nav.is-open{display:block}
	.hm-nav ul{display:block}
	.hm-nav a{min-height:44px}
	.hm-header-actions{justify-self:end}
	.hm-hero{grid-template-columns:1fr}
	.hm-hero-card{grid-template-columns:repeat(3,1fr)}
	.hm-hero-badge:last-child{grid-column:auto}
	.woocommerce ul.products,.edd_downloads_list,.hm-edd-grid .edd_downloads_list{
		grid-template-columns:repeat(3,minmax(0,1fr));
	}
	.hm-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
	.dokan-dashboard-wrap{grid-template-columns:210px minmax(0,1fr)}
	.dokan-store-wrap{grid-template-columns:220px minmax(0,1fr)}
}
@media (max-width:782px){
	.admin-bar .hm-header{top:46px}
	.hm-header-inner{min-height:68px;gap:10px}
	.hm-nav{top:68px}
	.hm-header-actions .hm-icon-link span,
	.hm-account-link{display:none}
	.hm-account-link{width:42px;padding:0}
	.hm-hero-content{padding:34px 24px}
	.hm-hero-card{padding:18px}
	.woocommerce ul.products,.edd_downloads_list,.hm-edd-grid .edd_downloads_list{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:12px;
	}
	.hm-section{padding:20px}
	.hm-single-card{padding:22px}
	.hm-single-cover{margin:-22px -22px 22px}
	.dokan-dashboard-wrap,.dokan-store-wrap{display:block!important}
	.dokan-dashboard .dokan-dash-sidebar,.dokan-store-sidebar{margin-bottom:18px}
	.dokan-dashboard .dokan-dashboard-content{padding:0!important}
	.hm-footer-widgets{grid-template-columns:1fr}
	.hm-footer-bottom{align-items:flex-start;flex-direction:column}
}
@media (max-width:520px){
	.hm-container{width:min(calc(100% - 20px),var(--hm-container))}
	.hm-main{padding-top:20px}
	.hm-header-actions{gap:5px}
	.hm-icon-link{padding:0 10px}
	.hm-hero-content h1{font-size:34px}
	.hm-hero-card{grid-template-columns:1fr 1fr}
	.hm-hero-badge{min-height:72px}
	.hm-hero-badge:last-child{grid-column:1/-1}
	.hm-post-grid{grid-template-columns:1fr}
	.woocommerce ul.products li.product{padding:10px!important}
	.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px;min-height:auto}
	.woocommerce ul.products li.product .button{width:100%}
	.hm-page-header h1{font-size:28px}
	.woocommerce div.product{padding:16px}
	.woocommerce div.product .product_title{font-size:25px}
	.hm-search-form{flex-direction:column}
}
