/* ============================================================================
   ABZARBIN TOOLS — DESIGN DNA v4.0 «آتشِ ابزاربین» (Fire & Steel)
   ----------------------------------------------------------------------------
   The SOUL LAYER. Loaded LAST (after every other stylesheet + template inline
   styles). Overrides that must beat template inline <style> blocks use the
   `#page` specificity prefix. Everything is RTL-safe (logical properties).

   Art direction:
     • Fire palette  — amber #FB923C → flame #F97316 → ember #EA580C → #C2410C
     • Warm ink      — #1C1917 stone family (workshop-at-dusk, never pure black)
     • Warm paper    — #FAF8F5 / #F4F1EC (Persian warmth, never icy white)
     • Signature     — hazard stripes, dotted grids, fire glows, gradient numerals
     • Motion        — reveal-on-scroll, marquee, shine sweeps, glow pulses
   ============================================================================ */

/* --------------------------------------------------------------------------
   0. LOCAL FONTS — v4.3.0: به assets/css/fonts.css منتقل شد (زودتر لود می‌شود)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   1. ROOT SOUL — selection, scrollbar, focus, base rhythm
   -------------------------------------------------------------------------- */
::selection { background: #EA580C; color: #fff; }
::-moz-selection { background: #EA580C; color: #fff; }

* { scrollbar-width: thin; scrollbar-color: #D6D3D1 #FAF8F5; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #F4F1EC; }
::-webkit-scrollbar-thumb { background: #D6D3D1; border-radius: 999px; border: 2px solid #F4F1EC; }
::-webkit-scrollbar-thumb:hover { background: #EA580C; }

:focus-visible {
    outline: 2px solid #F97316;
    outline-offset: 3px;
    border-radius: 4px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Vazirmatn', -apple-system, 'Segoe UI', Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Persian numerals rhythm — tabular digits everywhere numbers matter */
.ry-stat-num, .ry-hero-stat-num, .ry-hero-counter, .abz-meta, .pcm-rating-text,
.shop-hero-stat-num, .sp-price, .ry-about-stat-num, .ry-usp-num {
    font-feature-settings: "tnum";
}

/* --------------------------------------------------------------------------
   2. TYPE DNA — display scale, gradient words, eyebrow chips
   -------------------------------------------------------------------------- */
#page .ry-h2 {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.22;
}
#page .ry-h2 em {
    font-style: normal;
    font-weight: 900;
    background: linear-gradient(120deg, #FB923C 5%, #F97316 38%, #EA580C 72%, #C2410C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#page .ry-sub { font-size: 16px; line-height: 1.9; }

/* Eyebrow → fire chip */
#page .ry-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px 7px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.10), rgba(234, 88, 12, 0.14));
    border: 1px solid rgba(234, 88, 12, 0.22);
    color: #C2410C;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 18px;
}
#page .ry-eyebrow::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: linear-gradient(135deg, #FB923C, #EA580C);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
    display: inline-block;
    transform: rotate(45deg);
}
/* Fire underline bar under section titles */
#page .ry-section-head .ry-h2,
#page .ry-section-head-center .ry-h2 { position: relative; display: inline-block; }
#page .ry-section-head .ry-h2::after,
#page .ry-section-head-center .ry-h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    inset-inline-start: 2px;
    width: 56px;
    height: 4px;
    border-radius: 99px 3px 99px 3px;
    background: repeating-linear-gradient(-45deg, #EA580C 0 9px, #FBBF24 9px 18px);
    opacity: 0.9;
}
#page .ry-section-head-center .ry-h2::after { inset-inline-start: 50%; transform: translateX(50%); }
[dir="rtl"] #page .ry-section-head-center .ry-h2::after { transform: translateX(50%); }

/* Links pills */
#page .ry-link {
    border-color: rgba(234, 88, 12, 0.25);
    background: linear-gradient(180deg, #FFFFFF, #FAF8F5);
    color: #9A3412;
    font-weight: 700;
}
#page .ry-link:hover {
    background: linear-gradient(135deg, #F97316, #EA580C 60%, #C2410C);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 26px -10px rgba(234, 88, 12, 0.55);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. BUTTON DNA — fire gradient + glow + shine sweep
   -------------------------------------------------------------------------- */
#page .ry-btn-primary,
#page .ry-oresta-search-submit,
#page .ry-contact-submit,
#page .ry-news-btn,
#page .shop-hero-cta-btn,
#page .ry-cart-btn-primary {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 55%, #C2410C 100%) !important;
    color: #fff !important;
    border: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 26px -8px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
#page .ry-btn-primary::before,
#page .ry-oresta-search-submit::before,
#page .ry-news-btn::before,
#page .shop-hero-cta-btn::before {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 44%;
    inset-inline-start: -60%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-18deg);
    transition: inset-inline-start 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}
#page .ry-btn-primary:hover::before,
#page .ry-oresta-search-submit:hover::before,
#page .ry-news-btn:hover::before,
#page .shop-hero-cta-btn:hover::before { inset-inline-start: 115%; }
#page .ry-btn-primary:hover,
#page .ry-oresta-search-submit:hover,
#page .ry-contact-submit:hover,
#page .ry-news-btn:hover,
#page .shop-hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px -10px rgba(234, 88, 12, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    filter: saturate(1.08);
}
#page .ry-btn-primary:active { transform: translateY(-1px) scale(0.99); }

#page .ry-btn-dark {
    background: linear-gradient(135deg, #292524, #1C1917);
    box-shadow: 0 10px 24px -10px rgba(28, 25, 23, 0.5);
}
#page .ry-btn-dark:hover {
    background: linear-gradient(135deg, #1C1917, #0F0D0B);
    transform: translateY(-2px);
}

/* Ghost buttons — glassy on dark heroes */
#page .ry-btn-ghost {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.10);
}
#page .ry-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #1C1917;
    border-color: rgba(255, 255, 255, 0.92);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   4. SIGNATURE MOTIFS — hazard stripes, dotted grids, glows
   -------------------------------------------------------------------------- */
/* Hazard edge — the Abzarbin signature. Bottom edge of dark heroes. */
.dna-hazard {
    height: 7px;
    background: repeating-linear-gradient(-45deg, #EA580C 0 14px, #1C1917 14px 24px, #FBBF24 24px 26px, #1C1917 26px 36px);
}
#page .ry-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 6px;
    z-index: 7;
    background: repeating-linear-gradient(-45deg, rgba(234, 88, 12, 0.95) 0 14px, rgba(21, 18, 14, 0.9) 14px 24px, rgba(251, 191, 36, 0.9) 24px 26px, rgba(21, 18, 14, 0.9) 26px 36px);
}
/* Dotted grid + ember glow for dark sections */
.dna-dark {
    position: relative;
    background: #15120E;
    overflow: hidden;
}
.dna-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1.4px);
    background-size: 26px 26px;
    pointer-events: none;
}
.dna-dark::after {
    content: "";
    position: absolute;
    top: -240px;
    inset-inline-end: -160px;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.26) 0%, rgba(249, 115, 22, 0.10) 38%, transparent 68%);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   5. CARDS DNA — hover glow, fire top line, image zoom
   -------------------------------------------------------------------------- */
