/* Abarip theme. Design: "Abarip Customer" (Vazirmatn, one blue accent, white surfaces, 24px cards, 14px controls). RTL, light + dark. */

:root {
  --ab-bg: #F4F6FB; --ab-sf: #FFFFFF; --ab-sf2: #F8FAFD; --ab-ink: #101828; --ab-ink2: #344054; --ab-mu: #667085;
  --ab-bd: #E6EAF2; --ab-ac: #2E5CE6; --ab-ac-ink: #2E5CE6; --ab-vi: #7C5CE6; --ab-deep: #1A2740; --ab-ok: #17A673;
  --ab-tint: #EEF3FF; --ab-line: #C9D6FB;
  --ab-shadow: 0 8px 28px rgba(16, 24, 40, .06); --ab-shadow-lg: 0 18px 48px rgba(16, 24, 40, .10);
  --ab-r: 24px; --ab-r-sm: 14px; --ab-w: 1200px; --ab-head: 72px;
  --ab-ff: "OIP Vazirmatn", Vazirmatn, Tahoma, sans-serif;
  color-scheme: light;
}
html[data-theme="dark"] {
  --ab-bg: #0B1220; --ab-sf: #121B2E; --ab-sf2: #172238; --ab-ink: #EAF0FB; --ab-ink2: #C5CEDD; --ab-mu: #9AA7BD;
  --ab-bd: #24314A; --ab-ac: #4B74EE; --ab-ac-ink: #8FACFF; --ab-vi: #8A6EF0; --ab-deep: #101A2E; --ab-ok: #3DCB95;
  --ab-tint: #17254A; --ab-line: #2B3D6B;
  --ab-shadow: 0 8px 28px rgba(0, 0, 0, .28); --ab-shadow-lg: 0 18px 48px rgba(0, 0, 0, .4);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--ab-head) + 16px); }
