/*
Theme Name: همکار نت
Theme URI: https://hamkar.net
Author: Hamkar Net
Description: قالب اختصاصی فروشگاه همکار نت — تجهیزات دوربین مداربسته، دزدگیر و شبکه. طراحی الهام‌گرفته از سبک فروشگاه‌های مدرن ایرانی با هدر بنفش چسبان، اسلایدر، شمارش‌معکوس تخفیف و کاروسل محصولات.
Version: 2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hamkar-net
Tags: e-commerce, woocommerce, rtl, custom-menu
*/

:root{
  --hn-purple-900:#2d1b4e;
  --hn-purple-700:#4a2d7d;
  --hn-purple-600:#5c34a3;
  --hn-purple-500:#7440c9;
  --hn-purple-100:#f1ebfb;
  --hn-gold:#f5a623;
  --hn-gold-dark:#d98c0f;
  --hn-red:#e0344c;
  --hn-ink:#1c1730;
  --hn-gray-700:#5a5568;
  --hn-gray-300:#e4e0ee;
  --hn-gray-100:#f7f6fb;
  --hn-white:#ffffff;
  --hn-radius:14px;
  --hn-radius-sm:8px;
  --hn-shadow:0 6px 24px rgba(45,27,78,.10);
  --hn-shadow-lg:0 16px 40px rgba(45,27,78,.16);
  --hn-max:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden;width:100%}
body{
  overflow-x:hidden;
  max-width:100vw;
  margin:0;
  font-family:"Vazirmatn","IRANSansX",Tahoma,system-ui,sans-serif;
  background:var(--hn-gray-100);
  color:var(--hn-ink);
  direction:rtl !important;
  text-align:right;
  line-height:1.8;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul{margin:0;padding:0;list-style:none}
button{font-family:inherit;cursor:pointer}
.hn-wrap{max-width:var(--hn-max);margin:0 auto;padding:0 20px}
.hn-btn{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--hn-purple-600);color:#fff;
  padding:11px 22px;border-radius:999px;border:none;
  font-weight:700;font-size:14px;transition:.2s;
}
.hn-btn:hover{background:var(--hn-purple-700);transform:translateY(-1px)}
.hn-btn.gold{background:var(--hn-gold)}
.hn-btn.gold:hover{background:var(--hn-gold-dark)}
.hn-section-title{
  display:flex;align-items:center;justify-content:space-between;
  margin:44px 0 20px;
}
.hn-section-title h2{font-size:22px;margin:0;font-weight:800}
.hn-section-title .more{font-size:13px;color:var(--hn-purple-600);font-weight:700}

/* ===== Sticky header ===== */
.hn-header{
  position:sticky;top:0;z-index:200;
  background:var(--hn-purple-900);
  box-shadow:var(--hn-shadow);
}
.hn-header-inner{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;height:78px}
.hn-header-inner .hn-logo{justify-self:end}
.hn-header-inner .hn-search{justify-self:stretch;width:100%;max-width:none}
.hn-header-inner .hn-header-actions{justify-self:start}

/* Logo — strongly constrained so an oversized uploaded image never breaks layout */
.hn-logo{display:flex;align-items:center;flex-shrink:0;max-width:180px;justify-self:start}
.hn-logo a{color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center}
.hn-logo img,
.hn-logo .custom-logo,
.hn-logo .custom-logo-link img{
  height:68px !important;
  width:auto !important;
  max-width:170px !important;
  max-height:68px !important;
  object-fit:contain;
}
.hn-logo .custom-logo-link{display:flex;align-items:center}

.hn-search{flex:1;width:100%;position:relative;justify-self:stretch}
.hn-search input{
  width:100%;height:46px;border-radius:999px;border:none;
  padding:0 50px 0 18px;font-size:14px;outline:none;
}
.hn-search button{
  position:absolute;inset-inline-start:6px;top:6px;width:34px;height:34px;
  background:var(--hn-gold);border-radius:50%;border:none;display:flex;align-items:center;justify-content:center;color:#fff;
}

.hn-header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;justify-self:end;justify-content:flex-end}
.hn-header-inner > *{min-width:0}
.hn-auth-btn{
  display:flex;align-items:center;gap:7px;color:#fff;font-size:13px;font-weight:700;
  background:rgba(255,255,255,.12);border-radius:999px;padding:10px 18px;white-space:nowrap;
  transition:.2s;
}
.hn-auth-btn:hover{background:rgba(255,255,255,.22)}
.hn-cart-btn{display:flex;align-items:center}
.hn-header-actions .hn-icon{
  width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;position:relative;color:#fff;font-size:17px;
}
.hn-cart-count{
  position:absolute;top:-4px;left:-4px;background:var(--hn-red);color:#fff;
  font-size:10px;min-width:17px;height:17px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
}

