/*
 * آرپینا: هویت سفید و آبی آسمانی (هم‌خانواده با ERP).
 * فقط روی body.ar-brand اعمال می‌شود؛ لندینگ‌ها، فروشگاه، محصول، سبد و پرداخت.
 */
.ar-brand{
  --b-50:#f0f9ff;--b-100:#e0f2fe;--b-200:#bae6fd;--b-300:#7dd3fc;--b-400:#38bdf8;--b-500:#0ea5e9;--b-600:#0284c7;--b-700:#0369a1;--b-800:#075985;--b-900:#0c4a6e;
  --ink:#0f1b2d;--ink-2:#273449;--muted:#566578;--line:#e4ecf4;--line-2:#d3deea;--soft:#f6f9fc;--surface:#fff;
  --ok:#047857;--ok-bg:#ecfdf5;--warn:#b45309;--danger:#b91c1c;--danger-bg:#fef2f2;
  --r-sm:10px;--r:14px;--r-lg:20px;--r-xl:28px;
  --sh-1:0 1px 2px rgba(15,27,45,.05),0 2px 8px rgba(15,27,45,.04);
  --sh-2:0 2px 6px rgba(15,27,45,.05),0 12px 32px rgba(15,27,45,.07);
  --sh-3:0 24px 60px -18px rgba(3,105,161,.28),0 8px 24px rgba(15,27,45,.06);
  --ring:0 0 0 4px rgba(14,165,233,.22);
  --ar-bg:#fff;--ar-fg:var(--ink);--ar-muted:var(--muted);--ar-line:var(--line);--ar-card:#fff;--ar-accent:var(--b-700);--ar-gold:var(--b-700);
  background:#fff;color:var(--ink);
}
.ar-brand ::selection{background:var(--b-100);color:var(--b-900)}
.ar-brand :focus-visible{outline:3px solid var(--b-400);outline-offset:2px;border-radius:8px}
.ar-brand h1,.ar-brand h2,.ar-brand h3,.ar-brand h4{letter-spacing:0}
.ar-brand .ar-skip{background:var(--b-700);color:#fff}

/* ── کلاس‌های عمومی قالب که روی این صفحات دیده می‌شوند ── */
.ar-brand .text-white,.ar-brand .text-white\/80,.ar-brand .text-white\/70,.ar-brand .text-white\/65,.ar-brand .hover\:text-white:hover{color:var(--ink)}
.ar-brand .text-white\/60{color:var(--muted)}
.ar-brand .border-white\/15,.ar-brand .border-white\/10{border-color:var(--line-2)}
.ar-brand .placeholder\:text-white\/50::placeholder{color:#8a98aa}
.ar-brand .bg-white.text-black{background:var(--b-700);color:#fff}
.ar-brand .bg-white.text-black:hover{background:var(--b-800)}
.ar-brand [style*="c8a45c"]{background:linear-gradient(135deg,var(--b-400),var(--b-700))!important;color:#fff!important}
.ar-brand .ar-glass{background:rgba(255,255,255,.88);border:1px solid var(--line);color:var(--ink);box-shadow:var(--sh-1);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px)}
.ar-brand .ar-panel{background:#fff;border-color:var(--line);box-shadow:var(--sh-1)}
.ar-brand .ar-chip{border-color:var(--line-2);color:var(--muted)}
.ar-brand .ar-chip-gold{color:var(--b-700);border-color:var(--b-200);background:var(--b-50)}
.ar-brand .ar-gold-border{border-color:var(--b-200)}
.ar-brand .ar-beam,.ar-brand .ar-beam-gold,.ar-brand .ar-lines{display:none}
.ar-brand .ar-noise:after{display:none}
.ar-brand .ar-gold-text{background:none;-webkit-background-clip:initial;background-clip:initial;color:var(--b-700)}
.ar-brand .ar-link-gold,.ar-brand .text-ar-gold{color:var(--b-700)}
.ar-brand .ar-btn-gold{background:var(--b-700);color:#fff;border:0;box-shadow:0 6px 16px -6px rgba(3,105,161,.55);filter:none}
.ar-brand .ar-btn-gold:hover{background:var(--b-800);filter:none}
.ar-brand .ar-btn-ghost{border:1px solid var(--line-2);color:var(--ink);background:#fff}
.ar-brand .ar-btn-ghost:hover{border-color:var(--b-500);color:var(--b-700)}
.ar-brand .ar-input{border-color:var(--line-2);background:#fff;color:var(--ink)}
.ar-brand .ar-input:focus{border-color:var(--b-500);box-shadow:var(--ring)}
.ar-brand .ar-section-lead{color:var(--muted)}

/* ── هدر نسخه‌ی A ── */
.ar-brand #arHeader{padding-top:.75rem}
.ar-brand #arHeader nav a{color:var(--ink-2)}
.ar-brand #arHeader nav a:hover{color:var(--b-700)}
.ar-brand #arHeader .ar-logo{filter:none}
.ar-brand #arHeader .text-xs.font-bold.text-ar-gold,.ar-brand #arHeader .ar-header-cta{color:var(--b-700);border-color:var(--b-200);background:var(--b-50)}
.ar-brand #arMobileMenu a{color:var(--ink)}

/* ── هدر نسخه‌ی B ── */
.ar-brand .arh2-bar{background:rgba(255,255,255,.9);border-color:var(--line);box-shadow:var(--sh-1)}
.ar-brand .arh2-brand{color:var(--ink)}
.ar-brand .arh2-mark{background:linear-gradient(135deg,var(--b-400),var(--b-700));color:#fff}
.ar-brand .arh2-nav>a,.ar-brand .arh2-dropdown>summary{color:var(--ink-2)}
.ar-brand .arh2-nav>a:hover,.ar-brand .arh2-dropdown>summary:hover,.ar-brand .arh2-dropdown[open]>summary{color:var(--b-700)}
.ar-brand .arh2-mega{background:#fff;border-color:var(--line);box-shadow:var(--sh-3)}
.ar-brand .arh2-mega-head{border-bottom-color:var(--line)}
.ar-brand .arh2-mega-head small,.ar-brand .arh2-mega-head>a,.ar-brand .arh2-mega-card i{color:var(--b-700)}
.ar-brand .arh2-mega-head h2,.ar-brand .arh2-mega-card{color:var(--ink)}
.ar-brand .arh2-mega-card small{color:var(--muted)}
.ar-brand .arh2-mega-card:hover,.ar-brand .arh2-mega-card:focus-visible{border-color:var(--b-200);background:var(--b-50)}
.ar-brand .arh2-mega-icon{border-color:var(--b-200);color:var(--b-700);background:var(--b-50)}
.ar-brand .arh2-quote{background:var(--b-700);color:#fff}
.ar-brand .arh2-quote:hover{background:var(--b-800);filter:none}
.ar-brand .arh2-account,.ar-brand .arh2-icon-btn,.ar-brand .arh2-menu-toggle{border-color:var(--line-2);color:var(--ink)}
.ar-brand .arh2-mobile-menu{background:#fff;border-color:var(--line);box-shadow:var(--sh-3)}
.ar-brand .arh2-mobile-menu>a,.ar-brand .arh2-mobile-menu summary,.ar-brand .arh2-mobile-links>a{color:var(--ink)}
.ar-brand .arh2-mobile-links>a,.ar-brand .arh2-mobile-bottom>a:not(.arh2-quote){color:var(--muted)}
.ar-brand .arh2-mobile-menu details[open]>summary,.ar-brand .arh2-mobile-menu>a:hover,.ar-brand .arh2-mobile-links>a:hover{color:var(--b-700);background:var(--b-50)}
.ar-brand .arh2-mobile-bottom{border-top-color:var(--line)}
.ar-brand .arh2-header a:focus-visible,.ar-brand .arh2-header summary:focus-visible,.ar-brand .arh2-header button:focus-visible{outline-color:var(--b-400)}
.ar-brand .ar-cartlink{color:var(--ink);border-color:var(--line-2)}

/* ── جستجو ── */
.ar-brand dialog.ar-dialog{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:var(--sh-3)}
.ar-brand dialog.ar-dialog::backdrop{background:rgba(15,27,45,.42);backdrop-filter:blur(3px)}
.ar-brand dialog.ar-dialog input{color:var(--ink);border-color:var(--line-2)}

/* ── فوتر ── */
.ar-brand footer#contact{background:var(--soft);border-top:1px solid var(--line)}
.ar-brand footer#contact .ar-panel{background:linear-gradient(135deg,var(--b-800),var(--b-700) 60%,var(--b-600));border:0;color:#fff;box-shadow:var(--sh-3)}
.ar-brand footer#contact .ar-panel h2,.ar-brand footer#contact .ar-panel p{color:#fff}
.ar-brand footer#contact .ar-panel .text-ar-muted{color:rgba(255,255,255,.82)}
.ar-brand footer#contact .ar-panel .ar-btn-gold{background:#fff;color:var(--b-800);box-shadow:none}
.ar-brand footer#contact .ar-panel .ar-btn-gold:hover{background:var(--b-50)}
.ar-brand footer#contact .ar-panel .ar-btn-ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.ar-brand footer#contact a:not(.ar-btn-gold):not(.ar-btn-ghost):hover{color:var(--b-700)}
.ar-brand .ar-newsletter{background:#fff;border-color:var(--line);box-shadow:var(--sh-1)}
.ar-brand .ar-newsletter-form>input[type=text]{background:#fff;border-color:var(--line-2);color:var(--ink)}
.ar-brand .ar-newsletter-consent{color:var(--muted)}
.ar-brand .ar-newsletter-privacy{color:#6b7a8c}
.ar-brand .ar-newsletter-status{color:var(--ok);background:var(--ok-bg);border-color:#a7f3d0}

/* ── ووکامرس (سبد، پرداخت، حساب) ── */
.ar-brand.woocommerce-page main a.button,.ar-brand.woocommerce-page main button.button,.ar-brand.woocommerce-page main input.button{background:#fff;color:var(--ink);border:1px solid var(--line-2);border-radius:12px;filter:none}
.ar-brand.woocommerce-page main a.button:hover,.ar-brand.woocommerce-page main button.button:hover{border-color:var(--b-500);color:var(--b-700)}
.ar-brand.woocommerce-page main a.button.alt,.ar-brand.woocommerce-page main button.button.alt,.ar-brand.woocommerce-page main input.button.alt,.ar-brand.woocommerce-page main #place_order,.ar-brand .single_add_to_cart_button{background:var(--b-700)!important;color:#fff!important;border:0!important}
.ar-brand.woocommerce-page main a.button.alt:hover,.ar-brand.woocommerce-page main button.button.alt:hover,.ar-brand .single_add_to_cart_button:hover{background:var(--b-800)!important}
.ar-brand .select2-container--default .select2-results__option--highlighted[aria-selected]{background:var(--b-600);color:#fff}
.ar-brand .select2-dropdown{background:#fff;color:var(--ink);border-color:var(--line-2)}
.ar-brand.woocommerce-page .woocommerce-error{border-top-color:var(--danger)}
.ar-brand .woocommerce form .form-row input.input-text:focus,.ar-brand .woocommerce form .form-row textarea:focus{border-color:var(--b-500);box-shadow:var(--ring)}

/* ═══════════════ فروشگاه و صفحه‌ی محصول (ap-) ═══════════════ */
.ap{background:#fff;color:var(--ink)}
.ap-container{width:min(calc(100% - 40px),1200px);margin-inline:auto}
.ap-hero{position:relative;isolation:isolate;padding:clamp(28px,4vw,48px) 0 clamp(36px,5vw,60px);background:linear-gradient(180deg,var(--b-50),#fff 85%);border-bottom:1px solid var(--line)}
.ap-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(50% 70% at 85% 0,rgba(56,189,248,.18),transparent 70%);pointer-events:none}
.ap-crumbs ol{display:flex;flex-wrap:wrap;gap:.35rem .5rem;margin:0;padding:0;list-style:none;font-size:.8rem;color:var(--muted)}
.ap-crumbs li+li:before{content:"/";margin-inline-end:.5rem;color:var(--line-2)}
.ap-crumbs a{color:var(--muted);text-decoration:none}.ap-crumbs a:hover{color:var(--b-700)}
.ap-crumbs [aria-current]{color:var(--ink)}
.ap-h1{margin:1rem 0 .5rem;font-size:clamp(1.75rem,3.6vw,2.6rem);line-height:1.55;font-weight:800}
.ap-lead{max-width:46rem;margin:0;color:var(--muted);font-size:1.05rem;line-height:2}
.ap-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.ap-tag{display:inline-flex;align-items:center;gap:.35rem;min-height:28px;padding:.15rem .7rem;border:1px solid var(--line-2);border-radius:999px;background:#fff;color:var(--ink-2);font-size:.78rem;text-decoration:none}
.ap-tag svg{width:14px;height:14px;color:var(--b-600)}
.ap-tag--brand{border-color:var(--b-200);background:var(--b-50);color:var(--b-800);font-weight:700}
.ap-tag--sale{border-color:#fecaca;background:var(--danger-bg);color:var(--danger);font-weight:700}
.ap-meta{display:flex;flex-wrap:wrap;gap:.5rem 1.25rem;margin:1.25rem 0 0;padding:0;list-style:none;color:var(--muted);font-size:.85rem}
.ap-meta li{display:inline-flex;align-items:center;gap:.4rem}
.ap-meta svg{width:16px;height:16px;color:var(--b-600)}
.ap-meta a{color:inherit}
.ap-stars{display:inline-flex;gap:1px;color:#f59e0b}.ap-stars svg{width:15px;height:15px}

.ap-body{padding:clamp(28px,4vw,48px) 0 clamp(56px,7vw,96px)}
.ap-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:clamp(24px,3.5vw,48px);align-items:start}
.ap-main{min-width:0}

.ap-gal{border:1px solid var(--line);border-radius:var(--r-lg);background:var(--soft);overflow:hidden}
.ap-gal-main{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
.ap-gal-main img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.ap-gal-th{display:flex;gap:.5rem;margin:0;padding:.6rem;list-style:none;overflow-x:auto;border-top:1px solid var(--line);background:#fff}
.ap-gal-th button{display:block;width:76px;height:52px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:var(--soft);cursor:pointer}
.ap-gal-th button[aria-current=true],.ap-gal-th button:hover{border-color:var(--b-500)}
.ap-gal-th img{width:100%;height:100%;object-fit:cover}
.ap-gal-vid{display:grid!important;place-items:center;color:var(--b-700)}
.ap-gal-vid svg{width:22px;height:22px}

.ap-tabs{position:sticky;top:calc(var(--ar-header-h,72px) + 12px);z-index:5;display:flex;gap:.25rem;margin:1.5rem 0 0;padding:.35rem;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);overflow-x:auto;scrollbar-width:none}
.ap-tabs a{flex:none;display:inline-flex;align-items:center;min-height:40px;padding:.4rem .9rem;border-radius:10px;color:var(--ink-2);font-size:.88rem;font-weight:600;text-decoration:none}
.ap-tabs a:hover{background:var(--b-50);color:var(--b-800)}
.ap-tabs a.is-on{background:var(--b-700);color:#fff}
.ap-sec{padding-top:2.25rem;scroll-margin-top:calc(var(--ar-header-h,72px) + 80px)}
.ap-sec>h2{margin:0 0 1rem;font-size:1.35rem;line-height:1.6}
.ap-prose{color:var(--ink-2);line-height:2.1}
.ap-prose h2,.ap-prose h3{margin:1.6em 0 .6em;line-height:1.6}
.ap-prose a{color:var(--b-700)}
.ap-prose img{border-radius:14px}
.ap-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:0;padding:0;list-style:none}
.ap-features li{position:relative;padding:.8rem 2.6rem .8rem 1rem;border:1px solid var(--line);border-radius:12px;background:#fff;line-height:1.85}
.ap-features li:before,.al-checks li:before{content:"";position:absolute;inset-inline-start:.9rem;top:1.05rem;width:18px;height:18px;border-radius:50%;background:var(--b-100) center/12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.ap-log{display:grid;gap:.5rem}
.ap-log details{border:1px solid var(--line);border-radius:12px;background:#fff}
.ap-log summary{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;min-height:52px;padding:.6rem 1rem;cursor:pointer;list-style:none;font-weight:700}
.ap-log summary::-webkit-details-marker{display:none}
.ap-log summary small{font-weight:400;color:var(--muted)}
.ap-log summary .ap-ver{padding:.1rem .55rem;border-radius:8px;background:var(--b-50);color:var(--b-800);font-size:.82rem}
.ap-log details>div{padding:0 1rem 1rem;color:var(--muted);line-height:2}
.ap-after{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:0;padding:0;list-style:none;counter-reset:s}
.ap-after li{padding:1.1rem;border:1px solid var(--line);border-radius:14px;background:var(--soft)}
.ap-after .al-ico{margin-bottom:.6rem}
.ap-after b{display:block;margin-bottom:.25rem}
.ap-after p{margin:0;color:var(--muted);font-size:.9rem;line-height:1.9}

.ap-buy{position:sticky;top:calc(var(--ar-header-h,72px) + 16px)}
.ap-box{padding:1.4rem;border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;box-shadow:var(--sh-2)}
.ap-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .6rem;font-size:1.6rem;font-weight:800;color:var(--ink)}
.ap-price del{font-size:1rem;font-weight:400;color:var(--muted)}
.ap-price ins{text-decoration:none}
.ap-price .woocommerce-Price-currencySymbol{font-size:.85rem;font-weight:600;color:var(--muted);margin-inline-start:.2rem}
.ap-sub{margin:.4rem 0 0;color:var(--muted);font-size:.85rem;line-height:1.9;display:flex;gap:.4rem;align-items:flex-start}
.ap-sub svg{flex:none;width:16px;height:16px;margin-top:.3rem;color:var(--b-600)}
.ap-cart{margin-top:1.1rem}
.ap-cart form.cart{display:flex;flex-wrap:wrap;gap:.6rem;margin:0}
.ap-cart .quantity input{width:72px;min-height:52px;border:1px solid var(--line-2);border-radius:12px;text-align:center;font:inherit}
.ap-cart .single_add_to_cart_button{flex:1;min-height:52px;border-radius:12px!important;font:inherit;font-weight:800!important;font-size:1rem!important;box-shadow:0 10px 22px -10px rgba(3,105,161,.7)}
.ap-cart table.variations{width:100%;margin-bottom:.5rem}
.ap-cart table.variations select{width:100%;min-height:46px;border:1px solid var(--line-2);border-radius:12px;padding:.4rem .75rem;background:#fff;font:inherit}
.ap-cart .stock{font-size:.85rem;color:var(--ok)}
.ap-cart .stock.out-of-stock{color:var(--danger)}
.ap-links{display:grid;gap:.5rem;margin-top:.9rem}
.ap-link{display:flex;align-items:center;justify-content:space-between;gap:.5rem;min-height:46px;padding:.5rem .9rem;border:1px solid var(--line-2);border-radius:12px;color:var(--ink);font-size:.9rem;font-weight:600;text-decoration:none;background:#fff}
.ap-link:hover{border-color:var(--b-500);color:var(--b-700)}
.ap-link svg{width:17px;height:17px;color:var(--b-600)}
.ap-box h3{margin:0 0 .6rem;font-size:.95rem}
.ap-div{margin:1.2rem 0;border:0;border-top:1px solid var(--line)}
.ap-trust{display:grid;gap:.5rem;margin:0;padding:0;list-style:none;font-size:.86rem;color:var(--ink-2)}
.ap-trust li{display:flex;gap:.55rem;align-items:flex-start;line-height:1.8}
.ap-trust svg{flex:none;width:17px;height:17px;margin-top:.2rem;color:var(--b-600)}
.ap-note{margin:.9rem 0 0;font-size:.8rem;color:var(--muted);line-height:1.9}
.ap-note a{color:var(--b-700)}
.ap-help{margin-top:1rem;padding:1.15rem;border:1px dashed var(--b-200);border-radius:var(--r-lg);background:var(--b-50)}
.ap-help b{display:block}
.ap-help p{margin:.25rem 0 .8rem;font-size:.86rem;color:var(--ink-2);line-height:1.9}

.ap-related{margin-top:clamp(48px,6vw,80px)}
.ap-related h2{font-size:1.4rem;margin:0 0 1rem}
.ap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}

/* کارت محصول */
.ap-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}
.ap-card:hover{border-color:var(--b-200);box-shadow:var(--sh-2);transform:translateY(-2px)}
.ap-card-cover{position:relative;display:block;aspect-ratio:16/10;background:var(--soft);overflow:hidden}
.ap-card-cover img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.ap-card:hover .ap-card-cover img{transform:scale(1.03)}
.ap-card-badge{position:absolute;top:.7rem;inset-inline-start:.7rem;padding:.15rem .6rem;border-radius:8px;background:#fff;color:var(--b-800);font-size:.75rem;font-weight:800;box-shadow:var(--sh-1)}
.ap-card-body{display:flex;flex:1;flex-direction:column;gap:.55rem;padding:1rem 1.1rem 1.1rem}
.ap-card-cat{font-size:.75rem;color:var(--b-700);text-decoration:none;font-weight:700}
.ap-card h3{margin:0;font-size:1rem;line-height:1.85}
.ap-card h3 a{color:var(--ink);text-decoration:none}
.ap-card h3 a:after{content:"";position:absolute;inset:0}
.ap-card p{margin:0;color:var(--muted);font-size:.86rem;line-height:1.9;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ap-card-meta{display:flex;flex-wrap:wrap;gap:.75rem;color:var(--muted);font-size:.78rem}
.ap-card-meta span{display:inline-flex;align-items:center;gap:.3rem}
.ap-card-meta svg{width:14px;height:14px}
.ap-card-foot{display:flex;align-items:center;justify-content:space-between;gap:.5rem;margin-top:auto;padding-top:.75rem;border-top:1px solid var(--line)}
.ap-card-price{font-weight:800}
.ap-card-price del{font-weight:400;color:var(--muted);font-size:.82rem;margin-inline-end:.3rem}
.ap-card-price ins{text-decoration:none}
.ap-card-foot .button{position:relative;z-index:2;display:inline-flex;align-items:center;min-height:40px;padding:.35rem .9rem!important;border-radius:10px!important;background:var(--b-700)!important;color:#fff!important;font-size:.82rem!important;font-weight:700!important;border:0!important}
.ap-card-foot .button:hover{background:var(--b-800)!important}
.ap-card-foot .added_to_cart{position:relative;z-index:2;font-size:.8rem;color:var(--b-700)}

/* آرشیو */
.ap-search{display:flex;gap:.5rem;max-width:560px;margin-top:1.4rem}
.ap-search input{flex:1;min-width:0;min-height:52px;padding:.5rem 1.1rem;border:1px solid var(--line-2);border-radius:14px;background:#fff;font:inherit;color:var(--ink)}
.ap-search input:focus{outline:0;border-color:var(--b-500);box-shadow:var(--ring)}
.ap-search button{display:inline-flex;align-items:center;gap:.4rem;min-height:52px;padding:0 1.1rem;border:0;border-radius:14px;background:var(--b-700);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.ap-search button:hover{background:var(--b-800)}
.ap-search svg{width:18px;height:18px}
.ap-cats{display:flex;gap:.5rem;margin-top:1.2rem;overflow-x:auto;padding-bottom:.25rem;scrollbar-width:none}
.ap-cats a{flex:none;display:inline-flex;align-items:center;gap:.35rem;min-height:38px;padding:.3rem .9rem;border:1px solid var(--line-2);border-radius:999px;background:#fff;color:var(--ink-2);font-size:.85rem;text-decoration:none}
.ap-cats a:hover{border-color:var(--b-400)}
.ap-cats a[aria-current]{border-color:var(--b-700);background:var(--b-700);color:#fff}
.ap-cats small{color:inherit;opacity:.7}
.ap-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1.25rem}
.ap-bar .count{color:var(--muted);font-size:.9rem}
.ap-bar select{min-height:42px;border:1px solid var(--line-2);border-radius:12px;padding:.3rem .8rem;background:#fff;font:inherit}
.ap-empty{max-width:560px;margin:0 auto;padding:2.5rem 1.5rem;text-align:center;border:1px solid var(--line);border-radius:var(--r-xl);background:var(--soft)}
.ap-empty .al-ico{margin:0 auto 1rem;width:56px;height:56px}
.ap-empty h2{margin:0 0 .4rem;font-size:1.3rem}
.ap-empty p{margin:0 0 1.2rem;color:var(--muted);line-height:2}
.ap-custom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-top:clamp(40px,5vw,64px);padding:clamp(20px,3vw,32px);border-radius:var(--r-xl);background:linear-gradient(135deg,var(--b-50),#fff);border:1px solid var(--b-100)}
.ap-custom h2{margin:0;font-size:1.25rem}
.ap-custom p{margin:.25rem 0 0;color:var(--muted)}
.ap .woocommerce-pagination ul{display:flex;justify-content:center;gap:.35rem;border:0!important}
.ap .woocommerce-pagination ul li{border:0!important}
.ap .woocommerce-pagination a,.ap .woocommerce-pagination span{display:grid!important;place-items:center;min-width:42px;min-height:42px;border:1px solid var(--line-2)!important;border-radius:12px;background:#fff}
.ap .woocommerce-pagination .current{background:var(--b-700)!important;color:#fff!important;border-color:var(--b-700)!important}

/* نوار خرید موبایل */
.ap-mbar{position:fixed;inset-inline:0;bottom:0;z-index:70;display:none;align-items:center;justify-content:space-between;gap:.75rem;padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(15,27,45,.08);backdrop-filter:blur(10px)}
.ap-mbar small{display:block;color:var(--muted);font-size:.72rem}
.ap-mbar b{font-size:1rem}
.ap-mbar del{display:none}
.ap-mbar ins{text-decoration:none}

@media (max-width:1000px){.ap-layout{grid-template-columns:minmax(0,1fr)}.ap-buy{position:static}}
@media (max-width:760px){
  .ap-features,.ap-after{grid-template-columns:minmax(0,1fr)}
  .ap-mbar{display:flex}
  .ap-mbar[hidden]{display:none}
  .ar-brand.single-product{padding-bottom:76px}
  .ap-tabs{top:calc(var(--ar-header-h,64px) + 6px)}
}
@media (prefers-reduced-motion:reduce){.ap-card,.ap-card-cover img{transition:none}.ap-card:hover{transform:none}}

/* ═══════════════ اجزای مشترک (دکمه، آیکون، فهرست تیک‌دار) ═══════════════ */
.al-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;min-height:52px;padding:.55rem 1.35rem;border:1px solid transparent;border-radius:14px;font:inherit;font-weight:700;font-size:.98rem;line-height:1.4;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color .18s,border-color .18s,color .18s,box-shadow .18s,transform .18s}
.al-btn:active{transform:translateY(1px)}
.al-btn-i{width:18px;height:18px;flex:none}
.al-btn--primary{background:var(--b-700);color:#fff;box-shadow:0 10px 24px -12px rgba(3,105,161,.8)}
.al-btn--primary:hover{background:var(--b-800);color:#fff}
.al-btn--primary .al-btn-i{transition:transform .18s}
.al-btn--primary:hover .al-btn-i{transform:translateX(-3px)}
.al-btn--secondary{background:#fff;color:var(--ink);border-color:var(--line-2)}
.al-btn--secondary:hover{border-color:var(--b-500);color:var(--b-700)}
.al-btn--quiet{background:transparent;color:var(--ink-2);padding-inline:.75rem}
.al-btn--quiet:hover{color:var(--b-700);background:var(--b-50)}
.al-btn--white{background:#fff;color:var(--b-800)}
.al-btn--white:hover{background:var(--b-50);color:var(--b-900)}
.al-btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.5)}
.al-btn--outline-light:hover{background:rgba(255,255,255,.1);color:#fff}
.al-btn--full{width:100%}
.al-btn[aria-busy=true]{pointer-events:none;opacity:.75}
.al-ico{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:var(--b-50);color:var(--b-700);border:1px solid var(--b-100)}
.al-ico svg{width:22px;height:22px}
.al-ico--light{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.2);color:#fff}
.al-checks{display:grid;gap:.6rem;margin:0;padding:0;list-style:none}
.al-checks li{position:relative;padding-inline-start:2rem;line-height:1.9;color:var(--ink-2)}
.al-checks li:before{inset-inline-start:0;top:.3rem}
.al-checks--sm li{font-size:.9rem}
@media (prefers-reduced-motion:reduce){.al-btn,.al-btn-i{transition:none}}
.ar-brand .ar-stars-v{display:inline-flex;gap:1px;color:#f59e0b;vertical-align:-2px}
.ar-brand .ar-stars-v svg{width:14px;height:14px}
.ar-brand .ar-stars-v .opacity-25{opacity:.25}
.ap-meta .ar-stars-v{margin-inline-end:.25rem}
.ar-brand #arHeader .ar-header-cta{display:inline-flex;align-items:center;justify-content:center}
.ar-brand #arHeader a[aria-label$="صفحه اصلی"]{white-space:nowrap}
@media (max-width:480px){.ar-brand #arHeader .ar-header-cta{display:none}}
.ar-landing-page footer#contact>.container:first-child{display:none}
.ar-brand .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media (max-width:1000px){.ap-buy{order:-1}}

/* ═══════════════ 4.2: کل سایت ═══════════════ */
.ar-brand{--ahub-card:#fff}
.ar-brand .arpina-td{--td-bg:#fff;--td-panel:#fff;--td-line:var(--line);--td-muted:var(--muted);--td-gold:var(--b-700);background:#fff;color:var(--ink)}
.ar-brand .ar-light{--ar-bg:var(--soft);--ar-card:#fff;background:var(--soft)}
.ar-brand .td-i{width:16px;height:16px;flex:none;vertical-align:-3px}
.ar-brand .td-hero-art--v2{display:block;align-self:center}
.ar-brand .td-hero-art--v2 .al-win{max-width:460px;margin-inline:auto}
/* وبلاگ */
.ar-brand .bl-hero{margin-top:0}
.ar-brand .bl-hero .ar-crumbs ol{margin:0}
.ar-brand .bl-thumb{background:linear-gradient(135deg,var(--b-50),var(--b-100))}
.ar-brand .bl-thumb .text-ar-gold{color:var(--b-600);opacity:.6}
.ar-brand .bl-cta{background:linear-gradient(135deg,var(--b-50),#fff 70%);border:1px solid var(--b-100);box-shadow:none}
.ar-brand article.ar-panel.ar-spot{border-radius:var(--r-lg);transition:border-color .2s,box-shadow .2s}
.ar-brand article.ar-panel.ar-spot:hover{border-color:var(--b-200);box-shadow:var(--sh-2)}
.ar-brand .ar-chip{background:#fff}
.ar-brand .nav-links .page-numbers{border-color:var(--line-2);background:#fff;color:var(--ink)}
.ar-brand .nav-links .page-numbers.current{background:var(--b-700);border-color:var(--b-700);color:#fff}
.ar-brand .ar-prose a,.ar-brand .ar-article a{color:var(--b-700)}
.ar-brand .ar-prose blockquote{border-inline-start-color:var(--b-300);background:var(--b-50)}
.ar-brand .ar-prose pre,.ar-brand .ar-prose code{background:var(--soft);color:var(--ink)}
.ar-brand header.ar-noise{background:linear-gradient(180deg,var(--b-50),#fff 85%)}
.ar-page-contact footer#contact>.container:first-child,.ar-quote footer#contact>.container:first-child,.arpina-td-diagnose footer#contact>.container:first-child{display:none}
.ar-brand .arh2-mega-icon svg{width:20px;height:20px}.ar-brand .arh2-icon-btn svg{width:18px;height:18px}
/* سبد، پرداخت، حساب */
.wc-hero{padding-block:clamp(24px,4vw,44px)}
.wc-hero .ap-h1{margin-top:0}
.wc-hero .ap-lead a{color:var(--b-700)}
.wc-steps{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0;padding:0;list-style:none;counter-reset:s}
.wc-steps li{display:inline-flex;align-items:center;gap:.5rem;min-height:40px;padding:.3rem .9rem .3rem .5rem;border:1px solid var(--line-2);border-radius:999px;background:#fff;color:var(--muted);font-size:.86rem}
.wc-steps li span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--soft);color:var(--ink-2);font-weight:800;font-size:.8rem}
.wc-steps li[aria-current]{border-color:var(--b-600);color:var(--b-900);font-weight:700}
.wc-steps li[aria-current] span{background:var(--b-700);color:#fff}
.wc-steps li.is-done span{background:var(--ok-bg);color:var(--ok)}
.wc-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:2rem 0 0;padding:0;list-style:none}
.wc-trust li{display:flex;gap:.7rem;align-items:flex-start;padding:1rem;border:1px solid var(--line);border-radius:14px;background:var(--soft);font-size:.86rem;color:var(--muted);line-height:1.9}
.wc-trust b{display:block;color:var(--ink);font-size:.9rem}
.wc-trust svg{flex:none;width:20px;height:20px;margin-top:.25rem;color:var(--b-700)}
.ar-brand .ar-wcpage{color:var(--ink)}
.ar-brand .ar-wcpage table.shop_table{border-color:var(--line);border-radius:14px;background:#fff}
.ar-brand .ar-wcpage table.shop_table th{background:var(--soft)}
.ar-brand .ar-wcpage .cart_totals,.ar-brand .ar-wcpage #order_review,.ar-brand .ar-wcpage .woocommerce-MyAccount-navigation{border:1px solid var(--line);border-radius:var(--r-lg);background:#fff;box-shadow:var(--sh-1)}
.ar-brand .woocommerce-MyAccount-navigation a{color:var(--ink-2)}
.ar-brand .woocommerce-MyAccount-navigation .is-active a{color:var(--b-700);font-weight:700}
.ar-brand .ar-plainpage .ar-section-title{color:var(--ink)}
@media (max-width:760px){.wc-trust{grid-template-columns:minmax(0,1fr)}}
/* 4.4: مقاله‌های آماده — کادرهای نکته، فهرست وارسی و دعوت به اقدام */
.ar-brand .ar-prose .is-style-tip{border-color:#a7f3d0;background:#ecfdf5}.ar-brand .ar-prose .is-style-tip::before{color:#047857}
.ar-brand .ar-prose .is-style-warning{border-color:#fde68a;background:#fffbeb}.ar-brand .ar-prose .is-style-warning::before{content:"توجه";color:#b45309}
.ar-brand .ar-prose .is-style-info{border-color:var(--b-200,#bae6fd);background:var(--b-50,#f0f9ff)}.ar-brand .ar-prose .is-style-info::before{color:var(--b-700)}
.ar-prose ul.arp-checklist{list-style:none;padding-inline-start:0}
.ar-prose ul.arp-checklist li{position:relative;padding-inline-start:2rem;margin:.45rem 0}
.ar-prose ul.arp-checklist li::before{content:"";position:absolute;inset-inline-start:0;top:.45em;width:1.15rem;height:1.15rem;border:2px solid var(--b-600,#0284c7);border-radius:.35rem;background:#fff}
.ar-prose .arp-cta{margin:2.2rem 0;padding:1.5rem 1.6rem;border:1px solid var(--b-200,#bae6fd);border-radius:1.25rem;background:linear-gradient(135deg,#f0f9ff,#fff 70%)}
.ar-prose .arp-cta .arp-cta-title{margin:0 0 .4rem;font-family:var(--ar-font-heading);font-size:1.15rem;color:var(--ink,#0b1b2b)}
.ar-prose .arp-cta p{margin:.3rem 0 1rem}
.ar-prose .arp-cta .wp-block-buttons{margin:0}
.ar-prose .arp-cta .wp-block-button__link{display:inline-flex;align-items:center;min-height:46px;padding:.6rem 1.3rem;border-radius:999px;background:var(--b-700,#0369a1);color:#fff!important;font-weight:700;text-decoration:none}
.ar-prose .arp-cta .wp-block-button__link:hover{background:var(--b-800,#075985)}
.ar-prose figure.wp-block-table{margin:1.5rem 0;overflow-x:auto}
/* 4.4: متن مقاله روی پس‌زمینه‌ی روشن (blog.css رنگ متن را سفید تعریف کرده بود) */
.ar-brand .ar-prose{color:var(--ink-2)}
.ar-brand .ar-prose h2,.ar-brand .ar-prose h3,.ar-brand .ar-prose h4,.ar-brand .ar-prose strong,.ar-brand .ar-prose b,.ar-brand .ar-prose summary{color:var(--ink)}
.ar-brand .ar-prose h2{border-inline-start-color:var(--b-600,#0284c7)}
.ar-brand .ar-prose li::marker{color:var(--b-600,#0284c7)}
.ar-brand .ar-prose code{background:var(--soft);color:var(--b-800)}
.ar-brand .ar-prose pre{background:var(--soft);border-color:var(--line)}
.ar-brand .ar-prose pre code{background:none;color:var(--ink)}
.ar-brand .ar-prose table{border:1px solid var(--line);border-radius:.9rem;overflow:hidden}
.ar-brand .ar-prose th,.ar-brand .ar-prose td{border-bottom-color:var(--line)}
.ar-brand .ar-prose th{background:var(--soft);color:var(--ink);white-space:normal}
.ar-brand .ar-prose mark{background:#e0f2fe;color:var(--ink)}
.ar-brand .ar-prose hr{background:linear-gradient(90deg,transparent,var(--line-2),transparent);opacity:1}
.ar-brand .ar-prose .is-style-tip,.ar-brand .ar-prose .is-style-warning,.ar-brand .ar-prose .is-style-info{color:var(--ink-2)}
.ar-prose ul:not(.arp-checklist){list-style:disc}.ar-prose ol{list-style:decimal}
/* 4.5: بنر خدمت درون مقاله */
.ar-prose .arp-promo{margin:2rem 0}
.ar-prose .arp-promo a{display:block;border-radius:18px;overflow:hidden;box-shadow:0 18px 40px -22px rgba(21,49,184,.55);transition:transform .2s ease}
.ar-prose .arp-promo a:hover{transform:translateY(-2px)}
.ar-prose .arp-promo img{display:block;width:100%;height:auto;margin:0;border-radius:0}
.ar-brand .ar-prose table{width:100%}