body {
  margin: 0; background: var(--ab-bg); color: var(--ab-ink); font-family: var(--ab-ff); font-size: 16px; line-height: 1.9;
  direction: rtl; text-align: right; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, iframe, svg { max-width: 100%; }
img, video { height: auto; }
a { color: var(--ab-ac-ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--ab-vi); }
html[data-theme="dark"] a:hover { color: #B9C9FF; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--ab-ink); line-height: 1.5; font-weight: 800; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid rgba(46, 92, 230, .5); outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(46, 92, 230, .22); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ab-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--ab-ac); color: #fff; padding: 8px 16px; border-radius: 10px; }
.ab-skip:focus { top: 12px; color: #fff; }
.ab-ico { display: block; flex: none; }

.ab-wrap { width: 100%; max-width: var(--ab-w); margin-inline: auto; padding-inline: 20px; }
.ab-wrap--narrow { max-width: 880px; }
.ab-center { text-align: center; }
.ab-main { display: block; min-height: 50vh; padding-bottom: 72px; }
.ab-home { padding-bottom: 0; }

/* ---------- buttons ---------- */
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: var(--ab-r-sm); border: 1px solid transparent; font-size: 14.5px; font-weight: 700; line-height: 1.4;
  cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s, box-shadow .15s, transform .15s, color .15s;
}
.ab-btn:active { transform: scale(.98); }
.ab-btn--primary { background: linear-gradient(120deg, #2E5CE6, #7C5CE6); color: #fff !important; box-shadow: 0 8px 20px rgba(46, 92, 230, .24); }
.ab-btn--primary:hover { box-shadow: 0 12px 26px rgba(46, 92, 230, .34); }
.ab-btn--soft { background: var(--ab-tint); border-color: var(--ab-line); color: var(--ab-ac-ink) !important; }
.ab-btn--soft:hover { border-color: var(--ab-ac-ink); }
.ab-btn--ghost { background: transparent; border-color: var(--ab-bd); color: var(--ab-ink) !important; }
.ab-btn--ghost:hover { border-color: var(--ab-line); color: var(--ab-ac-ink) !important; }
.ab-btn--glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff !important; }
.ab-btn--glass:hover { background: rgba(255, 255, 255, .18); }
.ab-btn--white { background: #fff; color: #1D3F9E !important; box-shadow: 0 8px 20px rgba(10, 20, 50, .2); }
.ab-btn--sm { min-height: 40px; padding: 0 15px; font-size: 13.5px; border-radius: 12px; }
.ab-btn--lg { min-height: 54px; padding: 0 26px; font-size: 16px; border-radius: 16px; }
.ab-iconbtn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--ab-bd);
  background: transparent; color: var(--ab-ink); cursor: pointer; transition: border-color .15s, color .15s, background .15s; padding: 0;
}
.ab-iconbtn:hover { border-color: var(--ab-line); color: var(--ab-ac-ink); }
.ab-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; }

/* ---------- header ---------- */
.ab-header {
  position: sticky; top: 0; z-index: 100; height: var(--ab-head); background: color-mix(in srgb, var(--ab-sf) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.ab-header.is-stuck { border-bottom-color: var(--ab-bd); box-shadow: 0 6px 24px rgba(16, 24, 40, .06); }
/* An open drawer must not be trapped by the header's blur layer. */
.ab-header.has-nav-open { z-index: 130; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ab-sf); }
.ab-header__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.ab-logo { display: inline-flex; align-items: center; gap: 10px; flex: none; color: var(--ab-ink); font-weight: 800; font-size: 19px; }
.ab-logo .ab-logo__img { display: block; height: 40px; width: auto; max-width: 170px; object-fit: contain; }
.ab-logo__mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(120deg, #2E5CE6, #7C5CE6); color: #fff; }
/* The logo artwork has light lettering, so it sits on a dark tile wherever the header is light. */
.ab-logo .ab-logo__img { background: #1A2740; border-radius: 12px; padding: 5px 12px; height: 44px; }
html[data-theme="dark"] .ab-logo .ab-logo__img { background: transparent; padding: 0; height: 40px; }

.ab-nav { flex: 1; min-width: 0; }
.ab-nav__head, .ab-nav__foot { display: none; }
.ab-nav__list, .ab-nav__list ul { list-style: none; margin: 0; padding: 0; }
.ab-nav__list { display: flex; align-items: center; gap: 4px; }
.ab-nav__list > li { position: relative; }
.ab-nav__list a { display: block; padding: 8px 14px; border-radius: 12px; color: var(--ab-ink2); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.ab-nav__list a:hover, .ab-nav__list .current-menu-item > a, .ab-nav__list .current_page_item > a { color: var(--ab-ac-ink); background: var(--ab-tint); }
.ab-nav__list .sub-menu {
  position: absolute; inset-inline-start: 0; top: 100%; min-width: 220px; padding: 8px; background: var(--ab-sf); border: 1px solid var(--ab-bd);
  border-radius: 16px; box-shadow: var(--ab-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.ab-nav__list li:hover > .sub-menu, .ab-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ab-header__tools { display: flex; align-items: center; gap: 8px; flex: none; margin-inline-start: auto; }
.ab-header__burger { display: none; }
.ab-theme-toggle__moon { display: none; }
html[data-theme="dark"] .ab-theme-toggle__sun { display: none; }
html[data-theme="dark"] .ab-theme-toggle__moon { display: block; }
.ab-scrim { position: fixed; inset: 0; z-index: 110; background: rgba(8, 14, 28, .5); }

.ab-social { display: flex; gap: 8px; flex-wrap: wrap; }
.ab-social__a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--ab-bd); color: var(--ab-mu); background: var(--ab-sf); }
.ab-social__a:hover { color: var(--ab-ac-ink); border-color: var(--ab-line); }

/* ---------- page head ---------- */
.ab-pagehead { padding: 36px 0 28px; }
.ab-pagehead__title { font-size: clamp(24px, 3.4vw, 36px); margin: 0; letter-spacing: -.01em; }
.ab-pagehead__sub { color: var(--ab-mu); margin-top: 10px; max-width: 760px; }
.ab-pagehead__sub p:last-child { margin: 0; }
.ab-crumbs { font-size: 13px; color: var(--ab-mu); margin-bottom: 10px; }
.ab-crumbs a { color: var(--ab-mu); }
.ab-crumbs a:hover { color: var(--ab-ac-ink); }
.ab-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--ab-mu); font-size: 13.5px; }
.ab-meta__i { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- content (pages and articles) ---------- */
.ab-content { background: var(--ab-sf); border: 1px solid var(--ab-bd); border-radius: var(--ab-r); padding: clamp(20px, 4vw, 44px); box-shadow: var(--ab-shadow); min-width: 0; }
.ab-content::after { content: ""; display: block; clear: both; }
.entry-content { font-size: 16.5px; line-height: 2.05; color: var(--ab-ink2); overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5 { margin: 1.6em 0 .6em; scroll-margin-top: calc(var(--ab-head) + 16px); }
.entry-content h1 { font-size: clamp(24px, 3vw, 32px); }
.entry-content h2 { font-size: clamp(21px, 2.6vw, 27px); }
.entry-content h3 { font-size: clamp(18px, 2.2vw, 22px); }
.entry-content h4 { font-size: 18px; }
.entry-content a { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 4px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin: .3em 0; }
.entry-content li::marker { color: var(--ab-ac-ink); }
.entry-content img { border-radius: 16px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: 13.5px; color: var(--ab-mu); text-align: center; margin-top: 8px; }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 1.6em 0; padding: 16px 20px; border: 0; border-inline-start: 4px solid var(--ab-ac); background: var(--ab-tint); border-radius: 14px; color: var(--ab-ink); }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content hr, .entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--ab-bd); margin: 2em 0; opacity: 1; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content .wp-block-table, .entry-content .ab-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--ab-bd); border-radius: 16px; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--ab-bd); text-align: right; vertical-align: top; }
.entry-content .wp-block-table td, .entry-content .wp-block-table th { border-color: var(--ab-bd); }
.entry-content thead th, .entry-content tr:first-child th { background: var(--ab-sf2); color: var(--ab-ink); font-weight: 700; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content code, .entry-content kbd { direction: ltr; unicode-bidi: embed; background: var(--ab-sf2); border: 1px solid var(--ab-bd); border-radius: 8px; padding: 1px 7px; font-size: .9em; }
.entry-content pre { direction: ltr; text-align: left; background: #0F172A; color: #E2E8F0; border-radius: 16px; padding: 18px; overflow-x: auto; }
.entry-content pre code { background: none; border: 0; padding: 0; }
.entry-content .wp-block-button__link, .entry-content .wp-element-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--ab-r-sm);
  font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.4;
}
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: linear-gradient(120deg, #2E5CE6, #7C5CE6); color: #fff; box-shadow: 0 8px 20px rgba(46, 92, 230, .24); }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { border: 1.5px solid currentColor; background: transparent; }
.entry-content .wp-block-columns { gap: 24px; margin-bottom: 1.4em; }
.entry-content .wp-block-media-text { border-radius: 18px; overflow: hidden; margin: 1.6em 0; }
.entry-content .wp-block-group.has-background, .entry-content p.has-background { border-radius: 16px; padding: 16px 20px; }
.entry-content .wp-block-embed iframe, .entry-content iframe { border-radius: 16px; }
.entry-content .alignwide { margin-inline: 0; }
.entry-content .aligncenter { margin-inline: auto; text-align: center; }
.entry-content .alignleft { float: left; margin: 0 20px 12px 0; }
.entry-content .alignright { float: right; margin: 0 0 12px 20px; }
.entry-content center { display: block; }
.ab-pagelinks { display: flex; gap: 8px; margin-top: 24px; }

/* Blocks that carry their own light background keep dark text in dark mode. */
html[data-theme="dark"] .entry-content .has-background:not(.has-text-color) { color: #101828; }
.entry-content :is(.has-background, .has-text-color) :is(h1, h2, h3, h4, h5, h6, strong, figcaption):not(.has-text-color) { color: inherit; }
html[data-theme="dark"] .entry-content .has-background li::marker { color: #2E5CE6; }
html[data-theme="dark"] .entry-content .has-background a:not(.wp-block-button__link) { color: #1D3F9E; }
html[data-theme="dark"] .entry-content :where(.has-black-color, .has-contrast-color) { color: var(--ab-ink) !important; }
html[data-theme="dark"] .entry-content img { background-color: transparent; }

/* App screens (shop, cart, checkout, account): the panel styles own the surface. */
body.ab-app .ab-content { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; color: var(--ab-ink); font-size: 15px; line-height: 1.9; }
body.ab-app .ab-content a { text-decoration: none; }
body.ab-app .ab-pagehead { padding: 26px 0 18px; }
body.ab-app .ab-pagehead__title { font-size: clamp(20px, 2.6vw, 26px); }
body.woocommerce-account.logged-in .ab-pagehead, body.abauth-page .ab-pagehead { display: none; }
body.woocommerce-account.logged-in .ab-main, body.abauth-page .ab-main { padding-top: 28px; }

/* ---------- cards (blog) ---------- */
.ab-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.ab-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ab-card { display: flex; flex-direction: column; background: var(--ab-sf); border: 1px solid var(--ab-bd); border-radius: var(--ab-r); overflow: hidden; box-shadow: var(--ab-shadow); transition: transform .2s, box-shadow .2s, border-color .2s; min-width: 0; }
.ab-card:hover { transform: translateY(-3px); box-shadow: var(--ab-shadow-lg); border-color: var(--ab-line); }
.ab-card__media { display: block; aspect-ratio: 16 / 10; background: var(--ab-tint); overflow: hidden; }
.ab-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.ab-card:hover .ab-card__media img { transform: scale(1.04); }
.ab-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--ab-ac-ink); opacity: .5; }
.ab-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.ab-card__title { font-size: 17px; margin: 0; line-height: 1.7; }
.ab-card__title a { color: var(--ab-ink); }
.ab-card__title a:hover { color: var(--ab-ac-ink); }
.ab-card__text { color: var(--ab-mu); font-size: 14px; line-height: 1.9; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ab-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; font-size: 13px; color: var(--ab-mu); }
.ab-card__more { display: inline-flex; align-items: center; gap: 4px; color: var(--ab-ac-ink); font-weight: 700; }

.ab-pager, .ab-comments .navigation { margin-top: 36px; }
.ab-pager .nav-links, .ab-comments .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ab-pager .page-numbers, .ab-comments .page-numbers, .ab-pagelinks > * { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--ab-sf); border: 1px solid var(--ab-bd); color: var(--ab-ink); font-weight: 700; font-size: 14px; }
.ab-pager .page-numbers.current, .ab-pager a.page-numbers:hover { background: var(--ab-ac); border-color: var(--ab-ac); color: #fff; }

/* ---------- article extras ---------- */
.ab-post__cover { margin: 0 0 1.6em; }
.ab-post__cover img { width: 100%; border-radius: 18px; display: block; }
.ab-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ab-tags a { padding: 6px 14px; border-radius: 999px; background: var(--ab-sf); border: 1px solid var(--ab-bd); color: var(--ab-mu); font-size: 13px; }
.ab-tags a:hover { color: var(--ab-ac-ink); border-color: var(--ab-line); }
.ab-buybox { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 28px; padding: 22px 26px; border-radius: var(--ab-r); background: linear-gradient(120deg, #1A2740, #26408F); color: #fff; }
.ab-buybox strong { font-size: 18px; display: block; }
.ab-buybox p { margin: 4px 0 0; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.ab-buybox .ab-btn--primary { background: #fff; color: #1D3F9E !important; box-shadow: none; }
.ab-related { margin-top: 44px; }
.ab-related__title { font-size: 21px; margin-bottom: 18px; }

.ab-comments { margin-top: 44px; background: var(--ab-sf); border: 1px solid var(--ab-bd); border-radius: var(--ab-r); padding: clamp(18px, 3vw, 30px); }
.ab-comments__title, .comment-reply-title { font-size: 19px; margin: 0 0 16px; display: block; font-weight: 800; }
.ab-comments__list, .ab-comments__list .children { list-style: none; margin: 0; padding: 0; }
.ab-comments__list .children { padding-inline-start: 22px; border-inline-start: 2px solid var(--ab-bd); }
.ab-comments__list .comment-body { padding: 14px 0; border-bottom: 1px solid var(--ab-bd); }
.ab-comments .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.ab-comments .comment-author img { border-radius: 50%; }
.ab-comments .comment-metadata, .ab-comments .says { font-size: 12.5px; color: var(--ab-mu); }
.ab-comments .comment-metadata a { color: var(--ab-mu); }
.ab-comments .comment-content { margin-top: 6px; }
.ab-comments .reply a { font-size: 13px; font-weight: 700; }
.comment-form { display: grid; gap: 14px; margin-top: 8px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ab-ink2); }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; }
.comment-form .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-notes, .logged-in-as { font-size: 13px; color: var(--ab-mu); }

/* ---------- form controls ---------- */
.ab-search input[type="search"], .comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea, .ab-content input[type="text"]:not([class]), .ab-content input[type="email"]:not([class]), .ab-content textarea:not([class]) {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--ab-r-sm); border: 1px solid var(--ab-bd); background: var(--ab-sf); color: var(--ab-ink); outline: 0; transition: border-color .15s, box-shadow .15s;
}
.comment-form textarea { min-height: 130px; resize: vertical; }
.ab-search input[type="search"]:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--ab-ac); box-shadow: 0 0 0 4px rgba(46, 92, 230, .14); }
.ab-search { display: flex; gap: 10px; max-width: 520px; margin-inline: auto; }
.ab-search input { flex: 1; min-width: 0; }

/* ---------- empty / 404 ---------- */
.ab-empty { text-align: center; background: var(--ab-sf); border: 1px solid var(--ab-bd); border-radius: var(--ab-r); padding: clamp(28px, 6vw, 64px) 20px; box-shadow: var(--ab-shadow); }
.ab-empty--404 { margin-top: 48px; }
.ab-empty__code { display: block; font-size: clamp(64px, 12vw, 120px); font-weight: 900; line-height: 1; background: linear-gradient(120deg, #2E5CE6, #7C5CE6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ab-empty h1 { font-size: 24px; margin: 14px 0 6px; }
.ab-empty p { color: var(--ab-mu); }
.ab-empty__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }

/* ---------- footer ---------- */
.ab-footer { background: var(--ab-sf); border-top: 1px solid var(--ab-bd); padding-top: 48px; color: var(--ab-ink2); font-size: 14.5px; }
.ab-footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--ab-bd); }
.ab-footer__brand { max-width: 560px; display: grid; gap: 14px; }
.ab-footer__brand p { margin: 0; color: var(--ab-mu); line-height: 2; }
.ab-footer__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.ab-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; padding: 34px 0; }
.ab-fwidget + .ab-fwidget { margin-top: 26px; }
.ab-fwidget__title { font-size: 15.5px; margin: 0 0 12px; }
.ab-fwidget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ab-fwidget a { color: var(--ab-ink2); font-weight: 500; }
.ab-fwidget a:hover { color: var(--ab-ac-ink); }
.ab-fwidget strong { font-weight: 500; }
.ab-fwidget p { margin: 0 0 8px; color: var(--ab-mu); line-height: 2; }
.ab-fwidget center { text-align: start; }
.ab-footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 20px 0 26px; border-top: 1px solid var(--ab-bd); font-size: 13.5px; color: var(--ab-mu); }
.ab-footer__copy { margin: 0; }
.ab-footer__menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ab-footer__menu a { color: var(--ab-mu); }
.ab-footer__menu a:hover { color: var(--ab-ac-ink); }