/* ===== Main nav + categories dropdown ===== */
.hn-nav{background:#1c1032;position:relative}
.hn-nav-inner{display:flex !important;direction:rtl !important;align-items:center;justify-content:flex-start;min-height:48px;gap:20px}
.hn-cat-toggle{
  display:flex;align-items:center;gap:8px;background:transparent;border:none;
  color:#fff;font-size:13.5px;font-weight:700;flex-shrink:0;
  outline:none;
}
.hn-cat-toggle:focus,.hn-cat-toggle:focus-visible{background:transparent;outline:none;box-shadow:none}
.hn-nav-links a:focus,.hn-nav-links a:focus-visible{outline:none;background:transparent}
.hn-hamburger-ic{display:flex;align-items:center;flex-shrink:0;color:#fff}
.hn-nav-links{flex:1;overflow:visible;direction:rtl !important;display:flex !important;justify-content:flex-start;min-width:0}
.hn-nav-links ul{display:flex !important;direction:rtl !important;align-items:center;justify-content:flex-start;gap:6px 30px;list-style:none;margin:0;padding:0;flex-wrap:wrap;width:100%}
.hn-nav-links li{position:relative;white-space:nowrap}
.hn-nav-links a{color:#d7cdf0;font-size:15px;font-weight:700;white-space:nowrap;display:block;padding:7px 0}
.hn-nav-links a:hover{color:#fff}
.hn-nav-links .sub-menu{
  display:none !important;position:absolute;top:100%;inset-inline-start:0;z-index:60;
  background:#fff;min-width:190px;box-shadow:var(--hn-shadow-lg);border-radius:var(--hn-radius-sm);
  padding:8px 0;margin:0;list-style:none;
}
/* Opens ONLY via the .hn-submenu-open class added by a real JS click — no
   :hover, no :focus, no :focus-within. Nothing can show this without an
   explicit click event firing. */
.hn-nav-links li.hn-submenu-open > .sub-menu{display:block !important}
.hn-nav-links .sub-menu li{padding:0}
.hn-nav-links .sub-menu a{color:var(--hn-ink);padding:9px 16px}
.hn-nav-links .sub-menu a:hover{background:var(--hn-purple-100);color:var(--hn-purple-700)}

.hn-cat-dropdown{
  display:none !important;
  position:absolute !important;top:100% !important;inset-inline-start:0;inset-inline-end:0;
  background:#fff;box-shadow:var(--hn-shadow-lg);z-index:150;border-radius:0 0 var(--hn-radius) var(--hn-radius);
  max-height:0 !important;overflow:hidden !important;opacity:0;visibility:hidden;pointer-events:none;
  transition:max-height .25s ease,opacity .2s ease;
}
.hn-cat-dropdown.open{
  display:block !important;
  max-height:80vh !important;opacity:1;visibility:visible;pointer-events:auto;
}
.hn-cat-flyout{display:flex !important;align-items:stretch;min-height:300px}
.hn-cat-flyout-list{
  width:260px;flex-shrink:0;border-inline-end:1px solid var(--hn-gray-300);
  overflow-y:auto;padding:10px 0;margin:0;
}
.hn-cat-flyout-list li{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:13px 20px;cursor:pointer;font-size:15.5px;font-weight:600;color:var(--hn-ink);
  transition:.15s;
}
.hn-cat-flyout-list li a{flex:1}
.hn-cat-flyout-list li .arrow{color:var(--hn-gray-700);display:flex;align-items:center}
.hn-cat-flyout-list li.active,.hn-cat-flyout-list li:hover{
  background:var(--hn-purple-100);color:var(--hn-purple-700);
}
.hn-cat-flyout-panels{flex:1;padding:22px 28px;overflow-y:auto}
.hn-cat-panel{display:none}
.hn-cat-panel.active{display:block}
.hn-cat-panel ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:6px;margin:0}
.hn-cat-panel li a{display:block;padding:9px 12px;border-radius:var(--hn-radius-sm);font-size:14.5px;color:var(--hn-ink)}
.hn-cat-panel li a:hover{background:var(--hn-gray-100);color:var(--hn-purple-700)}
.hn-cat-panel p{margin:0 0 14px;color:var(--hn-gray-700);font-size:13.5px}

/* ===== Hero slider ===== */
.hn-hero{
  /* Contained banner: same left/right edges as the rest of the page content (.hn-wrap), equal gaps above and below */
  position:relative;overflow:hidden;border-radius:22px;margin:20px auto 20px;
  width:min(calc(100% - 40px),calc(var(--hn-max) - 40px));max-width:none;
  box-shadow:var(--hn-shadow);
}
.hn-hero-track{display:flex;align-items:flex-start;transition:transform .5s ease}
.hn-hero-slide{flex:0 0 100%;min-width:100%;position:relative;display:block}
.hn-hero-slide img{display:block;width:100%;height:auto} /* full image, never cropped */
.hn-hero-slide.is-fallback{aspect-ratio:7/2;display:flex;align-items:center}
.hn-hero-slide.has-caption:not(.is-fallback)::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(45,27,78,.35),rgba(45,27,78,.02));pointer-events:none}
.hn-hero-slide.has-caption:not(.is-fallback) .hn-hero-caption{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center}
.hn-hero-caption{position:relative;z-index:2;color:#fff;padding:0 60px;max-width:520px}
.hn-hero-caption h3{font-size:30px;margin:0 0 10px;font-weight:800}
.hn-hero-caption p{font-size:14px;opacity:.9;margin:0 0 18px}
.hn-hero-caption .hn-btn.gold{opacity:.55;transition:opacity .2s}
.hn-hero-caption .hn-btn.gold:hover{opacity:1}
.hn-hero-dots{position:absolute;bottom:16px;inset-inline-start:50%;transform:translateX(50%);display:flex;gap:8px;z-index:3}
.hn-hero-dots button{width:9px;height:9px;border-radius:50%;border:none;background:rgba(255,255,255,.5)}
.hn-hero-dots button.active{background:#fff;width:22px;border-radius:5px}
.hn-hero-arrow{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:36px;height:36px;border-radius:50%;border:none;background:transparent;
  display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.5);
  transition:.2s;
}
.hn-hero-arrow:hover{color:#fff}
.hn-hero-arrow svg{filter:drop-shadow(0 1px 3px rgba(0,0,0,.55))}
.hn-hero-arrow.hn-arrow-right{right:16px;left:auto}
.hn-hero-arrow.hn-arrow-left{left:16px;right:auto}

/* ===== Countdown deals ===== */
.hn-deals{
  background:linear-gradient(90deg,var(--hn-red),var(--hn-gold-dark));
  border-radius:var(--hn-radius);color:#fff;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px 26px;margin-top:22px;flex-wrap:wrap;gap:14px;
}
.hn-deals-title{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px}
.hn-timer{display:flex;gap:8px}
.hn-timer .box{background:rgba(255,255,255,.18);border-radius:8px;padding:8px 12px;min-width:52px;text-align:center}
.hn-timer .box b{display:block;font-size:18px}
.hn-timer .box span{font-size:10px;opacity:.85}

/* ===== Circular categories (glowing gradient ring, 5 per row) ===== */
.hn-cats{display:grid;grid-template-columns:repeat(5,1fr);gap:22px 14px;padding:12px 4px 10px;margin-bottom:8px}
.hn-cats-second{margin:30px 0 28px}
.hn-cat{display:block;text-align:center;min-width:0}
.hn-cat .ring{
  position:relative;display:block;width:min(100%,128px);aspect-ratio:1/1;margin:0 auto;border-radius:50%;
  box-shadow:0 10px 24px rgba(116,64,201,.28),0 0 0 5px rgba(116,64,201,.07);
  transition:transform .3s ease,box-shadow .3s ease;
}
.hn-cat .ring::before{
  content:"";position:absolute;inset:0;border-radius:50%;
  background:conic-gradient(from 20deg,var(--hn-gold),#ff7ab8,var(--hn-purple-500),var(--hn-purple-600),var(--hn-gold));
  transition:transform .9s ease;
}
.hn-cat .circle{
  position:absolute;inset:4px;border-radius:50%;overflow:hidden;
  display:flex;align-items:center;justify-content:center;
  background:radial-gradient(circle at 30% 22%,var(--hn-purple-500) 0%,var(--hn-purple-700) 48%,var(--hn-purple-900) 100%);
  box-shadow:inset 0 0 28px rgba(0,0,0,.35);
}
.hn-cat .circle::after{ /* soft glass highlight */
  content:"";position:absolute;top:0;left:10%;right:10%;height:46%;border-radius:0 0 50% 50%/0 0 100% 100%;
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,0));pointer-events:none;
}
.hn-cat .circle svg{width:46%;height:46%;color:#fff;filter:drop-shadow(0 0 12px rgba(245,166,35,.65));transition:transform .3s ease}
.hn-cat .circle.has-photo{background:#fff}
.hn-cat .circle.has-photo::after{display:none}
.hn-cat .circle img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.hn-cat:hover .ring{transform:translateY(-5px);box-shadow:0 16px 32px rgba(116,64,201,.40),0 0 0 7px rgba(245,166,35,.16)}
.hn-cat:hover .ring::before{transform:rotate(200deg)}
.hn-cat:hover .circle svg{transform:scale(1.1)}
.hn-cat:hover .circle img{transform:scale(1.07)}
.hn-cat .lbl{display:block;margin-top:12px;font-size:14px;font-weight:800;color:var(--hn-ink);line-height:1.6}
.hn-cat:hover .lbl{color:var(--hn-purple-600)}

/* ===== Product carousel / grid ===== */
.hn-section-tint{
  background:linear-gradient(135deg,var(--hn-purple-700) 0%,var(--hn-purple-900) 100%);
  border-radius:var(--hn-radius);
  padding:26px 26px 30px;
  margin:0 0 22px;
  box-shadow:var(--hn-shadow);
}
.hn-section-tint .hn-section-title{margin:0 0 20px}
.hn-section-tint .hn-section-title h2{color:#fff;position:relative;padding-bottom:9px}
.hn-section-tint .hn-section-title h2::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:46px;height:3px;border-radius:3px;background:var(--hn-gold)}
.hn-section-tint .hn-section-title .more{color:#e7dcff}
.hn-section-tint .hn-carousel-track::-webkit-scrollbar-thumb{background:rgba(255,255,255,.35)}
.hn-carousel{position:relative}
.hn-carousel-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}
.hn-carousel-track::-webkit-scrollbar{height:6px}
.hn-carousel-track::-webkit-scrollbar-thumb{background:var(--hn-gray-300);border-radius:6px}
.hn-product-card{
  scroll-snap-align:start;flex-shrink:0;width:230px;
  background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);
  overflow:hidden;transition:.2s;position:relative;
}
.hn-product-card:hover{box-shadow:var(--hn-shadow-lg);transform:translateY(-4px)}
.hn-product-card .thumb{aspect-ratio:1/1;background:var(--hn-gray-100);position:relative;overflow:hidden}
.hn-product-card .thumb img{width:100%;height:100%;object-fit:contain;padding:14px}
.hn-badge{position:absolute;top:10px;inset-inline-start:10px;background:var(--hn-red);color:#fff;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px}
.hn-product-card .body{padding:12px 14px}
.hn-product-card .title{font-size:13.5px;font-weight:600;height:40px;overflow:hidden;margin-bottom:8px}
.hn-product-card .price{display:flex;align-items:baseline;gap:6px}
.hn-product-card .price ins{text-decoration:none;font-weight:800;color:var(--hn-purple-700);font-size:15px}
.hn-product-card .price del{color:#a19cad;font-size:12px}
.hn-carousel-arrow{
  position:absolute;top:40%;width:36px;height:36px;border-radius:50%;
  background:#fff;box-shadow:var(--hn-shadow);border:none;z-index:2;
  display:flex;align-items:center;justify-content:center;color:var(--hn-purple-700);
}
.hn-carousel-arrow.prev{inset-inline-start:-14px}
.hn-carousel-arrow.next{inset-inline-end:-14px}

/* ===== Feature strip ===== */
.hn-features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:36px 0}
.hn-feature{background:#fff;border-radius:var(--hn-radius);padding:18px;display:flex;align-items:center;gap:12px;box-shadow:var(--hn-shadow)}
.hn-feature .ic{width:44px;height:44px;border-radius:50%;background:var(--hn-purple-100);display:flex;align-items:center;justify-content:center;color:var(--hn-purple-600);flex-shrink:0}
.hn-feature b{display:block;font-size:13.5px}
.hn-feature span{font-size:11.5px;color:var(--hn-gray-700)}

/* ===== Footer ===== */
.hn-footer{background:var(--hn-purple-900);color:#cdc2ea;margin-top:60px;padding-top:44px}
.hn-footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:26px;padding-bottom:30px}
.hn-footer h4{color:#fff;font-size:15px;margin:0 0 14px}
.hn-footer li{margin-bottom:9px;font-size:13px}
.hn-footer li a:hover{color:#fff}
.hn-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:16px 0;text-align:center;font-size:12px}

/* ===== WooCommerce basic overrides ===== */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px;list-style:none}
.woocommerce ul.products li.product{background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:14px;transition:.2s}
.woocommerce ul.products li.product:hover{box-shadow:var(--hn-shadow-lg);transform:translateY(-3px)}
.woocommerce ul.products li.product a img{
  aspect-ratio:1/1;width:100%;height:auto;object-fit:contain;
  background:var(--hn-gray-100);border-radius:var(--hn-radius-sm);padding:12px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3{
  font-size:13.5px;font-weight:600;line-height:1.6;margin:10px 0 6px;
  color:var(--hn-ink);
}
.woocommerce ul.products li.product .price{color:var(--hn-purple-700);font-weight:800;font-size:14px}
.woocommerce div.product div.images img{aspect-ratio:1/1;object-fit:contain;background:var(--hn-gray-100);border-radius:var(--hn-radius)}

/* Pagination (shop, blog, search) — was rendering as a plain vertical <ul><li> list
   with no styling at all, so it stacked top-to-bottom instead of sitting in a row. */
.woocommerce-pagination,
.pagination,
nav.navigation.pagination{margin:40px 0}
.woocommerce-pagination ul.page-numbers,
.pagination .nav-links{
  display:flex !important;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;
  justify-content:center;align-items:center;
}
.woocommerce-pagination ul.page-numbers li{display:inline-flex}
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span,
.pagination .nav-links a,
.pagination .nav-links span{
  display:flex;align-items:center;justify-content:center;
  min-width:40px;height:40px;padding:0 12px;
  border-radius:var(--hn-radius-sm);background:#fff;box-shadow:var(--hn-shadow);
  color:var(--hn-ink);font-weight:600;font-size:13.5px;
}
.woocommerce-pagination .page-numbers a:hover,
.pagination .nav-links a:hover{background:var(--hn-purple-100);color:var(--hn-purple-700)}
.woocommerce-pagination .page-numbers .current,
.pagination .nav-links .current{background:var(--hn-purple-600);color:#fff;box-shadow:none}
.woocommerce-pagination .page-numbers .dots{background:transparent;box-shadow:none}
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit{
  background:var(--hn-purple-600)!important;color:#fff!important;border-radius:999px!important;
  border:none!important;font-weight:700!important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover{background:var(--hn-purple-700)!important}
.woocommerce span.onsale{background:var(--hn-red)!important;border-radius:999px!important}
.woocommerce ul.products li.product a.button{
  font-size:12px!important;padding:8px 14px!important;margin-top:8px;display:inline-block;
}
.woocommerce ul.products li.product .stock{font-size:12px}

/* ===== Cart / Checkout / My Account pages ===== */
.hn-wc-page-title{font-size:24px;margin:0 0 24px}

/* Cart items table */
.hn-wc-page table.shop_table,
.hn-wc-page table.cart{
  width:100%;border-collapse:separate;border-spacing:0;background:#fff;
  border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);overflow:hidden;margin-bottom:26px;
}
.hn-wc-page table.shop_table thead th{
  background:var(--hn-gray-100);color:var(--hn-gray-700);font-size:12.5px;font-weight:700;
  padding:14px 16px;text-align:center;border:none;
}
.hn-wc-page table.shop_table tbody td{
  padding:16px;border-top:1px solid var(--hn-gray-300);vertical-align:middle;text-align:center;font-size:13.5px;
}
.hn-wc-page table.shop_table td.product-thumbnail{width:90px}
.hn-wc-page table.shop_table td.product-thumbnail img{
  width:72px!important;height:72px!important;object-fit:contain;
  background:var(--hn-gray-100);border-radius:var(--hn-radius-sm);padding:8px;
}
.hn-wc-page table.shop_table td.product-name{text-align:right;font-weight:600;color:var(--hn-ink)}
.hn-wc-page table.shop_table td.product-name a{color:var(--hn-ink)}
.hn-wc-page table.shop_table td.product-price,
.hn-wc-page table.shop_table td.product-subtotal{color:var(--hn-purple-700);font-weight:700;white-space:nowrap}
.hn-wc-page table.shop_table .quantity{display:inline-flex}
.hn-wc-page table.shop_table .qty{
  width:64px;height:40px;text-align:center;border:1.5px solid var(--hn-gray-300);
  border-radius:999px;font-size:14px;font-family:inherit;
}
.hn-wc-page table.shop_table .qty:focus{outline:none;border-color:var(--hn-purple-500)}
.hn-wc-page table.shop_table td.product-remove a.remove{
  display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;border-radius:50%;background:var(--hn-gray-100);
  color:var(--hn-red)!important;font-size:16px;text-decoration:none!important;
}
.hn-wc-page table.shop_table td.product-remove a.remove:hover{background:var(--hn-red);color:#fff!important}
.hn-wc-page table.shop_table td.actions{background:var(--hn-gray-100);text-align:left}
.hn-wc-page table.shop_table td.actions .button{margin:4px}

/* Coupon box */
.hn-wc-page .coupon{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);
  padding:16px 18px;margin-bottom:0;
}
.hn-wc-page .coupon label{display:none}
.hn-wc-page .coupon #coupon_code{
  flex:1;min-width:160px;height:44px;border:1.5px solid var(--hn-gray-300);
  border-radius:999px;padding:0 18px;font-size:13.5px;font-family:inherit;background:var(--hn-gray-100);
}
.hn-wc-page .coupon #coupon_code:focus{outline:none;border-color:var(--hn-purple-500);background:#fff}
.hn-wc-page .coupon button[name=apply_coupon]{
  height:44px;padding:0 22px!important;white-space:nowrap;
}
.hn-wc-page table.shop_table td.actions{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;
}

/* Cart totals sidebar */
.hn-wc-page .cart-collaterals{margin-top:26px}
.hn-wc-page .cart_totals{
  background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow-lg);
  padding:26px;max-width:420px;margin-inline-start:auto;
}
.hn-wc-page .cart_totals h2{font-size:18px;margin:0 0 18px;color:var(--hn-ink)}
.hn-wc-page .cart_totals table{width:100%;border-collapse:collapse}
.hn-wc-page .cart_totals table th,
.hn-wc-page .cart_totals table td{
  padding:12px 0;border-top:1px solid var(--hn-gray-300);font-size:13.5px;text-align:right;
}
.hn-wc-page .cart_totals table tr:first-child th,
.hn-wc-page .cart_totals table tr:first-child td{border-top:none}
.hn-wc-page .cart_totals table th{color:var(--hn-gray-700);font-weight:600}
.hn-wc-page .cart_totals table .order-total th,
.hn-wc-page .cart_totals table .order-total td{
  font-size:16px;font-weight:800;color:var(--hn-purple-700);border-top:2px solid var(--hn-purple-100);
}
.hn-wc-page .wc-proceed-to-checkout{margin-top:18px}
.hn-wc-page .wc-proceed-to-checkout a.checkout-button{
  display:block;width:100%;text-align:center;padding:16px!important;font-size:15px!important;
  background:linear-gradient(90deg,var(--hn-purple-600),var(--hn-purple-500))!important;
  box-shadow:0 10px 24px rgba(116,64,201,.35);
}

/* My Account page */
.hn-wc-page .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 26px;padding:0}
.hn-wc-page .woocommerce-MyAccount-navigation li{margin:0}
.hn-wc-page .woocommerce-MyAccount-navigation li a{
  display:block;padding:10px 18px;border-radius:999px;background:#fff;box-shadow:var(--hn-shadow);
  font-size:13px;font-weight:600;color:var(--hn-ink);
}
.hn-wc-page .woocommerce-MyAccount-navigation li.is-active a{background:var(--hn-purple-600);color:#fff}
.hn-wc-page .woocommerce-MyAccount-content{background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:28px}

@media(max-width:700px){
  .hn-wc-page table.shop_table thead{display:none}
  .hn-wc-page table.shop_table, .hn-wc-page table.shop_table tbody, .hn-wc-page table.shop_table tr, .hn-wc-page table.shop_table td{display:block;width:100%}
  .hn-wc-page table.shop_table tr{padding:14px;border-top:1px solid var(--hn-gray-300)}
  .hn-wc-page table.shop_table td{border-top:none;padding:6px 0;text-align:right!important}
  .hn-wc-page table.shop_table td.product-thumbnail{width:auto}
  .hn-wc-page .cart_totals{max-width:100%}
  .hn-wc-page .coupon{flex-direction:column;align-items:stretch}
  .hn-wc-page table.shop_table td.actions{flex-direction:column;align-items:stretch}
}

/* ===== WooCommerce sorting dropdown ===== */
.woocommerce-ordering{margin:0 0 20px}
/* Fallback styling for the real <select> in case JS hasn't enhanced it yet */
.woocommerce-ordering select{
  appearance:none;-webkit-appearance:none;
  background:#fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8"><path d="M1 1l5 5 5-5" stroke="%235c34a3" stroke-width="2" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat left 14px center;
  border:1px solid var(--hn-gray-300);border-radius:999px;
  padding:10px 40px 10px 18px;font-size:13.5px;font-weight:600;color:var(--hn-ink);
  box-shadow:var(--hn-shadow);cursor:pointer;
}
.woocommerce-ordering select:focus{outline:none;border-color:var(--hn-purple-500)}

/* Custom dropdown built by JS on top of the (now visually hidden) native select */
.hn-order-dropdown{position:relative;display:inline-block}
.hn-order-dropdown select.hn-order-native{
  position:absolute;inset:0;width:100%;height:100%;opacity:0;pointer-events:none;
}
.hn-order-btn{
  display:flex;align-items:center;gap:10px;background:#fff;
  border:1px solid var(--hn-gray-300);border-radius:999px;
  padding:10px 18px;font-size:13.5px;font-weight:600;color:var(--hn-ink);
  box-shadow:var(--hn-shadow);cursor:pointer;font-family:inherit;
}
.hn-order-btn::after{
  content:"";width:9px;height:9px;border-inline-end:2px solid var(--hn-purple-600);
  border-bottom:2px solid var(--hn-purple-600);transform:rotate(45deg);margin-top:-4px;transition:.2s;
}
.hn-order-dropdown.open .hn-order-btn::after{transform:rotate(-135deg);margin-top:3px}
.hn-order-dropdown.open .hn-order-btn{border-color:var(--hn-purple-500)}
.hn-order-list{
  display:none;position:absolute;top:calc(100% + 8px);inset-inline-start:0;z-index:40;
  min-width:220px;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow-lg);
  padding:8px;margin:0;list-style:none;
}
.hn-order-dropdown.open .hn-order-list{display:block}
.hn-order-list li{padding:10px 14px;border-radius:var(--hn-radius-sm);font-size:13px;font-weight:600;color:var(--hn-ink);cursor:pointer;transition:.15s}
.hn-order-list li:hover{background:var(--hn-purple-100);color:var(--hn-purple-700)}
.hn-order-list li.active{background:var(--hn-purple-600);color:#fff}

/* ===== Contact page (auto-applied when a page contains the CF7 shortcode) ===== */
.hn-contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:0;border-radius:var(--hn-radius);overflow:hidden;box-shadow:var(--hn-shadow-lg);background:#fff}
.hn-contact-info{
  background:linear-gradient(160deg,var(--hn-purple-700),var(--hn-purple-900));
  color:#fff;padding:44px 38px;position:relative;overflow:hidden;
}
.hn-contact-info h1{font-size:24px;margin:0 0 12px}
.hn-contact-info > p{font-size:13.5px;line-height:2;opacity:.9;margin:0 0 30px;position:relative;z-index:2}
.hn-contact-item{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px;position:relative;z-index:2}
.hn-contact-item .ic{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:16px;
}
.hn-contact-item b{display:block;font-size:13px;margin-bottom:2px}
.hn-contact-item span{font-size:12.5px;opacity:.85}
.hn-contact-blob{
  position:absolute;bottom:-60px;inset-inline-end:-60px;width:220px;height:220px;
  border-radius:50%;background:radial-gradient(circle,var(--hn-gold) 0%,transparent 70%);
  opacity:.25;z-index:1;
}
.hn-contact-form-card{padding:44px 38px;position:relative;overflow:hidden;background:linear-gradient(180deg,var(--hn-gray-100) 0%,#ffffff 220px)}
.hn-contact-form-intro{display:flex;align-items:flex-start;gap:14px;margin-bottom:28px;position:relative;z-index:2}
.hn-contact-form-icon{
  width:46px;height:46px;border-radius:50%;background:var(--hn-purple-100);color:var(--hn-purple-600);
  display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;
}
.hn-contact-form-intro h2{font-size:19px;margin:0 0 6px;color:var(--hn-ink)}
.hn-contact-form-intro p{font-size:13px;color:var(--hn-gray-700);margin:0;line-height:1.9}
.hn-contact-form-card .entry-content{position:relative;z-index:2}
.hn-contact-form-blob{
  position:absolute;top:-50px;inset-inline-start:-50px;width:180px;height:180px;
  border-radius:50%;background:radial-gradient(circle,var(--hn-purple-500) 0%,transparent 70%);
  opacity:.10;z-index:1;
}
.hn-contact-form-card .entry-content > *:first-child{margin-top:0}

/* ===== Services page ===== */
.hn-services-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-bottom:46px}
.hn-service-card{
  background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);
  padding:22px;display:flex;align-items:flex-start;gap:14px;transition:.2s;
}
.hn-service-card:hover{box-shadow:var(--hn-shadow-lg);transform:translateY(-3px)}
.hn-service-card .ic{
  width:46px;height:46px;border-radius:50%;background:var(--hn-purple-100);color:var(--hn-purple-600);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.hn-service-card .ic svg{width:22px;height:22px}
.hn-service-card p{margin:0;font-size:13.5px;line-height:1.9;color:var(--hn-ink);font-weight:600}

/* Projects we've delivered — filter chips + tidy 5-column grid */
.hn-clients-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.hn-clients-filters button{
  display:inline-flex;align-items:center;gap:8px;background:#fff;border:1.5px solid var(--hn-gray-300);
  border-radius:999px;padding:8px 16px;font-family:inherit;font-size:13px;font-weight:700;
  color:var(--hn-purple-700);cursor:pointer;transition:.2s;
}
.hn-clients-filters button b{
  background:var(--hn-purple-100);color:var(--hn-purple-600);border-radius:999px;
  font-size:11px;min-width:22px;height:20px;display:inline-flex;align-items:center;justify-content:center;padding:0 6px;
}
.hn-clients-filters button:hover{border-color:var(--hn-purple-500)}
.hn-clients-filters button.active{background:var(--hn-purple-600);border-color:var(--hn-purple-600);color:#fff}
.hn-clients-filters button.active b{background:rgba(255,255,255,.22);color:#fff}
.hn-clients-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:10px}
.hn-client{
  position:relative;display:flex;align-items:center;gap:12px;min-height:86px;padding:14px 16px;
  background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);overflow:hidden;
  transition:transform .2s,box-shadow .2s;animation:hnClientIn .35s ease both;
}
.hn-client::before{
  content:"";position:absolute;inset-inline-start:0;top:0;bottom:0;width:4px;
  background:linear-gradient(180deg,var(--hn-gold),var(--hn-purple-500));opacity:0;transition:opacity .2s;
}
.hn-client:hover{transform:translateY(-3px);box-shadow:var(--hn-shadow-lg)}
.hn-client:hover::before{opacity:1}
.hn-client .ic{
  width:44px;height:44px;border-radius:50%;background:var(--hn-purple-100);color:var(--hn-purple-600);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:.2s;
}
.hn-client .ic svg{width:22px;height:22px}
.hn-client:hover .ic{background:var(--hn-purple-600);color:#fff}
.hn-client .txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.hn-client .name{font-size:13.5px;font-weight:700;color:var(--hn-ink);line-height:1.7}
.hn-client .tag{font-size:11px;color:var(--hn-gray-700)}
.hn-client.is-hidden{display:none}
@keyframes hnClientIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.hn-clients-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:900px){.hn-clients-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:620px){.hn-clients-grid{grid-template-columns:repeat(2,1fr);gap:10px}.hn-client{padding:12px;gap:10px}.hn-client .ic{width:38px;height:38px}}
@media(max-width:400px){.hn-clients-grid{grid-template-columns:1fr}}

/* ===== About page ===== */
.hn-about-hero{
  background:linear-gradient(135deg,var(--hn-purple-700),var(--hn-purple-900));
  color:#fff;padding:50px 0;margin-bottom:40px;text-align:center;
}
.hn-about-hero h1{font-size:28px;margin:0 0 10px}
.hn-about-hero p{font-size:14px;opacity:.9;margin:0}
.hn-about-grid{display:grid;grid-template-columns:2fr 1fr;gap:26px;align-items:start}
.hn-about-content{
  background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:34px;
}
.hn-about-thumb{border-radius:var(--hn-radius-sm);overflow:hidden;margin-bottom:22px}
.hn-about-content .entry-content{font-size:14.5px;line-height:2.1;color:var(--hn-ink)}
.hn-about-content .entry-content p:first-of-type{
  font-size:16px;font-weight:600;color:var(--hn-purple-700);
}
.hn-about-badges{display:flex;flex-direction:column;gap:14px;position:sticky;top:90px}
.hn-about-badge{
  background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);
  padding:18px;display:flex;align-items:center;gap:12px;
}
.hn-about-badge .ic{
  width:42px;height:42px;border-radius:50%;background:var(--hn-purple-100);
  display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;
}
.hn-about-badge b{display:block;font-size:13px}
.hn-about-badge span{font-size:11.5px;color:var(--hn-gray-700)}

/* Generic, plugin-agnostic form styling — works whichever form plugin renders
   the markup inside the content (CF7, WPForms, Ninja Forms, raw HTML, etc.) */
.hn-contact-form-card .entry-content label{display:block;font-size:13px;font-weight:700;color:var(--hn-ink);margin-bottom:6px}
.hn-contact-form-card .entry-content input[type=text],
.hn-contact-form-card .entry-content input[type=email],
.hn-contact-form-card .entry-content input[type=tel],
.hn-contact-form-card .entry-content input[type=number],
.hn-contact-form-card .entry-content select{
  width:100%;border:1.5px solid var(--hn-gray-300);border-radius:12px;
  padding:13px 44px 13px 16px;font-family:inherit;font-size:14px;background:#fff;
  margin-bottom:16px;transition:.2s;height:50px;
  background-repeat:no-repeat;background-position:right 15px center;background-size:18px;
}
.hn-contact-form-card .entry-content textarea{
  width:100%;border:1.5px solid var(--hn-gray-300);border-radius:12px;
  padding:14px 16px;font-family:inherit;font-size:14px;background:#fff;
  margin-bottom:16px;transition:.2s;min-height:140px;resize:vertical;
}
/* Best-effort field icons, matched by common order: name → phone → message.
   Purely decorative — harmless if a field order differs. */
.hn-contact-form-card .entry-content input[type=text]:nth-of-type(1),
.hn-contact-form-card .entry-content input[type=text]:first-of-type{
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none"><circle cx="12" cy="8" r="4" stroke="%237440c9" stroke-width="2"/><path d="M4 20c0-4 4-6 8-6s8 2 8 6" stroke="%237440c9" stroke-width="2" stroke-linecap="round"/></svg>');
}
.hn-contact-form-card .entry-content input[type=tel]{
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none"><path d="M6 3h3l2 5-2.5 2A12 12 0 0016 16.5L18 14l5 2v3a2 2 0 01-2 2C10 21 3 14 3 5a2 2 0 012-2z" stroke="%237440c9" stroke-width="2" stroke-linejoin="round"/></svg>');
}
.hn-contact-form-card .entry-content textarea{
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none"><path d="M4 5h16v11H8l-4 4V5z" stroke="%237440c9" stroke-width="2" stroke-linejoin="round"/></svg>');
  background-repeat:no-repeat;background-position:right 15px top 14px;background-size:18px;
  padding-right:44px;
}
.hn-contact-form-card .entry-content input:focus,
.hn-contact-form-card .entry-content textarea:focus{
  outline:none;border-color:var(--hn-purple-500);background-color:#fff;
  box-shadow:0 0 0 4px var(--hn-purple-100);
}
.hn-contact-form-card .entry-content input[type=submit],
.hn-contact-form-card .entry-content button[type=submit],
.hn-contact-form-card .entry-content button{
  background:linear-gradient(90deg,var(--hn-purple-600),var(--hn-purple-500));
  color:#fff;border:none;border-radius:999px;width:100%;
  padding:15px 30px;font-weight:700;font-size:14.5px;cursor:pointer;transition:.2s;
  box-shadow:0 8px 20px rgba(116,64,201,.35);
}
.hn-contact-form-card .entry-content input[type=submit]:hover,
.hn-contact-form-card .entry-content button:hover{
  background:linear-gradient(90deg,var(--hn-purple-700),var(--hn-purple-600));
  transform:translateY(-1px);
}

/* Contact Form 7 styling */
.wpcf7-form{display:flex;flex-direction:column;gap:16px}
.wpcf7-form p{margin:0}
.wpcf7-form label{display:block;font-size:13px;font-weight:700;color:var(--hn-ink);margin-bottom:6px}
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form input[type=tel],
.wpcf7-form textarea{
  width:100%;border:1px solid var(--hn-gray-300);border-radius:var(--hn-radius-sm);
  padding:12px 14px;font-family:inherit;font-size:14px;background:var(--hn-gray-100);
  transition:.2s;
}
.wpcf7-form input:focus,.wpcf7-form textarea:focus{
  outline:none;border-color:var(--hn-purple-500);background:#fff;
  box-shadow:0 0 0 3px var(--hn-purple-100);
}
.wpcf7-form textarea{min-height:130px;resize:vertical}
.wpcf7-form input[type=submit]{
  background:var(--hn-purple-600);color:#fff;border:none;border-radius:999px;
  padding:13px 30px;font-weight:700;font-size:14px;cursor:pointer;transition:.2s;align-self:flex-start;
}
.wpcf7-form input[type=submit]:hover{background:var(--hn-purple-700)}
.wpcf7-response-output{border-radius:var(--hn-radius-sm)!important;font-size:13px!important;margin:0!important}
.wpcf7-not-valid-tip{font-size:12px;color:var(--hn-red)}


@media(max-width:900px){
  .hn-header-inner{display:flex;height:auto;min-height:64px;gap:12px;flex-wrap:wrap;padding-block:10px}
  .hn-header-actions{margin-inline-start:auto}
  .hn-nav-links{overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-ms-overflow-style:none}
  .hn-nav-links::-webkit-scrollbar{display:none}
  .hn-nav-links ul{flex-wrap:nowrap}
  .hn-nav-links .sub-menu{display:none !important}
  .hn-section-tint{padding:20px 14px 22px}
  .hn-logo{max-width:130px}
  .hn-search{order:3;flex-basis:100%;width:100%;max-width:100%;margin-top:2px}
  .hn-auth-btn .lbl{display:none}
  .hn-auth-btn{padding:10px}
  .hn-nav-links{gap:16px}
  .hn-footer-grid{grid-template-columns:1fr 1fr}
  .hn-features{grid-template-columns:1fr 1fr}
  .hn-hero-caption{padding:0 24px}
  .hn-hero-caption h3{font-size:20px}
}
@media(max-width:700px){
  .hn-cat-flyout{flex-direction:column;max-height:70vh}
  .hn-cat-flyout-list{width:100%;border-inline-end:none;border-bottom:1px solid var(--hn-gray-300);max-height:180px}
  .hn-cat-flyout-panels{padding:16px 20px}
  .hn-contact-grid{grid-template-columns:1fr}
  .hn-contact-info,.hn-contact-form-card{padding:30px 24px}
  .hn-about-grid{grid-template-columns:1fr}
  .hn-about-badges{position:static;flex-direction:row;flex-wrap:wrap}
  .hn-about-badge{flex:1 1 45%}
}
@media(max-width:560px){
  .hn-footer-grid{grid-template-columns:1fr}
  .hn-features{grid-template-columns:1fr}
  .hn-deals{flex-direction:column;align-items:flex-start}
}
@media(max-width:480px){
  .hn-wrap{padding:0 14px}
  .hn-logo{max-width:100px}
  .hn-logo img,.hn-logo .custom-logo,.hn-logo .custom-logo-link img{height:34px !important;max-height:34px !important;max-width:100px !important}
  .hn-header-inner{gap:8px}
  .hn-header-actions{gap:8px}
  .hn-header-actions .hn-icon{width:36px;height:36px;font-size:15px}
  .hn-auth-btn{padding:8px}
  .hn-nav-inner{gap:10px}
  .hn-cat-toggle{font-size:13.5px;gap:5px}
  .hn-nav-links ul{gap:14px}
  .hn-nav-links a{font-size:13.5px}
  .hn-hero-caption{padding:0 18px}
  .hn-hero-caption h3{font-size:17px}
  .hn-hero-caption p{font-size:12.5px;margin-bottom:12px}
  .hn-deals{padding:12px 16px}
  .hn-deals-title{font-size:14px}
  .hn-timer{gap:6px}
  .hn-timer .box{min-width:42px;padding:6px 8px}
  .hn-timer .box b{font-size:15px}
  .hn-cat{flex-basis:104px}
  .hn-cat .lbl{font-size:12px;margin-top:8px}
  .hn-product-card{width:168px}
  .hn-section-title h2{font-size:18px}
  .hn-section-title{margin:32px 0 16px}
  .woocommerce ul.products{grid-template-columns:repeat(2,1fr)!important;gap:10px}
  .woocommerce ul.products li.product{padding:8px}
  .woocommerce ul.products li.product a img{padding:8px}
}

/* Category circles: smaller on tablets, swipeable strip on phones */
@media(max-width:900px){
  .hn-cats{gap:20px 12px}
  .hn-cat .lbl{font-size:13.5px}
}
@media(max-width:700px){
  .hn-cats{display:flex;overflow-x:auto;gap:16px;padding:12px 4px 14px}
  .hn-cat{flex:0 0 108px}
  .hn-cat .ring{width:96px}
}
@media(max-width:480px){
  .hn-cat{flex-basis:92px}
  .hn-cat .ring{width:82px}
}


/* ===== Services page: "خدمات شرکت" cards ===== */
.hn-offer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:46px}
.hn-offer{
  position:relative;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);
  overflow:hidden;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s;
}
.hn-offer:hover{transform:translateY(-5px);box-shadow:var(--hn-shadow-lg)}
.hn-offer-head{
  position:relative;display:flex;align-items:center;gap:12px;padding:20px 20px 18px;color:#fff;overflow:hidden;
  background:linear-gradient(135deg,var(--hn-purple-600) 0%,var(--hn-purple-900) 100%);
}
.hn-offer-head::after{ /* soft decorative glow */
  content:"";position:absolute;width:130px;height:130px;border-radius:50%;left:-40px;top:-60px;
  background:radial-gradient(circle,rgba(245,166,35,.35),rgba(245,166,35,0) 70%);
}
.hn-offer-head .ic{
  width:48px;height:48px;border-radius:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);color:var(--hn-gold);position:relative;z-index:1;
}
.hn-offer-head .ic svg{width:26px;height:26px}
.hn-offer-head h3{margin:0;font-size:16px;font-weight:800;color:#fff;position:relative;z-index:1;flex:1}
.hn-offer-head .num{
  position:relative;z-index:1;font-size:26px;font-weight:800;color:rgba(255,255,255,.22);line-height:1;
}
.hn-offer ul{list-style:none;margin:0;padding:18px 20px 22px;display:flex;flex-direction:column;gap:14px;flex:1}
.hn-offer li{position:relative;padding-inline-start:26px;font-size:13.5px;line-height:1.95;font-weight:600;color:var(--hn-ink)}
.hn-offer li::before{
  content:"";position:absolute;inset-inline-start:0;top:7px;width:17px;height:17px;border-radius:50%;
  background:var(--hn-purple-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.5' fill='none' stroke='%23f5a623' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}
.hn-offer li bdi{font-size:12px;font-weight:700;color:var(--hn-purple-600);letter-spacing:.2px}
@media(max-width:1100px){.hn-offer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.hn-offer-grid{grid-template-columns:1fr}}

/* ===== Cart / Checkout: progress steps ===== */
.hn-steps{display:flex;align-items:center;justify-content:center;list-style:none;margin:0 0 30px;padding:16px 20px;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow)}
.hn-steps li{display:flex;align-items:center;gap:10px;font-size:13.5px;font-weight:700;color:var(--hn-gray-700);margin:0}
.hn-steps li:not(:last-child)::after{content:"";width:70px;height:3px;border-radius:3px;background:var(--hn-gray-300);margin-inline:16px}
.hn-steps .n{
  width:32px;height:32px;border-radius:50%;background:var(--hn-gray-100);border:2px solid var(--hn-gray-300);
  display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;flex-shrink:0;
}
.hn-steps li.done .n{background:var(--hn-purple-600);border-color:var(--hn-purple-600);color:#fff}
.hn-steps li.done:not(:last-child)::after{background:var(--hn-purple-600)}
.hn-steps li.done{color:var(--hn-purple-700)}
.hn-steps li.active{color:var(--hn-ink)}
.hn-steps li.active .n{background:linear-gradient(135deg,var(--hn-purple-600),var(--hn-purple-500));border-color:transparent;color:#fff;box-shadow:0 0 0 5px rgba(116,64,201,.16)}
@media(max-width:560px){
  .hn-steps{padding:12px 10px}
  .hn-steps li{font-size:11.5px;gap:6px}
  .hn-steps li:not(:last-child)::after{width:22px;margin-inline:8px}
  .hn-steps .n{width:26px;height:26px;font-size:11px}
}

/* ===== Checkout page ===== */
.hn-wc-page .woocommerce-info,
.hn-wc-page .woocommerce-message,
.hn-wc-page .woocommerce-error{
  list-style:none;margin:0 0 18px;padding:14px 20px;border-radius:12px;font-size:13.5px;font-weight:600;line-height:1.9;
  background:var(--hn-purple-100);color:var(--hn-purple-700);border-inline-start:4px solid var(--hn-purple-500);
}
.hn-wc-page .woocommerce-message{background:#e8f8ee;color:#17703f;border-inline-start-color:#2fb36b}
.hn-wc-page .woocommerce-error{background:#fdecef;color:#a3172b;border-inline-start-color:var(--hn-red)}
.hn-wc-page .woocommerce-info a,.hn-wc-page .woocommerce-message a{color:var(--hn-purple-600);font-weight:800;text-decoration:underline;text-underline-offset:3px}
.hn-wc-page .woocommerce-message .button,.hn-wc-page .woocommerce-info .button{float:left;margin-inline-start:12px}

/* coupon + login drawers */
.hn-wc-page form.checkout_coupon,
.hn-wc-page form.woocommerce-form-login{
  display:none;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:20px 22px;margin:0 0 22px;
}
.hn-wc-page form.checkout_coupon::after{content:"";display:block;clear:both}
.hn-wc-page form.checkout_coupon p{margin:0 0 10px;font-size:13px;color:var(--hn-gray-700)}
.hn-wc-page form.checkout_coupon .form-row-first{float:right;width:calc(100% - 150px)}
.hn-wc-page form.checkout_coupon .form-row-last{float:left;width:138px}
.hn-wc-page form.checkout_coupon .form-row-last button{width:100%;height:46px}

/* main two-column layout: details on the right, order summary on the left */
.hn-wc-page form.checkout{
  display:grid;grid-template-columns:minmax(0,1fr) 430px;grid-template-rows:auto 1fr;
  grid-template-areas:"details heading" "details review";column-gap:26px;align-items:start;
}
.hn-wc-page form.checkout #customer_details{
  grid-area:details;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:28px;
}
.hn-wc-page form.checkout #customer_details .col-1,
.hn-wc-page form.checkout #customer_details .col-2{float:none;width:100%;max-width:none}
.hn-wc-page form.checkout #customer_details h3{
  position:relative;margin:0 0 22px;padding-bottom:10px;font-size:18px;font-weight:800;color:var(--hn-ink);
}
.hn-wc-page form.checkout #customer_details h3::after,
.hn-wc-page form.checkout #order_review_heading::after{
  content:"";position:absolute;bottom:0;inset-inline-start:0;width:44px;height:3px;border-radius:3px;background:var(--hn-gold);
}
.hn-wc-page form.checkout #customer_details .col-2{margin-top:10px}
.hn-wc-page form.checkout #customer_details .col-2 h3{margin-top:26px}

/* fields */
.hn-wc-page .woocommerce-billing-fields__field-wrapper,
.hn-wc-page .woocommerce-shipping-fields__field-wrapper,
.hn-wc-page .woocommerce-additional-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
.hn-wc-page .woocommerce-billing-fields__field-wrapper .clear,
.hn-wc-page .woocommerce-shipping-fields__field-wrapper .clear{display:none}
.hn-wc-page .form-row{display:block;margin:0 0 16px;padding:0;float:none;width:auto}
.hn-wc-page .form-row-wide,
.hn-wc-page .woocommerce-additional-fields .form-row,
.hn-wc-page #order_comments_field{grid-column:1 / -1}
.hn-wc-page .form-row label{display:block;margin:0 0 7px;font-size:13px;font-weight:700;color:var(--hn-ink);line-height:1.6}
.hn-wc-page .form-row label .optional{color:var(--hn-gray-700);font-weight:500;font-size:11.5px}
.hn-wc-page abbr.required,.hn-wc-page .required{color:var(--hn-red);text-decoration:none;border:none;font-weight:800}
.hn-wc-page .woocommerce-input-wrapper{display:block}
.hn-wc-page .woocommerce-input-wrapper strong{display:block;padding:12px 14px;background:var(--hn-gray-100);border-radius:10px;font-size:14px}
.hn-wc-page .form-row input.input-text,
.hn-wc-page .form-row input[type=text],
.hn-wc-page .form-row input[type=email],
.hn-wc-page .form-row input[type=tel],
.hn-wc-page .form-row input[type=password],
.hn-wc-page .form-row input[type=number],
.hn-wc-page .form-row textarea,
.hn-wc-page .form-row select,
.hn-wc-page form.checkout_coupon input.input-text{
  width:100%;height:46px;padding:0 14px;border:1.5px solid var(--hn-gray-300);border-radius:10px;
  background:var(--hn-gray-100);font-family:inherit;font-size:14px;color:var(--hn-ink);transition:.18s;box-sizing:border-box;
}
.hn-wc-page .form-row textarea{height:auto;min-height:110px;padding:12px 14px;resize:vertical;line-height:1.9}
.hn-wc-page .form-row input::placeholder,.hn-wc-page .form-row textarea::placeholder{color:#a39fb4;font-size:12.5px}
.hn-wc-page .form-row input:focus,.hn-wc-page .form-row textarea:focus,.hn-wc-page .form-row select:focus,
.hn-wc-page form.checkout_coupon input.input-text:focus{
  outline:none;border-color:var(--hn-purple-500);background:#fff;box-shadow:0 0 0 4px rgba(116,64,201,.12);
}
.hn-wc-page .form-row.woocommerce-invalid input,.hn-wc-page .form-row.woocommerce-invalid select{border-color:var(--hn-red);background:#fff7f8}
.hn-wc-page .form-row.woocommerce-validated input{border-color:#2fb36b}
.hn-wc-page .form-row select:not(.select2-hidden-accessible){
  -webkit-appearance:none;appearance:none;padding-inline-end:38px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235c34a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left 14px center;
}

/* select2 / selectWoo (province, city, country) */
.hn-wc-page .select2-container{width:100% !important;display:block}
.hn-wc-page .select2-container .select2-selection--single{
  height:46px;display:flex;align-items:center;border:1.5px solid var(--hn-gray-300);border-radius:10px;background:var(--hn-gray-100);transition:.18s;
}
.hn-wc-page .select2-container--open .select2-selection--single,
.hn-wc-page .select2-container--focus .select2-selection--single{border-color:var(--hn-purple-500);background:#fff;box-shadow:0 0 0 4px rgba(116,64,201,.12)}
.hn-wc-page .select2-container--default .select2-selection--single .select2-selection__rendered{
  flex:1;padding:0 14px;line-height:44px;color:var(--hn-ink);font-size:14px;font-family:inherit;
}
.hn-wc-page .select2-container--default .select2-selection--single .select2-selection__arrow{height:44px;top:0;left:8px;right:auto}
.hn-wc-page .select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:var(--hn-purple-600) transparent transparent}
.select2-dropdown{border:1.5px solid var(--hn-purple-500) !important;border-radius:12px !important;overflow:hidden;box-shadow:var(--hn-shadow-lg);font-family:inherit}
.select2-search--dropdown{padding:10px}
.select2-search--dropdown .select2-search__field{border:1.5px solid var(--hn-gray-300) !important;border-radius:8px !important;padding:8px 12px !important;font-family:inherit;outline:none}
.select2-results__option{padding:9px 14px !important;font-size:13.5px}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected]{background:var(--hn-purple-600) !important;color:#fff !important}

/* checkboxes (create account / ship to another address) */
.hn-wc-page input[type=checkbox],.hn-wc-page input[type=radio]{accent-color:var(--hn-purple-600);width:17px;height:17px;vertical-align:middle;margin-inline-end:8px;cursor:pointer}
.hn-wc-page .woocommerce-form__label-checkbox,
.hn-wc-page #ship-to-different-address label,
.hn-wc-page .woocommerce-form__label-for-checkbox{display:flex !important;align-items:center;gap:4px;cursor:pointer;font-weight:700}
.hn-wc-page #ship-to-different-address{margin:0 0 6px}
.hn-wc-page #ship-to-different-address label{font-size:14px;margin:0}
.hn-wc-page .woocommerce-account-fields{margin:6px 0 4px}

/* order summary card (heading + review) */
.hn-wc-page form.checkout #order_review_heading{
  grid-area:heading;position:relative;margin:0;padding:24px 26px 20px;font-size:18px;font-weight:800;color:var(--hn-ink);
  background:#fff;border-radius:var(--hn-radius) var(--hn-radius) 0 0;
}
.hn-wc-page form.checkout #order_review_heading::after{inset-inline-start:26px;bottom:10px}
.hn-wc-page form.checkout #order_review{
  grid-area:review;background:#fff;border-radius:0 0 var(--hn-radius) var(--hn-radius);padding:0 26px 26px;
  box-shadow:0 14px 24px -10px rgba(45,27,78,.14);
}
.hn-wc-page #order_review table.shop_table{box-shadow:none;border-radius:0;margin:0 0 18px;background:transparent;width:100%;border-collapse:collapse}
.hn-wc-page #order_review table.shop_table thead th{
  background:var(--hn-gray-100);padding:11px 14px;font-size:12px;text-align:right;
}
.hn-wc-page #order_review table.shop_table thead th:last-child{text-align:left}
.hn-wc-page #order_review table.shop_table tbody td{
  padding:14px;text-align:right;font-size:13px;line-height:1.8;border-top:1px solid var(--hn-gray-300);
}
.hn-wc-page #order_review table.shop_table tbody td.product-total{text-align:left;white-space:nowrap;font-weight:700;color:var(--hn-purple-700)}
.hn-wc-page #order_review table.shop_table .product-quantity{display:inline-block;white-space:nowrap;color:var(--hn-purple-600);font-weight:800;margin-inline-start:6px;direction:ltr;unicode-bidi:isolate}
.hn-wc-page #order_review table.shop_table tfoot th,
.hn-wc-page #order_review table.shop_table tfoot td{
  padding:12px 14px;font-size:13px;border-top:1px solid var(--hn-gray-300);text-align:right;vertical-align:top;background:transparent;
}
.hn-wc-page #order_review table.shop_table tfoot th{color:var(--hn-gray-700);font-weight:600;width:38%}
.hn-wc-page #order_review table.shop_table tfoot td{text-align:left;font-weight:700}
.hn-wc-page #order_review table.shop_table tfoot .order-total th,
.hn-wc-page #order_review table.shop_table tfoot .order-total td{
  background:var(--hn-purple-100);border-top:2px solid var(--hn-purple-100);font-size:15px;color:var(--hn-purple-700);font-weight:800;
}
.hn-wc-page #order_review table.shop_table tfoot .order-total th{border-radius:0 10px 10px 0}
.hn-wc-page #order_review table.shop_table tfoot .order-total td{border-radius:10px 0 0 10px;font-size:16px}
.hn-wc-page #order_review ul#shipping_method{list-style:none;margin:0;padding:0;text-align:right}
.hn-wc-page #order_review ul#shipping_method li{margin:0 0 6px;font-size:12.5px;font-weight:600}
.hn-wc-page #order_review ul#shipping_method label{display:inline;font-weight:600}

/* payment methods */
.hn-wc-page #payment{background:transparent;border-radius:0}
.hn-wc-page #payment ul.wc_payment_methods{list-style:none;margin:0 0 18px;padding:0}
.hn-wc-page #payment li.wc_payment_method{
  margin:0 0 10px;padding:14px 16px;border:1.5px solid var(--hn-gray-300);border-radius:12px;transition:.18s;background:#fff;
}
.hn-wc-page #payment li.wc_payment_method:has(input:checked){border-color:var(--hn-purple-500);background:#fbf9ff;box-shadow:0 0 0 3px rgba(116,64,201,.10)}
.hn-wc-page #payment li.wc_payment_method > label{display:inline-flex;align-items:center;gap:2px;font-size:14px;font-weight:800;color:var(--hn-ink);cursor:pointer;margin:0}
.hn-wc-page #payment li.wc_payment_method img{max-height:26px;width:auto;margin-inline-start:8px;vertical-align:middle}
.hn-wc-page #payment div.payment_box{
  margin:12px 0 0;padding:12px 14px;background:var(--hn-purple-100);border-radius:10px;font-size:12.5px;line-height:1.95;color:var(--hn-purple-700);
}
.hn-wc-page #payment div.payment_box p{margin:0}
.hn-wc-page #payment .woocommerce-notice,.hn-wc-page #payment .woocommerce-info{margin:0}
.hn-wc-page #payment .place-order{margin:0;padding:0}
.hn-wc-page .woocommerce-terms-and-conditions-wrapper{margin:0 0 14px;font-size:12.5px;color:var(--hn-gray-700);line-height:1.9}
.hn-wc-page .woocommerce-privacy-policy-text p{margin:0 0 12px;font-size:12px;color:var(--hn-gray-700);line-height:1.9}
.hn-wc-page .woocommerce-privacy-policy-text a{color:var(--hn-purple-600);font-weight:700}
.hn-wc-page #place_order{
  display:block;width:100%;height:54px;border:none !important;border-radius:999px !important;cursor:pointer;
  background:linear-gradient(90deg,var(--hn-purple-600),var(--hn-purple-500)) !important;color:#fff !important;
  font-family:inherit;font-size:16px;font-weight:800;box-shadow:0 12px 26px rgba(116,64,201,.36);transition:.2s;
}
.hn-wc-page #place_order:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(116,64,201,.46)}
.hn-wc-page #payment .place-order::after{
  content:"🔒 اطلاعات شما به‌صورت امن پردازش می‌شود";display:block;text-align:center;font-size:12px;color:var(--hn-gray-700);margin-top:14px;
}