#page .ry-pcard,
#page .product-card-modern,
#page .shop-products-wrapper ul.products li.product,
#page .ry-cat,
#page .ry-review,
#page .ry-mag-card,
#page .ry-promo {
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
#page .ry-pcard,
#page .product-card-modern,
#page .shop-products-wrapper ul.products li.product { position: relative; }
#page .product-card-modern,
#page .shop-products-wrapper ul.products li.product {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 20px;
    overflow: hidden;
}
#page .ry-pcard::before,
#page .product-card-modern::before,
#page .shop-products-wrapper ul.products li.product::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    z-index: 3;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, #FB923C, #F97316 40%, #EA580C 70%, #C2410C);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
#page .ry-pcard:hover::before,
#page .product-card-modern:hover::before,
#page .shop-products-wrapper ul.products li.product:hover::before { transform: scaleX(1); }
#page .ry-pcard:hover,
#page .product-card-modern:hover,
#page .shop-products-wrapper ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.30);
    box-shadow: 0 24px 48px -16px rgba(28, 25, 23, 0.22), 0 10px 28px -14px rgba(234, 88, 12, 0.35);
}
#page .ry-pcard:hover .ry-pcard-media img { transform: scale(1.09); }
#page .ry-pcard-tag {
    background: rgba(21, 18, 14, 0.82);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#page .ry-pcard-tag-sale {
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-color: transparent;
    box-shadow: 0 4px 12px -3px rgba(234, 88, 12, 0.5);
}
#page .ry-pcard-tag-new {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
    border-color: transparent;
}
#page .ry-pcard-title a { transition: color 0.25s ease; }
#page .ry-pcard:hover .ry-pcard-title a { color: #C2410C; }
#page .ry-pcard-price-cur, #page .ry-pcard-price { color: #9A3412; font-weight: 800; }
#page .ry-pcard-price del { color: var(--ry-ink-4, #A8A29E); }
#page .ry-pcard-cart,
#page .pcm-add-to-cart {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 55%, #C2410C 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 18px -8px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    overflow: hidden;
    position: relative;
}
#page .pcm-add-to-cart.pcm-out-of-stock {
    background: #EDE9E3;
    color: #78716C;
    box-shadow: none;
    cursor: not-allowed;
}
#page .ry-pcard-cart:hover,
#page .pcm-add-to-cart:hover:not(.pcm-out-of-stock) {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(234, 88, 12, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    filter: saturate(1.1);
}

/* Category hub cards */
#page .ry-cat::before {
    height: 4px;
    background: linear-gradient(90deg, #FB923C, #F97316 40%, #EA580C 70%, #C2410C);
}
#page .ry-cat-icon {
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    border-color: rgba(234, 88, 12, 0.18);
    color: #C2410C;
    box-shadow: inset 0 1px 0 #fff;
}
#page .ry-cat:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.35);
    box-shadow: 0 22px 44px -18px rgba(234, 88, 12, 0.38);
}
#page .ry-cat:hover .ry-cat-icon {
    background: linear-gradient(145deg, #F97316, #EA580C);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px -8px rgba(234, 88, 12, 0.55);
    transform: scale(1.06) rotate(-4deg);
}

/* Review (testimonial) cards */
#page .ry-review {
    position: relative;
}
#page .ry-review:hover {
    transform: translateY(-6px);
    border-color: rgba(234, 88, 12, 0.28);
    box-shadow: 0 20px 40px -18px rgba(234, 88, 12, 0.30);
}
#page .ry-review-avatar {
    background: linear-gradient(145deg, #F97316, #C2410C);
    color: #fff;
    box-shadow: 0 8px 18px -6px rgba(234, 88, 12, 0.5);
}
#page .ry-review-quote { color: rgba(234, 88, 12, 0.30); }
#page .ry-review-stars { color: #F59E0B; }

/* Magazine cards */
#page .ry-mag-card {
    position: relative;
}
#page .ry-mag-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.30);
    box-shadow: 0 22px 44px -16px rgba(28, 25, 23, 0.20), 0 8px 24px -12px rgba(234, 88, 12, 0.30);
}
#page .ry-mag-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(21, 18, 14, 0.55) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
#page .ry-mag-card:hover .ry-mag-thumb::after { opacity: 1; }
#page .ry-mag-cat {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    box-shadow: 0 6px 14px -4px rgba(234, 88, 12, 0.5);
}
#page .ry-mag-title a:hover { color: #C2410C; }

/* Promo banners — cinematic dark gradient */
#page .ry-promo {
    box-shadow: 0 18px 40px -20px rgba(28, 25, 23, 0.35);
}
#page .ry-promo-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(15deg, rgba(13, 11, 8, 0.88) 0%, rgba(13, 11, 8, 0.42) 46%, rgba(13, 11, 8, 0.05) 78%);
}
#page .ry-promo-body { position: relative; z-index: 2; }
#page .ry-promo-eyebrow {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px -4px rgba(234, 88, 12, 0.55);
}
#page .ry-promo-cta { color: #FBBF24; }
#page .ry-promo-cta:hover { color: #F97316; }
#page .ry-promo::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 5px;
    background: repeating-linear-gradient(-45deg, rgba(234, 88, 12, 0.95) 0 14px, rgba(21, 18, 14, 0.9) 14px 24px);
    z-index: 3;
}

/* --------------------------------------------------------------------------
   6. HERO DNA — warm fire-tinted cinematic
   -------------------------------------------------------------------------- */
#page .ry-hero { background: #15120E; }
#page .ry-hero-slide::after {
    background: linear-gradient(95deg,
        rgba(13, 11, 8, 0.96) 0%,
        rgba(13, 11, 8, 0.82) 30%,
        rgba(19, 12, 6, 0.48) 62%,
        rgba(234, 88, 12, 0.14) 100%) !important;
}
[dir="rtl"] #page .ry-hero-slide::after {
    background: linear-gradient(265deg,
        rgba(13, 11, 8, 0.96) 0%,
        rgba(13, 11, 8, 0.82) 30%,
        rgba(19, 12, 6, 0.48) 62%,
        rgba(234, 88, 12, 0.14) 100%) !important;
}
#page .ry-hero-slide::before {
    background: linear-gradient(180deg,
        rgba(13, 11, 8, 0.36) 0%,
        transparent 24%,
        transparent 58%,
        rgba(13, 11, 8, 0.66) 100%) !important;
}
/* Ember glow from the inline-start bottom of the hero */
#page .ry-hero-track::after {
    content: "";
    position: absolute;
    bottom: -180px;
    inset-inline-start: -140px;
    width: 620px;
    height: 480px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.30) 0%, rgba(249, 115, 22, 0.10) 42%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}
/* v4.3.0 — مقیاس تیتر هیرو اصلاح شد:
   قبلاً clamp(42px, 6.2vw, 82px) بود و همه هیروهای صفحات داخلی
   (درباره/تماس/برند/مقایسه/پیگیری/سوالات) را ۸۲px می‌کرد و از
   استایل inline خود قالب‌ها قوی‌تر بود. اکنون مطابق استایل قالب‌ها. */
#page .ry-hero-title {
    font-size: clamp(26px, 4.2vw, 40px);
    font-weight: 900;
    line-height: 1.3;
    text-shadow: 0 2px 24px rgba(13, 11, 8, 0.35);
}
#page .ry-hero-title em {
    background: linear-gradient(110deg, #FDE68A 2%, #FBBF24 22%, #F97316 52%, #EA580C 82%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 4px 18px rgba(234, 88, 12, 0.35));
}
#page .ry-hero-title span {
    background: linear-gradient(180deg, transparent 62%, rgba(249, 115, 22, 0.42) 62%, rgba(234, 88, 12, 0.55) 92%, transparent 92%);
    -webkit-background-clip: initial;
}
#page .ry-hero-eyebrow .dot {
    background: #F97316;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.35);
}
#page .ry-hero-eyebrow .dot,
#page .ry-hero-side-nav-item.is-active::before {
    animation: dnaPulse 2.2s ease-in-out infinite;
}
@keyframes dnaPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.35); }
    50%      { box-shadow: 0 0 0 9px rgba(234, 88, 12, 0.08); }
}
#page .ry-hero-tag i { color: #FBBF24; }
#page .ry-hero-tag.is-crimson {
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-color: #C2410C;
    box-shadow: 0 10px 22px -6px rgba(234, 88, 12, 0.55);
}
#page .ry-hero-stat {
    background: rgba(21, 18, 14, 0.55);
    border-color: rgba(251, 191, 36, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#page .ry-hero-stat-num { color: #FBBF24; }
#page .ry-hero-prog::after {
    background: linear-gradient(90deg, #FBBF24, #F97316 45%, #EA580C) !important;
}
#page .ry-hero-arrow:hover {
    background: linear-gradient(135deg, #F97316, #EA580C);
    border-color: transparent;
}
#page .ry-hero-particle {
    background: rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 8px 2px rgba(249, 115, 22, 0.35);
}