/* ---------- WooCommerce basics in dark mode (forms, notices, tables) ---------- */
html[data-theme="dark"] .woocommerce input.input-text, html[data-theme="dark"] .woocommerce textarea, html[data-theme="dark"] .woocommerce select,
html[data-theme="dark"] .select2-container--default .select2-selection--single, html[data-theme="dark"] .select2-dropdown, html[data-theme="dark"] .select2-search__field {
  background-color: #0F1829 !important; border-color: #2C3A55 !important; color: #EAF0FB !important;
}
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered { color: #EAF0FB; }
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected], html[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected="true"] { background: #17254A; color: #EAF0FB; }
html[data-theme="dark"] .woocommerce ::placeholder { color: #7F8CA3; }
html[data-theme="dark"] .woocommerce-info, html[data-theme="dark"] .woocommerce-message, html[data-theme="dark"] .woocommerce-error, html[data-theme="dark"] .woocommerce-noreviews, html[data-theme="dark"] p.no-comments { background-color: #121B2E; color: #EAF0FB; border-color: #24314A; }
html[data-theme="dark"] .woocommerce table.shop_table, html[data-theme="dark"] .woocommerce table.shop_table td, html[data-theme="dark"] .woocommerce table.shop_table th { border-color: #24314A; color: #EAF0FB; }
html[data-theme="dark"] #add_payment_method #payment, html[data-theme="dark"] .woocommerce-cart #payment, html[data-theme="dark"] .woocommerce-checkout #payment { background: #121B2E; }
html[data-theme="dark"] #add_payment_method #payment div.payment_box, html[data-theme="dark"] .woocommerce-cart #payment div.payment_box, html[data-theme="dark"] .woocommerce-checkout #payment div.payment_box { background-color: #172238; color: #C5CEDD; }
html[data-theme="dark"] .woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #172238; }
html[data-theme="dark"] .woocommerce form .form-row label, html[data-theme="dark"] .woocommerce-page form .form-row label { color: #C5CEDD; }
html[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li { background: #121B2E; border-color: #24314A; }
html[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: #172238; }
html[data-theme="dark"] .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: #C5CEDD; }
html[data-theme="dark"] .blockUI.blockOverlay { background: #0B1220 !important; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .ab-header__burger { display: inline-grid; }
  .ab-header__in { gap: 12px; }
  .ab-nav {
    position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 120; width: min(86vw, 340px); background: var(--ab-sf);
    display: flex; flex-direction: column; gap: 6px; padding: 16px; overflow-y: auto; box-shadow: var(--ab-shadow-lg);
    transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .ab-nav.is-open { transform: none; visibility: visible; }
  .ab-nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--ab-bd); }
  .ab-nav__label { font-weight: 800; font-size: 17px; }
  .ab-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .ab-nav__list a { padding: 12px 14px; font-size: 15.5px; white-space: normal; }
  .ab-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 14px 0 0; min-width: 0; background: transparent; }
  .ab-nav__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ab-bd); }
  .ab-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  :root { --ab-head: 64px; }
  .ab-wrap { padding-inline: 16px; }
  .ab-header__account span { display: none; }
  .ab-header__account { width: 40px; padding: 0; }
  .ab-header__buy { display: none; }
  .ab-logo .ab-logo__img { height: 40px; max-width: 150px; }
  .ab-pagehead { padding: 24px 0 18px; }
  .ab-content { border-radius: 20px; }
  .entry-content { font-size: 16px; line-height: 2; }
  .ab-cards, .ab-cards--3 { grid-template-columns: minmax(0, 1fr); }
  .ab-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 26px 0; }
  .ab-footer__bar { flex-direction: column; align-items: flex-start; }
  .ab-main { padding-bottom: 48px; }
  .ab-search { flex-direction: column; }
  .entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .ab-header, .ab-footer, .ab-buybox, .ab-related, .ab-comments { display: none !important; }
  body { background: #fff; }
  .ab-content { border: 0; box-shadow: none; padding: 0; }
}

/* ---------- downloads page ---------- */
.ab-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ab-dl__i { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--ab-sf); border: 1px solid var(--ab-bd); box-shadow: var(--ab-shadow); }
.ab-dl__ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--ab-tint); color: var(--ab-ac-ink); flex: none; }
.ab-dl__txt { flex: 1; min-width: 0; display: grid; }
.ab-dl__txt span { font-size: 13px; color: var(--ab-mu); }
.ab-dl__act { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 820px) { .ab-dl { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .ab-dl__i { flex-wrap: wrap; } .ab-dl__act { width: 100%; } .ab-dl__act .ab-btn { flex: 1; } }

/* ---------- store notice (WooCommerce > Customizer > Store notice) ---------- */
.woocommerce-store-notice, p.demo_store {
  position: fixed !important; top: auto !important; bottom: 0; left: 0; right: 0; z-index: 95; margin: 0 !important; padding: 10px 64px !important;
  background: linear-gradient(120deg, #1F3FA8, #7C5CE6) !important; color: #fff !important; font-size: 13.5px; line-height: 1.8; text-align: center; box-shadow: 0 -6px 24px rgba(16, 24, 40, .18);
}
.woocommerce-store-notice a, p.demo_store a { color: #fff !important; text-decoration: underline; margin-inline-start: 10px; font-weight: 700; }

/* ---------- larger logo (the artwork carries small lettering) ---------- */
:root { --ab-head: 84px; }
.ab-logo .ab-logo__img { box-sizing: content-box; height: 52px; max-width: none; padding: 6px 14px; border-radius: 14px; }
html[data-theme="dark"] .ab-logo .ab-logo__img { height: 58px; padding: 0; }
.ab-footer .ab-logo .ab-logo__img { height: 56px; }
@media (max-width: 680px) {
  :root { --ab-head: 72px; }
  .ab-logo .ab-logo__img { height: 42px; padding: 5px 10px; border-radius: 12px; }
  html[data-theme="dark"] .ab-logo .ab-logo__img { height: 48px; padding: 0; }
}
@media (max-width: 380px) {
  .ab-logo .ab-logo__img { height: 36px; padding: 4px 8px; }
  html[data-theme="dark"] .ab-logo .ab-logo__img { height: 42px; }
}
/* ---------- plan comparison (pricing page) ---------- */
.ab-compare { margin: 34px 0 6px; font-family: var(--ab-ff); }
.ab-compare > h2 { font-size: clamp(20px, 2.6vw, 26px); margin: 0 0 16px; text-align: center; color: var(--ab-ink); }
.ab-compare__box { background: var(--ab-sf); border: 1px solid var(--ab-bd); border-radius: var(--ab-r); box-shadow: var(--ab-shadow); overflow: hidden; }
.ab-compare__table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 14.5px; color: var(--ab-ink); }
.ab-compare__table th, .ab-compare__table td { padding: 15px 16px; text-align: center; border: 0; border-bottom: 1px solid var(--ab-bd); background: transparent; vertical-align: middle; }
.ab-compare__table thead th { font-size: 13px; font-weight: 700; color: var(--ab-mu); background: var(--ab-sf2); white-space: nowrap; }
.ab-compare__table tbody tr:last-child th, .ab-compare__table tbody tr:last-child td { border-bottom: 0; }
.ab-compare__table tbody th { text-align: start; font-weight: 800; white-space: nowrap; }
.ab-compare__table tbody th a { color: var(--ab-ink); }
.ab-compare__table tbody th small { display: block; font-size: 12px; font-weight: 600; color: var(--ab-ok); }
.ab-compare__table tr.is-best { background: color-mix(in srgb, var(--ab-tint) 60%, transparent); }
.ab-compare__price strong { font-size: 17px; }
.ab-compare__price del { color: var(--ab-mu); font-size: 13px; margin-inline-end: 6px; }
.ab-compare__act { white-space: nowrap; }
@media (max-width: 820px) {
  .ab-compare__box { background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .ab-compare__table, .ab-compare__table tbody, .ab-compare__table tr, .ab-compare__table th, .ab-compare__table td { display: block; width: 100%; }
  .ab-compare__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ab-compare__table tbody tr { background: var(--ab-sf); border: 1px solid var(--ab-bd); border-radius: 20px; padding: 6px 16px 14px; margin-bottom: 12px; box-shadow: var(--ab-shadow); }
  .ab-compare__table tbody tr.is-best { border-color: var(--ab-line); }
  .ab-compare__table tbody th { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--ab-bd); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .ab-compare__table tbody td { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; text-align: end; border-bottom: 1px dashed var(--ab-bd); }
  .ab-compare__table tbody td::before { content: attr(data-l); color: var(--ab-mu); font-size: 13px; }
  .ab-compare__table tbody td.ab-compare__act { border-bottom: 0; padding-bottom: 0; }
  .ab-compare__table tbody td.ab-compare__act::before { content: none; }
  .ab-compare__table tbody td.ab-compare__act .ab-btn { width: 100%; }
}
/* ---------- full-width page template (block editor / page builders) ---------- */
.ab-main--full { padding: 0; }
.ab-full { width: 100%; max-width: none; margin: 0; }
.ab-full > *:not(.alignfull):not(.elementor) { max-width: var(--ab-w); margin-inline: auto; padding-inline: 20px; }
.ab-full .elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--ab-w); }

/* ---------- media & text blocks always stack on phones (some landing pages were saved without the stacking flag) ---------- */
@media (max-width: 680px) {
  .entry-content .wp-block-media-text { grid-template-columns: 100% !important; }
  .entry-content .wp-block-media-text > .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
  .entry-content .wp-block-media-text > .wp-block-media-text__content { grid-column: 1; grid-row: 2; padding: 14px 0 0; }
}

/* ---------- footer link lists ---------- */
.ab-fwidget__title { margin: 0 0 12px; font-weight: 800; font-size: 15px; color: var(--ab-ink); }
.ab-flinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ab-flinks a { color: var(--ab-mu); font-size: 14px; }
.ab-flinks a:hover { color: var(--ab-ac-ink); }

/* ---------- plans inside articles ---------- */
.entry-content .ab-content-plans { margin: 24px 0 8px; }
.entry-content .ab-content-plans ul { padding: 0; }

/* ---------- footer brand (mark + text, no artwork tile) ---------- */
.ab-fbrand { display: inline-flex; align-items: center; gap: 12px; color: var(--ab-ink); text-decoration: none; width: max-content; max-width: 100%; }
.ab-fbrand:hover { color: var(--ab-ink); }
.ab-fbrand__mark { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--ab-sf2); border: 1px solid var(--ab-bd); }
.ab-fbrand__img { display: block; width: 30px; height: 30px; object-fit: contain; }
.ab-fbrand__txt { display: grid; gap: 2px; line-height: 1.4; }
.ab-fbrand__name { font-size: 19px; font-weight: 800; color: var(--ab-ink); }
.ab-fbrand__tag { font-size: 12.5px; color: var(--ab-mu); }
/* ---------- header logo: one size in every mode ---------- */
.ab-header { --ab-logo-h: 52px; }
@media (max-width: 680px) { .ab-header { --ab-logo-h: 44px; } }
@media (max-width: 380px) { .ab-header { --ab-logo-h: 38px; } }
html .ab-header .ab-logo .ab-logo__img,
html[data-theme="dark"] .ab-header .ab-logo .ab-logo__img { box-sizing: border-box; height: var(--ab-logo-h); width: auto; max-width: none; padding: 0; border-radius: 0; background: transparent; }
/* ---------- header logo: same artwork, dark lettering on light backgrounds ---------- */
html .ab-header .ab-logo .ab-logo__img--light { display: none; }
html:not([data-theme="dark"]) .ab-header .ab-logo:has(.ab-logo__img--light) .ab-logo__img:not(.ab-logo__img--light) { display: none; }
html:not([data-theme="dark"]) .ab-header .ab-logo .ab-logo__img--light { display: block; }
/* Front page in light mode: the header floats over the dark hero until it sticks. */
html:not([data-theme="dark"]) body.home .ab-header:not(.is-stuck) .ab-logo .ab-logo__img:not(.ab-logo__img--light) { display: block; }
html:not([data-theme="dark"]) body.home .ab-header:not(.is-stuck) .ab-logo .ab-logo__img--light { display: none; }

/* ---------- footer: tidy mobile layout ---------- */
@media (max-width: 680px) {
  .ab-footer { padding-top: 30px; font-size: 14px; }
  .ab-footer__top { flex-direction: column; align-items: stretch; gap: 18px; padding-bottom: 22px; }
  .ab-footer__brand { max-width: none; gap: 12px; }
  .ab-footer__brand p { font-size: 13.5px; line-height: 1.9; }
  .ab-fbrand { width: 100%; }
  .ab-footer .ab-social { display: flex; gap: 10px; }
  .ab-footer__cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ab-footer__cta .ab-btn { width: 100%; min-width: 0; justify-content: center; padding-inline: 10px; white-space: nowrap; }
  .ab-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; padding: 22px 0; }
  .ab-footer__col:last-child { grid-column: 1 / -1; }
  .ab-fwidget + .ab-fwidget { margin-top: 0; }
  .ab-fwidget__title { margin-bottom: 10px; }
  .ab-flinks { gap: 9px; }
  .ab-flinks a { display: inline-block; line-height: 1.6; overflow-wrap: anywhere; }
  .ab-footer__bar { align-items: center; text-align: center; gap: 12px; padding: 18px 0 calc(22px + env(safe-area-inset-bottom, 0px)); }
  .ab-footer__menu ul { justify-content: center; gap: 6px 16px; }
}


