/* ============================================================
   نوماه — elementor.css: پل بین ویجت‌های Elementor Pro و اجزای نوماه
   ============================================================ */
.elementor-widget-button .elementor-button{border-radius:999px;font-weight:700;font-family:var(--font-body);min-height:46px;display:inline-flex;align-items:center;gap:8px;padding:0 22px}
.elementor-widget-button.btn-primary .elementor-button{background:var(--brand-strong);color:#fff}
.elementor-widget-button.btn-accent .elementor-button{background:var(--accent);color:var(--blue-800)}
.elementor-widget-button.btn-secondary .elementor-button{background:#fff;color:var(--brand-strong);border:1.5px solid var(--blue-200)}
.elementor-widget-button.btn-dark .elementor-button{background:var(--blue-800);color:#fff}
.elementor-widget-button.btn-lux .elementor-button{background:#fff;color:var(--lux-text);border:1.5px solid var(--gold-300)}
.elementor-widget-heading .elementor-heading-title,.elementor-widget-theme-page-title .elementor-heading-title,.elementor-widget-theme-post-title .elementor-heading-title,.elementor-widget-theme-archive-title .elementor-heading-title,.elementor-widget-woocommerce-product-title .product_title{font-family:var(--font-display);color:var(--heading);font-weight:800}
.elementor-widget-text-editor{color:var(--fg-2)}
.elementor-widget-search-form .elementor-search-form__container{border:1.5px solid var(--blue-200)!important;border-radius:999px!important;background:#fff;min-height:54px;box-shadow:0 8px 22px -14px rgba(32,73,101,.35);overflow:hidden}
.elementor-widget-search-form .elementor-search-form__input{border-radius:999px}
.elementor-widget-search-form .elementor-search-form__input{font-family:var(--font-body)}
.elementor-widget-search-form .elementor-search-form__submit{border-radius:50%!important;background:linear-gradient(135deg,var(--blue-500),var(--blue-700));width:46px!important;height:46px!important;min-width:46px!important;max-width:46px;flex:0 0 46px;padding:0;align-self:center;margin:0 4px}
.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item{font-family:var(--font-body);font-weight:700;font-size:var(--t-sm);color:var(--fg-2);border-radius:999px;padding:8px 13px;position:relative}
.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:hover,.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item.elementor-item-active{color:var(--heading);background:transparent}
.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item::after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:2px;background:var(--gold-500);transform:scaleX(0);transform-origin:right;transition:transform .25s var(--ease)}
.elementor-widget-nav-menu .elementor-nav-menu--main .elementor-item:hover::after{transform:scaleX(1)}
.elementor-widget-nav-menu .elementor-nav-menu--dropdown{border-radius:var(--rad-lg);box-shadow:var(--sh-3);border:1px solid var(--line);overflow:hidden}
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle .elementor-button{background:var(--blue-800);color:#fff;border-radius:50%;width:44px;height:44px;padding:0;display:grid;place-content:center}
.elementor-widget-woocommerce-menu-cart .elementor-button-icon[data-counter]::before{background:var(--peach-700);color:#fff;font-weight:800}
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__main{border-radius:var(--rad-lg);box-shadow:var(--sh-3)}
.elementor-widget-theme-site-logo img{border-radius:50%;aspect-ratio:1/1;height:auto!important;object-fit:cover;box-shadow:0 4px 14px -6px rgba(176,136,88,.55)}
.elementor-widget-icon-list .elementor-icon-list-item a{color:var(--blue-200);font-size:var(--t-sm)}
.elementor-widget-icon-list .elementor-icon-list-item a:hover{color:var(--gold-300)}
.nomah-el-footer{background:var(--blue-900);color:#DCEEF7}
.nomah-el-footer .elementor-heading-title{color:#fff;font-size:var(--t-md);margin-bottom:6px}
.nomah-el-footer .elementor-widget-text-editor,.nomah-el-footer .elementor-widget-text-editor p{color:#DCEEF7;font-size:var(--t-sm);line-height:1.9}
.nomah-el-footer .elementor-icon-list-item .elementor-icon-list-text,.nomah-el-footer .elementor-icon-list-item a{color:#E6F1F8!important;font-size:var(--t-sm);font-weight:500}
.nomah-el-footer .elementor-icon-list-item:hover .elementor-icon-list-text,.nomah-el-footer .elementor-icon-list-item a:hover{color:var(--gold-300)!important}
.nomah-el-footer .elementor-icon-list-icon i,.nomah-el-footer .elementor-icon-list-icon svg,.nomah-el-footer .elementor-icon-list-icon i::before{color:var(--gold-300,#E6D3A6)!important;fill:var(--gold-300,#E6D3A6)!important}
.nomah-el-footer .elementor-icon-list-item:hover .elementor-icon-list-icon svg,.nomah-el-footer .elementor-icon-list-item:hover .elementor-icon-list-icon i{fill:#fff!important;color:#fff!important}
.nomah-el-footer .elementor-widget-social-icons .elementor-social-icon i,.nomah-el-footer .elementor-widget-social-icons .elementor-social-icon svg{color:#fff;fill:#fff}
.nomah-el-footer .elementor-widget-text-editor a{color:var(--gold-300)}
.nomah-el-footer-bottom{background:#183A52;color:#C9DDEC;border-top:1px solid rgba(255,255,255,.08)}
.nomah-el-footer-bottom .elementor-widget-text-editor,.nomah-el-footer-bottom .elementor-widget-text-editor p{color:#C9DDEC;font-size:var(--t-xs)}
.nomah-el-footer .elementor-widget-social-icons .elementor-social-icon{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15)}
.nomah-el-header{background:rgba(255,253,249,.92);backdrop-filter:blur(14px)}
.nomah-el-header-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:rgba(255,253,249,.92)}
.nomah-el-header .elementor-widget-wrap{align-content:center}
.elementor-widget-nomah-header-actions .acts{display:flex;gap:6px;align-items:center;justify-content:flex-start}
.elementor-widget-theme-site-logo img{width:58px!important;object-fit:cover}
@media(max-width:860px){.elementor-widget-nomah-header-actions .acts{justify-content:flex-end}.elementor-widget-nomah-header-actions .acts .lb{display:none}.elementor-widget-theme-site-logo img{width:48px!important}}
.nomah-el-top{background:linear-gradient(90deg,var(--blue-900),var(--blue-800) 60%,#2A5F8E);color:#fff}
/* سر آرشیو یکدست (فروشگاه / دسته / جستجو / بلاگ) */
.nomah-el-archive-head{background:linear-gradient(180deg,var(--blue-50,#EEF5FA),var(--page,#FFFDF9));border-bottom:1px solid var(--line)}
.nomah-el-archive-head .woocommerce-breadcrumb{font-size:var(--t-xs);color:var(--fg-3);margin-bottom:6px}
.nomah-el-archive-head .elementor-heading-title{font-size:clamp(28px,4vw,44px);line-height:1.2;margin:0 0 6px}
.nomah-el-archive-head .elementor-widget-text-editor{color:var(--fg-2);font-size:var(--t-sm);max-width:720px}
.nomah-el-archive-head .elementor-widget-search-form{max-width:560px}
.nomah-el-archive-head .elementor-widget-nomah-highlights{margin-top:12px}
/* صفحه‌بندی یکدست (ووکامرس، Posts المنتور، قالب) */
.woocommerce-pagination,.elementor-pagination,.pagination{display:flex;justify-content:center;margin-top:var(--s-8);clear:both}
.woocommerce-pagination ul.page-numbers,.pagination .nav-links{display:flex!important;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0;border:0}
.woocommerce-pagination ul.page-numbers li{display:block;float:none;margin:0;padding:0;border:0;overflow:visible}
.elementor-pagination{gap:6px;flex-wrap:wrap}
.woocommerce-pagination .page-numbers,.elementor-pagination .page-numbers,.pagination .page-numbers{min-width:40px;height:40px;padding:0 8px;display:inline-grid;place-content:center;border-radius:999px;border:1.5px solid var(--line-2);background:#fff;color:var(--fg-2);font-weight:700;text-decoration:none!important;transition:background .2s,border-color .2s;margin:0}
.woocommerce-pagination .page-numbers:hover,.elementor-pagination .page-numbers:hover,.pagination .page-numbers:hover{border-color:var(--blue-300);background:var(--blue-50,#EEF5FA)}
.woocommerce-pagination .page-numbers.current,.elementor-pagination .page-numbers.current,.pagination .page-numbers.current{background:var(--blue-800);border-color:var(--blue-800);color:#fff}
.woocommerce-pagination .page-numbers.dots,.elementor-pagination .page-numbers.dots{border:0;background:none}
/* Posts المنتور با استایل کارت نوماه */
.elementor-widget-archive-posts .elementor-post,.elementor-widget-posts .elementor-post{border:1px solid var(--line);border-radius:var(--rad-lg);overflow:hidden;background:#fff;box-shadow:var(--sh-1);transition:transform .25s,box-shadow .25s}
.elementor-widget-archive-posts .elementor-post:hover,.elementor-widget-posts .elementor-post:hover{transform:translateY(-3px);box-shadow:var(--sh-3)}
.elementor-widget-archive-posts .elementor-post__thumbnail,.elementor-widget-posts .elementor-post__thumbnail{aspect-ratio:16/10}
.elementor-widget-archive-posts .elementor-post__thumbnail img,.elementor-widget-posts .elementor-post__thumbnail img{width:100%;height:100%;object-fit:cover}
.elementor-widget-archive-posts .elementor-post__title,.elementor-widget-posts .elementor-post__title{font-family:var(--font-body);font-size:var(--t-md);font-weight:700;margin:0 0 6px}
.elementor-widget-archive-posts .elementor-post__title a,.elementor-widget-posts .elementor-post__title a{color:var(--fg)}
.elementor-widget-archive-posts .elementor-post__text,.elementor-widget-posts .elementor-post__text{padding:14px 16px 16px}
.elementor-widget-archive-posts .elementor-post__meta-data,.elementor-widget-posts .elementor-post__meta-data{font-size:var(--t-xs);color:var(--fg-3)}
.elementor-widget-archive-posts .elementor-post__read-more,.elementor-widget-posts .elementor-post__read-more{color:var(--brand-strong);font-weight:700;font-size:var(--t-sm)}
.elementor-widget-archive-posts .elementor-posts-nothing-found,.elementor-widget-posts .elementor-posts-nothing-found{color:var(--fg-2);padding:40px 0;text-align:center}
/* ویجت‌های Pro ووکامرس */
.elementor-widget-wc-archive-products ul.products,.elementor-widget-woocommerce-products ul.products,.elementor-widget-woocommerce-product-related ul.products,.elementor-widget-woocommerce-product-upsell ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:var(--s-4);list-style:none;padding:0;margin:0}
.elementor-widget-wc-archive-products ul.products li.product,.elementor-widget-woocommerce-products ul.products li.product,.elementor-widget-woocommerce-product-related ul.products li.product{width:auto!important;margin:0!important;float:none!important}
.elementor-widget-wc-archive-products ul.products li.product .pcard,.elementor-widget-woocommerce-products ul.products li.product .pcard{height:100%}
.elementor-widget-wc-archive-products .woocommerce-result-count,.elementor-widget-wc-archive-products .woocommerce-ordering{font-size:var(--t-sm);color:var(--fg-3)}
.elementor-widget-wc-archive-products .woocommerce-ordering select{min-height:36px;border:1.5px solid var(--line-2);border-radius:99px;padding:0 12px;font-weight:600;background:#fff}
.elementor-widget-woocommerce-product-title .product_title{font-family:var(--font-body);font-size:var(--t-2xl);font-weight:700;color:var(--fg)}
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery{width:100%!important}
.elementor-widget-woocommerce-product-price .price{display:grid;gap:2px}
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb{font-size:var(--t-xs);color:var(--fg-3)}
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a{color:var(--fg-3)}
.elementor-widget-archive-title .elementor-heading-title{font-family:var(--font-display);color:var(--heading)}
.elementor-widget-woocommerce-cart .e-cart-section,.elementor-widget-woocommerce-checkout .e-checkout__container>*,.elementor-widget-woocommerce-my-account .e-my-account-tab__dashboard{border-radius:var(--rad-lg)}
.elementor-widget-woocommerce-cart .shop_table,.elementor-widget-woocommerce-checkout .shop_table{font-size:var(--t-sm)}
.elementor-widget-woocommerce-cart .e-cart__container,.elementor-widget-woocommerce-checkout .e-checkout__container{gap:var(--s-6)}
.elementor-widget-woocommerce-cart .checkout-button,.elementor-widget-woocommerce-checkout #place_order{border-radius:999px;background:var(--brand-strong);font-weight:800}
.elementor-widget-posts .elementor-post{border:1px solid var(--line);border-radius:var(--rad-lg);overflow:hidden;background:#fff}
.elementor-widget-posts .elementor-post__thumbnail{aspect-ratio:16/10}
.elementor-widget-posts .elementor-post__title{font-family:var(--font-body);font-size:var(--t-md);font-weight:700}
.elementor-widget-posts .elementor-post__title a{color:var(--fg)}
.elementor-widget-posts .elementor-post__text{padding:12px 14px 14px}
.elementor-widget-posts .elementor-post__meta-data{font-size:var(--t-xs);color:var(--fg-3)}
.elementor-widget-testimonial-carousel .elementor-testimonial{background:#fff;border:1px solid var(--line);border-radius:var(--rad-lg);padding:16px}
.elementor-widget-accordion .elementor-tab-title,.elementor-widget-toggle .elementor-tab-title,.elementor-widget-n-accordion .e-n-accordion-item-title{font-family:var(--font-body);font-weight:700;color:var(--heading);border-radius:var(--rad-md)}
.elementor-widget-accordion .elementor-tab-content,.elementor-widget-n-accordion .e-n-accordion-item-title+div{color:var(--fg-2);font-size:var(--t-sm)}
.elementor-widget-form .elementor-field{border:1.5px solid var(--ink-200);border-radius:var(--rad-md);min-height:48px;font-family:var(--font-body)}
.elementor-widget-form .elementor-field:focus{border-color:var(--blue-400);box-shadow:0 0 0 4px var(--blue-100)}
.elementor-widget-form .elementor-button{background:var(--brand-strong);border-radius:999px;font-weight:700}
.elementor-widget-counter .elementor-counter-number-wrapper{font-family:var(--font-display);color:var(--heading)}
.elementor-widget-counter .elementor-counter-title{color:var(--fg-3);font-size:var(--t-sm);font-weight:700}
.elementor-widget-icon-box .elementor-icon-box-title{font-family:var(--font-body);color:var(--heading)}
.elementor-widget-icon-box .elementor-icon{color:var(--brand-strong)}
.elementor-widget-image-box .elementor-image-box-img img{border-radius:var(--rad-lg)}
.elementor-widget-google_maps iframe{border-radius:var(--rad-lg)}
.elementor-widget-countdown .elementor-countdown-item{background:#fff;border-radius:var(--rad-md);box-shadow:var(--sh-1)}
.elementor-widget-countdown .elementor-countdown-digits{font-family:var(--font-body);color:var(--heading);font-weight:800}
.elementor-widget-countdown .elementor-countdown-label{color:var(--fg-3);font-size:var(--t-2xs);font-weight:700}
.elementor-section.nomah-cream{background:var(--cream-100)}
.elementor-section.nomah-ice{background:var(--blue-100)}
.elementor-section.nomah-warm{background:var(--marble-100)}
.elementor-section.nomah-night{background:var(--blue-900);color:#fff}
.elementor-section.nomah-night .elementor-heading-title{color:#fff}
@media(max-width:1000px){.elementor-widget-wc-archive-products ul.products,.elementor-widget-woocommerce-products ul.products,.elementor-widget-woocommerce-product-related ul.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.elementor-widget-wc-archive-products ul.products,.elementor-widget-woocommerce-products ul.products,.elementor-widget-woocommerce-product-related ul.products{grid-template-columns:repeat(2,1fr);gap:10px}}

/* ---- هدر: چسبان فقط در خانه (دسکتاپ) ---- */
@media(min-width:768px){body.home .nomah-el-header{position:sticky;top:0;z-index:60}body.admin-bar.home .nomah-el-header{top:32px}}
/* ---- موبایل: فضای تنفس + هدر جمع‌وجور ---- */
@media(max-width:767px){
  .elementor-section.elementor-section-boxed>.elementor-container{padding-left:16px;padding-right:16px}
  .elementor-section.elementor-section-boxed>.elementor-container>.elementor-column>.elementor-widget-wrap{padding-left:0;padding-right:0}
  .nomah-el-header .elementor-container{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;padding-top:6px;padding-bottom:6px}
  .nomah-el-header .elementor-column:nth-child(1){width:auto!important;flex:0 0 auto}
  .nomah-el-header .elementor-column:nth-child(2){width:auto!important;flex:1 1 auto;min-width:0}
  /* موبایل: فقط آیکون سبد خرید با شمارنده در هدر بماند */
  .nomah-el-header .elementor-column:nth-child(3){display:flex!important;width:auto!important;flex:0 0 auto}
  .nomah-el-header .elementor-column:nth-child(3)>.elementor-widget-wrap{padding:0}
  .nomah-el-header .elementor-column:nth-child(3) .elementor-widget{margin-bottom:0}
  .elementor-widget-nomah-header-actions .acts .act:not(.cart){display:none}
  .elementor-widget-nomah-header-actions .acts .act.cart{padding:0}
  .elementor-widget-nomah-header-actions .acts .act.cart .ic{width:42px;height:42px}
  .elementor-widget-nomah-header-actions .acts .act.cart .ic svg{width:19px;height:19px}
  .elementor-widget-theme-site-logo img{width:44px!important}
  .elementor-widget-search-form .elementor-search-form__container{min-height:42px;box-shadow:none}
  .elementor-widget-search-form .elementor-search-form__submit{width:36px!important;height:36px!important;min-width:36px!important;max-width:36px;flex:0 0 36px;align-self:center;margin:0 3px}
  .elementor-widget-search-form .elementor-search-form__input{font-size:13px;padding-inline:10px}
  .nomah-el-header-nav .elementor-container{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;padding-top:6px;padding-bottom:6px}
  .nomah-el-header-nav .elementor-column{width:auto!important}
  .nomah-el-header-nav .elementor-column:nth-child(1){flex:1 1 auto}
  .nomah-el-header-nav .elementor-column:nth-child(2){flex:0 0 auto}
  .nomah-el-header-nav .elementor-column:nth-child(3){flex:1 1 100%}
  .nomah-el-header-nav .elementor-widget-wrap{padding:0}
  .nomah-el-header-nav .elementor-widget{margin-bottom:0}
  .nomah-el-header-nav .elementor-widget-button .elementor-button{min-height:38px;width:100%;justify-content:center}
  .elementor-widget-nomah-hero .hero{padding:20px 16px 24px}
  .elementor-widget-nomah-hero .hero .art{height:230px}
  .elementor-widget-nomah-hero .hero .art .prod img{width:200px}
  .elementor-widget-nomah-hero .hero .stitch{width:90px}
  .elementor-widget-nomah-hero .hero .hero-title{font-size:28px}
  .elementor-widget-nomah-about .about .ph,.elementor-widget-nomah-about .about img.ph{aspect-ratio:1/1;width:100%;object-fit:cover}
  :root{--t-md:14.5px;--t-base:15px;--t-lg:17px;--t-xl:19px;--t-2xl:23px;--t-3xl:27px;--t-4xl:32px}
  .elementor-widget-heading .elementor-heading-title{font-size:clamp(22px,6vw,28px)}
}

/* ===== پاس ۴: هدر موبایل یک‌خطی و کم‌ارتفاع ===== */
@media(max-width:767px){
  .nomah-el-header .elementor-container{padding-top:5px;padding-bottom:5px}
  .nomah-el-header-nav .elementor-container{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:10px;padding-top:4px;padding-bottom:4px}
  .nomah-el-header-nav .elementor-column{width:auto!important;flex:0 0 auto!important}
  .nomah-el-header-nav .elementor-column:nth-child(1){order:2;margin-inline-start:auto}
  .nomah-el-header-nav .elementor-column:nth-child(2){order:1}
  .nomah-el-header-nav .elementor-column:nth-child(3){display:none}
  .nomah-el-header-nav .elementor-widget{margin:0}
  .nomah-el-header-nav .elementor-menu-toggle{width:34px;height:34px;border-radius:10px;background:var(--surface-2,#FBF6EF);border:1px solid var(--line);color:var(--heading)}
  .elementor-widget-nomah-mega-menu .mega-wrap>a,.elementor-widget-nomah-mega-menu .cats{font-size:var(--t-sm)}
  /* بخش‌های صفحه: فاصلهٔ کمتر */
  .elementor-widget:not(:last-child){margin-bottom:14px}
  .elementor-section>.elementor-container{padding-top:0;padding-bottom:0}
  .elementor-element.elementor-section-boxed{padding-top:12px!important;padding-bottom:12px!important}
  .nomah-el-header,.nomah-el-header-nav,.nomah-el-top{padding-top:0!important;padding-bottom:0!important}
}

/* ردیف‌های ۷۰/۳۰ (مثل تک‌نوشته با ستون کنار) در تبلت تک‌ستونی شوند */
@media(max-width:1024px){
  .elementor-container:has(>.elementor-col-70):has(>.elementor-col-30)>.elementor-column{width:100%!important}
  .elementor-section:not(.nomah-el-header):not(.nomah-el-top):not(.nomah-el-footer)>.elementor-container>.elementor-column.elementor-col-70,
  .elementor-section:not(.nomah-el-header):not(.nomah-el-top):not(.nomah-el-footer)>.elementor-container>.elementor-column.elementor-col-30{width:100%!important}
}

/* بدون زیرخط روی هاور در هیچ جای سایت */
a:hover,a:focus,.elementor a:hover,.woocommerce a:hover,.elementor-widget-text-editor a:hover,
.elementor-widget-theme-post-content a:hover,.entry-content a:hover{text-decoration:none}