/* ORESTA search band — the glowing "command center" card */
#page .ry-oresta-search-card {
    border: 1px solid rgba(234, 88, 12, 0.20);
    box-shadow: 0 34px 68px -24px rgba(28, 25, 23, 0.30), 0 14px 34px -14px rgba(234, 88, 12, 0.28);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF7 100%);
}
#page .ry-oresta-search-card::before {
    height: 4px;
    background: repeating-linear-gradient(-45deg, #F97316 0 12px, #EA580C 12px 20px, #FBBF24 20px 22px, #F97316 22px 34px);
}
#page .ry-oresta-search-icon {
    background: linear-gradient(145deg, #F97316, #EA580C);
    color: #fff;
    box-shadow: 0 12px 26px -8px rgba(234, 88, 12, 0.55);
}
#page .ry-oresta-search-badge {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(234, 88, 12, 0.16));
    border-color: rgba(234, 88, 12, 0.30);
}
#page .ry-oresta-search-input-wrap:focus-within {
    border-color: #F97316;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.14);
}
#page .ry-oresta-search-feature i {
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    color: #C2410C;
}

/* --------------------------------------------------------------------------
   7. HEADER SHELL DNA — ink glass, fire accents
   -------------------------------------------------------------------------- */
#page .ry-topbar {
    background: linear-gradient(180deg, #0F0D0B, #15120E);
    border-bottom: 1px solid rgba(251, 191, 36, 0.14);
    position: relative;
}
#page .ry-topbar::after {
    content: "";
    position: absolute;
    bottom: -1px;
    inset-inline: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 4%, rgba(234, 88, 12, 0.55) 30%, rgba(251, 191, 36, 0.75) 50%, rgba(234, 88, 12, 0.55) 70%, transparent 96%);
}
#page .ry-topbar-announce i { color: #FBBF24; }
#page .ry-topbar-social a:hover {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    transform: translateY(-2px);
}
#page .ry-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid #EDE9E3;
    transition: box-shadow 0.35s ease, background 0.35s ease;
}
#page.dna-scrolled .ry-header {
    box-shadow: 0 18px 42px -22px rgba(28, 25, 23, 0.30);
    background: rgba(255, 255, 255, 0.97);
}
#page .ry-branding-title {
    font-weight: 900;
    background: linear-gradient(120deg, #1C1917 30%, #44403C 70%, #C2410C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#page .ry-search-input-wrap,
#page .ry-search {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
/* v5.4 — جعبه جستجوی مستطیلی (الگوی دقیق ابزاررضا): حلقه فوکوس در خود
   .ry-search-form اعمال می‌شود؛ دکمه ۵۶×۵۶ خاکستری روشن با آیکون تیره
   دقیقا مثل abzarreza.com (گرادیان کهربایی قبلی حذف شد). */
#page .ry-search:focus-within,
#page .ry-search-form:focus-within {
    box-shadow: none;
    border-radius: 8px;
}
#page .ry-search-submit,
#page .ry-search button[type="submit"] {
    background: #EDEDED;
    color: #1C1917;
    box-shadow: none;
    border-radius: 0;
}
#page .ry-search-submit:hover,
#page .ry-search button[type="submit"]:hover {
    background: #E2E2E2;
    color: #000;
    transform: none;
}
/* v5.4.2 — آیکون‌های دایره‌ای parsacabin: هاور = پس‌زمینه کهربایی ملایم، بدون جابجایی */
#page .ry-action:hover {
    background: rgba(234, 88, 12, 0.10);
    border-color: transparent;
    color: #C2410C;
    transform: none;
}
#page .ry-action-count {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 4px 12px -2px rgba(234, 88, 12, 0.6);
}
#page .ry-main-menu > li > a { position: relative; }
#page .ry-main-menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    inset-inline-start: 50%;
    transform: translateX(50%) scaleX(0);
    width: 22px;
    height: 3px;
    border-radius: 99px 2px 99px 2px;
    background: linear-gradient(90deg, #FB923C, #EA580C);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
[dir="ltr"] #page .ry-main-menu > li > a::after { transform: translateX(-50%) scaleX(0); }
#page .ry-main-menu > li > a:hover::after,
#page .ry-main-menu > li.current-menu-item > a::after { transform: translateX(50%) scaleX(1); }
[dir="ltr"] #page .ry-main-menu > li > a:hover::after,
[dir="ltr"] #page .ry-main-menu > li.current-menu-item > a::after { transform: translateX(-50%) scaleX(1); }
#page .ry-nav-cta {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 55%, #C2410C 100%);
    box-shadow: 0 10px 24px -8px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
#page .ry-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(234, 88, 12, 0.6);
}
#page .ry-breadcrumb-bar { background: #FAF8F5; border-bottom: 1px solid #EDE9E3; }

/* --------------------------------------------------------------------------
   8. FOOTER DNA — ink + fire line
   v6.6.2: background/hover قاتل حذف شد — قانون background:#0F0D0B !important
   روی #page .ry-footer تصویر پس‌زمینه فوتر (footer.php v6.6) را به none تبدیل
   می‌کرد و کاربر «فوتر بدون تصویر» می‌دید. مالکیت کامل استایل فوتر اکنون
   در بلاک <style> داخل footer.php است (سلکتور 2-2-0 + !important).
   -------------------------------------------------------------------------- */
/* v6.6.2: تمام قوانین قدیمی فوتر (.ry-footer-title / .ry-footer-col-title / هاورها /
   نوار خطر ::before) حذف شدند — استایل کامل فوتر در footer.php اعمال می‌شود */
#page .ry-back-to-top {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 12px 26px -8px rgba(234, 88, 12, 0.6);
}

/* --------------------------------------------------------------------------
   9. DARK SECTIONS — stats + newsletter reborn
   -------------------------------------------------------------------------- */
#page .ry-stats {
    background: #15120E;
    position: relative;
    overflow: hidden;
}
#page .ry-stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
    background-size: 26px 26px;
}
#page .ry-stats::after {
    content: "";
    position: absolute;
    top: -220px;
    inset-inline-end: -120px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(234, 88, 12, 0.28) 0%, rgba(249, 115, 22, 0.10) 40%, transparent 68%);
}
#page .ry-stats .ry-wrap { position: relative; z-index: 1; }
#page .ry-stat {
    padding: 26px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
#page .ry-stat:hover {
    transform: translateY(-6px);
    background: rgba(234, 88, 12, 0.10);
    border-color: rgba(234, 88, 12, 0.30);
}
#page .ry-stat:not(:last-child)::after { display: none; }
#page .ry-stat-num {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 900;
    background: linear-gradient(120deg, #FDE68A, #FBBF24 30%, #F97316 60%, #EA580C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 6px 22px rgba(234, 88, 12, 0.35));
}
#page .ry-stat-num .suffix {
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
#page .ry-stat-label { color: rgba(255, 255, 255, 0.72); font-weight: 600; }

/* Newsletter → dark ember card */
#page .ry-news { background: #FAF8F5; }
#page .ry-news-card {
    background:
        radial-gradient(900px 340px at 85% -60%, rgba(249, 115, 22, 0.30), transparent 60%),
        radial-gradient(600px 300px at 8% 120%, rgba(234, 88, 12, 0.22), transparent 55%),
        linear-gradient(160deg, #1C1917 0%, #15120E 55%, #1A130C 100%);
    border: 1px solid rgba(234, 88, 12, 0.35);
    color: #fff;
    box-shadow: 0 34px 70px -28px rgba(21, 18, 14, 0.55);
}
#page .ry-news-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
    background-size: 24px 24px;
    pointer-events: none;
}
#page .ry-news-card > * { position: relative; z-index: 1; }
#page .ry-news-eyebrow {
    background: rgba(249, 115, 22, 0.16);
    border-color: rgba(251, 191, 36, 0.35);
    color: #FBBF24;
}
#page .ry-news-title { color: #fff; }
#page .ry-news-sub { color: rgba(255, 255, 255, 0.72); }
#page .ry-news-input-wrap {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}
#page .ry-news-input-wrap:focus-within {
    background: rgba(255, 255, 255, 0.10);
    border-color: #F97316;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.25);
}
#page .ry-news-input { color: #fff; }
#page .ry-news-input::placeholder { color: rgba(255, 255, 255, 0.45); }
#page .ry-news-trust { color: rgba(255, 255, 255, 0.55); }
#page .ry-news-trust i { color: #FBBF24; }