/* order received (thank-you) page */
.hn-wc-page .woocommerce-order{max-width:900px;margin:0 auto}
.hn-wc-page .woocommerce-thankyou-order-received{
  background:#e8f8ee;color:#17703f;border-radius:var(--hn-radius);padding:22px;text-align:center;font-size:16px;font-weight:800;margin:0 0 22px;
}
.hn-wc-page ul.woocommerce-order-overview{
  list-style:none;margin:0 0 26px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;
}
.hn-wc-page ul.woocommerce-order-overview li{
  background:#fff;border-radius:12px;box-shadow:var(--hn-shadow);padding:16px;font-size:12px;color:var(--hn-gray-700);margin:0;
}
.hn-wc-page ul.woocommerce-order-overview li strong{display:block;margin-top:5px;font-size:14.5px;color:var(--hn-ink)}
.hn-wc-page .woocommerce-order-details,
.hn-wc-page .woocommerce-customer-details{background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:24px;margin:0 0 22px}
.hn-wc-page .woocommerce-order-details h2,
.hn-wc-page .woocommerce-customer-details h2,
.hn-wc-page .woocommerce-column__title{font-size:17px;font-weight:800;margin:0 0 16px;color:var(--hn-ink)}
.hn-wc-page .woocommerce-order-details table.shop_table{box-shadow:none;margin:0}
.hn-wc-page .woocommerce-order-details table.shop_table td,
.hn-wc-page .woocommerce-order-details table.shop_table th{text-align:right;padding:12px 14px;font-size:13px}
.hn-wc-page .woocommerce-columns--addresses{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.hn-wc-page .woocommerce-customer-details address{font-style:normal;line-height:2;font-size:13.5px;background:var(--hn-gray-100);border-radius:12px;padding:16px}

@media(max-width:1000px){
  .hn-wc-page form.checkout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto;grid-template-areas:"details" "heading" "review";row-gap:0}
  .hn-wc-page form.checkout #customer_details{margin-bottom:22px}
}
@media(max-width:560px){
  .hn-wc-page form.checkout #customer_details{padding:20px 16px}
  .hn-wc-page .woocommerce-billing-fields__field-wrapper,
  .hn-wc-page .woocommerce-shipping-fields__field-wrapper{grid-template-columns:1fr}
  .hn-wc-page form.checkout #order_review{padding:0 16px 20px}
  .hn-wc-page form.checkout #order_review_heading{padding:20px 16px 18px}
  .hn-wc-page form.checkout #order_review_heading::after{inset-inline-start:16px}
  .hn-wc-page .woocommerce-columns--addresses{grid-template-columns:1fr}
  .hn-wc-page form.checkout_coupon .form-row-first,.hn-wc-page form.checkout_coupon .form-row-last{float:none;width:100%}
}

/* checkout summary table keeps a real table layout on phones (overrides the cart-table stacking rule) */
@media(max-width:700px){
  .hn-wc-page #order_review table.shop_table{display:table}
  .hn-wc-page #order_review table.shop_table thead{display:table-header-group}
  .hn-wc-page #order_review table.shop_table tbody{display:table-row-group}
  .hn-wc-page #order_review table.shop_table tfoot{display:table-footer-group}
  .hn-wc-page #order_review table.shop_table tr{display:table-row;padding:0;border-top:none}
  .hn-wc-page #order_review table.shop_table td,
  .hn-wc-page #order_review table.shop_table th{display:table-cell;width:auto;padding:12px 10px}
  .hn-wc-page #order_review table.shop_table tbody td.product-total,
  .hn-wc-page #order_review table.shop_table tfoot td{text-align:left!important}
  .hn-wc-page #order_review table.shop_table tfoot th{width:38%}
}


/* ===== Services: 9 specialty cards use the same card style ===== */
.hn-offer-grid.cols-3{grid-template-columns:repeat(3,1fr)}
.hn-offer-grid.cols-3 .hn-offer ul{padding-top:16px;padding-bottom:20px;justify-content:center}
@media(max-width:1000px){.hn-offer-grid.cols-3{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.hn-offer-grid.cols-3{grid-template-columns:1fr}}

/* ===== Blog: hero ===== */
.hn-blog-hero,.hn-post-hero{
  position:relative;overflow:hidden;color:#fff;text-align:center;
  background:linear-gradient(135deg,var(--hn-purple-700) 0%,var(--hn-purple-900) 100%);background-size:cover;background-position:center;
}
.hn-blog-hero{padding:24px 0 28px}
.hn-blog-orb{position:absolute;border-radius:50%;pointer-events:none;filter:blur(2px)}
.hn-blog-orb.o1{width:220px;height:220px;left:-70px;top:-100px;background:radial-gradient(circle,rgba(245,166,35,.30),rgba(245,166,35,0) 70%)}
.hn-blog-orb.o2{width:280px;height:280px;right:-90px;bottom:-150px;background:radial-gradient(circle,rgba(116,64,201,.55),rgba(116,64,201,0) 70%)}
.hn-blog-hero::before{ /* dotted pattern */
  content:"";position:absolute;inset:0;opacity:.5;pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.12) 1.3px,transparent 1.6px);background-size:26px 26px;
}
.hn-blog-hero-inner{position:relative;z-index:2}
.hn-blog-hero .kicker,.hn-post-hero .kicker{
  display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);
  padding:4px 14px;border-radius:999px;font-size:12px;font-weight:700;color:#ffd58a;margin-bottom:8px;
}
.hn-blog-hero h1{font-size:26px;font-weight:800;margin:0 0 6px;line-height:1.5}
.hn-blog-hero p{max-width:600px;margin:0 auto;font-size:13px;line-height:1.9;opacity:.92}
.hn-blog-search{
  display:flex;align-items:center;max-width:400px;margin:14px auto 0;background:#fff;border-radius:999px;padding:4px;
  box-shadow:0 8px 20px rgba(0,0,0,.22);
}
.hn-blog-search input[type=search]{
  flex:1;min-width:0;border:none;background:transparent;padding:0 16px;height:34px;font-family:inherit;font-size:13px;color:var(--hn-ink);outline:none;
}
.hn-blog-search button{
  border:none;cursor:pointer;height:34px;padding:0 20px;border-radius:999px;font-family:inherit;font-size:13px;font-weight:800;
  background:var(--hn-gold);color:#fff;transition:.2s;
}
.hn-blog-search button:hover{background:var(--hn-gold-dark)}