/* header: keep the desktop menu from colliding with the action buttons on narrow laptops/tablets */
@media (min-width: 901px) and (max-width: 1240px) {
  .ab-nav__list { gap: 0; }
  .ab-nav__list a { padding: 8px 8px; font-size: 13.8px; }
}


/* shop: the page's first table row must not pick up the generic .entry-content header style */
.entry-content .ab-compare__table tbody tr:first-child th { font-weight: 800; color: var(--ab-ink); background: transparent; font-size: inherit; }
.entry-content .ab-compare__table tbody tr:first-child th small { font-weight: 600; color: var(--ab-ok); }


/* Articles use the same full content width as every other page. */
.ab-main--post .ab-wrap--narrow { max-width: var(--ab-w); }
.ab-post__cover img { max-height: 520px; object-fit: cover; }

/* Pages and articles sit directly on the page, full content width, like the shop and download pages (no inner white box). */
.ab-content { background: transparent; border: 0; box-shadow: none; padding: 0; border-radius: 0; }

/* blog images: show the whole picture inside the frame */
.ab-card__media{display:flex;align-items:center;justify-content:center}
.ab-card__media img{width:100%;height:100%;object-fit:contain;object-position:center}
.ab-card:hover .ab-card__media img{transform:scale(1.02)}
.ab-post__cover{display:flex;justify-content:center;background:var(--ab-tint);border-radius:18px;overflow:hidden}
.ab-post__cover img{width:auto;max-width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:0}