/* --------------------------------------------------------------------------
   10. BRAND MARQUEE — حذف‌شده در v6.4
   قواعد dna-marquee حذف شدند: هیچ قالبی از آن‌ها استفاده نمی‌کرد و فقط
   در صورت فعال‌شدن دوباره JS قدیمی، گرید A-Z صفحه برندها (78 آیتم) را به
   ردیف 17هزار پیکسلی تبدیل می‌کرد (خروج از ریسپانسیو). مارکی صفحه اصلی
   CSS‌محور است (workshop-brands-track در workshop-precision.css).
   -------------------------------------------------------------------------- */
/* v4.4.0 — قانون «padding-inline: 0» مارکی قدیمی حذف شد؛ این قانون مارکی
   صفحه اصلی نسخه‌های قبل بود (الان هیچ قالبی از dna-marquee استفاده نمی‌کند)
   اما روی صفحه برندها (main.ry-brands) اعمال می‌شد و متن هیرو و گرید را به
   لبه‌های صفحه می‌چسباند. ry-wrap حالا padding استاندارد ۲۸px خود را دارد. */
#page .ry-brand {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    color: #57534E;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#page .ry-brand:hover {
    border-color: rgba(234, 88, 12, 0.45);
    color: #C2410C;
    box-shadow: 0 10px 24px -10px rgba(234, 88, 12, 0.4);
    transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   11. SCROLL REVEAL — soul-entrance for every section
   Only active when JS is present (html.dna-js guard → no-JS shows content).
   -------------------------------------------------------------------------- */
html.dna-js .dna-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.68, 0, 1), transform 0.8s cubic-bezier(0.22, 0.68, 0, 1);
    transition-delay: var(--dna-delay, 0s);
}
html.dna-js .dna-reveal.dna-in {
    opacity: 1;
    transform: translateY(0);
}
html.dna-js .dna-reveal.dna-zoom {
    opacity: 0;
    transform: scale(0.94) translateY(20px);
}
html.dna-js .dna-reveal.dna-zoom.dna-in { transform: scale(1) translateY(0); }
/* Child stagger for grids */
html.dna-js .dna-stagger > .dna-reveal:nth-child(1) { --dna-delay: 0s; }
html.dna-js .dna-stagger > .dna-reveal:nth-child(2) { --dna-delay: 0.07s; }
html.dna-js .dna-stagger > .dna-reveal:nth-child(3) { --dna-delay: 0.14s; }
html.dna-js .dna-stagger > .dna-reveal:nth-child(4) { --dna-delay: 0.21s; }
html.dna-js .dna-stagger > .dna-reveal:nth-child(5) { --dna-delay: 0.28s; }
html.dna-js .dna-stagger > .dna-reveal:nth-child(6) { --dna-delay: 0.35s; }
html.dna-js .dna-stagger > .dna-reveal:nth-child(n+7) { --dna-delay: 0.42s; }

/* Reading progress bar (blog single) */
.dna-progress {
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: 0;
    height: 4px;
    z-index: 99999;
    background: linear-gradient(90deg, #FBBF24, #F97316 55%, #EA580C);
    box-shadow: 0 0 12px rgba(234, 88, 12, 0.65);
    transition: width 0.12s linear;
    border-radius: 0 99px 99px 0;
}

/* --------------------------------------------------------------------------
   12. HOMEPAGE — USP strip «چرا ابزاربین؟» (new section)
   -------------------------------------------------------------------------- */
#page .ry-usp {
    padding: 26px 0 10px;
    background: var(--ry-paper, #fff);
}
#page .ry-usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
#page .ry-usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 18px;
    background: linear-gradient(180deg, #FFFFFF, #FAF8F5);
    border: 1px solid #EDE9E3;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
#page .ry-usp-item::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #FBBF24, #F97316, #EA580C);
    opacity: 0;
    transition: opacity 0.3s ease;
}
#page .ry-usp-item:hover {
    transform: translateY(-4px);
    border-color: rgba(234, 88, 12, 0.3);
    box-shadow: 0 16px 34px -16px rgba(234, 88, 12, 0.35);
}
#page .ry-usp-item:hover::after { opacity: 1; }
#page .ry-usp-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    border: 1px solid rgba(234, 88, 12, 0.2);
    color: #C2410C;
}
#page .ry-usp-item:hover .ry-usp-icon {
    background: linear-gradient(145deg, #F97316, #EA580C);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px -6px rgba(234, 88, 12, 0.5);
}
#page .ry-usp-text b {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #1C1917;
    margin-bottom: 3px;
}
#page .ry-usp-text span {
    font-size: 12px;
    color: #78716C;
    line-height: 1.6;
}
@media (max-width: 860px) {
    #page .ry-usp-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --------------------------------------------------------------------------
   13. SHOP PAGE DNA — ember hero, filter chips, product cards
   -------------------------------------------------------------------------- */
#page .shop-hero {
    background: #15120E;
    position: relative;
    overflow: hidden;
}
#page .shop-hero.has-image { background-size: cover; background-position: center; }
#page .shop-hero-overlay {
    background: linear-gradient(95deg,
        rgba(13, 11, 8, 0.94) 0%,
        rgba(13, 11, 8, 0.72) 38%,
        rgba(19, 12, 6, 0.40) 70%,
        rgba(234, 88, 12, 0.10) 100%);
}
[dir="rtl"] #page .shop-hero-overlay {
    background: linear-gradient(265deg,
        rgba(13, 11, 8, 0.94) 0%,
        rgba(13, 11, 8, 0.72) 38%,
        rgba(19, 12, 6, 0.40) 70%,
        rgba(234, 88, 12, 0.10) 100%);
}
#page .shop-hero-mesh {
    background:
        radial-gradient(600px 300px at 85% 20%, rgba(249, 115, 22, 0.22), transparent 60%),
        radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
    background-size: auto, 26px 26px;
}
#page .shop-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 6px;
    background: repeating-linear-gradient(-45deg, rgba(234, 88, 12, 0.95) 0 14px, rgba(21, 18, 14, 0.9) 14px 24px, rgba(251, 191, 36, 0.9) 24px 26px, rgba(21, 18, 14, 0.9) 26px 36px);
}
#page .shop-hero-eyebrow {
    background: rgba(249, 115, 22, 0.16);
    border-color: rgba(251, 191, 36, 0.35);
    color: #FBBF24;
}
#page .shop-hero-title {
    font-size: clamp(32px, 4.6vw, 54px);
    font-weight: 900;
    text-shadow: 0 2px 26px rgba(13, 11, 8, 0.4);
}
#page .shop-hero-stat-num { color: #FBBF24; }
#page .shop-hero-breadcrumb a:hover { color: #FBBF24; }

/* Filter sidebar */
#page .shop-sidebar-modern {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    box-shadow: 0 20px 44px -24px rgba(28, 25, 23, 0.18);
    border-radius: 22px;
}
#page .shop-sidebar-header h3 { font-weight: 800; }
#page .filter-section-head h4 { font-weight: 700; }
#page .filter-chip,
#page .active-filter-chip {
    border: 1px solid #EDE9E3;
    border-radius: 999px;
    transition: all 0.25s ease;
}
#page .filter-chip:hover {
    border-color: rgba(234, 88, 12, 0.4);
    color: #C2410C;
    background: #FFF7ED;
}
#page .active-filter-chip {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(234, 88, 12, 0.18));
    border-color: rgba(234, 88, 12, 0.35);
    color: #9A3412;
}
#page .shop-sidebar-apply {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 55%, #C2410C 100%);
    box-shadow: 0 10px 24px -8px rgba(234, 88, 12, 0.55);
}

/* Shop toolbar */
#page .shop-toolbar {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 18px;
    box-shadow: 0 8px 24px -16px rgba(28, 25, 23, 0.15);
}