/* ===== Blog: cards ===== */
.hn-blog{padding:30px 20px 30px}
.hn-blog-note{
  background:#fff8e8;border:1px solid rgba(245,166,35,.45);border-radius:12px;padding:14px 18px;margin:0 0 26px;
  font-size:13px;line-height:2;color:#6b4a06;
}
.hn-blog-note b{display:block;color:#4a3004}
.hn-blog-note a{color:var(--hn-purple-600);font-weight:800;text-decoration:underline}
.hn-bgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.hn-bcard{
  display:flex;flex-direction:column;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);
  overflow:hidden;color:inherit;transition:transform .3s,box-shadow .3s;
}
a.hn-bcard:hover{transform:translateY(-6px);box-shadow:var(--hn-shadow-lg)}
.hn-bcard .media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--hn-gray-100)}
.hn-bcard .media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s ease}
a.hn-bcard:hover .media img{transform:scale(1.07)}
.hn-bcard .date{
  position:absolute;top:14px;inset-inline-start:14px;z-index:3;background:#fff;border-radius:10px;padding:6px 13px;
  text-align:center;box-shadow:0 6px 16px rgba(0,0,0,.14);line-height:1.25;
}
.hn-bcard .date b{display:block;font-size:21px;font-weight:800;color:var(--hn-purple-700)}
.hn-bcard .date i{display:block;font-style:normal;font-size:11px;font-weight:700;color:var(--hn-gray-700)}
.hn-bcard .date.soon{background:var(--hn-gold);color:#fff;font-size:12px;font-weight:800;padding:8px 14px}
.hn-bcard .body{display:flex;flex-direction:column;flex:1;padding:0 22px 22px}
.hn-bcard .tag{
  align-self:flex-start;position:relative;z-index:4;margin-top:-14px;background:var(--hn-purple-600);color:#fff;
  font-size:11.5px;font-weight:700;padding:5px 15px;border-radius:999px;box-shadow:0 6px 14px rgba(92,52,163,.35);
}
.hn-bcard .ttl{font-size:17px;line-height:1.95;font-weight:800;margin:14px 0 8px;color:var(--hn-ink);transition:color .2s}
a.hn-bcard:hover .ttl{color:var(--hn-purple-600)}
.hn-bcard .exc{font-size:13px;color:var(--hn-gray-700);line-height:2.05;margin:0 0 12px}
.hn-bcard .meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:auto;padding-top:12px;border-top:1px dashed var(--hn-gray-300);font-size:12px;color:var(--hn-gray-700)}
.hn-bcard .more{display:inline-flex;align-items:center;gap:8px;margin-top:12px;font-size:13px;font-weight:800;color:var(--hn-purple-600);transition:gap .2s}
a.hn-bcard:hover .more{gap:14px}
.hn-bcard.demo .body{padding-bottom:26px}

