/*
 * alborz-ui v1.1.0 (2026-11-24) — CSS بدون تغییر نسبت به 1.0.1 — طراحی یکدست البرز مخزن، بر اساس پیش‌نمایش تأییدشده v0.2.0.
 * فقط ظاهر: هیچ متن، لینک، تیتر یا اسکیما عوض نمی‌شود. ترتیب HTML همان می‌ماند.
 * پالت: #1e73be اصلی | #185f9e تیره | #0f3a5f سرمه‌ای | #28a8e0 تزئین | #eaf4fb روشن | #f7f9fb زمینه | #374151 متن | #6b7280 کم‌رنگ | #e3e8ee خط | #15803d موفقیت | #d93030 خطا
 * برگشت: غیرفعال کردن افزونه alborz-ui.
 */
/* 1) پالت و متغیرهای Woodmart */
:root, html body {
	--au-primary: #1e73be; --au-primary-dark: #185f9e; --au-navy: #0f3a5f; --au-sky: #28a8e0;
	--au-tint: #eaf4fb; --au-page: #f7f9fb; --au-text: #374151; --au-muted: #6b7280; --au-line: #e3e8ee;
	--au-ok: #15803d; --au-err: #d93030; --au-r: 12px;
	--wd-primary-color: #1e73be; --btn-accented-bgcolor: #1e73be; --btn-accented-bgcolor-hover: #185f9e;
	--wd-link-color: #1e73be; --wd-link-color-hover: #185f9e;
	--wd-text-color: #374151; --wd-title-color: #0f3a5f; --wd-entities-title-color: #0f3a5f;
}
body { color: var(--au-text); }

/* 2) تیترها: سرمه‌ای + خط کوتاه آسمانی زیر تیترهای بخش */
.main-page-wrapper :is(h1, h2, h3, h4, .product_title, .wd-entities-title, .wd-entities-title a, .elementor-heading-title):not(.wd-cat *, .wd-post *, .color-scheme-light *) { color: var(--au-navy) !important; }
.elementor-widget-heading .elementor-heading-title { border: 0 !important; padding: 0 !important; }
.elementor-widget-heading h2.elementor-heading-title::after, .wd-entry-content h2::after,
.elementor-widget-wd_title .title::after, .wd-tabs-header .tabs-name.title::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 3px; background: var(--au-sky); margin-top: 8px; }
.elementor-widget-heading.elementor-align-center .elementor-heading-title::after { margin-inline: auto; }
.wd-entry-content :is(h2, h3) { border: 0 !important; padding-right: 0 !important; }
.elementor-widget-wd_title :is(.title-wrapper, .wd-title-wrapp, .title, .liner-continer) { border: 0 !important; background: none !important; box-shadow: none !important; padding-right: 0 !important; padding-left: 0 !important; }
.elementor-widget-wd_title .title { color: var(--au-navy) !important; font-size: 19px !important; text-align: right !important; }
.elementor-widget-wd_title .liner-continer::before, .elementor-widget-wd_title .liner-continer::after { display: none !important; }
.wd-entry-content, .woocommerce-Tabs-panel { line-height: 2; }

/* 3) قیمت: سرمه‌ای پررنگ، «تومان» کم‌رنگ */
.price, .price .amount, .woocommerce-Price-amount, .price bdi { color: var(--au-navy) !important; font-weight: 800; }
.woocommerce-Price-currencySymbol { color: var(--au-muted) !important; font-weight: 400; font-size: .8em; }
del .woocommerce-Price-amount, del bdi { color: var(--au-muted) !important; font-weight: 400; }