/* Product cards (.product-card-modern / li.product) */
#page .product-card-modern,
#page .shop-products-wrapper ul.products li.product {
    position: relative;
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
#page .product-card-modern::before,
#page .shop-products-wrapper ul.products li.product::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    z-index: 3;
    background: linear-gradient(90deg, #FB923C, #F97316 40%, #EA580C 70%, #C2410C);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
#page .product-card-modern:hover::before,
#page .shop-products-wrapper ul.products li.product:hover::before { transform: scaleX(1); }
#page .product-card-modern:hover,
#page .shop-products-wrapper ul.products li.product:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.3);
    box-shadow: 0 24px 48px -16px rgba(28, 25, 23, 0.22), 0 10px 28px -14px rgba(234, 88, 12, 0.35);
}
#page .product-card-modern:hover .pcm-image,
#page .shop-products-wrapper ul.products li.product:hover .pcm-image { transform: scale(1.08); }
#page .pcm-image { transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
#page .pcm-badge {
    border-radius: 999px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#page .pcm-badge-sale {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 6px 16px -4px rgba(234, 88, 12, 0.55);
}
#page .pcm-badge-new {
    background: linear-gradient(135deg, #0EA5E9, #0284C7);
}
#page .pcm-badge-hot {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: #78350F;
}
#page .pcm-quick-btn {
    border: 1px solid rgba(234, 88, 12, 0.28);
    background: rgba(255, 255, 255, 0.92);
    color: #C2410C;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
#page .pcm-quick-btn:hover {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    border-color: transparent;
    transform: scale(1.1);
}
#page .pcm-title a:hover { color: #C2410C; }
#page .pcm-price-wrap .price,
#page .pcm-price-wrap .price ins,
#page .pcm-price-wrap .amount {
    color: #9A3412;
    font-weight: 800;
    text-decoration: none;
}
#page .pcm-price-wrap del, #page .pcm-price-wrap .price del { color: #A8A29E; }
#page .pcm-stars, #page .pcm-rating .pcm-stars { color: #F59E0B; }

/* Shop pagination */
#page .shop-pagination a,
#page .woocommerce-pagination a,
#page nav.woocommerce-pagination ul li a {
    border-radius: 12px;
    border: 1px solid #EDE9E3;
    transition: all 0.25s ease;
}
#page .shop-pagination a:hover,
#page nav.woocommerce-pagination ul li a:hover,
#page nav.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff !important;
    border-color: transparent;
}

/* --------------------------------------------------------------------------
   14. SINGLE PRODUCT DNA
   -------------------------------------------------------------------------- */
#page .sp-breadcrumb-bar { background: #FAF8F5; border-bottom: 1px solid #EDE9E3; }
#page .sp-breadcrumb a:hover { color: #C2410C; }
#page .sp-gallery {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 24px;
    box-shadow: 0 20px 48px -24px rgba(28, 25, 23, 0.16);
}
#page .sp-main-image-wrap {
    border-radius: 18px;
    overflow: hidden;
    background: #FAF8F5;
}
#page .sp-main-img { transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1); }
#page .sp-gallery:hover .sp-main-img { transform: scale(1.04); }
#page .sp-discount-badge {
    background: linear-gradient(135deg, #F97316, #EA580C);
    box-shadow: 0 10px 24px -6px rgba(234, 88, 12, 0.6);
    font-weight: 800;
}
#page .sp-thumb {
    border: 1.5px solid #EDE9E3;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.75;
}
#page .sp-thumb:hover { opacity: 1; border-color: rgba(234, 88, 12, 0.4); }
#page .sp-thumb.active {
    opacity: 1;
    border-color: #F97316;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
}
#page .sp-title { font-weight: 900; line-height: 1.35; }
#page .sp-brand-name {
    color: #C2410C;
    font-weight: 700;
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    border: 1px solid rgba(234, 88, 12, 0.22);
    border-radius: 999px;
    padding: 4px 14px;
}
#page .sp-price, #page .sp-price ins {
    color: #C2410C;
    font-weight: 900;
    text-decoration: none;
}
#page .sp-price del { color: #A8A29E; font-weight: 500; }
#page .sp-quantity .sp-qty-btn,
#page .sp-qty-btn {
    border: 1px solid #EDE9E3;
    background: #fff;
    border-radius: 12px;
    transition: all 0.25s ease;
}
#page .sp-qty-btn:hover {
    background: #FFF7ED;
    border-color: rgba(234, 88, 12, 0.4);
    color: #C2410C;
}
#page .sp-add-to-cart,
#page .sp-buy-now {
    border-radius: 16px;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#page .sp-add-to-cart {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 55%, #C2410C 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px -8px rgba(234, 88, 12, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    position: relative;
    overflow: hidden;
}
#page .sp-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px -10px rgba(234, 88, 12, 0.62);
}
#page .sp-buy-now {
    background: linear-gradient(135deg, #292524, #1C1917);
    color: #fff;
}
#page .sp-buy-now:hover {
    background: linear-gradient(135deg, #1C1917, #0F0D0B);
    transform: translateY(-3px);
}
#page .sp-trust-mini i { color: #EA580C; }
#page .sp-tabs {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 22px;
    box-shadow: 0 16px 40px -24px rgba(28, 25, 23, 0.15);
    overflow: hidden;
}
#page .sp-tabs-head,
#page .sp-tab-btn {
    border-bottom-color: #EDE9E3;
    font-weight: 700;
    position: relative;
    transition: color 0.25s ease;
}
#page .sp-tab-btn.active { color: #C2410C; }
#page .sp-tab-btn.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    inset-inline: 0;
    height: 3px;
    border-radius: 99px 2px 99px 2px;
    background: linear-gradient(90deg, #FB923C, #EA580C);
}
#page .sp-attr-row { border-bottom: 1px dashed #E5E0D8; }
#page .sp-attr-label { color: #78716C; }

/* --------------------------------------------------------------------------
   15. BLOG DNA — «مجله ابزاربین» magazine system (.abz-*)
   -------------------------------------------------------------------------- */
/* 15.1 Blog hero — dark editorial banner */
.abz-blog-hero {
    position: relative;
    background:
        radial-gradient(800px 320px at 88% -40%, rgba(249, 115, 22, 0.28), transparent 60%),
        radial-gradient(500px 260px at 6% 130%, rgba(234, 88, 12, 0.18), transparent 55%),
        linear-gradient(160deg, #1C1917 0%, #15120E 60%, #1A130C 100%);
    color: #fff;
    padding: 72px 0 84px;
    overflow: hidden;
    margin-block-end: 0;
}
.abz-blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.4px);
    background-size: 26px 26px;
    pointer-events: none;
}
.abz-blog-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 6px;
    background: repeating-linear-gradient(-45deg, rgba(234, 88, 12, 0.95) 0 14px, rgba(21, 18, 14, 0.9) 14px 24px, rgba(251, 191, 36, 0.9) 24px 26px, rgba(21, 18, 14, 0.9) 26px 36px);
}
.abz-blog-hero .ry-wrap { position: relative; z-index: 1; }
.abz-blog-hero .ry-eyebrow {
    background: rgba(249, 115, 22, 0.16);
    border-color: rgba(251, 191, 36, 0.35);
    color: #FBBF24;
    margin-bottom: 20px;
}
.abz-blog-hero .ry-eyebrow::before { background: linear-gradient(135deg, #FBBF24, #F97316); box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.18); }
.abz-blog-hero h1 {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.18;
    color: #fff;
    margin: 0 0 16px;
    text-wrap: balance;
}
.abz-blog-hero h1 em {
    font-style: normal;
    background: linear-gradient(110deg, #FDE68A 2%, #FBBF24 24%, #F97316 55%, #EA580C 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.abz-blog-hero .abz-hero-sub {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.72);
    max-width: 620px;
    margin: 0 0 28px;
}
.abz-hero-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.abz-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 600;
}
.abz-hero-chip i { color: #FBBF24; }
.abz-hero-chip b { color: #FBBF24; font-weight: 800; }

/* 15.2 Featured post — wide cinematic card */
.abz-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 26px 56px -28px rgba(28, 25, 23, 0.25);
    margin-block-end: 40px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.4s ease;
}
.abz-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 68px -28px rgba(234, 88, 12, 0.35);
}
.abz-featured-media {
    position: relative;
    min-height: 320px;
    background: #F4F1EC;
    overflow: hidden;
}
.abz-featured-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}
.abz-featured:hover .abz-featured-media img { transform: scale(1.06); }
.abz-featured-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, transparent 50%, rgba(13, 11, 8, 0.42) 100%);
}
.abz-featured-chip {
    position: absolute;
    top: 18px;
    inset-inline-start: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 20px -4px rgba(234, 88, 12, 0.55);
}
.abz-featured-body {
    padding: 40px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}