/* admin bar: keep the sticky header below it */
body.admin-bar .ab-header{top:var(--wp-admin--admin-bar--height,32px)}
html:has(body.admin-bar){scroll-padding-top:calc(var(--wp-admin--admin-bar--height,32px) + var(--ab-head,72px))}

/* ---------- mobile polish: nothing wider than the screen, centred copy, bigger tap targets ---------- */
@media (max-width: 700px) {
  html, body { overflow-x: clip; }
  body .ab-header__in { gap: 8px; }
  body .ab-header__tools { gap: 6px; min-width: 0; }
  body .ab-header__tools .ab-iconbtn { width: 40px; height: 40px; flex: none; }
  body .ab-header .ab-logo { min-width: 0; flex: 0 1 auto; }

  /* centred copy: headings, intros, cards, bands, footer */
  body .ab-hero__title, body .ab-hero__text, body .ab-sec__head, body .ab-sec__head h2, body .ab-sec__head p,
  body .ab-why__i, body .ab-why__i h3, body .ab-why__i p,
  body .ab-use, body .ab-use h3, body .ab-use p,
  body .ab-infra__copy h2, body .ab-infra__copy > p,
  body .ab-vps__txt, body .ab-vps__txt h3, body .ab-vps__txt p,
  body .ab-step, body .ab-step h3, body .ab-step p,
  body .ab-band, body .ab-band h2, body .ab-band p,
  body .ab-card__title, body .ab-card__text, body .ab-card__meta,
  body .abshop-plan__title, body .abshop-plan__toman, body .abshop-plan__monthly, body .abshop-note,
  body .ab-guides, body .ab-pagehead, body .ab-pagehead__title, body .ab-crumbs,
  body .ab-footer, body .ab-footer p, body .ab-footer h4, body .abf-about, body .abf-h, body .abf-copy,
  body .abp-hello, body .abp-hello h1, body .abp-hello p, body .abp-sum > div,
  body .abp-cx__q, body .abp-quick__miss { text-align: center; }
  body .ab-why__i, body .ab-use, body .ab-vps__txt, body .ab-step { justify-items: center; }
  body .ab-why__i > :is(svg, span, i):first-child, body .ab-use > :is(svg, span, i):first-child,
  body .ab-step > :is(svg, span, i):first-child { margin-inline: auto; }
  body .ab-guides, body .ab-crumbs, body .ab-social, body .ab-footer__social { justify-content: center; }
  body .abp-hello { display: grid; justify-items: center; }
  body .ab-footer .ab-fbrand, body .ab-footer .ab-social { justify-content: center; margin-inline: auto; }

  /* tap targets */
  body .ab-footer a, body .ab-guides a, body .ab-os__gd, body .abshop-plan__more, body .ab-link { display: inline-block; min-height: 40px; line-height: 40px; padding-block: 0; }
  body .ab-os__gd { display: block; text-align: center; }
  body .ab-conn__sw, body .ab-infra__sw { position: relative; }
  body .ab-conn__sw::after, body .ab-infra__sw::after { content: ""; position: absolute; inset: -11px -4px; }

  /* wide things scroll inside themselves instead of widening the page */
  body table { display: block; max-width: 100%; overflow-x: auto; }
  body img, body video, body iframe, body pre { max-width: 100%; }
  body pre, body code { white-space: pre-wrap; overflow-wrap: anywhere; }
  body .woocommerce-MyAccount-navigation ul { scrollbar-width: none; }
}
@media (max-width:700px){
  body .abf-main, body .abf-brand, body .abf-col, body .abf-links, body .abf-links li, body .abf-links a{text-align:center;justify-items:center}
  body .abf-brand .ab-fbrand, body .abf-brand .ab-social{justify-content:center;margin-inline:auto}
  body .abf-links a{display:block;min-height:40px;line-height:40px}
}