/* 4) دکمه‌ها: یک دکمه اصلی آبی */
.e-loop-item .elementor-button, a.am-main-link, .single_add_to_cart_button, .am-calc-btn, .btn.btn-color-primary, .wd-search-form button[type=submit] {
	background: var(--au-primary) !important; border-color: var(--au-primary) !important; color: #fff !important; border-radius: 10px !important; box-shadow: none !important;
}
.single_add_to_cart_button:disabled, .single_add_to_cart_button.disabled { opacity: .55; }
.price-badge { background: var(--au-tint) !important; color: var(--au-primary-dark) !important; border-radius: 8px; }
.wd-entry-content table thead :is(th, td), .elementor-widget-container table thead :is(th, td) { background: var(--au-navy) !important; color: #fff !important; }

/* 5) بخش‌ها: بدون سایه سنگین؛ تصویرها گرد */
.elementor[data-elementor-type="wp-page"] > .elementor-top-section,
.elementor[data-elementor-type="wp-page"] > .elementor-top-section > .elementor-container,
.elementor[data-elementor-type="wp-page"] > .elementor-top-section .elementor-widget-wrap { box-shadow: none !important; }
.elementor-widget-image img { border-radius: var(--au-r); }

/* 6) ردیف اعتماد (همان متن) */
.elementor-widget-container div:has(> .am-trust-banner) { gap: 8px !important; }
.elementor-widget-container div:has(> .am-trust-banner:nth-child(3)) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; grid-auto-flow: row !important; }
.am-trust-banner { background: var(--au-tint) !important; border: 0 !important; border-radius: var(--au-r) !important; padding: 10px 8px !important; flex-direction: column; align-items: center; text-align: center; gap: 4px; min-height: 0 !important; box-shadow: none !important; margin: 0 !important; }
.am-trust-banner, .am-trust-banner * { color: var(--au-navy) !important; font-size: 13px !important; line-height: 1.7 !important; }