.abz-featured-body h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}
.abz-featured:hover .abz-featured-body h2 { color: #C2410C; }
.abz-featured-body p {
    font-size: 14.5px;
    line-height: 1.9;
    color: #78716C;
    margin: 0;
}
.abz-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #78716C;
}
.abz-meta span { display: inline-flex; align-items: center; gap: 6px; }
.abz-meta i { color: #EA580C; font-size: 12px; }
.abz-read {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #C2410C;
    margin-top: 6px;
}
.abz-read i { transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1); }
.abz-featured:hover .abz-read i { transform: translateX(-5px); }
[dir="ltr"] .abz-featured:hover .abz-read i { transform: translateX(5px); }

/* 15.3 Card grid */
.abz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-block-end: 48px;
}
.abz-card {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.38s cubic-bezier(0.32, 0.72, 0, 1), box-shadow 0.38s ease, border-color 0.38s ease;
    position: relative;
}
.abz-card::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline: 0;
    height: 3px;
    z-index: 2;
    background: linear-gradient(90deg, #FB923C, #F97316 40%, #EA580C 70%, #C2410C);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}
.abz-card:hover::before { transform: scaleX(1); }
.abz-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.3);
    box-shadow: 0 24px 48px -16px rgba(28, 25, 23, 0.2), 0 10px 28px -14px rgba(234, 88, 12, 0.32);
}
.abz-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #F4F1EC;
    display: block;
}
.abz-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s cubic-bezier(0.32, 0.72, 0, 1);
}
.abz-card:hover .abz-card-media img { transform: scale(1.08); }
.abz-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(13, 11, 8, 0.38) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.abz-card:hover .abz-card-media::after { opacity: 1; }
.abz-card-chip {
    position: absolute;
    bottom: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(21, 18, 14, 0.78);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.16);
}
.abz-card-chip i { color: #FBBF24; font-size: 10px; }
.abz-card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.abz-card-title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.abz-card-title a { color: #1C1917; transition: color 0.25s ease; }
.abz-card:hover .abz-card-title a { color: #C2410C; }
.abz-card-excerpt {
    font-size: 13.5px;
    line-height: 1.85;
    color: #78716C;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.abz-card-foot {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed #E5E0D8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.abz-card-foot .abz-read { font-size: 13px; }

/* 15.4 Blog single — immersive article */
.abz-single-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
    padding: 56px 0 72px;
}
.abz-article {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 26px;
    box-shadow: 0 26px 56px -30px rgba(28, 25, 23, 0.2);
    overflow: hidden;
}
.abz-article-head {
    padding: 40px 44px 0;
}
.abz-article-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.abz-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    border: 1px solid rgba(234, 88, 12, 0.24);
    color: #C2410C;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
a.abz-chip:hover { background: linear-gradient(135deg, #F97316, #EA580C); color: #fff; border-color: transparent; }
.abz-article-title {
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 900;
    line-height: 1.35;
    color: #1C1917;
    margin: 0 0 18px;
    text-wrap: balance;
}
.abz-article-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    padding-block-end: 24px;
    border-block-end: 1px dashed #E5E0D8;
}
.abz-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.abz-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #F97316, #C2410C);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 6px 14px -4px rgba(234, 88, 12, 0.5);
}
.abz-author-name { font-weight: 700; font-size: 13.5px; color: #1C1917; }
.abz-author-role { font-size: 11.5px; color: #78716C; }
.abz-article-meta .abz-meta { gap: 14px; }
.abz-article-hero {
    margin: 26px 44px 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    max-height: 480px;
}
.abz-article-hero img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; display: block; }
.abz-article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(28, 25, 23, 0.08);
    pointer-events: none;
}
/* Article typography — generous Persian rhythm */
.abz-article-content {
    padding: 34px 44px 44px;
    font-size: 16.5px;
    line-height: 2.05;
    color: #292524;
}
.abz-article-content p { margin: 0 0 1.35em; }
.abz-article-content h2, .abz-article-content h3, .abz-article-content h4 {
    font-weight: 800;
    line-height: 1.45;
    color: #1C1917;
    margin: 1.8em 0 0.7em;
    position: relative;
}
.abz-article-content h2 { font-size: 24px; padding-inline-start: 16px; }
.abz-article-content h2::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    height: calc(100% - 16px);
    width: 5px;
    border-radius: 99px;
    background: linear-gradient(180deg, #FBBF24, #F97316, #EA580C);
}
.abz-article-content h3 { font-size: 20px; }
.abz-article-content a {
    color: #C2410C;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(234, 88, 12, 0.35);
    text-underline-offset: 4px;
    transition: text-decoration-color 0.25s ease;
}
.abz-article-content a:hover { text-decoration-color: #EA580C; }
.abz-article-content blockquote {
    margin: 2em 0;
    padding: 26px 30px;
    background: linear-gradient(160deg, #FAF8F5, #F4F1EC);
    border-inline-start: 5px solid #F97316;
    border-radius: 0 20px 20px 0;
    position: relative;
    color: #44403C;
    font-style: normal;
}
[dir="ltr"] .abz-article-content blockquote { border-radius: 20px 0 0 20px; }
.abz-article-content blockquote::before {
    content: "\201C";
    position: absolute;
    top: 2px;
    inset-inline-end: 22px;
    font-size: 72px;
    line-height: 1;
    color: rgba(234, 88, 12, 0.22);
    font-weight: 900;
    font-family: Georgia, serif;
}
.abz-article-content blockquote p:last-child { margin-bottom: 0; }
.abz-article-content ul, .abz-article-content ol { padding-inline-start: 26px; margin: 0 0 1.35em; }
.abz-article-content ul li { margin-bottom: 0.55em; padding-inline-start: 6px; list-style: none; position: relative; }
.abz-article-content ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: -18px;
    top: 0.85em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #FB923C, #EA580C);
}
.abz-article-content ol li { margin-bottom: 0.55em; }
.abz-article-content img { border-radius: 16px; }
.abz-article-content pre {
    background: #15120E;
    color: #FDE68A;
    padding: 22px 26px;
    border-radius: 16px;
    overflow-x: auto;
    direction: ltr;
    text-align: left;
    font-size: 13.5px;
    line-height: 1.8;
    border: 1px solid rgba(234, 88, 12, 0.25);
}
.abz-article-content code {
    background: #FFEDD5;
    color: #9A3412;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.88em;
    direction: ltr;
    display: inline-block;
}
.abz-article-content pre code { background: none; color: inherit; padding: 0; }
.abz-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5em;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #EDE9E3;
}
.abz-article-content th {
    background: linear-gradient(135deg, #1C1917, #292524);
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    text-align: start;
}
.abz-article-content td { padding: 12px 16px; border-top: 1px solid #EDE9E3; }
.abz-article-content tr:nth-child(even) td { background: #FAF8F5; }
.abz-article-content hr { border: none; height: 2px; background: linear-gradient(90deg, transparent, #F97316, transparent); margin: 2.2em 0; opacity: 0.5; }
/* Tags + share */
.abz-article-foot {
    padding: 0 44px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.abz-tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.abz-tags .abz-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: #FAF8F5;
    border: 1px solid #E5E0D8;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #57534E;
    text-decoration: none;
    transition: all 0.25s ease;
}
a.abz-tag:hover {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    border-color: transparent;
}
.abz-tags .abz-tags-label { font-size: 12.5px; font-weight: 700; color: #78716C; }
/* Author box */
.abz-author-box {
    margin: 0 44px 44px;
    padding: 26px 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, #FAF8F5, #F4F1EC);
    border: 1px solid #EDE9E3;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.abz-author-box .abz-author-avatar { width: 56px; height: 56px; font-size: 20px; }
.abz-author-box h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; }
.abz-author-box p { margin: 0; font-size: 13.5px; line-height: 1.8; color: #78716C; }
.abz-author-box a { color: #C2410C; font-weight: 700; font-size: 13px; }
/* Post navigation */
.abz-postnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 44px 44px;
}
.abz-postnav a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #FAF8F5;
    border: 1px solid #EDE9E3;
    text-decoration: none;
    transition: all 0.3s ease;
}
.abz-postnav a:hover {
    border-color: rgba(234, 88, 12, 0.35);
    background: #fff;
    box-shadow: 0 14px 30px -14px rgba(234, 88, 12, 0.3);
    transform: translateY(-3px);
}
.abz-postnav .abz-postnav-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #C2410C;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.abz-postnav .abz-postnav-title {
    font-size: 14px;
    font-weight: 700;
    color: #1C1917;
    line-height: 1.6;
}
/* 15.5 Sidebar */
.abz-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.abz-widget {
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    border-radius: 20px;
    padding: 22px 24px;
}
.abz-widget-title {
    font-size: 15px;
    font-weight: 800;
    color: #1C1917;
    margin: 0 0 16px;
    padding-inline-start: 13px;
    position: relative;
}
.abz-widget-title::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 15px;
    border-radius: 99px;
    background: linear-gradient(180deg, #FBBF24, #EA580C);
}
/* v4.4.0 — سایدبار نوشته تکی: عرض کامل ستون گرید (۳۲۰px) + فاصله‌گذاری
   هوای متن‌ها (قبلاً با has-sidebar قدیمی به ~۸۰px فشرده می‌شد) */
.abz-sidebar-inner { width: 100%; }
.abz-widget ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.abz-widget ul li { overflow-wrap: break-word; }
.abz-widget ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.8;
    color: #44403C;
    text-decoration: none;
    transition: all 0.22s ease;
}
.abz-widget ul li a:hover {
    background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
    color: #C2410C;
    transform: translateX(-3px);
}
[dir="ltr"] .abz-widget ul li a:hover { transform: translateX(3px); }
.abz-widget .search-form,
.abz-widget form.woocommerce-product-search {
    display: flex;
    gap: 8px;
}
.abz-widget .search-field {
    flex: 1;
    min-width: 0;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1.5px solid #EDE9E3;
    background: #FAF8F5;
    font-family: inherit;
    font-size: 13.5px;
    color: #1C1917;
    outline: none;
    transition: all 0.25s ease;
}
.abz-widget .search-field:focus {
    border-color: #F97316;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.13);
}
.abz-widget .search-submit {
    padding: 11px 18px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.abz-widget .search-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(234, 88, 12, 0.5); }
/* Comments */
.abz-comments {
    margin: 0 44px 44px;
    border-top: 1px solid #EDE9E3;
    padding-top: 32px;
}
.abz-comments h3 { font-size: 18px; font-weight: 800; margin: 0 0 20px; }
.abz-comments .comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.abz-comments .comment-list .comment {
    padding: 18px 20px;
    border-radius: 16px;
    background: #FAF8F5;
    margin-bottom: 14px;
    border: 1px solid #EDE9E3;
}
.abz-comments .comment .comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.abz-comments .comment .comment-author img { border-radius: 50%; }
.abz-comments .comment .comment-author .fn { font-weight: 700; font-size: 13.5px; color: #1C1917; font-style: normal; }
.abz-comments .comment .comment-meta { font-size: 11.5px; color: #A8A29E; }
.abz-comments .comment .comment-content { font-size: 14px; line-height: 1.9; color: #44403C; }
.abz-comments .comment .comment-body { display: flex; gap: 14px; }
.abz-comments .comment .comment-content { flex: 1; }
.abz-comments .comment .reply a {
    font-size: 12px;
    font-weight: 700;
    color: #C2410C;
}
.abz-comments .comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.abz-comments .comment-form p.comment-form-comment,
.abz-comments .comment-form p.form-submit,
.abz-comments .comment-form p.comment-form-cookies-consent { grid-column: 1 / -1; }
.abz-comments .comment-form input[type="text"],
.abz-comments .comment-form input[type="email"],
.abz-comments .comment-form input[type="url"],
.abz-comments .comment-form textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: 14px;
    border: 1.5px solid #EDE9E3;
    background: #FAF8F5;
    font-family: inherit;
    font-size: 14px;
    color: #1C1917;
    outline: none;
    transition: all 0.25s ease;
}
.abz-comments .comment-form input:focus,
.abz-comments .comment-form textarea:focus {
    border-color: #F97316;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.13);
}
.abz-comments .comment-form label { font-size: 12.5px; color: #78716C; display: block; margin-bottom: 6px; font-weight: 600; }
.abz-comments .comment-form .submit {
    padding: 13px 30px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.abz-comments .comment-form .submit:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(234, 88, 12, 0.55); }
.abz-comments .comment-form p.logged-in-as, .abz-comments .comment-form p.comment-notes { grid-column: 1 / -1; font-size: 12.5px; color: #78716C; }
.abz-comments .comment-form p.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }

/* 15.6 Blog pagination */
.abz-pagination, #page .abz-pagination .nav-links { display: flex; justify-content: center; }
.abz-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    margin: 0 4px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #EDE9E3;
    color: #44403C;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.abz-pagination .page-numbers:hover {
    border-color: rgba(234, 88, 12, 0.4);
    color: #C2410C;
    background: #FFF7ED;
    transform: translateY(-2px);
}
.abz-pagination .page-numbers.current {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 22px -8px rgba(234, 88, 12, 0.55);
}
.abz-pagination .page-numbers.dots { border: none; background: none; }

/* 15.7 Responsive blog */
@media (max-width: 1100px) {
    .abz-grid { grid-template-columns: repeat(2, 1fr); }
    .abz-single-wrap { grid-template-columns: 1fr; }
    .abz-sidebar { position: static; }
}
@media (max-width: 860px) {
    .abz-featured { grid-template-columns: 1fr; }
    .abz-featured-media { min-height: 240px; }
    .abz-featured-body { padding: 28px; }
    .abz-article-head, .abz-article-content, .abz-article-foot,
    .abz-postnav, .abz-comments, .abz-author-box { padding-inline: 24px; margin-inline: 0; }
    .abz-article-hero { margin-inline: 24px; }
    .abz-article-content { font-size: 15.5px; }
    .abz-blog-hero { padding: 48px 0 60px; }
}
@media (max-width: 640px) {
    .abz-grid { grid-template-columns: 1fr; }
    .abz-postnav { grid-template-columns: 1fr; }
    .abz-comments .comment-form { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   16. ABOUT + CONTACT DNA polish
   -------------------------------------------------------------------------- */
#page .ry-about-hero, #page .ry-contact-hero { position: relative; overflow: hidden; }
#page .ry-about-hero::before, #page .ry-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1.4px);
    background-size: 26px 26px;
    pointer-events: none;
}
#page .ry-about-stat-num, #page .ry-contact-hero .ry-hero-title {
    font-feature-settings: "tnum";
}
#page .ry-about-value-icon {
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    border-color: rgba(234, 88, 12, 0.2);
    color: #C2410C;
}
#page .ry-about-value:hover {
    border-color: rgba(234, 88, 12, 0.3);
    box-shadow: 0 20px 40px -18px rgba(234, 88, 12, 0.32);
    transform: translateY(-6px);
}
#page .ry-about-value:hover .ry-about-value-icon {
    background: linear-gradient(145deg, #F97316, #EA580C);
    color: #fff;
    border-color: transparent;
}
#page .ry-about-timeline-list::before { background: linear-gradient(180deg, #FBBF24, #F97316, #EA580C); }
#page .ry-about-timeline-item::before {
    background: linear-gradient(135deg, #FBBF24, #EA580C) !important;
    border-color: #FFEDD5 !important;
    box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.15) !important;
}
#page .ry-contact-info-card:hover {
    border-color: rgba(234, 88, 12, 0.3);
    box-shadow: 0 20px 40px -18px rgba(234, 88, 12, 0.3);
    transform: translateY(-6px);
}
#page .ry-contact-info-card .ry-contact-info-icon,
#page .ry-contact-info-icon {
    background: linear-gradient(145deg, #FFF7ED, #FFEDD5);
    border: 1px solid rgba(234, 88, 12, 0.22);
    color: #C2410C;
}
#page .ry-contact-form-card::before {
    background: linear-gradient(90deg, #F97316 0%, #EA580C 50%, #C2410C 100%) !important;
    height: 4px !important;
}
#page .ry-contact-form-card input:focus,
#page .ry-contact-form-card textarea:focus,
#page .ry-contact-form-card select:focus {
    border-color: #F97316 !important;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.13) !important;
    background: #fff;
}
#page .ry-contact-map-card i.pin { color: #EA580C; }

/* --------------------------------------------------------------------------
   17. GLOBAL FORMS DNA
   -------------------------------------------------------------------------- */
#page input[type="text"]:focus,
#page input[type="email"]:focus,
#page input[type="tel"]:focus,
#page input[type="search"]:focus,
#page input[type="url"]:focus,
#page input[type="password"]:focus,
#page textarea:focus,
#page select:focus {
    outline: none;
    border-color: #F97316;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.13);
}

/* --------------------------------------------------------------------------
   18. MISC — quickview modal, toasts, 404
   -------------------------------------------------------------------------- */
#page .ry-quickview-modal,
#page .qv-modal {
    border-radius: 24px;
    overflow: hidden;
}
#page .ry-toast, #page .toast {
    border-radius: 14px;
    background: #15120E;
    color: #fff;
    border: 1px solid rgba(234, 88, 12, 0.4);
    box-shadow: 0 20px 44px -14px rgba(21, 18, 14, 0.5);
}
#page .ry-toast .ry-toast-icon, #page .toast .toast-icon { color: #FBBF24; }

/* 404 — ember glow */
#page .error404-hero, #page .ry-404 {
    position: relative;
}
#page .ry-404-code, #page .error404 .ry-404-num {
    font-weight: 900;
    background: linear-gradient(120deg, #FDE68A, #FBBF24 30%, #F97316 60%, #EA580C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 10px 34px rgba(234, 88, 12, 0.4));
}