/* featured (first) article */
.hn-bcard.is-feature{flex-direction:row;margin-bottom:24px}
.hn-bcard.is-feature .media{flex:1.15;aspect-ratio:auto;min-height:360px}
.hn-bcard.is-feature .body{flex:1;justify-content:center;padding:36px 38px}
.hn-bcard.is-feature .tag{margin-top:0;box-shadow:none}
.hn-bcard.is-feature .ttl{font-size:26px;line-height:1.9;margin:16px 0 10px}
.hn-bcard.is-feature .exc{font-size:14px}
.hn-bcard.is-feature .meta{margin-top:10px}
.hn-bcard.is-feature .more{align-self:flex-start;background:var(--hn-purple-600);color:#fff;padding:10px 22px;border-radius:999px;margin-top:18px}
.hn-bcard.is-feature.demo .ttl{margin-bottom:0}

.hn-blog-empty{text-align:center;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:54px 20px}
.hn-blog-empty span{font-size:42px}
.hn-blog-empty h2{margin:10px 0 6px;font-size:20px}
.hn-blog-empty p{margin:0 0 18px;color:var(--hn-gray-700);font-size:14px}

/* placeholder art */
.hn-art{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff}
.hn-art::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.16) 1.4px,transparent 1.7px);background-size:22px 22px}
.hn-art .ring{position:absolute;border-radius:50%;border:1.5px solid rgba(255,255,255,.2)}
.hn-art .ring.r1{width:78%;aspect-ratio:1;left:-14%;top:-48%}
.hn-art .ring.r2{width:60%;aspect-ratio:1;right:-12%;bottom:-40%;border-color:rgba(255,255,255,.28)}
.hn-art .glyph{
  position:relative;z-index:2;width:30%;max-width:120px;min-width:64px;aspect-ratio:1;border-radius:50%;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.14);border:1.5px solid rgba(255,255,255,.35);backdrop-filter:blur(2px);box-shadow:0 12px 30px rgba(0,0,0,.25);
}
.hn-art .glyph svg{width:54%;height:54%;filter:drop-shadow(0 0 10px rgba(255,214,140,.7))}
.hn-art.art-0{background:linear-gradient(135deg,#6a3fc0 0%,#2d1b4e 100%)}
.hn-art.art-1{background:linear-gradient(135deg,#e0344c 0%,#4a2d7d 100%)}
.hn-art.art-2{background:linear-gradient(135deg,#2f7ddb 0%,#3b2a8f 100%)}
.hn-art.art-3{background:linear-gradient(135deg,#f5a623 0%,#7440c9 100%)}

@media(max-width:1000px){.hn-bgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){
  .hn-bcard.is-feature{flex-direction:column}
  .hn-bcard.is-feature .media{flex:none;min-height:0;aspect-ratio:16/10}
  .hn-bcard.is-feature .body{padding:0 22px 24px}
  .hn-bcard.is-feature .tag{margin-top:-14px;box-shadow:0 6px 14px rgba(92,52,163,.35)}
  .hn-bcard.is-feature .ttl{font-size:20px}
  .hn-blog-hero h1{font-size:22px}
}
@media(max-width:620px){
  .hn-bgrid{grid-template-columns:1fr}
  .hn-blog-hero{padding:20px 0 22px}
  .hn-blog{padding:30px 14px 20px}
}

/* ===== Single article ===== */
.hn-post-hero{padding:34px 0 44px}
.hn-post-hero .hn-wrap{position:relative;z-index:2}
.hn-post-hero .back{display:inline-block;margin-bottom:16px;font-size:12.5px;font-weight:700;color:#e7dcff;opacity:.9}
.hn-post-hero .back:hover{color:#fff}
.hn-post-hero .kicker{display:block;width:max-content;margin:0 auto 14px}
.hn-post-hero h1{max-width:860px;margin:0 auto 16px;font-size:30px;line-height:1.8;font-weight:800}
.hn-post-meta{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px;font-size:13px;opacity:.92}
.hn-article-wrap{max-width:900px !important;margin-top:0;position:relative;z-index:3;padding-top:34px;padding-bottom:40px}
.hn-article{background:#fff;border-radius:18px;box-shadow:var(--hn-shadow-lg);overflow:hidden}
.hn-article .cover{aspect-ratio:16/8;overflow:hidden;background:var(--hn-gray-100)}
.hn-article .cover img{width:100%;height:100%;object-fit:cover;display:block}
.hn-article .entry-content{padding:30px 44px 26px;font-size:15.5px;line-height:1.95;color:var(--hn-ink)}
.hn-article .entry-content > *:first-child{margin-top:0}
.hn-article .entry-content p{margin:0 0 12px}
.hn-article .entry-content li br,.hn-article .entry-content h2 br{display:none}
.hn-article .entry-content p:empty{display:none}
.hn-article .entry-content h2{position:relative;font-size:21px;font-weight:800;margin:28px 0 14px;padding-bottom:10px;line-height:1.7}
.hn-article .entry-content h2::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:48px;height:3px;border-radius:3px;background:var(--hn-gold)}
.hn-article .entry-content h3{font-size:19px;font-weight:800;margin:30px 0 12px;color:var(--hn-purple-700)}
.hn-article .entry-content ul,.hn-article .entry-content ol{margin:0 0 14px;padding-inline-start:26px}
.hn-article .entry-content ul{list-style:disc}
.hn-article .entry-content ol{list-style:decimal}
.hn-article .entry-content li{margin:0 0 2px;line-height:1.85}
.hn-article .entry-content li::marker{color:var(--hn-gold-dark);font-weight:800}
.hn-article .entry-content a{color:var(--hn-purple-600);font-weight:700;text-decoration:underline;text-underline-offset:4px}
.hn-article .entry-content img{max-width:100%;height:auto;border-radius:12px;margin:8px 0}
.hn-article .entry-content figure{margin:24px 0}
.hn-article .entry-content figcaption{text-align:center;font-size:12.5px;color:var(--hn-gray-700);margin-top:8px}
.hn-article .entry-content blockquote{
  margin:26px 0;padding:18px 24px;background:var(--hn-purple-100);border-inline-start:4px solid var(--hn-purple-500);border-radius:12px;color:var(--hn-purple-700);font-weight:600;
}
.hn-article .entry-content blockquote p:last-child{margin:0}
.hn-article .entry-content table{width:100%;border-collapse:collapse;margin:0 0 24px;font-size:14px;border-radius:12px;overflow:hidden;box-shadow:0 0 0 1px var(--hn-gray-300)}
.hn-article .entry-content th{background:var(--hn-purple-600);color:#fff;padding:12px 14px;text-align:right}
.hn-article .entry-content td{padding:12px 14px;border-top:1px solid var(--hn-gray-300)}
.hn-article .entry-content tr:nth-child(even) td{background:var(--hn-gray-100)}
.hn-article-empty,.hn-article .hn-article-empty{text-align:center;color:var(--hn-gray-700);padding:30px 0}
.hn-article-tags{padding:0 44px 30px;display:flex;flex-wrap:wrap;gap:8px}
.hn-article-tags a{background:var(--hn-purple-100);color:var(--hn-purple-700);font-size:12px;font-weight:700;padding:5px 14px;border-radius:999px}
.hn-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:26px 0 8px}
.hn-post-nav a{display:block;background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:16px 20px;transition:.2s}
.hn-post-nav a:hover{transform:translateY(-3px);box-shadow:var(--hn-shadow-lg)}
.hn-post-nav small{display:block;color:var(--hn-purple-600);font-weight:800;font-size:12px;margin-bottom:4px}
.hn-post-nav span{font-size:14px;font-weight:700;color:var(--hn-ink);line-height:1.8}
.hn-post-nav a.prev{text-align:left}
.hn-article-wrap .hn-bgrid{grid-template-columns:repeat(3,1fr);gap:16px}
.hn-article-wrap .hn-bcard .ttl{font-size:15px}
.hn-article-wrap .hn-bcard .body{padding:0 16px 18px}
.hn-article-comments{margin-top:34px}
@media(max-width:900px){.hn-article-wrap .hn-bgrid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){
  .hn-post-hero h1{font-size:22px}
  .hn-article .entry-content{padding:24px 18px 20px;font-size:14.5px}
  .hn-article-tags{padding:0 18px 22px}
  .hn-post-nav,.hn-article-wrap .hn-bgrid{grid-template-columns:1fr}
}

/* Defensive cleanup: hide leftover UI from the previous theme's companion
   plugins (Woodmart Core / Slider Revolution / a back-to-top widget) that
   can keep injecting their own floating elements site-wide even after
   switching themes, since deactivating a theme does not deactivate its
   plugins. This targets their known element names — harmless if none of
   them are present. Deactivating those plugins in Plugins → Installed
   Plugins is still the real, permanent fix.
*/
.rev_slider_wrapper, .tp-bannertimer, #rs-scroll, .rs-scroll,
.wd-scroll-to-top, .scroll-to-top, .back-to-top, #back-to-top,
.wd-tools-icon, .woodmart-sticky-sidebar, .wd-nav-arrow,
[class*="revslider"], [id*="revslider"], [class*="rs-arrow"]{
  display:none !important;
}

/* Hide native scrollbar UI on horizontally-scrollable strips (nav menu, category
   row, product carousels). Scrolling still works via touch/trackpad/drag — this
   only removes the browser-drawn scrollbar track/arrow buttons, which on some
   Windows/browser configurations render visible clickable arrow icons that were
   being mistaken for a broken theme element. */
.hn-nav-links, .hn-cats, .hn-carousel-track{
  scrollbar-width:none;-ms-overflow-style:none;
}
.hn-nav-links::-webkit-scrollbar,
.hn-cats::-webkit-scrollbar,
.hn-carousel-track::-webkit-scrollbar{
  display:none;height:0;width:0;
}


/* ===== Blog: ۴ بخش مقاله زیر هدر وبلاگ ===== */
.hn-bsections{margin:0 0 10px}
.hn-bsec-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.hn-bsec{
  position:relative;display:block;overflow:hidden;border-radius:20px;aspect-ratio:3/4;min-height:300px;color:#fff;
  background:var(--hn-purple-900);box-shadow:var(--hn-shadow);isolation:isolate;
  transition:transform .35s ease,box-shadow .35s ease;
}
.hn-bsec:hover{transform:translateY(-8px);box-shadow:0 22px 44px rgba(45,27,78,.28)}
.hn-bsec .img{position:absolute;inset:0;background-size:cover;background-position:center;transition:transform .7s ease;z-index:-2}
.hn-bsec:hover .img{transform:scale(1.08)}
.hn-bsec .shade{
  position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(45,27,78,.05) 25%,rgba(45,27,78,.55) 58%,rgba(28,23,48,.94) 100%);
}
.hn-bsec::after{ /* gold line that grows on hover */
  content:"";position:absolute;inset-inline:22px;bottom:0;height:4px;border-radius:4px 4px 0 0;background:var(--hn-gold);
  transform:scaleX(0);transform-origin:center;transition:transform .35s ease;
}
.hn-bsec:hover::after{transform:scaleX(1)}
.hn-bsec .num{
  position:absolute;top:16px;inset-inline-start:16px;width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35);backdrop-filter:blur(6px);
  font-weight:800;font-size:16px;
}
.hn-bsec .txt{position:absolute;inset-inline:0;bottom:0;padding:22px 22px 24px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.hn-bsec .cat{display:inline-block;background:var(--hn-gold);color:#fff;font-size:11.5px;font-weight:800;padding:4px 12px;border-radius:999px}
.hn-bsec .ttl{font-size:18px;line-height:1.8;font-weight:800;margin-top:4px}
.hn-bsec .sub{font-style:normal;font-size:12.5px;line-height:1.9;opacity:.86}
.hn-bsec .go{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;font-weight:800;color:#ffd58a;transition:gap .25s}
.hn-bsec:hover .go{gap:14px}
@media(max-width:1100px){.hn-bsec-grid{grid-template-columns:repeat(2,1fr)}.hn-bsec{aspect-ratio:4/3;min-height:0}}
@media(max-width:560px){.hn-bsec-grid{grid-template-columns:1fr;gap:14px}.hn-bsec{aspect-ratio:16/10}.hn-bsec .ttl{font-size:17px}}


/* ===== Comments ===== */
.hn-comments{background:#fff;border-radius:20px;box-shadow:var(--hn-shadow);padding:32px 36px 36px;position:relative;overflow:hidden}
.hn-comments::before{content:"";position:absolute;inset-inline:0;top:0;height:5px;background:linear-gradient(90deg,var(--hn-purple-600),var(--hn-gold))}
.hn-comments-title,.hn-comments .comment-reply-title{
  display:flex;align-items:center;gap:10px;margin:0 0 22px;font-size:20px;font-weight:800;color:var(--hn-ink);line-height:1.7;
}
.hn-comments-title::before,.hn-comments .comment-reply-title::before{
  content:"";width:6px;height:26px;border-radius:6px;background:var(--hn-gold);flex:none;
}
.hn-comments .comment-reply-title small{margin-inline-start:auto;font-size:12.5px;font-weight:700}
.hn-comments .comment-reply-title small a{color:var(--hn-red)}
.hn-comment-list{list-style:none;margin:0 0 34px;padding:0}
.hn-comment-list .children{list-style:none;margin:0;padding:0;padding-inline-start:34px;border-inline-start:2px dashed var(--hn-gray-300);margin-inline-start:26px}
.hn-comment{margin:0 0 16px}
.hn-comment-box{display:flex;gap:14px;background:var(--hn-gray-100);border-radius:16px;padding:18px 20px}
.hn-comment-avatar img{width:52px;height:52px;border-radius:50%;display:block;border:3px solid #fff;box-shadow:0 4px 12px rgba(45,27,78,.15)}
.hn-comment-main{flex:1;min-width:0}
.hn-comment-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-bottom:6px}
.hn-comment-author{font-weight:800;font-size:14.5px;color:var(--hn-ink)}
.hn-comment-author a{color:inherit}
.hn-comment-badge{background:var(--hn-purple-600);color:#fff;font-size:10.5px;font-weight:800;padding:2px 10px;border-radius:999px}
.hn-comment-date{font-size:12px;color:var(--hn-gray-700)}
.hn-comment-text{font-size:14px;line-height:2;color:var(--hn-ink)}
.hn-comment-text p{margin:0 0 6px}
.hn-comment-wait{display:inline-block;background:#fff8e8;border:1px solid rgba(245,166,35,.45);color:#6b4a06;font-size:12.5px;padding:6px 12px;border-radius:10px;margin-bottom:6px}
.hn-comment-actions{margin-top:6px;font-size:12.5px;font-weight:800}
.hn-comment-actions a{color:var(--hn-purple-600);margin-inline-end:14px}
.hn-comment-actions a:hover{color:var(--hn-gold-dark)}
.hn-comments .comment-respond{margin:0}
.hn-comment-list + .comment-respond{border-top:1px dashed var(--hn-gray-300);padding-top:28px}
.hn-comments .comment-notes,.hn-comments .logged-in-as{font-size:13px;color:var(--hn-gray-700);line-height:2;margin:0 0 16px}
.hn-comments .logged-in-as a{color:var(--hn-purple-600);font-weight:800}
.hn-comments .required{color:var(--hn-red)}
.hn-comments .comment-form{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.hn-comments .comment-form > *{grid-column:1 / -1;margin:0}
.hn-comments .comment-form .comment-form-author,.hn-comments .comment-form .comment-form-email{grid-column:auto}
.hn-comments .comment-form label{display:block;font-size:13px;font-weight:800;color:var(--hn-ink);margin-bottom:7px}
.hn-comments .comment-form input[type=text],.hn-comments .comment-form input[type=email],.hn-comments .comment-form textarea{
  width:100%;display:block;font-family:inherit;font-size:14px;color:var(--hn-ink);background:var(--hn-gray-100);
  border:2px solid transparent;border-radius:14px;padding:13px 16px;outline:none;transition:.2s;
}
.hn-comments .comment-form textarea{min-height:150px;line-height:2;resize:vertical}
.hn-comments .comment-form input:focus,.hn-comments .comment-form textarea:focus{background:#fff;border-color:var(--hn-purple-500);box-shadow:0 0 0 4px rgba(116,64,201,.12)}
.hn-comments .comment-form-cookies-consent{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--hn-gray-700)}
.hn-comments .comment-form-cookies-consent input{width:17px;height:17px;accent-color:var(--hn-purple-600);flex:none}
.hn-comments .comment-form-cookies-consent label{margin:0;font-weight:600;font-size:12.5px}
.hn-comments .form-submit{margin:4px 0 0}
.hn-comments .form-submit .hn-comment-submit{
  border:none;cursor:pointer;font-family:inherit;font-size:14.5px;font-weight:800;color:#fff;padding:13px 34px;border-radius:999px;
  background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700));box-shadow:0 10px 22px rgba(92,52,163,.32);transition:.2s;
}
.hn-comments .form-submit .hn-comment-submit:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(92,52,163,.4);background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark))}
.hn-comments-closed{margin:0;text-align:center;color:var(--hn-gray-700);font-size:14px}
.hn-comments .comments-pagination,.hn-comments .navigation{margin:0 0 20px;font-size:13px;font-weight:700}
@media(max-width:620px){
  .hn-comments{padding:24px 18px 26px}
  .hn-comments .comment-form{grid-template-columns:1fr}
  .hn-comments .comment-form .comment-form-author,.hn-comments .comment-form .comment-form-email{grid-column:1 / -1}
  .hn-comment-box{padding:14px}.hn-comment-avatar img{width:42px;height:42px}
  .hn-comment-list .children{padding-inline-start:14px;margin-inline-start:8px}
}


/* ===== About page ===== */
.hn-ab-hero{position:relative;overflow:hidden;color:#fff;text-align:center;padding:44px 0 56px;background:linear-gradient(135deg,var(--hn-purple-700) 0%,var(--hn-purple-900) 100%)}
.hn-ab-hero::before{content:"";position:absolute;inset:0;opacity:.5;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,.12) 1.3px,transparent 1.6px);background-size:26px 26px}
.hn-ab-hero-inner{position:relative;z-index:2}
.hn-ab-crumb{display:flex;justify-content:center;align-items:center;gap:8px;font-size:12.5px;margin-bottom:18px;color:#e7dcff}
.hn-ab-crumb a{color:#e7dcff;opacity:.85}.hn-ab-crumb a:hover{opacity:1}.hn-ab-crumb i{font-style:normal;opacity:.6}.hn-ab-crumb span{font-weight:800;color:#fff}
.hn-ab-kicker{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);padding:6px 18px;border-radius:999px;font-size:12.5px;font-weight:700;color:#ffd58a;margin-bottom:16px}
.hn-ab-hero h1{max-width:820px;margin:0 auto 14px;font-size:34px;font-weight:800;line-height:1.7}
.hn-ab-hero h1 em{font-style:normal;color:var(--hn-gold)}
.hn-ab-hero p{max-width:620px;margin:0 auto;font-size:15px;line-height:2;opacity:.92}
.hn-ab-hero-btns{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:26px}
.hn-ab-btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 30px;border-radius:999px;font-weight:800;font-size:14px;transition:.2s}
.hn-ab-btn.gold{background:var(--hn-gold);color:#fff;box-shadow:0 10px 22px rgba(245,166,35,.35)}
.hn-ab-btn.gold:hover{background:var(--hn-gold-dark);transform:translateY(-2px)}
.hn-ab-btn.ghost{border:1.5px solid rgba(255,255,255,.55);color:#fff}
.hn-ab-btn.ghost:hover{background:#fff;color:var(--hn-purple-700)}

.hn-ab-main{padding:34px 20px 56px}
.hn-ab-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:46px}
.hn-ab-stat{position:relative;overflow:hidden;background:#fff;border-radius:20px;box-shadow:var(--hn-shadow);padding:26px 18px 22px;text-align:center;transition:transform .3s,box-shadow .3s}
.hn-ab-stat:hover{transform:translateY(-6px);box-shadow:var(--hn-shadow-lg)}
.hn-ab-stat::after{content:"";position:absolute;inset-inline:0;bottom:0;height:4px;background:linear-gradient(90deg,var(--hn-purple-500),var(--hn-gold))}
.hn-ab-stat .ic{width:54px;height:54px;border-radius:16px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:var(--hn-purple-100);color:var(--hn-purple-600)}
.hn-ab-stat .ic svg{width:27px;height:27px}
.hn-ab-stat .num b{display:block;font-size:40px;line-height:1.4;font-weight:800;color:var(--hn-purple-700);font-variant-numeric:tabular-nums}
.hn-ab-stat .lbl{font-size:14px;font-weight:700;color:var(--hn-gray-700)}

.hn-ab-story{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:stretch;margin-bottom:50px}
.hn-ab-story-text{position:relative;background:#fff;border-radius:22px;box-shadow:var(--hn-shadow);padding:36px 38px;overflow:hidden}
.hn-ab-story-text::before{content:"";position:absolute;top:0;inset-inline-start:0;width:6px;height:100%;background:linear-gradient(180deg,var(--hn-gold),var(--hn-purple-500))}
.hn-ab-eyebrow{display:inline-block;background:var(--hn-purple-100);color:var(--hn-purple-600);font-size:12px;font-weight:800;padding:4px 14px;border-radius:999px;margin-bottom:12px}
.hn-ab-story-text h2{margin:0 0 6px;font-size:28px;font-weight:800;color:var(--hn-ink)}
.hn-ab-story-text .lead{margin:0 0 16px;font-size:16px;font-weight:800;color:var(--hn-purple-600);line-height:1.9}
.hn-ab-story-text p{margin:0;font-size:15px;line-height:2.1;color:var(--hn-ink)}
.hn-ab-story-text p.lead{margin-bottom:16px}
.hn-ab-story-cards{display:flex;flex-direction:column;gap:18px}
.hn-ab-point{flex:1;display:flex;gap:16px;align-items:flex-start;background:linear-gradient(135deg,var(--hn-purple-600),var(--hn-purple-900));color:#fff;border-radius:22px;padding:26px 26px;box-shadow:var(--hn-shadow)}
.hn-ab-point .ic{flex:none;width:52px;height:52px;border-radius:16px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;color:#ffd58a}
.hn-ab-point .ic svg{width:26px;height:26px}
.hn-ab-point h3{margin:0 0 6px;font-size:16.5px;font-weight:800}
.hn-ab-point p{margin:0;font-size:13.5px;line-height:2;opacity:.92}

.hn-ab-areas{margin-bottom:50px}
.hn-ab-area-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.hn-ab-area{position:relative;background:#fff;border-radius:20px;box-shadow:var(--hn-shadow);padding:28px 22px 24px;transition:.3s;overflow:hidden}
.hn-ab-area:hover{transform:translateY(-6px);box-shadow:var(--hn-shadow-lg);background:linear-gradient(160deg,#fff,var(--hn-purple-100))}
.hn-ab-area .n{position:absolute;top:10px;inset-inline-end:16px;font-size:44px;font-weight:800;color:var(--hn-purple-100);line-height:1}
.hn-ab-area .ic{position:relative;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:var(--hn-gold);color:#fff;margin-bottom:14px;box-shadow:0 8px 18px rgba(245,166,35,.35)}
.hn-ab-area .ic svg{width:27px;height:27px}
.hn-ab-area h3{position:relative;margin:0 0 6px;font-size:18px;font-weight:800;color:var(--hn-ink)}
.hn-ab-area p{position:relative;margin:0;font-size:13px;line-height:2;color:var(--hn-gray-700)}

.hn-ab-contact{position:relative;overflow:hidden;border-radius:26px;padding:42px 30px 40px;text-align:center;color:#fff;background:linear-gradient(135deg,var(--hn-purple-700),var(--hn-purple-900));box-shadow:var(--hn-shadow-lg)}
.hn-ab-contact > *{position:relative;z-index:2}
.hn-ab-contact .hn-blog-orb{z-index:1}
.hn-ab-contact h2{margin:0 0 8px;font-size:25px;font-weight:800;line-height:1.8}
.hn-ab-contact-head p{margin:0 0 26px;font-size:14px;opacity:.9}
.hn-ab-phones{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:900px;margin:0 auto}
.hn-ab-phone{display:flex;align-items:center;gap:14px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(6px);border-radius:18px;padding:16px 20px;text-align:start;transition:.25s}
.hn-ab-phone:hover{background:#fff;color:var(--hn-purple-700);transform:translateY(-4px)}
.hn-ab-phone .ic{flex:none;width:46px;height:46px;border-radius:14px;background:var(--hn-gold);color:#fff;display:flex;align-items:center;justify-content:center}
.hn-ab-phone .ic svg{width:22px;height:22px}
.hn-ab-phone .t{display:flex;flex-direction:column;gap:2px;min-width:0}
.hn-ab-phone small{font-size:11.5px;opacity:.8}
.hn-ab-phone b{font-size:19px;font-weight:800;letter-spacing:.5px;text-align:right}

@media(max-width:1000px){
  .hn-ab-stats,.hn-ab-area-grid{grid-template-columns:repeat(2,1fr)}
  .hn-ab-story{grid-template-columns:1fr}
  .hn-ab-phones{grid-template-columns:1fr;max-width:420px}
}
@media(max-width:560px){
  .hn-ab-hero{padding:30px 0 40px}.hn-ab-hero h1{font-size:23px}
  .hn-ab-stat .num b{font-size:30px}.hn-ab-stat{padding:20px 10px 18px}
  .hn-ab-area-grid{grid-template-columns:1fr}
  .hn-ab-story-text{padding:26px 22px}.hn-ab-contact h2{font-size:20px}
}


/* ===== Mega-menu: category icon tiles ===== */
.hn-cat-flyout-list li{padding:9px 16px}
.hn-cat-flyout-list li a{display:flex;align-items:center;gap:12px}
.hn-cat-ic{flex:none;width:44px;height:44px;border-radius:13px;display:flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;
  background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700));box-shadow:0 6px 14px rgba(45,27,78,.18);transition:transform .2s}
.hn-cat-ic svg{width:25px;height:25px}
.hn-cat-ic img{width:100%;height:100%;object-fit:cover}
.hn-cat-flyout-list li:hover .hn-cat-ic,.hn-cat-flyout-list li.active .hn-cat-ic{transform:scale(1.08) rotate(-4deg)}
.hn-cat-ic.t-camera{background:linear-gradient(135deg,#7440c9,#4a2d7d)}
.hn-cat-ic.t-alarm{background:linear-gradient(135deg,#ef4b64,#b52a45)}
.hn-cat-ic.t-network{background:linear-gradient(135deg,#2f7ddb,#3b2a8f)}
.hn-cat-ic.t-recorder{background:linear-gradient(135deg,#14a89a,#0b6e86)}
.hn-cat-ic.t-switch{background:linear-gradient(135deg,#3b8fe0,#2456b8)}
.hn-cat-ic.t-cable{background:linear-gradient(135deg,#f5a623,#d9660f)}
.hn-cat-ic.t-tower{background:linear-gradient(135deg,#8a57d6,#5c34a3)}
.hn-cat-ic.t-accessory{background:linear-gradient(135deg,#f5a623,#e0344c)}
.hn-cat-ic.t-box{background:linear-gradient(135deg,#6a6580,#3b3552)}
.hn-cat-panel-all{display:flex;align-items:center;gap:8px;margin-bottom:14px;padding-bottom:12px;border-bottom:1px dashed var(--hn-gray-300);
  font-size:15px;font-weight:800;color:var(--hn-purple-700)}
.hn-cat-panel-all:hover{color:var(--hn-gold-dark)}
.hn-cat-panel li a{position:relative;padding-inline-start:26px}
.hn-cat-panel li a::before{content:"";position:absolute;inset-inline-start:10px;top:50%;width:6px;height:6px;border-radius:50%;background:var(--hn-gold);transform:translateY(-50%)}

/* ===== Trust strip + footer: larger, easier-to-read type ===== */
.hn-feature{padding:20px 22px;gap:16px;transition:.25s}
.hn-feature:hover{transform:translateY(-4px);box-shadow:var(--hn-shadow-lg)}
.hn-feature .ic{width:56px;height:56px;font-size:0}
.hn-feature .ic svg{width:28px;height:28px}
.hn-feature b{font-size:16px;font-weight:800;margin-bottom:2px}
.hn-feature span:not(.ic){font-size:13.5px}
.hn-footer{padding-top:56px}
.hn-footer-grid{gap:34px;padding-bottom:38px}
.hn-footer h4{font-size:18px;font-weight:800;margin:0 0 18px;position:relative;padding-bottom:10px}
.hn-footer h4::after{content:"";position:absolute;bottom:0;inset-inline-start:0;width:34px;height:3px;border-radius:3px;background:var(--hn-gold)}
.hn-footer li{margin-bottom:12px;font-size:14.5px;line-height:1.9}
.hn-footer li a{transition:.2s}
.hn-footer li a:hover{color:#fff;padding-inline-start:4px}
.hn-footer-about{font-size:14.5px;line-height:2.1;margin:0}
.hn-footer-contact li{display:flex;align-items:flex-start;gap:10px;font-size:14.5px}
.hn-footer-contact .fi{flex:none;width:19px;height:19px;margin-top:5px;color:var(--hn-gold)}
.hn-footer-addr li{line-height:2}
.hn-footer-addr b{color:#fff}
.hn-footer-bottom{font-size:13.5px;padding:20px 0}


/* ===== Hero banner: responsive ===== */
@media(max-width:900px){.hn-hero{border-radius:18px;margin:14px auto}}
@media(max-width:560px){
  .hn-hero{border-radius:14px;margin:10px auto 14px}
  .hn-hero-caption{display:none} /* the banner image already carries its own text on small screens */
  .hn-hero-arrow{display:none}
}

/* ===== Responsive hardening (tablet + phone) ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
iframe,video,embed,object{max-width:100%}
h1,h2,h3,h4,.ttl,.title{overflow-wrap:anywhere}
.entry-content pre,.entry-content table{max-width:100%}
@media(max-width:900px){
  .hn-deals{flex-wrap:wrap;justify-content:center;text-align:center;gap:14px}
  .hn-cats{grid-template-columns:repeat(3,1fr)}
  .hn-footer{margin-top:40px;padding-top:40px}
}
@media(max-width:700px){
  input,select,textarea{font-size:16px !important} /* prevents iOS zoom-on-focus */
  .hn-article .entry-content table{display:block;overflow-x:auto;white-space:nowrap}
  .hn-cat-flyout-list li{padding:7px 12px}
  .hn-cat-ic{width:38px;height:38px;border-radius:11px}.hn-cat-ic svg{width:21px;height:21px}
  .hn-cat-panel-all{font-size:14px}
  .hn-feature{padding:14px 16px;gap:12px}.hn-feature .ic{width:46px;height:46px}.hn-feature .ic svg{width:23px;height:23px}
  .hn-feature b{font-size:15px}
  .hn-footer h4{font-size:17px;margin-bottom:14px}
  .hn-footer li,.hn-footer-about,.hn-footer-contact li{font-size:14px}
  .hn-post-nav a{padding:14px 16px}
}
@media(max-width:480px){
  .hn-hero{width:calc(100% - 28px)} /* matches .hn-wrap's 14px side padding on phones */
  .hn-deals{padding:14px}
  .hn-footer-grid{gap:26px}
  .hn-ab-phone b{font-size:17px}
  .hn-bsec .txt{padding:16px 16px 18px}
}
.hn-footer-contact a{color:inherit;unicode-bidi:plaintext}
.hn-footer-contact a:hover{color:#fff;text-decoration:underline}

/* jump targets from footer links */
.hn-offer{scroll-margin-top:100px}
.hn-offer:target{box-shadow:0 0 0 3px var(--hn-gold),var(--hn-shadow-lg);transform:translateY(-4px)}


/* ===== Main nav: larger type ===== */
.hn-cat-toggle{font-size:15.5px !important;font-weight:800}
.hn-nav-inner{min-height:52px}
@media(max-width:900px){.hn-cat-toggle{font-size:14.5px !important}.hn-nav-links a{font-size:14px}}
@media(max-width:480px){.hn-cat-toggle{font-size:13.5px !important}.hn-nav-links a{font-size:13.5px}}

/* ===== Contact page: office cards ===== */
.hn-office-card{position:relative;z-index:2;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.22);border-radius:18px;padding:16px 18px;margin-bottom:16px;backdrop-filter:blur(6px);transition:.25s}
.hn-office-card:hover{background:rgba(255,255,255,.15);transform:translateY(-3px)}
.hn-office-head{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.hn-office-head .ic{width:38px;height:38px;border-radius:12px;background:var(--hn-gold);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
.hn-office-head .ic svg{width:20px;height:20px}
.hn-office-head b{font-size:16px;font-weight:800}
.hn-office-tel{display:flex;align-items:center;gap:12px;background:#fff;color:var(--hn-purple-700);border-radius:14px;padding:9px 12px;transition:.2s}
.hn-office-tel:hover{background:#fff8e8}
.hn-office-tel .ph{width:34px;height:34px;border-radius:10px;background:var(--hn-purple-100);color:var(--hn-purple-600);display:flex;align-items:center;justify-content:center;flex:none}
.hn-office-tel .ph svg{width:18px;height:18px}
.hn-office-tel .no{flex:1;font-size:19px;font-weight:800;letter-spacing:.5px;text-align:right}
.hn-office-tel .call{font-size:12px;font-weight:800;background:var(--hn-gold);color:#fff;padding:5px 14px;border-radius:999px}
.hn-office-addr{margin:10px 2px 0;font-size:13px;line-height:1.9;opacity:.9}


/* =====================================================================
   CART PAGE — redesign (cards, sticky summary, stepper, polished notices)
   ===================================================================== */
body.woocommerce-cart .hn-wc-page-title{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:28px;font-weight:800}
.hn-cart-count-badge{font-size:13px;font-weight:800;background:var(--hn-purple-100);color:var(--hn-purple-600);padding:5px 15px;border-radius:999px}

/* two-column layout: items + summary */
body.woocommerce-cart .hn-wc-page .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:0 26px;align-items:start}
body.woocommerce-cart .hn-wc-page .woocommerce > *{grid-column:1 / -1}
body.woocommerce-cart .hn-wc-page .woocommerce > form.woocommerce-cart-form{grid-column:1;grid-row:2}
body.woocommerce-cart .hn-wc-page .woocommerce > .cart-collaterals{grid-column:2;grid-row:2;margin:0;position:sticky;top:96px}

/* notices ("سبد خرید به‌روز شد" …) */
body.woocommerce-cart .hn-wc-page .woocommerce-message,
body.woocommerce-cart .hn-wc-page ul.woocommerce-error{
  display:flex;align-items:center;gap:12px;padding:14px 18px;margin:0 0 18px;list-style:none;
  background:#fff;border:none;border-inline-start:5px solid #2fb36b;border-radius:16px;box-shadow:var(--hn-shadow);
  color:#17703f;font-size:14px;font-weight:700;line-height:1.9;
}
body.woocommerce-cart .hn-wc-page .woocommerce-message::before,
body.woocommerce-cart .hn-wc-page ul.woocommerce-error::before{
  content:"✓";flex:none;width:28px;height:28px;border-radius:50%;background:#2fb36b;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;
}
body.woocommerce-cart .hn-wc-page ul.woocommerce-error{border-inline-start-color:var(--hn-red);color:#a3172b;flex-direction:column;align-items:flex-start;gap:4px}
body.woocommerce-cart .hn-wc-page ul.woocommerce-error::before{content:"!";background:var(--hn-red);margin-bottom:2px}
body.woocommerce-cart .hn-wc-page ul.woocommerce-error li{margin:0}
body.woocommerce-cart .hn-wc-page .woocommerce-message .button{margin-inline-start:auto;float:none}

/* items as cards */
body.woocommerce-cart .hn-wc-page table.shop_table.cart{display:block;width:100%;background:none;box-shadow:none;border-radius:0;overflow:visible;margin:0 0 26px}
body.woocommerce-cart .hn-wc-page table.shop_table.cart thead{display:none}
body.woocommerce-cart .hn-wc-page table.shop_table.cart tbody{display:block}
body.woocommerce-cart .hn-wc-page table.shop_table.cart tbody > tr:not(.cart_item){display:block;padding:0;border:none}
body.woocommerce-cart .hn-wc-page table.shop_table.cart td{display:block;width:auto;border:none !important;padding:0 !important;text-align:start !important;background:none}
body.woocommerce-cart .hn-wc-page tr.cart_item{
  position:relative;display:grid;grid-template-columns:96px minmax(0,1fr) auto auto auto 40px;align-items:center;gap:0 24px;
  background:#fff;border:2px solid transparent;border-radius:20px;box-shadow:var(--hn-shadow);padding:16px 22px;margin:0 0 14px;transition:.25s;
}
body.woocommerce-cart .hn-wc-page tr.cart_item:hover{box-shadow:var(--hn-shadow-lg);border-color:var(--hn-purple-100)}
body.woocommerce-cart .hn-wc-page td.product-thumbnail{grid-column:1}
body.woocommerce-cart .hn-wc-page td.product-name{grid-column:2}
body.woocommerce-cart .hn-wc-page td.product-price{grid-column:3}
body.woocommerce-cart .hn-wc-page td.product-quantity{grid-column:4}
body.woocommerce-cart .hn-wc-page td.product-subtotal{grid-column:5}
body.woocommerce-cart .hn-wc-page td.product-remove{grid-column:6;justify-self:end}
body.woocommerce-cart .hn-wc-page td.product-thumbnail img{
  display:block;width:96px !important;height:96px !important;object-fit:contain;background:var(--hn-gray-100);border-radius:16px;padding:10px;
}
body.woocommerce-cart .hn-wc-page td.product-name{font-size:15px;font-weight:800;line-height:1.9}
body.woocommerce-cart .hn-wc-page td.product-name a{color:var(--hn-ink)}
body.woocommerce-cart .hn-wc-page td.product-name a:hover{color:var(--hn-purple-600)}
body.woocommerce-cart .hn-wc-page td.product-name dl.variation{margin:4px 0 0;font-size:12.5px;font-weight:600;color:var(--hn-gray-700)}
body.woocommerce-cart .hn-wc-page td.product-price::before,
body.woocommerce-cart .hn-wc-page td.product-quantity::before,
body.woocommerce-cart .hn-wc-page td.product-subtotal::before{
  content:attr(data-title);display:block;font-size:11.5px;font-weight:700;color:var(--hn-gray-700);margin-bottom:6px;
}
body.woocommerce-cart .hn-wc-page td.product-price{font-size:14px;font-weight:700;color:var(--hn-gray-700);white-space:nowrap}
body.woocommerce-cart .hn-wc-page td.product-subtotal{font-size:17px;font-weight:800;color:var(--hn-purple-700);white-space:nowrap;min-width:110px}
body.woocommerce-cart .hn-wc-page td.product-remove a.remove{
  display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:12px;
  background:#fdecef;color:var(--hn-red) !important;font-size:20px;line-height:1;text-decoration:none !important;transition:.2s;
}
body.woocommerce-cart .hn-wc-page td.product-remove a.remove:hover{background:var(--hn-red);color:#fff !important;transform:rotate(90deg)}

/* quantity stepper */
body.woocommerce-cart .hn-wc-page .quantity.hn-qty{display:inline-flex;align-items:center;gap:2px;background:var(--hn-gray-100);border-radius:999px;padding:4px}
.hn-qty-btn{width:34px;height:34px;border:none;border-radius:50%;background:#fff;color:var(--hn-purple-600);font-size:19px;font-weight:800;line-height:1;cursor:pointer;box-shadow:0 2px 6px rgba(45,27,78,.14);transition:.2s;font-family:inherit}
.hn-qty-btn:hover{background:var(--hn-purple-600);color:#fff}
body.woocommerce-cart .hn-wc-page .quantity.hn-qty input.qty{width:46px;height:34px;border:none;background:transparent;text-align:center;font-size:15px;font-weight:800;color:var(--hn-ink);padding:0;-moz-appearance:textfield;appearance:textfield}
body.woocommerce-cart .hn-wc-page .quantity.hn-qty input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .hn-wc-page .quantity.hn-qty input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* actions bar: coupon + update + continue shopping */
body.woocommerce-cart .hn-wc-page td.actions{
  display:flex !important;flex-wrap:wrap;align-items:center;gap:14px;background:#fff !important;border-radius:20px;box-shadow:var(--hn-shadow);padding:16px 20px !important;
}
body.woocommerce-cart .hn-wc-page td.actions .coupon{
  flex:1 1 340px;display:flex;align-items:center;gap:0;margin:0;padding:5px;background:var(--hn-gray-100);border:1.5px dashed var(--hn-gray-300);border-radius:999px;box-shadow:none;
}
body.woocommerce-cart .hn-wc-page td.actions .coupon::before{
  content:"";flex:none;width:22px;height:22px;margin-inline:14px 4px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237440c9' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9a2 2 0 0 0 0 6v3h18v-3a2 2 0 0 1 0-6V6H3z'/%3E%3Cpath d='M14 6v12' stroke-dasharray='2 2'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.woocommerce-cart .hn-wc-page td.actions .coupon #coupon_code{flex:1;min-width:0;height:42px;border:none;background:transparent;padding:0 10px;font-size:14px;font-family:inherit;box-shadow:none}
body.woocommerce-cart .hn-wc-page td.actions .coupon #coupon_code:focus{outline:none}
body.woocommerce-cart .hn-wc-page td.actions .coupon button[name=apply_coupon]{
  height:42px;padding:0 22px !important;border:none;border-radius:999px;cursor:pointer;white-space:nowrap;font-family:inherit;font-size:13.5px;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700));transition:.2s;
}
body.woocommerce-cart .hn-wc-page td.actions .coupon button[name=apply_coupon]:hover{background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark))}
body.woocommerce-cart .hn-wc-page td.actions button[name=update_cart]{
  height:46px;padding:0 24px !important;border-radius:999px;cursor:pointer;font-family:inherit;font-size:13.5px;font-weight:800;margin:0;
  background:#fff;color:var(--hn-purple-600);border:2px solid var(--hn-purple-600);transition:.2s;
}
body.woocommerce-cart .hn-wc-page td.actions button[name=update_cart]:hover:not([disabled]){background:var(--hn-purple-600);color:#fff}
body.woocommerce-cart .hn-wc-page td.actions button[name=update_cart][disabled]{opacity:.4;cursor:not-allowed}
.hn-continue{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;color:var(--hn-purple-600);padding:0 6px}
.hn-continue:hover{color:var(--hn-gold-dark)}

/* summary card */
body.woocommerce-cart .hn-wc-page .cart_totals{max-width:none;width:100%;margin:0;padding:0;overflow:hidden;background:#fff;border-radius:22px;box-shadow:var(--hn-shadow-lg)}
body.woocommerce-cart .hn-wc-page .cart_totals h2{
  margin:0;padding:18px 24px;font-size:17px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--hn-purple-700),var(--hn-purple-900));
}
body.woocommerce-cart .hn-wc-page .cart_totals table.shop_table{display:table;width:calc(100% - 48px);margin:8px 24px 0;background:none;box-shadow:none;border-radius:0}
body.woocommerce-cart .hn-wc-page .cart_totals table tbody{display:table-row-group}
body.woocommerce-cart .hn-wc-page .cart_totals table tr{display:table-row;padding:0;border:none}
body.woocommerce-cart .hn-wc-page .cart_totals table th,
body.woocommerce-cart .hn-wc-page .cart_totals table td{display:table-cell;width:auto;padding:14px 0;font-size:14px;vertical-align:top}
body.woocommerce-cart .hn-wc-page .cart_totals table td{text-align:left !important;font-weight:700}
body.woocommerce-cart .hn-wc-page .cart_totals table .order-total th,
body.woocommerce-cart .hn-wc-page .cart_totals table .order-total td{font-size:18px;font-weight:800;color:var(--hn-purple-700)}
body.woocommerce-cart .hn-wc-page .cart_totals ul#shipping_method{list-style:none;margin:0;padding:0;text-align:right}
body.woocommerce-cart .hn-wc-page .wc-proceed-to-checkout{padding:10px 24px 8px;margin:0}
body.woocommerce-cart .hn-wc-page .wc-proceed-to-checkout a.checkout-button{
  display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:17px !important;margin:0;border-radius:999px;font-size:16px !important;font-weight:800;color:#fff;
  background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark)) !important;box-shadow:0 12px 26px rgba(245,166,35,.42);transition:.2s;
}
body.woocommerce-cart .hn-wc-page .wc-proceed-to-checkout a.checkout-button::after{content:"←";font-size:18px;transition:transform .2s}
body.woocommerce-cart .hn-wc-page .wc-proceed-to-checkout a.checkout-button:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(245,166,35,.5)}
body.woocommerce-cart .hn-wc-page .wc-proceed-to-checkout a.checkout-button:hover::after{transform:translateX(-4px)}
.hn-cart-trust{display:grid;gap:10px;padding:12px 24px 22px}
.hn-cart-trust > div{display:flex;align-items:center;gap:10px;font-size:12.5px;font-weight:700;color:var(--hn-gray-700)}
.hn-cart-trust .ic{width:30px;height:30px;border-radius:10px;background:var(--hn-purple-100);color:var(--hn-purple-600);display:flex;align-items:center;justify-content:center;flex:none}
.hn-cart-trust .ic svg{width:17px;height:17px}

/* empty cart */
body.woocommerce-cart .hn-wc-page .cart-empty{
  display:block;text-align:center;margin:0;padding:54px 20px 14px;background:#fff;border:none;border-radius:24px 24px 0 0;box-shadow:var(--hn-shadow);
  font-size:18px;font-weight:800;color:var(--hn-ink);
}
body.woocommerce-cart .hn-wc-page .cart-empty::before{
  content:"";display:block;width:110px;height:110px;margin:0 auto 18px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237440c9' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3Cpath d='M2 3h3l2.600 12.200a2 2 0 0 0 2 1.600h7.800a2 2 0 0 0 2-1.500L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.woocommerce-cart .hn-wc-page .return-to-shop{text-align:center;margin:0;padding:6px 20px 44px;background:#fff;border-radius:0 0 24px 24px;box-shadow:var(--hn-shadow)}
body.woocommerce-cart .hn-wc-page .return-to-shop a.button{
  display:inline-flex;padding:14px 38px;border-radius:999px;font-weight:800;font-size:14.5px;color:#fff;
  background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark));box-shadow:0 10px 22px rgba(245,166,35,.38)
}

/* tablet */
@media(max-width:1000px){
  body.woocommerce-cart .hn-wc-page .woocommerce{grid-template-columns:1fr}
  body.woocommerce-cart .hn-wc-page .woocommerce > form.woocommerce-cart-form{grid-column:1;grid-row:2}
  body.woocommerce-cart .hn-wc-page .woocommerce > .cart-collaterals{grid-column:1;grid-row:3;position:static}
  body.woocommerce-cart .hn-wc-page tr.cart_item{gap:0 16px}
}
/* phone */
@media(max-width:700px){
  body.woocommerce-cart .hn-wc-page-title{font-size:22px}
  body.woocommerce-cart .hn-wc-page tr.cart_item{grid-template-columns:84px minmax(0,1fr);gap:6px 14px;padding:14px}
  body.woocommerce-cart .hn-wc-page td.product-thumbnail{grid-column:1;grid-row:1 / span 2}
  body.woocommerce-cart .hn-wc-page td.product-thumbnail img{width:84px !important;height:84px !important}
  body.woocommerce-cart .hn-wc-page td.product-name{grid-column:2;grid-row:1;padding-inline-end:42px !important;font-size:14px}
  body.woocommerce-cart .hn-wc-page td.product-price{grid-column:2;grid-row:2;align-self:start}
  body.woocommerce-cart .hn-wc-page td.product-price::before{display:none}
  body.woocommerce-cart .hn-wc-page td.product-quantity,
  body.woocommerce-cart .hn-wc-page td.product-subtotal{grid-column:1 / -1;display:flex !important;align-items:center;justify-content:space-between}
  body.woocommerce-cart .hn-wc-page td.product-quantity{grid-row:3;margin-top:6px;padding-top:12px !important;border-top:1px dashed var(--hn-gray-300) !important}
  body.woocommerce-cart .hn-wc-page td.product-subtotal{grid-row:4;margin-top:6px;min-width:0}
  body.woocommerce-cart .hn-wc-page td.product-quantity::before,
  body.woocommerce-cart .hn-wc-page td.product-subtotal::before{margin:0;font-size:13px}
  body.woocommerce-cart .hn-wc-page td.product-remove{position:absolute;top:10px;inset-inline-end:10px}
  body.woocommerce-cart .hn-wc-page td.actions{flex-direction:column;align-items:stretch;padding:14px !important}
  body.woocommerce-cart .hn-wc-page td.actions .coupon{flex:1 1 auto}
  body.woocommerce-cart .hn-wc-page td.actions button[name=update_cart]{width:100%}
  .hn-continue{justify-content:center;padding:6px 0}
  body.woocommerce-cart .hn-wc-page .cart_totals h2{padding:16px 18px}
  body.woocommerce-cart .hn-wc-page .cart_totals table.shop_table{width:calc(100% - 36px);margin-inline:18px}
  body.woocommerce-cart .hn-wc-page .wc-proceed-to-checkout,.hn-cart-trust{padding-inline:18px}
}


/* =====================================================================
   HEADER — refresh: top info bar, SVG icons, pills, shrink-on-scroll
   ===================================================================== */
.hn-header{background:linear-gradient(135deg,#2d1b4e 0%,#3a2266 100%);box-shadow:0 6px 24px rgba(21,11,39,.35);transition:box-shadow .3s}
.hn-header-inner{height:84px;transition:height .25s ease}
.hn-logo img,.hn-logo .custom-logo,.hn-logo .custom-logo-link img{transition:height .25s ease,max-height .25s ease}
.hn-header.is-scrolled .hn-header-inner{height:64px}
.hn-header.is-scrolled .hn-logo img,.hn-header.is-scrolled .hn-logo .custom-logo,.hn-header.is-scrolled .hn-logo .custom-logo-link img{height:50px !important;max-height:50px !important}

/* search */
.hn-search input{
  height:50px;padding:0 62px 0 24px;font-size:14.5px;font-family:inherit;color:var(--hn-ink);
  background:#fff;box-shadow:inset 0 0 0 2px transparent,0 6px 18px rgba(0,0,0,.18);transition:box-shadow .2s;
}
.hn-search input::placeholder{color:#8b84a3}
.hn-search input:focus{box-shadow:inset 0 0 0 2px var(--hn-gold),0 8px 24px rgba(0,0,0,.25)}
.hn-search button{inset-inline-start:6px;top:6px;width:38px;height:38px;cursor:pointer;transition:.2s;box-shadow:0 4px 10px rgba(245,166,35,.45)}
.hn-search button:hover{background:var(--hn-gold-dark);transform:scale(1.06)}
.hn-header.is-scrolled .hn-search input{height:44px}
.hn-header.is-scrolled .hn-search button{top:3px;width:38px;height:38px}

/* account + cart pills */
.hn-header-actions{gap:12px}
.hn-auth-btn,.hn-cart-btn{
  display:flex;align-items:center;gap:9px;height:46px;padding:0 18px;border-radius:999px;color:#fff;font-size:14px;font-weight:700;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);white-space:nowrap;transition:.2s;
}
.hn-auth-btn:hover,.hn-cart-btn:hover{background:#fff;color:var(--hn-purple-700);border-color:#fff;transform:translateY(-1px)}
.hn-auth-btn svg,.hn-cart-btn svg{flex:none}
.hn-cart-btn{padding:0 18px 0 10px}
.hn-header-actions .hn-icon{width:auto;height:auto;background:none;border-radius:0;font-size:inherit;position:relative;display:flex;align-items:center;color:inherit}
.hn-cart-count{
  position:absolute;top:-11px;left:auto;right:-12px;inset-inline-start:auto;width:auto;min-width:19px;height:19px;padding:0 5px;border-radius:999px;
  background:var(--hn-gold);color:#fff;font-size:11px;font-weight:800;line-height:1;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 2px #2d1b4e;
}
.hn-cart-count.is-empty{display:none} /* no badge when the cart is empty — the icon stays fully visible */
.hn-cart-btn:hover .hn-cart-count{box-shadow:0 0 0 2px #fff}
.hn-header.is-scrolled .hn-auth-btn,.hn-header.is-scrolled .hn-cart-btn{height:42px}

/* nav: gold underline on hover/active */
.hn-nav{background:#1c1032;border-top:1px solid rgba(255,255,255,.06)}
.hn-nav-links a{position:relative;padding:14px 2px;transition:color .2s}
.hn-nav-links > ul > li > a::after{content:"";position:absolute;inset-inline:0;bottom:6px;height:3px;border-radius:3px;background:var(--hn-gold);transform:scaleX(0);transition:transform .25s}
.hn-nav-links > ul > li > a:hover::after,.hn-nav-links > ul > li.current-menu-item > a::after,.hn-nav-links > ul > li.current_page_item > a::after{transform:scaleX(1)}
.hn-nav-links li.current-menu-item > a,.hn-nav-links li.current_page_item > a{color:#fff}
.hn-cat-toggle{background:rgba(255,255,255,.08) !important;padding:8px 16px !important;border-radius:999px !important;transition:.2s}
.hn-cat-toggle:hover{background:rgba(255,255,255,.14) !important}
.hn-cat-toggle.is-open{background:var(--hn-gold) !important;color:#fff}
.hn-cat-toggle.is-open .hn-hamburger-ic{transform:rotate(90deg)}
.hn-hamburger-ic{transition:transform .25s}

/* tablet / phone */
@media(max-width:900px){
  .hn-header-inner,.hn-header.is-scrolled .hn-header-inner{height:auto}
  .hn-cart-lbl{display:none}
  .hn-auth-btn,.hn-cart-btn{padding:0 12px;height:42px}
  .hn-cart-btn{padding:0 14px}
  .hn-search input{height:46px}
}
@media(max-width:480px){.hn-auth-btn,.hn-cart-btn{height:38px;padding:0 10px}.hn-cart-btn{padding:0 12px}}


/* =====================================================================
   SINGLE PRODUCT PAGE + add-to-cart notice
   ===================================================================== */
.hn-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;font-size:13px;color:var(--hn-gray-700)}
.hn-breadcrumb a{color:var(--hn-purple-600);font-weight:700}
.hn-breadcrumb a:hover{color:var(--hn-gold-dark)}
.hn-breadcrumb .sep{opacity:.45}

/* notices (add-to-cart message etc.) */
.woocommerce-notices-wrapper > .woocommerce-message,
.woocommerce-notices-wrapper > .woocommerce-info,
.woocommerce-notices-wrapper > ul.woocommerce-error{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px;padding:14px 18px;list-style:none;
  background:#fff;border:none;border-inline-start:5px solid #2fb36b;border-radius:16px;box-shadow:var(--hn-shadow);
  color:#17703f;font-size:14px;font-weight:700;line-height:1.9;
}
.woocommerce-notices-wrapper > .woocommerce-message::before{
  content:"✓";flex:none;width:28px;height:28px;border-radius:50%;background:#2fb36b;color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:800;
}
.woocommerce-notices-wrapper > .woocommerce-message .button,
.woocommerce-notices-wrapper > .woocommerce-info .button{
  float:none;margin-inline-start:auto;order:3;display:inline-flex;align-items:center;gap:8px;padding:10px 22px;border-radius:999px;
  background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700));color:#fff;font-size:13.5px;font-weight:800;box-shadow:0 8px 18px rgba(92,52,163,.3);
}
.woocommerce-notices-wrapper > .woocommerce-message .button:hover{background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark))}
.woocommerce-notices-wrapper > ul.woocommerce-error{border-inline-start-color:var(--hn-red);color:#a3172b;flex-direction:column;align-items:flex-start;gap:4px}
.woocommerce-notices-wrapper > ul.woocommerce-error li{margin:0}
.woocommerce-notices-wrapper > .woocommerce-info{border-inline-start-color:var(--hn-purple-500);color:var(--hn-purple-700)}

/* layout */
body.single-product div.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px 32px;align-items:start}
body.single-product div.product > .woocommerce-product-gallery{grid-column:1;grid-row:1}
body.single-product div.product > .summary{grid-column:2;grid-row:1}
body.single-product div.product > .woocommerce-tabs,
body.single-product div.product > section.related,
body.single-product div.product > section.upsells,
body.single-product div.product > .up-sells{grid-column:1 / -1}

/* gallery */
body.single-product .woocommerce-product-gallery{position:relative;background:#fff;border-radius:24px;box-shadow:var(--hn-shadow);padding:18px;margin:0}
body.single-product .woocommerce-product-gallery__wrapper{margin:0;padding:0}
body.single-product .woocommerce-product-gallery__image img,
body.single-product .woocommerce-product-gallery img.wp-post-image{display:block;width:100%;height:auto;max-height:540px;object-fit:contain;border-radius:16px}
body.single-product .woocommerce-product-gallery__trigger{
  position:absolute;top:16px;inset-inline-end:16px;z-index:9;width:44px;height:44px;border-radius:50%;font-size:0;overflow:hidden;text-indent:-999px;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c34a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6.500'/%3E%3Cpath d='M20 20l-4-4M11 8.500v5M8.500 11h5'/%3E%3C/svg%3E") center/22px no-repeat;
  box-shadow:0 6px 16px rgba(45,27,78,.2);transition:.2s;
}
body.single-product .woocommerce-product-gallery__trigger:hover{transform:scale(1.08)}
ol.flex-control-thumbs{display:flex;flex-wrap:wrap;gap:10px;list-style:none;margin:14px 0 0;padding:0}
ol.flex-control-thumbs li{width:76px;margin:0}
ol.flex-control-thumbs img{display:block;width:100%;height:76px;object-fit:contain;background:var(--hn-gray-100);border:2px solid transparent;border-radius:12px;padding:4px;opacity:.65;cursor:pointer;transition:.2s}
ol.flex-control-thumbs img:hover{opacity:1}
ol.flex-control-thumbs img.flex-active{opacity:1;border-color:var(--hn-purple-500)}
span.onsale{position:absolute;top:16px;inset-inline-start:16px;z-index:9;background:var(--hn-red);color:#fff;font-size:13px;font-weight:800;padding:6px 16px;border-radius:999px;box-shadow:0 6px 14px rgba(224,52,76,.35)}

/* summary card */
body.single-product .summary.entry-summary{background:#fff;border-radius:24px;box-shadow:var(--hn-shadow);padding:30px 32px;margin:0}
body.single-product .product_title{margin:0 0 12px;font-size:25px;font-weight:800;line-height:1.75;color:var(--hn-ink)}
body.single-product .summary .price{display:inline-flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:6px 0 16px;padding:10px 20px;background:var(--hn-purple-100);border-radius:16px;font-size:26px;font-weight:800;color:var(--hn-purple-700)}
body.single-product .summary .price del{font-size:15px;font-weight:600;color:#9b95ad}
body.single-product .summary .price ins{text-decoration:none}
body.single-product .summary .price .woocommerce-Price-currencySymbol{font-size:14px;font-weight:700;margin-inline-start:4px}
body.single-product .summary .woocommerce-product-details__short-description{margin:0 0 16px;font-size:14.5px;line-height:2.1;color:var(--hn-ink)}
body.single-product .summary .woocommerce-product-details__short-description p{margin:0 0 8px}
body.single-product .summary p.stock{display:inline-flex;align-items:center;gap:8px;margin:0 0 14px;padding:6px 16px;border-radius:999px;font-size:13px;font-weight:800;background:#e8f8ee;color:#17703f}
body.single-product .summary p.stock::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor}
body.single-product .summary p.stock.out-of-stock{background:#fdecef;color:#a3172b}

/* star rating (works without the WooCommerce icon font) */
.star-rating{position:relative;display:inline-block;width:5.7em;height:1.2em;line-height:1.2;font-size:17px;overflow:hidden;direction:rtl;vertical-align:middle}
.star-rating::before{content:"★★★★★";position:absolute;top:0;right:0;color:#dcd5ee;letter-spacing:.05em;white-space:nowrap}
.star-rating span{position:absolute;top:0;right:0;height:100%;overflow:hidden;font-size:0;color:transparent}
.star-rating span::before{content:"★★★★★";position:absolute;top:0;right:0;font-size:17px;color:var(--hn-gold);letter-spacing:.05em;white-space:nowrap}
.woocommerce-product-rating{display:flex;align-items:center;gap:10px;margin:0 0 10px;font-size:13px}
.woocommerce-review-link{color:var(--hn-purple-600);font-weight:700}

/* buy box */
body.single-product form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin:0 0 20px;padding:18px 0;border-top:1px dashed var(--hn-gray-300);border-bottom:1px dashed var(--hn-gray-300)}
body.single-product form.cart .quantity input.qty{width:64px;height:48px;border:2px solid var(--hn-gray-300);border-radius:999px;text-align:center;font-family:inherit;font-size:16px;font-weight:800}
body.single-product .quantity.hn-qty{display:inline-flex;align-items:center;gap:2px;background:var(--hn-gray-100);border-radius:999px;padding:5px}
body.single-product .quantity.hn-qty input.qty{width:48px;height:38px;border:none;background:transparent;padding:0;font-size:16px;-moz-appearance:textfield;appearance:textfield}
body.single-product .quantity.hn-qty input.qty::-webkit-outer-spin-button,
body.single-product .quantity.hn-qty input.qty::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
body.single-product .quantity.hn-qty .hn-qty-btn{width:38px;height:38px}
body.single-product .single_add_to_cart_button{
  flex:1 1 220px;display:inline-flex;align-items:center;justify-content:center;gap:10px;height:54px;padding:0 34px;border:none;border-radius:999px;cursor:pointer;
  font-family:inherit;font-size:16px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark));box-shadow:0 12px 26px rgba(245,166,35,.42);transition:.2s;
}
body.single-product .single_add_to_cart_button::before{
  content:"";width:22px;height:22px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.600'/%3E%3Ccircle cx='18' cy='20' r='1.600'/%3E%3Cpath d='M2 3h3l2.600 12.200a2 2 0 0 0 2 1.600h7.800a2 2 0 0 0 2-1.500L21 7H6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body.single-product .single_add_to_cart_button:hover:not(.disabled){transform:translateY(-2px);box-shadow:0 16px 32px rgba(245,166,35,.52)}
body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
/* variable products */
body.single-product table.variations{width:100%;border-collapse:collapse;margin:0 0 6px}
body.single-product table.variations th,body.single-product table.variations td{display:block;padding:0 0 10px;text-align:right}
body.single-product table.variations label{font-weight:800;font-size:14px}
body.single-product table.variations select{width:100%;height:46px;border:2px solid var(--hn-gray-300);border-radius:14px;padding:0 14px;font-family:inherit;font-size:14px;background:#fff}
body.single-product .reset_variations{font-size:12.5px;color:var(--hn-red);font-weight:700}
body.single-product .woocommerce-variation-price .price{font-size:22px;margin:0 0 12px}

/* meta chips */
body.single-product .product_meta{margin:0 0 18px;font-size:13.5px;color:var(--hn-gray-700)}
body.single-product .product_meta > span{display:block;margin-bottom:8px}
body.single-product .product_meta a{display:inline-block;margin:2px 3px;padding:3px 14px;background:var(--hn-gray-100);border-radius:999px;color:var(--hn-purple-700);font-weight:700;font-size:12.5px;transition:.2s}
body.single-product .product_meta a:hover{background:var(--hn-purple-600);color:#fff}

/* trust + consultation */
.hn-pd-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:14px}
.hn-pd-trust > div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:14px 8px;background:var(--hn-gray-100);border-radius:16px}
.hn-pd-trust .ic{width:40px;height:40px;border-radius:12px;background:#fff;color:var(--hn-purple-600);display:flex;align-items:center;justify-content:center;margin-bottom:6px;box-shadow:0 4px 10px rgba(45,27,78,.08)}
.hn-pd-trust .ic svg{width:21px;height:21px}
.hn-pd-trust b{font-size:13.5px;font-weight:800;color:var(--hn-ink)}
.hn-pd-trust small{font-size:12px;color:var(--hn-gray-700)}
.hn-pd-consult{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:16px 18px;border-radius:18px;color:#fff;background:linear-gradient(135deg,var(--hn-purple-700),var(--hn-purple-900))}
.hn-pd-consult .ic{width:46px;height:46px;border-radius:14px;background:var(--hn-gold);display:flex;align-items:center;justify-content:center;flex:none}
.hn-pd-consult .ic svg{width:23px;height:23px;color:#fff}
.hn-pd-consult > div{flex:1 1 200px;display:flex;flex-direction:column;gap:2px}
.hn-pd-consult b{font-size:14px;font-weight:800;line-height:1.8}
.hn-pd-consult div span{font-size:12.5px;opacity:.85}
.hn-pd-consult a{background:#fff;color:var(--hn-purple-700);font-size:16px;font-weight:800;padding:9px 20px;border-radius:999px;transition:.2s;letter-spacing:.5px}
.hn-pd-consult a:hover{background:var(--hn-gold);color:#fff}

/* tabs: description / reviews */
body.single-product .woocommerce-tabs{background:#fff;border-radius:24px;box-shadow:var(--hn-shadow);overflow:hidden}
body.single-product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:14px 18px 0;background:var(--hn-gray-100);border-bottom:1px solid var(--hn-gray-300)}
body.single-product .woocommerce-tabs ul.tabs li{margin:0;padding:0;border:none;background:none}
body.single-product .woocommerce-tabs ul.tabs li a{display:block;padding:13px 26px;border-radius:14px 14px 0 0;font-size:15px;font-weight:800;color:var(--hn-gray-700);transition:.2s}
body.single-product .woocommerce-tabs ul.tabs li a:hover{color:var(--hn-purple-600)}
body.single-product .woocommerce-tabs ul.tabs li.active a{background:#fff;color:var(--hn-purple-700);box-shadow:inset 0 -3px 0 var(--hn-gold)}
body.single-product .woocommerce-Tabs-panel{padding:28px 32px;font-size:15px;line-height:2.2;color:var(--hn-ink)}
body.single-product .woocommerce-Tabs-panel > h2:first-child{display:none}
body.single-product .woocommerce-Tabs-panel p{margin:0 0 14px}
body.single-product .woocommerce-Tabs-panel table.shop_attributes{width:100%;border-collapse:collapse}
body.single-product .woocommerce-Tabs-panel table.shop_attributes th,
body.single-product .woocommerce-Tabs-panel table.shop_attributes td{padding:12px 16px;border-bottom:1px solid var(--hn-gray-300);text-align:right;font-size:14px}
body.single-product .woocommerce-Tabs-panel table.shop_attributes th{width:30%;background:var(--hn-gray-100);font-weight:800}

/* reviews */
#reviews h2.woocommerce-Reviews-title,#reviews .comment-reply-title{display:block;margin:0 0 16px;font-size:18px;font-weight:800;color:var(--hn-ink)}
#reviews .woocommerce-noreviews{padding:14px 18px;background:var(--hn-gray-100);border-radius:14px;font-size:14px;color:var(--hn-gray-700)}
#reviews ol.commentlist{list-style:none;margin:0 0 24px;padding:0}
#reviews ol.commentlist li{margin:0 0 14px}
#reviews ol.commentlist .comment_container{display:flex;gap:14px;padding:16px 18px;background:var(--hn-gray-100);border-radius:16px}
#reviews ol.commentlist img.avatar{width:48px;height:48px;border-radius:50%;flex:none}
#reviews .comment-text{flex:1}
#reviews .comment-text p{margin:6px 0 0}
#review_form #commentform{display:grid;gap:14px}
#review_form #commentform p{margin:0}
#review_form label{display:block;margin-bottom:7px;font-size:13px;font-weight:800}
#review_form input[type=text],#review_form input[type=email],#review_form textarea,#review_form select{
  width:100%;font-family:inherit;font-size:14px;color:var(--hn-ink);background:var(--hn-gray-100);border:2px solid transparent;border-radius:14px;padding:13px 16px;outline:none;transition:.2s;
}
#review_form textarea{min-height:130px;line-height:2;resize:vertical}
#review_form input:focus,#review_form textarea:focus{background:#fff;border-color:var(--hn-purple-500);box-shadow:0 0 0 4px rgba(116,64,201,.12)}
#review_form input#submit{border:none;cursor:pointer;font-family:inherit;font-size:14.5px;font-weight:800;color:#fff;padding:13px 34px;border-radius:999px;background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700));box-shadow:0 10px 22px rgba(92,52,163,.32);transition:.2s}
#review_form input#submit:hover{background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark))}
p.stars{margin:0 0 4px !important}
p.stars span{display:inline-flex;gap:4px;direction:rtl}
p.stars a{position:relative;display:inline-block;width:1.2em;height:1.2em;font-size:28px;line-height:1;overflow:hidden;text-indent:-999px}
p.stars a::before{content:"★";position:absolute;top:0;right:0;text-indent:0;color:#dcd5ee;transition:color .15s}
p.stars:hover a::before{color:var(--hn-gold)}
p.stars a:hover ~ a::before{color:#dcd5ee}
p.stars.selected a.active::before{color:var(--hn-gold)}
p.stars.selected a.active ~ a::before{color:#dcd5ee}
p.stars.selected a:not(.active)::before{color:var(--hn-gold)}

/* related / upsells */
body.single-product section.related > h2,body.single-product section.upsells > h2{margin:12px 0 18px;padding-inline-start:14px;border-inline-start:6px solid var(--hn-gold);font-size:22px;font-weight:800;line-height:1.5}

@media(max-width:900px){
  body.single-product div.product{grid-template-columns:1fr;gap:20px}
  body.single-product div.product > .woocommerce-product-gallery,
  body.single-product div.product > .summary{grid-column:1;grid-row:auto}
  body.single-product .summary.entry-summary{padding:22px 20px}
  body.single-product .product_title{font-size:21px}
  body.single-product .summary .price{font-size:22px}
  body.single-product .woocommerce-Tabs-panel{padding:20px 18px}
  body.single-product .woocommerce-tabs ul.tabs li a{padding:12px 16px;font-size:14px}
}
@media(max-width:480px){
  .hn-pd-trust{grid-template-columns:1fr}
  .hn-pd-trust > div{flex-direction:row;text-align:start;gap:10px;padding:10px 14px}
  .hn-pd-trust .ic{margin:0}
  body.single-product form.cart{flex-direction:column;align-items:stretch}
  body.single-product .quantity.hn-qty{align-self:center}
  .woocommerce-notices-wrapper > .woocommerce-message .button{width:100%;justify-content:center;margin-inline-start:0}
}


/* ===== Blog: article sections (every 5 cards = 3 portrait on top + 2 wide below; a lone last pair/card goes wide) ===== */
.hn-bsec-grid{grid-template-columns:repeat(6,1fr)}
.hn-bsec{grid-column:span 2}
.hn-bsec:nth-child(5n+4),.hn-bsec:nth-child(5n+5){grid-column:span 3;aspect-ratio:16/9;min-height:0}
.hn-bsec:nth-child(5n+1):nth-last-child(2),.hn-bsec:nth-child(5n+2):last-child{grid-column:span 3;aspect-ratio:16/9;min-height:0}
.hn-bsec:nth-child(5n+1):last-child{grid-column:span 6;aspect-ratio:21/9;min-height:0}
@media(max-width:1100px){
  .hn-bsec-grid{grid-template-columns:repeat(2,1fr)}
  .hn-bsec-grid .hn-bsec:nth-child(n){grid-column:auto;aspect-ratio:4/3;min-height:0}
  .hn-bsec-grid .hn-bsec:nth-child(odd):last-child{grid-column:1 / -1;aspect-ratio:16/9}
}
@media(max-width:560px){
  .hn-bsec-grid{grid-template-columns:1fr}
  .hn-bsec-grid .hn-bsec:nth-child(n){grid-column:auto;aspect-ratio:16/10}
}

/* article typography extras */
.hn-article .entry-content h3{position:relative;margin:22px 0 8px;padding-inline-start:16px;font-size:18px;font-weight:800;line-height:1.8;color:var(--hn-purple-700)}
.hn-article .entry-content h3::before{content:"";position:absolute;inset-inline-start:0;top:.7em;width:8px;height:8px;border-radius:50%;background:var(--hn-gold)}
.hn-article .entry-content strong{font-weight:800;color:var(--hn-ink)}
.hn-article .cover img{display:block;width:100%;height:100%;object-fit:cover}


/* =====================================================================
   LOGIN / REGISTER (mobile + SMS code) and MY ACCOUNT
   ===================================================================== */
body.woocommerce-account .hn-wc-page.hn-auth-page{padding-top:26px !important}
.hn-auth{max-width:980px;margin:0 auto}
.hn-auth-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);background:#fff;border-radius:28px;overflow:hidden;box-shadow:var(--hn-shadow-lg)}
.hn-auth-side{position:relative;overflow:hidden;color:#fff;background:linear-gradient(150deg,var(--hn-purple-600),var(--hn-purple-900))}
.hn-auth-side::before{content:"";position:absolute;inset:0;opacity:.45;background-image:radial-gradient(rgba(255,255,255,.14) 1.3px,transparent 1.6px);background-size:26px 26px}
.hn-auth-side-in{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;padding:44px 38px}
.hn-auth-badge{align-self:flex-start;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);color:#ffd58a;font-size:12.5px;font-weight:800;padding:5px 16px;border-radius:999px;margin-bottom:18px}
.hn-auth-side h2{margin:0 0 10px;font-size:26px;font-weight:800;line-height:1.7}
.hn-auth-side p{margin:0 0 24px;font-size:14px;line-height:2;opacity:.9}
.hn-auth-side ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.hn-auth-side li{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:700}
.hn-auth-side li svg{flex:none;width:38px;height:38px;padding:9px;border-radius:12px;background:rgba(255,255,255,.14);color:#ffd58a}

.hn-auth-main{padding:34px 40px 30px}
.hn-auth-tabs{display:flex;gap:6px;padding:5px;background:var(--hn-gray-100);border-radius:999px;margin-bottom:26px}
.hn-auth-tabs button{flex:1;border:none;background:none;cursor:pointer;font-family:inherit;font-size:14.5px;font-weight:800;color:var(--hn-gray-700);padding:11px 0;border-radius:999px;transition:.2s}
.hn-auth-tabs button.on{background:#fff;color:var(--hn-purple-700);box-shadow:0 4px 12px rgba(45,27,78,.14)}
.hn-auth-pane{display:none}
.hn-auth-pane.on{display:block;animation:hnAuthIn .3s ease}
@keyframes hnAuthIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.hn-auth-pane h3{margin:0 0 6px;font-size:21px;font-weight:800;color:var(--hn-ink)}
.hn-auth-pane .sub{margin:0 0 20px;font-size:13.5px;line-height:2;color:var(--hn-gray-700)}
.hn-auth-pane .sub a,.hn-alt a{color:var(--hn-purple-600);font-weight:800}
.hn-lbl{display:block;margin:0 0 7px;font-size:13px;font-weight:800;color:var(--hn-ink)}
.hn-lbl b{color:var(--hn-red)}
.hn-field{position:relative;margin-bottom:16px}
.hn-field svg{position:absolute;top:50%;inset-inline-start:16px;width:20px;height:20px;transform:translateY(-50%);color:var(--hn-purple-500);pointer-events:none}
.hn-field input{width:100%;height:50px;padding:0 48px 0 16px;border:2px solid transparent;border-radius:14px;background:var(--hn-gray-100);font-family:inherit;font-size:15px;color:var(--hn-ink);transition:.2s;outline:none}
.hn-field.ltr input{text-align:left;letter-spacing:1px;font-size:16px;font-weight:700}
.hn-field input:focus{background:#fff;border-color:var(--hn-purple-500);box-shadow:0 0 0 4px rgba(116,64,201,.12)}
.hn-hp{position:absolute !important;left:-9999px;width:1px;height:1px;opacity:0}
.hn-msg{min-height:0;margin:0 0 10px;font-size:13px;font-weight:700;line-height:1.9;display:none}
.hn-msg.show{display:block;padding:10px 14px;border-radius:12px}
.hn-msg.err{background:#fdecef;color:#a3172b}
.hn-msg.ok{background:#e8f8ee;color:#17703f}
.hn-msg.info{background:#fff8e8;color:#8a5a00}
.hn-btn-primary{position:relative;width:100%;height:52px;border:none;border-radius:999px;cursor:pointer;font-family:inherit;font-size:15.5px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark));box-shadow:0 12px 26px rgba(245,166,35,.4);transition:.2s}
.hn-btn-primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 16px 32px rgba(245,166,35,.5)}
.hn-btn-primary:disabled{cursor:wait;opacity:.8}
.hn-btn-primary.loading span{opacity:.25}
.hn-btn-primary.loading::after{content:"";position:absolute;top:50%;left:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border:3px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:hnSpin .7s linear infinite}
@keyframes hnSpin{to{transform:rotate(360deg)}}
.hn-alt{margin:16px 0 0;text-align:center;font-size:13.5px;color:var(--hn-gray-700)}
.hn-otp{display:flex;justify-content:center;gap:10px;margin:6px 0 18px}
.hn-otp input{width:54px;height:62px;border:2px solid var(--hn-gray-300);border-radius:16px;background:var(--hn-gray-100);text-align:center;font-family:inherit;font-size:26px;font-weight:800;color:var(--hn-purple-700);outline:none;transition:.2s;padding:0}
.hn-otp input:focus{background:#fff;border-color:var(--hn-purple-500);box-shadow:0 0 0 4px rgba(116,64,201,.14);transform:translateY(-2px)}
.hn-resend-row{margin:16px 0 0;text-align:center;font-size:13px;color:var(--hn-gray-700)}
.hn-resend{border:none;background:none;cursor:pointer;font-family:inherit;font-size:13.5px;font-weight:800;color:var(--hn-purple-600)}
.hn-resend:hover{color:var(--hn-gold-dark)}
.hn-auth-pane.done .hn-btn-primary{background:linear-gradient(135deg,#2fb36b,#1f8f52);box-shadow:0 12px 26px rgba(47,179,107,.4)}

.hn-auth-pass{margin-top:24px;padding-top:18px;border-top:1px dashed var(--hn-gray-300)}
.hn-pass-toggle{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;border:none;background:none;cursor:pointer;font-family:inherit;font-size:13.5px;font-weight:800;color:var(--hn-gray-700);padding:6px}
.hn-pass-toggle svg{width:18px;height:18px}
.hn-pass-toggle:hover{color:var(--hn-purple-600)}
.hn-pass-box{display:none;margin-top:14px}
.hn-auth-pass.open .hn-pass-box{display:block}
.hn-pass-box form.woocommerce-form-login{border:none;box-shadow:none;padding:0;margin:0;background:none}
.hn-pass-box p.form-row{margin:0 0 12px}
.hn-pass-box label{display:block;margin-bottom:6px;font-size:13px;font-weight:800}
.hn-pass-box input.input-text{width:100%;height:46px;border:2px solid transparent;border-radius:12px;background:var(--hn-gray-100);padding:0 14px;font-family:inherit;font-size:14px;outline:none}
.hn-pass-box input.input-text:focus{background:#fff;border-color:var(--hn-purple-500)}
.hn-pass-box .woocommerce-form-login__rememberme{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600}
.hn-pass-box button.woocommerce-form-login__submit,.hn-pass-box .button{width:100%;height:46px;border:none;border-radius:999px;cursor:pointer;font-family:inherit;font-size:14px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700))}
.hn-pass-box .lost_password{margin:10px 0 0;text-align:center;font-size:13px}
.hn-pass-box .lost_password a{color:var(--hn-purple-600);font-weight:700}
.hn-auth-main .woocommerce-error,.hn-auth-main .woocommerce-message,.hn-auth-main .woocommerce-info{list-style:none;margin:0 0 16px;padding:12px 16px;border-radius:12px;font-size:13px;font-weight:700;background:#fdecef;color:#a3172b}

@media(max-width:860px){
  .hn-auth-card{grid-template-columns:1fr}
  .hn-auth-side-in{padding:26px 24px}
  .hn-auth-side h2{font-size:21px}
  .hn-auth-side p{margin-bottom:14px}
  .hn-auth-side ul{display:none}
  .hn-auth-main{padding:24px 20px 24px}
}
@media(max-width:420px){.hn-otp{gap:7px}.hn-otp input{width:46px;height:56px;font-size:22px}}

/* ----- logged-in My Account: sidebar + content ----- */
body.woocommerce-account.logged-in .hn-wc-page .woocommerce{display:grid;grid-template-columns:270px minmax(0,1fr);gap:24px;align-items:start}
body.woocommerce-account.logged-in .hn-wc-page .woocommerce > .woocommerce-notices-wrapper{grid-column:1 / -1}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation{background:#fff;border-radius:22px;box-shadow:var(--hn-shadow);padding:12px;position:sticky;top:130px}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation ul{display:grid;gap:4px;margin:0;padding:0;list-style:none}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation li a{
  display:flex;align-items:center;gap:12px;padding:13px 16px;border-radius:14px;font-size:14.5px;font-weight:700;color:var(--hn-ink);background:none;transition:.2s}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation li a::before{
  content:"";flex:none;width:22px;height:22px;background:currentColor;opacity:.75;
  -webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation li a:hover{background:var(--hn-purple-100);color:var(--hn-purple-700)}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation li.is-active a{background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700));color:#fff;box-shadow:0 8px 18px rgba(92,52,163,.3)}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation li.is-active a::before{opacity:1}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--hn-red)}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation-link--customer-logout a:hover{background:#fdecef;color:var(--hn-red)}
.woocommerce-MyAccount-navigation-link--dashboard{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--orders{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h12l2 5H4z'/%3E%3Cpath d='M5 8v12h14V8'/%3E%3Cpath d='M10 12h4'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--downloads{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11'/%3E%3Cpath d='M7 11l5 5 5-5'/%3E%3Cpath d='M5 20h14'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--edit-address{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6 7-11a7 7 0 0 0-14 0c0 5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--edit-account{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.200 3.600-7 8-7s8 2.800 8 7'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation-link--customer-logout{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4H5v16h4'/%3E%3Cpath d='M16 8l4 4-4 4'/%3E%3Cpath d='M20 12H9'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation li a{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3C/svg%3E")}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--dashboard a{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-8 9 8'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3C/svg%3E")}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content{background:#fff;border-radius:22px;box-shadow:var(--hn-shadow);padding:28px 30px;font-size:14.5px;line-height:2}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content h2,body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content h3{font-size:19px;font-weight:800;margin:0 0 14px}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content .woocommerce-Address{background:var(--hn-gray-100);border-radius:16px;padding:18px 20px}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content .woocommerce-Address-title a{color:var(--hn-purple-600);font-weight:800;font-size:13px}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content input.input-text,
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content select,
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content textarea{width:100%;height:46px;border:2px solid transparent;border-radius:12px;background:var(--hn-gray-100);padding:0 14px;font-family:inherit;font-size:14px;outline:none;transition:.2s}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content textarea{height:auto;padding:12px 14px}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content input.input-text:focus,
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content select:focus{background:#fff;border-color:var(--hn-purple-500);box-shadow:0 0 0 4px rgba(116,64,201,.12)}
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content .woocommerce-Button,
body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content button.button{border:none;border-radius:999px;padding:12px 30px;cursor:pointer;font-family:inherit;font-size:14px;font-weight:800;color:#fff;background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700))}

/* dashboard */
.hn-dash-hero{display:flex;align-items:center;gap:18px;padding:22px 24px;margin-bottom:18px;border-radius:20px;color:#fff;background:linear-gradient(135deg,var(--hn-purple-600),var(--hn-purple-900))}
.hn-dash-hero .av{flex:none;width:64px;height:64px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--hn-gold);font-size:28px;font-weight:800}
.hn-dash-hero h2{margin:0 0 4px !important;font-size:21px !important;color:#fff}
.hn-dash-hero p{margin:0;font-size:13.5px;opacity:.9}
.hn-dash-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.hn-dash-tile{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;padding:18px 20px;border-radius:18px;background:var(--hn-gray-100);color:var(--hn-ink);transition:.25s}
.hn-dash-tile:hover{background:var(--hn-purple-100);transform:translateY(-3px)}
.hn-dash-tile .ic{grid-row:1 / span 2;width:48px;height:48px;border-radius:14px;background:#fff;color:var(--hn-purple-600);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(45,27,78,.1)}
.hn-dash-tile .ic svg{width:24px;height:24px}
.hn-dash-tile b{font-size:15px;font-weight:800}
.hn-dash-tile small{font-size:12.5px;color:var(--hn-gray-700)}

@media(max-width:900px){
  body.woocommerce-account.logged-in .hn-wc-page .woocommerce{grid-template-columns:1fr}
  body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation{position:static}
  body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-navigation ul{grid-template-columns:repeat(2,1fr)}
  body.woocommerce-account .hn-wc-page .woocommerce-MyAccount-content{padding:20px 18px}
}
@media(max-width:560px){.hn-dash-grid{grid-template-columns:1fr}.hn-dash-hero{padding:18px}}


/* ===== Bale messenger link cards ===== */
.hn-bale-card .hn-office-head .ic{background:linear-gradient(135deg,#22c7b2,#0d8f86)}
.hn-bale-link .ph{background:#e3faf6;color:#0d8f86}
.hn-bale-link .no{font-size:17px;letter-spacing:.3px}
.hn-bale-link .call{background:linear-gradient(135deg,#22c7b2,#0d8f86);box-shadow:0 6px 14px rgba(13,143,134,.35)}
.hn-bale-link:hover{background:#e3faf6}
.hn-ab-bale{display:flex;align-items:center;gap:16px;max-width:900px;margin:16px auto 0;padding:16px 22px;border-radius:18px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(6px);color:#fff;transition:.25s;position:relative;z-index:2}
.hn-ab-bale:hover{background:#fff;color:#0d6f68;transform:translateY(-4px)}
.hn-ab-bale .ic{flex:none;width:50px;height:50px;border-radius:15px;background:linear-gradient(135deg,#22c7b2,#0d8f86);color:#fff;display:flex;align-items:center;justify-content:center}
.hn-ab-bale .ic svg{width:25px;height:25px}
.hn-ab-bale .t{flex:1;display:flex;flex-direction:column;gap:2px;min-width:0}
.hn-ab-bale small{font-size:12px;opacity:.85}
.hn-ab-bale b{font-size:19px;font-weight:800;letter-spacing:.4px;text-align:right}
.hn-ab-bale .go{flex:none;font-size:13px;font-weight:800;color:#fff;padding:9px 22px;border-radius:999px;background:linear-gradient(135deg,#22c7b2,#0d8f86);box-shadow:0 8px 18px rgba(13,143,134,.4)}
@media(max-width:560px){.hn-ab-bale{flex-wrap:wrap;padding:14px}.hn-ab-bale .go{width:100%;text-align:center}}
.hn-pd-consult a.bale{background:linear-gradient(135deg,#22c7b2,#0d8f86);color:#fff;font-size:14px;letter-spacing:0;box-shadow:0 8px 18px rgba(13,143,134,.4)}
.hn-pd-consult a.bale:hover{background:#fff;color:#0d6f68}


/* =====================================================================
   صفحه پشتیبانی — مرکز دانلود نرم‌افزار و اپلیکیشن (hn-sp-*)
   ===================================================================== */
.hn-sp-hero{padding:44px 0 50px}
.hn-sp-hero h1{font-size:32px}
.hn-sp-search{position:relative;max-width:560px;margin:26px auto 0}
.hn-sp-search svg{position:absolute;top:50%;right:18px;transform:translateY(-50%);color:var(--hn-purple-600);pointer-events:none}
.hn-sp-search input{width:100%;height:54px;border:0;border-radius:999px;background:#fff;color:var(--hn-ink);font:inherit;font-size:14.5px;padding:0 52px 0 22px;box-shadow:0 14px 34px rgba(20,8,48,.32);outline:none;-webkit-appearance:none;appearance:none}
.hn-sp-search input::placeholder{color:#8b85a0}
.hn-sp-search input:focus{box-shadow:0 14px 34px rgba(20,8,48,.32),0 0 0 3px rgba(245,166,35,.65)}

.hn-sp-main{padding-bottom:60px}

/* section picker (overlaps the hero) */
.hn-sp-switch{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px;position:relative;z-index:5}
.hn-sp-pick{display:flex;align-items:center;gap:16px;background:#fff;border-radius:var(--hn-radius);padding:18px 22px;box-shadow:var(--hn-shadow-lg);border:2px solid transparent;transition:.22s}
.hn-sp-pick:hover{transform:translateY(-4px)}
.hn-sp-pick .ic{flex:none;width:58px;height:58px;border-radius:16px;display:grid;place-items:center;color:#fff}
.hn-sp-pick.pc .ic{background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-900))}
.hn-sp-pick.mb .ic{background:linear-gradient(135deg,#ffb94d,#e8880a)}
.hn-sp-pick .t{flex:1;display:flex;flex-direction:column;line-height:1.6}
.hn-sp-pick .t b{font-size:17px;font-weight:800}
.hn-sp-pick .t small{font-size:12.5px;color:var(--hn-gray-700)}
.hn-sp-pick .n{flex:none;font-size:12px;font-weight:800;padding:5px 12px;border-radius:999px}
.hn-sp-pick.pc .n{background:var(--hn-purple-100);color:var(--hn-purple-600)}
.hn-sp-pick.mb .n{background:#fff3df;color:var(--hn-gold-dark)}
.hn-sp-pick.pc.active,.hn-sp-pick.pc:hover{border-color:var(--hn-purple-500)}
.hn-sp-pick.mb.active,.hn-sp-pick.mb:hover{border-color:var(--hn-gold)}

/* category chips */
.hn-sp-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin:28px 0 8px}
.hn-sp-chips button{border:1.5px solid var(--hn-gray-300);background:#fff;color:var(--hn-gray-700);padding:8px 20px;border-radius:999px;font-weight:700;font-size:13px;transition:.2s}
.hn-sp-chips button:hover{border-color:var(--hn-purple-500);color:var(--hn-purple-600)}
.hn-sp-chips button.active{background:var(--hn-purple-600);border-color:var(--hn-purple-600);color:#fff;box-shadow:0 8px 18px rgba(92,52,163,.28)}

/* big separated sections */
.hn-sp-sec{margin-top:30px;border-radius:22px;padding:26px;scroll-margin-top:110px;border:1px solid var(--hn-gray-300)}
.hn-sp-sec.pc{background:linear-gradient(180deg,#efe8fc 0%,#f8f5fe 100%);border-color:#ddd0f6}
.hn-sp-sec.mb{background:linear-gradient(180deg,#fff1d9 0%,#fffaf1 100%);border-color:#f6dcae}
.hn-sp-sec-head{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.hn-sp-sec-head .ic{flex:none;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;color:#fff}
.hn-sp-sec.pc .ic{background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-900));box-shadow:0 10px 22px rgba(92,52,163,.3)}
.hn-sp-sec.mb .ic{background:linear-gradient(135deg,#ffb94d,#e8880a);box-shadow:0 10px 22px rgba(232,136,10,.3)}
.hn-sp-sec-head h2{margin:0;font-size:22px;font-weight:800;line-height:1.5}
.hn-sp-sec-head p{margin:2px 0 0;font-size:13.5px;color:var(--hn-gray-700)}
.hn-sp-sec-head .badge{margin-right:auto;font-size:12.5px;font-weight:800;padding:6px 16px;border-radius:999px;color:#fff;white-space:nowrap}
.hn-sp-sec.pc .badge{background:var(--hn-purple-600)}
.hn-sp-sec.mb .badge{background:var(--hn-gold-dark)}

.hn-sp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

/* app card */
.hn-sp-card{background:#fff;border-radius:var(--hn-radius);padding:20px;display:flex;flex-direction:column;gap:12px;box-shadow:0 4px 16px rgba(45,27,78,.07);border:1px solid rgba(0,0,0,.04);transition:.22s}
.hn-sp-card:hover{transform:translateY(-5px);box-shadow:var(--hn-shadow-lg)}
.hn-sp-card-top{display:flex;align-items:center;gap:14px}
.hn-sp-ico{flex:none;width:60px;height:60px;border-radius:17px;display:grid;place-items:center;color:#fff;font-weight:800;font-size:19px;letter-spacing:.3px;overflow:hidden}
.hn-sp-sec.pc .hn-sp-ico{background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-900))}
.hn-sp-sec.mb .hn-sp-ico{background:linear-gradient(135deg,#ffb94d,#e8880a)}
.hn-sp-ico.has-img{background:#fff !important;border:1px solid var(--hn-gray-300)}
.hn-sp-ico.has-img img{width:100%;height:100%;object-fit:cover}
.hn-sp-meta{min-width:0}
.hn-sp-meta h3{margin:0;font-size:16.5px;font-weight:800;line-height:1.5;word-break:break-word}
.hn-sp-tag{display:inline-block;margin-top:2px;font-size:11.5px;font-weight:700;color:var(--hn-gray-700);background:var(--hn-gray-100);padding:2px 10px;border-radius:999px}
.hn-sp-card p{margin:0;font-size:13px;line-height:2;color:var(--hn-gray-700);flex:1}
.hn-sp-actions{display:flex;gap:10px;margin-top:2px}
.hn-sp-actions.two .hn-sp-dl{flex:1}

/* download buttons */
.hn-sp-dl{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px 14px;border-radius:12px;font-weight:800;font-size:13.5px;line-height:1.4;transition:.2s;border:0;position:relative}
.hn-sp-dl em{font-style:normal;font-size:10.5px;font-weight:700;background:rgba(0,0,0,.08);padding:1px 8px;border-radius:999px}
a.hn-sp-dl.main{background:linear-gradient(135deg,var(--hn-purple-500),var(--hn-purple-700));color:#fff;box-shadow:0 8px 18px rgba(92,52,163,.28)}
a.hn-sp-dl.main:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(92,52,163,.38)}
a.hn-sp-dl.android{background:#e8f7ee;color:#157a3e}
a.hn-sp-dl.android:hover{background:#157a3e;color:#fff;transform:translateY(-2px)}
a.hn-sp-dl.ios{background:#eeeef3;color:#1c1730}
a.hn-sp-dl.ios:hover{background:#1c1730;color:#fff;transform:translateY(-2px)}
.hn-sp-dl.is-soon{background:var(--hn-gray-100);color:#9a95ab;cursor:not-allowed;border:1.5px dashed var(--hn-gray-300)}

/* filter states */
.hn-sp-card.is-hidden{display:none}
.hn-sp-sec.is-empty{display:none}
.hn-sp-empty{margin:30px 0;text-align:center;background:#fff;border:1.5px dashed var(--hn-gray-300);border-radius:var(--hn-radius);padding:40px 20px;color:var(--hn-gray-700);display:flex;flex-direction:column;align-items:center;gap:6px}
.hn-sp-empty[hidden]{display:none}
.hn-sp-empty svg{color:var(--hn-purple-500)}
.hn-sp-empty b{color:var(--hn-ink);font-size:16px}

/* steps */
.hn-sp-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px}
.hn-sp-steps>div{background:#fff;border-radius:var(--hn-radius);padding:20px;display:flex;flex-direction:column;gap:4px;box-shadow:0 4px 16px rgba(45,27,78,.06)}
.hn-sp-steps .n{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--hn-purple-100);color:var(--hn-purple-600);font-weight:800;font-size:16px;margin-bottom:6px}
.hn-sp-steps b{font-size:15px}
.hn-sp-steps small{font-size:12.5px;color:var(--hn-gray-700);line-height:1.9}

/* help band */
.hn-sp-help{position:relative;overflow:hidden;margin-top:26px;border-radius:22px;padding:30px 34px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;background:linear-gradient(135deg,var(--hn-purple-700),var(--hn-purple-900))}
.hn-sp-help .txt,.hn-sp-help .btns{position:relative;z-index:2}
.hn-sp-help h2{margin:0 0 4px;font-size:20px;font-weight:800}
.hn-sp-help p{margin:0;opacity:.9;font-size:14px}
.hn-sp-help .btns{display:flex;flex-wrap:wrap;gap:12px}

@media (max-width:1000px){
  .hn-sp-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .hn-sp-hero{padding:30px 0 40px}
  .hn-sp-hero h1{font-size:21px}
  .hn-sp-switch{grid-template-columns:1fr;gap:12px;margin-top:22px}
  .hn-sp-pick{padding:14px 16px}
  .hn-sp-pick .n{display:none}
  .hn-sp-sec{padding:16px;border-radius:18px}
  .hn-sp-sec-head{flex-wrap:wrap;gap:12px}
  .hn-sp-sec-head h2{font-size:18px}
  .hn-sp-sec-head .badge{margin-right:0}
  .hn-sp-grid{grid-template-columns:1fr}
  .hn-sp-steps{grid-template-columns:1fr}
  .hn-sp-help{padding:24px 20px}
  .hn-sp-help .btns{width:100%}
  .hn-sp-help .hn-ab-btn{flex:1}
}


/* =====================================================================
   صفحه پرداخت سفارش (order-pay) — قبل از انتقال به درگاه
   ===================================================================== */
.hn-pay-page .entry-content{max-width:860px;margin:0 auto}
.hn-pay-page .woocommerce{display:block}
.hn-pay-page ul.order_details{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
.hn-pay-page ul.order_details li{background:#fff;border-radius:14px;box-shadow:var(--hn-shadow);padding:16px 18px;margin:0;font-size:12.5px;color:var(--hn-gray-700);line-height:1.8;border:1px solid rgba(0,0,0,.04)}
.hn-pay-page ul.order_details li strong{display:block;margin-top:4px;font-size:15.5px;font-weight:800;color:var(--hn-ink)}
.hn-pay-page ul.order_details li.total strong,.hn-pay-page ul.order_details li.total strong *{color:var(--hn-purple-600)}
.hn-pay-page ul.order_details li.method{grid-column:1/-1}

/* gateway message + form card */
.hn-pay-page .entry-content .woocommerce>p,.hn-pay-page .entry-content .woocommerce>form,.hn-pay-page #order_review{background:#fff;border-radius:var(--hn-radius);box-shadow:var(--hn-shadow);padding:22px 24px;margin:0 0 16px;font-size:14px;line-height:2;color:var(--hn-gray-700)}
.hn-pay-page .entry-content .woocommerce>form{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.hn-pay-page .entry-content .woocommerce>form:empty{display:none}

/* buttons: the real submit + back/cancel link, whatever markup the gateway uses */
.hn-pay-page form input[type=submit],.hn-pay-page form input[type=button],.hn-pay-page form button,.hn-pay-page #submit_payment_form,.hn-pay-page a.button.pay{
  -webkit-appearance:none;appearance:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:220px;height:54px;padding:0 34px;
  border:0 !important;border-radius:999px !important;font:inherit;font-size:16px;font-weight:800;line-height:1;
  background:linear-gradient(90deg,var(--hn-purple-600),var(--hn-purple-500)) !important;color:#fff !important;
  box-shadow:0 12px 26px rgba(116,64,201,.36);transition:.2s;text-shadow:none}
.hn-pay-page form input[type=submit]:hover,.hn-pay-page form button:hover,.hn-pay-page #submit_payment_form:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(116,64,201,.46)}
.hn-pay-page a.button.cancel,.hn-pay-page a.cancel,.hn-pay-page form a.button{
  display:inline-flex;align-items:center;justify-content:center;height:54px;padding:0 28px;border-radius:999px !important;
  background:#fff !important;color:var(--hn-purple-600) !important;border:2px solid var(--hn-purple-100) !important;font-weight:800;font-size:14.5px;box-shadow:none;transition:.2s}
.hn-pay-page a.button.cancel:hover,.hn-pay-page a.cancel:hover,.hn-pay-page form a.button:hover{border-color:var(--hn-purple-500) !important;background:var(--hn-purple-100) !important}

/* standard WooCommerce pay-for-order table + payment methods (when not redirecting straight to a gateway) */
.hn-pay-page table.shop_table{width:100%;border-collapse:collapse;background:#fff;border-radius:var(--hn-radius);overflow:hidden;box-shadow:none;margin:0 0 14px}
.hn-pay-page table.shop_table th,.hn-pay-page table.shop_table td{padding:12px 14px;text-align:right;font-size:13px;border-bottom:1px solid var(--hn-gray-100)}
.hn-pay-page #payment ul.payment_methods{list-style:none;margin:0 0 14px;padding:0}
.hn-pay-page #payment ul.payment_methods li{background:var(--hn-gray-100);border-radius:12px;padding:14px 16px;margin:0 0 10px}
.hn-pay-page #payment .payment_box{margin-top:8px;font-size:12.5px;color:var(--hn-gray-700)}
.hn-pay-page #payment #place_order{width:100%}

.hn-pay-note{display:flex;align-items:center;justify-content:center;gap:8px;margin:18px auto 0;max-width:860px;font-size:12.5px;color:var(--hn-gray-700)}
.hn-pay-note svg{color:var(--hn-purple-500);flex:none}

@media (max-width:640px){
  .hn-pay-page .entry-content .woocommerce>p,.hn-pay-page .entry-content .woocommerce>form,.hn-pay-page #order_review{padding:16px}
  .hn-pay-page form input[type=submit],.hn-pay-page form button,.hn-pay-page #submit_payment_form,.hn-pay-page a.button.cancel,.hn-pay-page form a.button{width:100%}
}

/* ===== Support: link to the tutorial article under a program card ===== */
.hn-sp-guide{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;padding:10px 14px;border-radius:12px;font-weight:800;font-size:13px;line-height:1.4;background:#fff6e5;color:#b9770a;border:1.5px solid #f5d79a;transition:.2s}
.hn-sp-guide:hover{background:var(--hn-gold);border-color:var(--hn-gold);color:#fff;transform:translateY(-2px)}

/* ===== پیشنهاد ویژه (Spotlight) ===== */
.hn-spot{position:relative;overflow:hidden;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:20px;margin:22px 0 8px;padding:34px 40px;border-radius:28px;color:#fff;
  background:radial-gradient(120% 140% at 85% 0%,#7440c9 0%,#4a2d7d 45%,#2d1b4e 100%);box-shadow:0 24px 60px rgba(45,27,78,.35)}
.hn-spot::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;border:1.5px solid rgba(255,255,255,.12)}
.hn-spot-orb{position:absolute;border-radius:50%;filter:blur(60px);pointer-events:none}
.hn-spot-orb.o1{width:320px;height:320px;left:-60px;top:-80px;background:rgba(245,166,35,.45)}
.hn-spot-orb.o2{width:260px;height:260px;right:30%;bottom:-120px;background:rgba(224,52,76,.35)}
.hn-spot-info{position:relative;z-index:2;display:flex;flex-direction:column;gap:16px;min-width:0}
.hn-spot-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hn-spot-tag{padding:7px 16px;border-radius:999px;font-size:13px;font-weight:800;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(6px)}
.hn-spot-off{display:inline-flex;align-items:baseline;gap:5px;padding:6px 14px;border-radius:14px;background:linear-gradient(135deg,#f0344f,#c4163a);box-shadow:0 8px 20px rgba(224,52,76,.5);animation:hnSpotBeat 1.8s ease-in-out infinite}
.hn-spot-off b{font-size:22px;font-weight:900}.hn-spot-off small{font-size:12px;font-weight:800}
.hn-spot-title{margin:0;font-size:30px;line-height:1.5;font-weight:900}
.hn-spot-title a{color:#fff}
.hn-spot-price{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.hn-spot-price del{font-size:16px;opacity:.65}
.hn-spot-price strong{font-size:32px;font-weight:900;color:var(--hn-gold);text-shadow:0 4px 18px rgba(245,166,35,.45)}
.hn-spot-price .woocommerce-Price-currencySymbol{font-size:.55em;margin-inline-start:4px;font-weight:700;color:#fff}
.hn-spot-stock{padding:14px 16px;border-radius:18px;background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.12)}
.hn-spot-stock .row{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:14px;font-weight:800}
.hn-spot-stock .left b{font-size:20px;color:var(--hn-gold);margin:0 3px}
.hn-spot-stock .sold{opacity:.75;font-size:12.5px}
.hn-spot-stock .pulse{display:inline-block;width:9px;height:9px;border-radius:50%;background:#35e08a;margin-inline-end:6px;box-shadow:0 0 0 0 rgba(53,224,138,.7);animation:hnSpotPulse 1.6s infinite}
.hn-spot.is-low .pulse{background:#ff4d63;animation-name:hnSpotPulseRed}
.hn-spot-stock .bar{height:12px;border-radius:99px;background:rgba(255,255,255,.14);overflow:hidden}
.hn-spot-stock .bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#35e08a,#f5a623);transition:width .8s ease;position:relative}
.hn-spot.is-low .bar span{background:linear-gradient(90deg,#f5a623,#f0344f)}
.hn-spot .hn-timer{justify-content:flex-start;gap:8px}
.hn-spot .hn-timer .box{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.2);min-width:56px}
.hn-spot-cta{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:4px}
.hn-spot-btn{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 34px;border-radius:999px;font-size:16px;font-weight:900;color:#fff;background:linear-gradient(135deg,var(--hn-gold),var(--hn-gold-dark));box-shadow:0 12px 28px rgba(245,166,35,.5);transition:.2s}
.hn-spot-btn:hover{color:#fff;transform:translateY(-3px);box-shadow:0 18px 36px rgba(245,166,35,.6)}
.hn-spot-btn.is-off{background:#6b6480;box-shadow:none;cursor:not-allowed;transform:none}
.hn-spot-more{font-size:14px;font-weight:800;color:#fff;opacity:.85;border-bottom:1.5px dashed rgba(255,255,255,.5)}
.hn-spot-more:hover{color:var(--hn-gold)}
.hn-spot-media{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;min-height:300px}
.hn-spot-media .ring{position:absolute;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.28),rgba(255,255,255,0) 68%);border:2px dashed rgba(255,255,255,.25);animation:hnSpotSpin 28s linear infinite}
.hn-spot-img{position:relative;max-width:100%;max-height:300px;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 26px 30px rgba(0,0,0,.45));animation:hnSpotFloat 4.5s ease-in-out infinite;transition:transform .3s}
.hn-spot-media:hover .hn-spot-img{transform:scale(1.06) rotate(-2deg)}
.hn-spot-stamp{position:absolute;top:6px;left:8px;padding:8px 16px;border-radius:12px;font-size:13px;font-weight:900;color:var(--hn-ink);background:var(--hn-gold);transform:rotate(-8deg);box-shadow:0 8px 20px rgba(0,0,0,.3)}
.hn-spot.is-sold .hn-spot-img{filter:grayscale(1) drop-shadow(0 20px 24px rgba(0,0,0,.4));opacity:.6;animation:none}
.hn-spot.is-sold .hn-spot-stamp{background:#f0344f;color:#fff}
@keyframes hnSpotFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes hnSpotSpin{to{transform:rotate(360deg)}}
@keyframes hnSpotBeat{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}
@keyframes hnSpotPulse{70%{box-shadow:0 0 0 9px rgba(53,224,138,0)}100%{box-shadow:0 0 0 0 rgba(53,224,138,0)}}
@keyframes hnSpotPulseRed{0%{box-shadow:0 0 0 0 rgba(255,77,99,.7)}70%{box-shadow:0 0 0 9px rgba(255,77,99,0)}100%{box-shadow:0 0 0 0 rgba(255,77,99,0)}}
@media(max-width:900px){
  .hn-spot{grid-template-columns:1fr;padding:26px 20px;gap:6px}
  .hn-spot-media{order:-1;min-height:220px}
  .hn-spot-media .ring{width:220px;height:220px}
  .hn-spot-img{max-height:210px}
  .hn-spot-title{font-size:22px}
  .hn-spot-price strong{font-size:26px}
  .hn-spot-btn{flex:1;min-width:200px}
}
@media(prefers-reduced-motion:reduce){.hn-spot *{animation:none !important}}

.hn-spot-img{border-radius:20px}

/* ===== اصلاح قیمت در کارت محصولات (بیرون‌زدن «تومان» و نمایش برچسب‌های مخفی) ===== */
.hn-product-card .price .screen-reader-text,
.woocommerce ul.products li.product .price .screen-reader-text{
  position:absolute !important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.hn-product-card .body{min-width:0;overflow:hidden}
.hn-product-card .price,
.woocommerce ul.products li.product .price{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;max-width:100%}
.hn-product-card .price del,
.woocommerce ul.products li.product .price del{order:1;display:block;max-width:100%;opacity:1;font-size:12px;color:#a19cad;white-space:nowrap}
.hn-product-card .price ins,
.woocommerce ul.products li.product .price ins{order:2;display:block;max-width:100%;white-space:nowrap}
.hn-product-card .price > .amount,
.hn-product-card .price > .woocommerce-Price-amount{font-weight:800;color:var(--hn-purple-700);font-size:15px;white-space:nowrap}
.hn-product-card .price .woocommerce-Price-amount{white-space:nowrap}
.hn-product-card .price .woocommerce-Price-currencySymbol,
.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol{font-size:11.5px;font-weight:700;margin-inline-start:3px}
@media(max-width:480px){
  .hn-product-card .price ins,.hn-product-card .price > .woocommerce-Price-amount{font-size:14px}
  .hn-product-card .price del{font-size:11px}
}

/* ===== نمایش کامل عنوان محصول در کارت‌ها (قبلاً بعد از ۲ خط بریده می‌شد) ===== */
.hn-product-card .title{
  height:auto;min-height:calc(1.7em * 2);line-height:1.7;overflow:hidden;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;
}

/* ===== پیشنهاد ویژه: اسلایدر ===== */
.hn-spot{display:block;padding:34px 40px 22px}
.hn-spot-stage{position:relative;z-index:2;display:grid}
.hn-spot-slide{grid-area:1/1;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:20px;
  opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-24px);transition:opacity .5s ease,transform .5s ease,visibility 0s linear .5s}
.hn-spot-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:opacity .5s ease,transform .5s ease}
.hn-spot-slide.is-low .pulse{background:#ff4d63;animation-name:hnSpotPulseRed}
.hn-spot-slide.is-low .bar span{background:linear-gradient(90deg,#f5a623,#f0344f)}
.hn-spot-slide.is-sold .hn-spot-img{filter:grayscale(1) drop-shadow(0 20px 24px rgba(0,0,0,.4));opacity:.6;animation:none}
.hn-spot-slide.is-sold .hn-spot-stamp{background:#f0344f;color:#fff}
.hn-spot-nav{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px}
.hn-spot-dots{display:flex;gap:8px;align-items:center}
.hn-spot-dots .dot{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.35);cursor:pointer;transition:.25s}
.hn-spot-dots .dot.is-active{width:28px;background:var(--hn-gold)}
.hn-spot-arrow{width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.12);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s}
.hn-spot-arrow:hover{background:var(--hn-gold);border-color:var(--hn-gold)}
@media(max-width:900px){
  .hn-spot{padding:26px 18px 18px}
  .hn-spot-slide{grid-template-columns:1fr;gap:6px;transform:translateX(-14px)}
  .hn-spot-slide .hn-spot-media{order:-1;min-height:220px}
}
@media(prefers-reduced-motion:reduce){.hn-spot-slide{transition:none}}

.hn-spot-arrow{width:30px;height:30px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:rgba(255,255,255,.65)}
.hn-spot-arrow:hover{background:rgba(245,166,35,.85);border-color:transparent;color:#fff}
.hn-spot-dots .dot{background:rgba(255,255,255,.28)}

/* فقط نقطه‌های اسلایدر (بدون فلش) — کمی بزرگ‌تر برای کلیک راحت‌تر */
.hn-spot-dots{gap:10px}
.hn-spot-dots .dot{width:11px;height:11px;cursor:pointer}
.hn-spot-dots .dot:hover{background:rgba(255,255,255,.6)}
.hn-spot-dots .dot.is-active{width:30px;background:var(--hn-gold)}