/* 7) تب‌های محصولات: قرصی */
.wd-tabs-header .wd-nav-tabs .nav-link-text::after, .wd-tabs-header .wd-nav-tabs .nav-link-text::before { display: none !important; }
.wd-tabs-header .wd-nav-tabs > li > a { background: var(--au-tint); border-radius: 999px; padding: 0 16px !important; margin: 0 3px; min-height: 44px; display: inline-flex; align-items: center; }
.wd-tabs-header .wd-nav-tabs > li > a .nav-link-text { color: var(--au-primary-dark) !important; }
.wd-tabs-header .wd-nav-tabs > li.wd-active > a { background: var(--au-primary); }
.wd-tabs-header .wd-nav-tabs > li.wd-active > a .nav-link-text { color: #fff !important; }
.tabs-name.title { border: 0 !important; }

/* 8) کارت محصول یکدست */
.wd-product .product-wrapper { background: #fff; border: 1px solid var(--au-line); border-radius: var(--au-r); padding: 8px; height: 100%; }
.wd-product .product-element-top { background: var(--au-page); border-radius: 10px; }
.wd-product .product-element-top img { border-radius: 10px; }
.wd-product .wd-entities-title { font-size: 13px; line-height: 1.7; }
.wd-product .star-rating { font-size: 11px; }

/* 9) هدر: نوار بالای سرمه‌ای (دسکتاپ)، نوار پایین موبایل */
.whb-top-bar, .whb-top-bar .whb-row { background: var(--au-navy) !important; }
.whb-top-bar a, .whb-top-bar .wd-header-text, .whb-top-bar .wd-icon { color: #fff !important; }
.wd-toolbar { box-shadow: 0 -1px 0 var(--au-line) !important; }
.wd-toolbar .wd-tools-count { background: var(--au-primary) !important; } /* سفید روی آسمانی کنتراست کافی ندارد */

/* 10) صفحه محصول */
.wd-products-nav { opacity: .7; } /* لینک قبلی/بعدی دیده می‌ماند (سئو) */
.single-product .woocommerce-product-gallery { background: var(--au-page); border-radius: var(--au-r); overflow: hidden; }
.single-product .product_title { font-size: 20px; line-height: 1.7; }
.single-product .summary p.price { font-size: 24px; margin: 6px 0 12px; }
.summary .shop_attributes { display: block; border: 0 !important; margin-bottom: 16px; height: auto !important; max-height: none !important; overflow: visible !important; }
.summary .shop_attributes tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.summary .shop_attributes tr { display: flex; flex-direction: column; background: var(--au-page); border: 1px solid var(--au-line); border-radius: 10px; padding: 8px 10px; }
.summary .shop_attributes :is(th, td) { padding: 0 !important; border: 0 !important; text-align: right; width: auto; background: none !important; }
.summary .shop_attributes th { font-size: 12px; color: var(--au-muted); font-weight: 400; }
.summary .shop_attributes td { font-size: 14px; color: var(--au-navy); font-weight: 700; }
.summary .shop_attributes td p { margin: 0; }
.tc-extra-product-options li.tmcp-field-wrap:has(input[type=radio]) { border: 1px solid var(--au-line); border-radius: 10px; padding: 0 12px; margin: 0 0 8px; background: #fff; list-style: none; }
.tc-extra-product-options li.tmcp-field-wrap:has(input[type=radio]) label { display: flex !important; align-items: center; gap: 10px; min-height: 44px; width: 100%; cursor: pointer; text-align: right; }
.tc-extra-product-options li.tmcp-field-wrap:has(input:checked) { border-color: var(--au-primary); background: var(--au-tint); }
.tc-extra-product-options select { border-radius: 10px; border-color: var(--au-line); min-height: 44px; }
.tc-extra-product-options .tc-epo-label, .tc-extra-product-options .tm-epo-element-label { color: var(--au-navy); font-weight: 700; }
form.cart:not(.variations_form):not(.grouped_form) { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
form.cart .tm-epo-tooltip-wrapper:has(> .single_add_to_cart_button) { flex: 1 1 160px; display: flex; }
form.cart .single_add_to_cart_button { flex: 1 1 auto; min-height: 48px; font-size: 15px; }
form.cart .quantity { margin: 0 !important; }
.single-product .quantity :is(.minus, .plus, input[type=button]) { min-width: 44px; min-height: 44px; }
.product_meta { font-size: 12px; color: var(--au-muted); }

/* 11) نوار خرید ثابت پایین (موبایل) — markup را افزونه می‌سازد */
.au-buybar { position: fixed; inset-inline: 0; bottom: var(--au-toolbar-h, 56px); z-index: 390; background: #fff; border-top: 1px solid var(--au-line); box-shadow: 0 -4px 12px rgba(15, 58, 95, .08); display: flex; align-items: center; gap: 12px; padding: 8px 12px; }
.au-buybar__price { display: flex; flex-direction: column; line-height: 1.4; }
.au-buybar__price small { color: var(--au-muted); font-size: 11px; }
.au-buybar__price b { color: var(--au-navy); font-size: 16px; }
.au-buybar__btn { flex: 1; min-height: 46px; border: 0; border-radius: 10px; background: var(--au-primary); color: #fff; font: inherit; font-weight: 700; }
@media (max-width: 1024px) { body.single-product.au-has-buybar { padding-bottom: calc(var(--au-toolbar-h, 56px) + 64px + env(safe-area-inset-bottom)); } }
@media (min-width: 1025px) { .au-buybar { display: none; } }

/* 12) صفحه اصلی موبایل: چیدمان یک‌ستونه تمیز؛ ترتیب با CSS order (HTML همان) */
@media (max-width: 768px) {
	.home .elementor[data-elementor-type="wp-page"] { display: flex; flex-direction: column; }
	.home .elementor[data-elementor-type="wp-page"] :is(.elementor-section, .elementor-container, .elementor-column, .elementor-widget-wrap, .e-con, .e-con-inner):not(.e-loop-item) { display: contents !important; }
	.home .elementor[data-elementor-type="wp-page"] .elementor-widget { margin: 0 0 20px !important; width: 100% !important; max-width: 100% !important; }
	.home .elementor[data-elementor-type="wp-page"] .elementor-widget-spacer { display: none !important; }
	.home .elementor-widget-heading h1.elementor-heading-title { font-size: 21px !important; line-height: 1.8 !important; text-align: right !important; }
	.home .elementor-widget-text-editor, .home .elementor-widget-text-editor :is(p, div) { text-align: right !important; font-size: 14px; }
	/* ترتیب: تصویر، H1، متن معرفی، بعد جستجو، «انواع مخزن» و دسته‌ها، بعد بقیه به ترتیب HTML (شناسه ویجت‌های برگه 292) */
	.home .elementor-element-7a0e106, .home .elementor-element-b96758f, .home .elementor-element-d22e23d { order: -2; }
	.home .elementor-element-853ca27, .home .elementor-element-82c72c6, .home .elementor-element-19d762c { order: -1; }
}