/* Breadcrumb (v5 bar) */
#page .ry-breadcrumb a:hover { color: #C2410C; }

/* WooCommerce notices + messages */
#page .woocommerce-message,
#page .woocommerce-info {
    border-top-color: #F97316;
}
#page .woocommerce-message::before,
#page .woocommerce-info::before { color: #F97316; }
#page .woocommerce-error { border-top-color: #DC2626; }

/* --------------------------------------------------------------------------
   19. RESPONSIVE + REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (max-width: 860px) {
    /* v4.3.0 — هماهنگ با مقیاس اصلاح‌شده هیرو */
    #page .ry-hero-title { font-size: clamp(22px, 6.4vw, 32px); }
    #page .ry-stat { padding: 20px 8px; }
    #page .ry-news-card { padding: 40px 26px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    /* v6.4 — قواعد .dna-marquee حذف شدند (مارکی برای همیشه بازنشسته) */
    #page .ry-pcard, #page .product-card-modern, #page .ry-cat, #page .abz-card,
    #page .shop-products-wrapper ul.products li.product,
    #page .abz-featured, #page .ry-review, #page .ry-mag-card, #page .ry-promo {
        transition: none;
    }
    #page .ry-btn-primary::before, #page .ry-oresta-search-submit::before,
    #page .ry-news-btn::before, #page .shop-hero-cta-btn::before { display: none; }
    #page .ry-hero-slide.is-active .ry-hero-bg { animation: none; }
    #page .ry-hero-particle { display: none; }
    html.dna-js .dna-reveal { opacity: 1; transform: none; transition: none; }
    .dna-progress { transition: none; }
}

/* --------------------------------------------------------------------------
   20. DNA SUPPLEMENTS — global .ry-wrap, warm canvas, blog details
   -------------------------------------------------------------------------- */
/* .ry-wrap was defined only inside the homepage inline styles — the DNA
   system redefines it globally so every template can use it. */
.ry-wrap {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 28px;
}

/* Warm canvas for inner pages (homepage keeps its own section rhythm) */
body:not(.abzarbin-home) { background-color: #F7F4EF; }

/* Blog hero eyebrow icon */
.abz-blog-hero .ry-eyebrow i { color: #FBBF24; }

/* Post-nav: next card aligns to the far edge */
.abz-postnav .abz-postnav-next { align-items: flex-end; text-align: end; }

/* Nested comment replies */
.abz-comments .comment-list .children {
    list-style: none;
    margin: 12px 0 0;
    padding-inline-start: 18px;
    border-inline-start: 2px dashed #E5E0D8;
}
.abz-comments .comment-list .children .comment { background: #fff; }

/* Post pagination inside article content */
.abz-article-content .page-links {
    display: flex;
    gap: 6px;
    margin: 1.5em 0;
    flex-wrap: wrap;
}
.abz-article-content .page-links a,
.abz-article-content .page-links > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 12px;
    background: #FAF8F5;
    border: 1px solid #EDE9E3;
    color: #44403C;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
}
.abz-article-content .page-links a:hover {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #fff;
    border-color: transparent;
}

/* Sticky summary for single product (sp-layout column) */
@media (min-width: 992px) {
    #page .sp-summary-wrap { position: sticky; top: 96px; align-self: start; }
}

/* Legacy .row blog grid safety (in case any old markup remains) */
#page .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 767px) { #page .blog-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   21. ABOUT + CONTACT — cinematic dark heroes (DNA treatment)
   -------------------------------------------------------------------------- */
#page .ry-about-hero,
#page .ry-contact-hero {
    background:
        radial-gradient(820px 340px at 88% -40%, rgba(249, 115, 22, 0.26), transparent 60%),
        radial-gradient(520px 280px at 4% 130%, rgba(234, 88, 12, 0.16), transparent 55%),
        linear-gradient(160deg, #1C1917 0%, #15120E 62%, #1A130C 100%) !important;
    border-bottom: none;
    color: #fff;
}
#page .ry-about-hero::after,
#page .ry-contact-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 6px;
    background: repeating-linear-gradient(-45deg, rgba(234, 88, 12, 0.95) 0 14px, rgba(21, 18, 14, 0.9) 14px 24px, rgba(251, 191, 36, 0.9) 24px 26px, rgba(21, 18, 14, 0.9) 26px 36px);
}
#page .ry-about .ry-hero-title,
#page .ry-contact .ry-hero-title { color: #fff; }
#page .ry-about .ry-hero-title em,
#page .ry-contact .ry-hero-title em {
    background: linear-gradient(110deg, #FDE68A 2%, #FBBF24 26%, #F97316 58%, #EA580C 88%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#page .ry-about .ry-hero-desc,
#page .ry-contact .ry-hero-desc,
#page .ry-contact .ry-contact-hero-desc {
    color: rgba(255, 255, 255, 0.72);
}
#page .ry-about .ry-eyebrow,
#page .ry-contact .ry-eyebrow {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(251, 191, 36, 0.32);
    color: #FBBF24;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
#page .ry-about .ry-eyebrow i,
#page .ry-contact .ry-eyebrow i { color: #FBBF24; }
/* About stats — glass cards inside the dark hero */
#page .ry-about-hero .ry-about-stat {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
#page .ry-about-hero .ry-about-stat:hover {
    transform: translateY(-5px);
    background: rgba(234, 88, 12, 0.12);
    border-color: rgba(234, 88, 12, 0.35);
}
#page .ry-about-hero .ry-about-stat-num {
    background: linear-gradient(120deg, #FDE68A, #FBBF24 32%, #F97316 65%, #EA580C);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
#page .ry-about-hero .ry-about-stat-label { color: rgba(255, 255, 255, 0.65); }
/* Contact hero CTA row / info lead text on dark */
#page .ry-contact-hero .ry-contact-hero-lead { color: rgba(255, 255, 255, 0.72); }
