/* =====================================================================
   آکادمی انار – theme styles
   Everything is scoped to .anar-* classes so Zephyr / WPBakery pages
   keep their own look; only header, footer and the new templates change.
   ===================================================================== */

:root {
	--a-red: #E1112E;
	--a-red-h: #B00D24;
	--a-red-2: #FF4D5E;
	--a-ink: #1E1424;
	--a-ink-2: #2E2234;
	--a-ink-3: #3A2A40;
	--a-bg: #FFF6F3;
	--a-y: #FFD447;
	--a-pink: #FFE3E6;
	--a-line: #F1DCDC;
	--a-mut: #7A6A75;
	--a-mut-2: #5A4A55;
	--a-mut-3: #CDBFD2;
	--a-soft: #F6F3F5;
	--a-code: #120B16;
	--a-green: #15803D;
	--a-font: "Anar IRANSans", IRANSans, IRANSansWeb, Vazirmatn, Tahoma, sans-serif;
	--a-shadow: 0 2px 0 var(--a-line);
	--a-shadow-lg: 0 10px 30px rgba(30, 20, 36, .08);
	--a-wrap: 1240px;
	--a-gap: 20px;
	--a-header-h: 84px;
}

/* ---------- base ---------- */

body.anar { background: var(--a-bg); }
body.anar-tpl .l-canvas { background: var(--a-bg); }
body.anar .l-canvas { flex-grow: 0; }

.anar-header, .anar-footer, .anar-page, .anar-drawer, .anar-search, .anar-mbar, .anar-announce, .anar-comments {
	font-family: var(--a-font);
	color: var(--a-ink);
	direction: rtl;
	text-align: right;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}
.anar-page *, .anar-header *, .anar-footer *, .anar-drawer *, .anar-search *, .anar-mbar *, .anar-comments * { box-sizing: border-box; }
.anar-page a, .anar-header a, .anar-footer a, .anar-drawer a, .anar-comments a { color: var(--a-red); text-decoration: none; border: 0; }
.anar-page a:hover, .anar-comments a:hover { color: var(--a-red-h); }
.anar-page h1, .anar-page h2, .anar-page h3, .anar-page h4, .anar-comments h2, .anar-comments h3 {
	font-family: var(--a-font); color: var(--a-ink); font-weight: 900; letter-spacing: 0; text-transform: none; margin: 0; padding: 0;
}
.anar-page p { margin: 0; }
.anar-page ul, .anar-page ol, .anar-header ul, .anar-footer ul, .anar-drawer ul, .anar-comments ol, .anar-comments ul { margin: 0; padding: 0; list-style: none; }
.anar-page li, .anar-header li, .anar-footer li, .anar-drawer li, .anar-comments li { margin: 0; padding: 0; }
.anar-page img, .anar-header img, .anar-footer img { max-width: 100%; height: auto; }
.anar-page button, .anar-header button, .anar-drawer button, .anar-search button, .anar-comments button { font-family: var(--a-font); }
.anar-i { display: inline-block; flex: none; vertical-align: middle; }

.anar-wrap { max-width: var(--a-wrap); margin-inline: auto; padding-inline: 32px; }
.anar-page { padding-bottom: 72px; }
.anar-sec { margin-top: 72px; }
.anar-skip { position: absolute; right: 12px; top: -60px; z-index: 1000; background: var(--a-ink); color: #fff !important; padding: 10px 16px; border-radius: 12px; font-family: var(--a-font); }
.anar-skip:focus { top: 12px; }
#anar-main { outline: 0; }
.anar-page :focus-visible, .anar-header :focus-visible, .anar-drawer :focus-visible, .anar-footer :focus-visible, .anar-comments :focus-visible { outline: 3px solid var(--a-y); outline-offset: 2px; border-radius: 10px; }

/* ---------- buttons, tags, chips ---------- */

.anar-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 22px; border-radius: 16px; border: 2px solid transparent;
	font: 800 15px/1.4 var(--a-font); cursor: pointer; text-align: center; white-space: nowrap;
	transition: background .2s, color .2s, transform .15s, box-shadow .2s;
	text-decoration: none !important;
}
.anar-btn:active { transform: translateY(1px); }
.anar-btn.is-lg { min-height: 56px; padding: 15px 28px; font-size: 17px; border-radius: 18px; font-weight: 900; }
.anar-btn.is-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; border-radius: 12px; }
.anar-btn.is-block { display: flex; width: 100%; }
.anar-btn.is-red, .anar-page a.anar-btn.is-red, .anar-header a.anar-btn.is-red, .anar-drawer a.anar-btn.is-red { background: var(--a-red); color: #fff; }
.anar-btn.is-red:hover { background: var(--a-red-h); color: #fff; }
.anar-btn.is-dark, a.anar-btn.is-dark { background: var(--a-ink); color: #fff; }
.anar-btn.is-dark:hover { background: #000; color: #fff; }
.anar-btn.is-white, a.anar-btn.is-white { background: #fff; color: var(--a-red); }
.anar-btn.is-white:hover { background: var(--a-y); color: var(--a-ink); }
.anar-btn.is-ghost, a.anar-btn.is-ghost { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.5); }
.anar-btn.is-ghost:hover { background: rgba(255,255,255,.28); color: #fff; }
.anar-btn.is-yellow, a.anar-btn.is-yellow { background: var(--a-y); color: var(--a-ink); }
.anar-btn.is-yellow:hover { background: #FFE07A; color: var(--a-ink); }
.anar-btn.is-dark-y, a.anar-btn.is-dark-y { background: var(--a-ink); color: var(--a-y); }
.anar-btn.is-dark-y:hover { background: #000; color: var(--a-y); }
.anar-btn.is-darkline, a.anar-btn.is-darkline { background: var(--a-ink-2); color: #fff; border-color: var(--a-ink-3); }
.anar-btn.is-darkline:hover { background: var(--a-ink-3); color: #fff; }
.anar-btn.is-soft, a.anar-btn.is-soft { background: var(--a-bg); color: var(--a-ink); }
.anar-btn.is-soft:hover { background: var(--a-pink); color: var(--a-ink); }
.anar-btn.is-outline, a.anar-btn.is-outline { background: #fff; color: var(--a-ink); border-color: var(--a-line); }
.anar-btn.is-outline:hover { border-color: var(--a-ink); color: var(--a-ink); }
.anar-btn.is-disabled { background: var(--a-soft); color: var(--a-mut); cursor: not-allowed; }
.anar-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.anar-tag {
	display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 30px;
	font: 800 12.5px/1.6 var(--a-font); white-space: nowrap;
}
.anar-tag.is-lg { font-size: 14px; padding: 6px 14px; }
.anar-tag.is-yellow { background: var(--a-y); color: var(--a-ink); }
.anar-tag.is-pink, a.anar-tag.is-pink { background: var(--a-pink); color: var(--a-red); }
.anar-tag.is-red { background: var(--a-red); color: #fff; }
.anar-tag.is-green { background: #DDF5E6; color: var(--a-green); }
.anar-tag.is-yk { background: var(--a-ink-3); color: var(--a-y); }
.anar-tag.is-dk { background: var(--a-ink-3); color: var(--a-mut-3); font-weight: 600; }
.anar-tag.is-dark-y { background: var(--a-ink); color: var(--a-y); }
.anar-tag.is-glass { background: rgba(255,255,255,.18); color: #fff; }
.anar-tag .anar-i-star { color: var(--a-y); }
.anar-pill { background: var(--a-soft); color: var(--a-mut-2); border-radius: 30px; padding: 3px 12px; font-size: 13px; font-weight: 700; }

.anar-kicker { display: block; color: var(--a-red); font-weight: 800; font-size: 15px; }
.anar-kicker.is-yellow { color: var(--a-y); }

.anar-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.anar-chips.is-scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin: 0 0 26px; }
.anar-chips.is-scroll::-webkit-scrollbar { display: none; }
.anar-page a.anar-chip, .anar-chip {
	display: inline-flex; align-items: center; background: #fff; color: var(--a-ink); padding: 8px 16px; border-radius: 30px;
	border: 2px solid var(--a-line); font-weight: 700; font-size: 14px; white-space: nowrap; transition: .2s;
}
.anar-page a.anar-chip:hover { border-color: var(--a-ink); color: var(--a-ink); }
.anar-page a.anar-chip.is-on, .anar-chip.is-on { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }

.anar-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.anar-page a.anar-link.is-yellow { color: var(--a-y); }

.anar-card { background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--a-shadow); }
.anar-card > h2, .anar-card-head h2 { font-size: 24px; margin-bottom: 16px; }
.anar-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.anar-card-head h2 { margin: 0; }
.anar-card-head small { color: var(--a-mut); font-size: 14px; }

.anar-grid { display: grid; gap: var(--a-gap); }
.anar-grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.anar-grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.anar-grid.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.anar-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.anar-sec-head h2 { font-size: 36px; line-height: 1.4; margin-top: 4px; }
.anar-sec-head p { color: var(--a-mut-2); font-size: 16px; margin-top: 8px; }
.anar-sec-head.is-tight { align-items: center; margin-bottom: 20px; }
.anar-sec-head.is-tight h2 { font-size: 28px; margin: 0; }
.anar-more { text-align: center; margin-top: 28px; }

.anar-crumbs { font-size: 13px; color: var(--a-mut); margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.anar-page .anar-crumbs a { color: var(--a-mut); }
.anar-page .anar-crumbs a:hover { color: var(--a-red); }
.anar-crumbs [aria-current] { color: var(--a-ink); font-weight: 700; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.anar-noimg { display: grid; place-items: center; width: 100%; height: 100%; min-height: 120px; color: var(--a-mut-3); background: var(--a-soft); }
.anar-dot { position: absolute; border-radius: 50%; pointer-events: none; }

/* ---------- announcement & header ---------- */

.anar-announce { background: var(--a-ink); color: var(--a-y); font-size: 14px; font-weight: 700; text-align: center; padding: 9px 16px; line-height: 1.6; }
.anar-announce a { color: #fff !important; margin-right: 8px; text-decoration: underline !important; text-underline-offset: 4px; }

.anar-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 246, 243, .9); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .2s; }
.admin-bar .anar-header { top: 32px; }
.anar-header.is-stuck { box-shadow: 0 1px 0 var(--a-line), 0 8px 24px rgba(30,20,36,.06); }
.anar-header-in { display: flex; align-items: center; gap: 20px; min-height: var(--a-header-h); }

.anar-logo { display: flex; align-items: center; gap: 12px; color: var(--a-ink) !important; flex: none; }
.anar-logo-img { width: 50px !important; height: 56px !important; object-fit: contain; }
.anar-logo-text { display: flex; flex-direction: column; line-height: 1.35; }
.anar-logo-text b { font-size: 21px; font-weight: 900; white-space: nowrap; }
.anar-logo-text small { font-size: 12px; color: var(--a-mut); white-space: nowrap; }
.anar-logo.is-light { color: #fff !important; }
.anar-logo.is-light small { color: var(--a-mut-3); }
.anar-logo.is-small .anar-logo-img { width: 40px !important; height: 46px !important; }
.anar-logo.is-small .anar-logo-text b { font-size: 18px; }

.anar-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.anar-menu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; width: max-content; }
.anar-menu > li { position: relative; }
.anar-menu > li > a {
	display: flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 12px; color: var(--a-ink) !important;
	font-weight: 700; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s;
}
.anar-menu > li.menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-3px); margin-right: 4px; opacity: .6;
}
.anar-menu > li > a:hover, .anar-menu > li:focus-within > a, .anar-menu > li.is-open > a { background: #fff; color: var(--a-red) !important; }
.anar-menu > li.current-menu-item > a, .anar-menu > li.current-menu-ancestor > a, .anar-menu > li.current_page_item > a { background: var(--a-pink); color: var(--a-red) !important; }

.anar-menu .sub-menu {
	position: absolute; top: 100%; right: 0; z-index: 50; min-width: 240px; padding: 10px; margin-top: 8px;
	background: #fff; border-radius: 22px; box-shadow: 0 18px 50px rgba(30,20,36,.16), 0 0 0 1px var(--a-line);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.anar-menu .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.anar-menu > li:hover > .sub-menu, .anar-menu > li:focus-within > .sub-menu, .anar-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.anar-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 12px; color: var(--a-ink) !important; font-size: 14.5px; font-weight: 600; line-height: 1.6; }
.anar-menu .sub-menu a:hover { background: var(--a-bg); color: var(--a-red) !important; }
.anar-menu .sub-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 8px 0 0; margin: 0; min-width: 0; background: none; }
.anar-menu .sub-menu .sub-menu::before { display: none; }

/* mega menu: columns with a bold title each */
.anar-menu > li.anar-mega { position: static; }
.anar-menu > li.anar-mega > .sub-menu {
	right: 50%; transform: translate(50%, 6px); width: min(920px, calc(100vw - 48px));
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px 14px; padding: 22px;
}
.anar-menu > li.anar-mega:hover > .sub-menu, .anar-menu > li.anar-mega:focus-within > .sub-menu, .anar-menu > li.anar-mega.is-open > .sub-menu { transform: translate(50%, 0); }
.anar-menu > li.anar-mega > .sub-menu > li > a { font-weight: 900; font-size: 15px; color: var(--a-ink) !important; border-bottom: 2px solid var(--a-pink); border-radius: 0; padding: 6px 4px 10px; margin-bottom: 6px; }
.anar-menu > li.anar-mega > .sub-menu > li > a[href="#"] { pointer-events: none; }
.anar-menu > li.anar-mega > .sub-menu > li > a:hover { background: none; }
.anar-menu > li.anar-mega .sub-menu .sub-menu { padding: 0; }
.anar-menu > li.anar-mega .sub-menu .sub-menu a { padding: 7px 8px; font-weight: 600; color: var(--a-mut-2) !important; }
.anar-menu > li.anar-mega .sub-menu .sub-menu a:hover { color: var(--a-red) !important; }

.anar-actions { display: flex; align-items: center; gap: 10px; flex: none; margin-right: auto; }
.anar-ibtn {
	position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; padding: 0;
	border: 2px solid var(--a-line); background: #fff; color: var(--a-ink) !important; cursor: pointer; transition: border-color .2s, color .2s;
}
.anar-ibtn:hover { border-color: var(--a-ink); color: var(--a-red) !important; }
.anar-cart-n {
	position: absolute; top: -7px; left: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--a-red); color: #fff;
	font: 800 12px/22px var(--a-font); text-align: center; box-shadow: 0 0 0 2px var(--a-bg);
}
.anar-cart-n[hidden] { display: none; }
.anar-header .anar-panel-btn { min-height: 46px; padding: 10px 18px; border-radius: 14px; }
.anar-burger { display: none; }

/* compact header – set by JS when the menu does not fit, or by width */
.anar-header.is-compact .anar-nav { display: none; }
.anar-header.is-compact .anar-burger { display: grid; }
@media (max-width: 1100px) {
	.anar-nav { display: none; }
	.anar-burger { display: grid; }
}

/* search overlay */
.anar-search { position: fixed; inset: 0; z-index: 1000; background: rgba(30,20,36,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; }
.anar-search[hidden] { display: none; }
.anar-search-box { position: relative; width: min(760px, 100%); }
.anar-search form { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 24px; padding: 10px 18px 10px 10px; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.anar-search form > .anar-i { color: var(--a-mut); }
.anar-search input[type=search] { flex: 1; min-width: 0; height: 52px; border: 0 !important; background: none !important; box-shadow: none !important; font: 700 18px var(--a-font); color: var(--a-ink); padding: 0 6px; outline: 0; }
.anar-search select { height: 44px; border: 2px solid var(--a-line); border-radius: 12px; background: var(--a-bg); font: 600 13px var(--a-font); color: var(--a-ink); padding: 0 10px; max-width: 170px; }
.anar-search .anar-x { position: absolute; top: -60px; left: 0; background: rgba(255,255,255,.15); color: #fff !important; border-color: transparent; }

/* drawer (mobile menu) */
.anar-drawer { position: fixed; inset: 0; z-index: 1000; background: rgba(30,20,36,.55); }
.anar-drawer[hidden] { display: none; }
.anar-drawer-panel { position: absolute; top: 0; bottom: 0; right: 0; width: min(380px, 88vw); background: var(--a-bg); display: flex; flex-direction: column; overflow-y: auto; animation: anar-in .22s ease-out; }
@keyframes anar-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.anar-drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--a-line); }
.anar-drawer-search { display: flex; margin: 14px 18px 4px; background: #fff; border: 2px solid var(--a-line); border-radius: 16px; overflow: hidden; }
.anar-drawer-search input { flex: 1; min-width: 0; height: 46px; border: 0 !important; background: none !important; box-shadow: none !important; font: 600 15px var(--a-font); padding: 0 14px; color: var(--a-ink); }
.anar-drawer-search button { border: 0; background: none; padding: 0 14px; color: var(--a-ink); cursor: pointer; }
.anar-dmenu { padding: 8px 12px; }
.anar-dmenu li { position: relative; }
.anar-dmenu a { display: block; padding: 12px 12px; border-radius: 14px; color: var(--a-ink) !important; font-weight: 700; font-size: 16px; }
.anar-dmenu a:hover, .anar-dmenu .current-menu-item > a { background: #fff; color: var(--a-red) !important; }
.anar-dmenu .sub-menu { display: none; padding: 2px 14px 8px 0; border-right: 2px solid var(--a-line); margin-right: 14px; }
.anar-dmenu .sub-menu a { font-size: 15px; font-weight: 600; padding: 9px 12px; }
.anar-dmenu li.is-open > .sub-menu { display: block; }
.anar-dtoggle { position: absolute; left: 4px; top: 4px; width: 42px; height: 42px; border-radius: 12px; border: 0; background: none; color: var(--a-ink); cursor: pointer; display: grid; place-items: center; }
.anar-dtoggle .anar-i { transition: transform .2s; }
li.is-open > .anar-dtoggle .anar-i { transform: rotate(180deg); }
.anar-drawer-foot { margin-top: auto; padding: 16px 18px 24px; display: flex; flex-direction: column; gap: 12px; }
.anar-drawer-tel { display: flex; align-items: center; gap: 8px; color: var(--a-ink) !important; font-weight: 700; font-size: 14px; }
html.anar-lock, html.anar-lock body { overflow: hidden; }

/* ---------- footer ---------- */

.anar-footer { background: var(--a-ink); color: var(--a-mut-3); padding: 0 0 26px; margin-top: 0; }
body.anar:not(.anar-tpl) .anar-footer { margin-top: 0; }
.anar-footer-seo { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--a-ink-3); }
.anar-footer-seo a { color: var(--a-mut-3) !important; background: var(--a-ink-2); border-radius: 30px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.anar-footer-seo a:hover { color: var(--a-y) !important; }
.anar-footer-grid { display: grid; grid-template-columns: 2fr 1.3fr 1.2fr; gap: 40px; padding-top: 44px; padding-bottom: 32px; }
.anar-footer-about p { line-height: 2.1; margin: 16px 0 18px; font-size: 15px; }
.anar-footer-h { display: block; color: #fff; font-size: 17px; font-weight: 900; margin-bottom: 14px; }
.anar-flinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.anar-flinks a { color: var(--a-mut-3) !important; font-size: 15px; transition: color .2s; }
.anar-flinks a:hover { color: var(--a-y) !important; }
.anar-social { display: flex; gap: 10px; }
.anar-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--a-ink-2); color: var(--a-mut-3) !important; }
.anar-social a:hover { background: var(--a-red); color: #fff !important; }
.anar-footer-tel { display: flex; gap: 12px; align-items: center; background: var(--a-ink-2); border-radius: 18px; padding: 12px 16px; color: var(--a-mut-3) !important; margin-bottom: 14px; }
.anar-footer-tel span { display: flex; flex-direction: column; font-size: 13px; line-height: 1.6; }
.anar-footer-tel b { color: #fff; font-size: 17px; }
.anar-footer-tel .anar-i { color: var(--a-y); }
.anar-namad { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.anar-namad img { background: #fff; border-radius: 16px; padding: 6px; max-height: 120px; width: auto; }
.anar-copy { border-top: 1px solid var(--a-ink-3); padding-top: 20px; font-size: 13px; text-align: center; color: #A898A3; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

/* Zephyr's back-to-top button in our colours */
body.anar .w-toplink { background: var(--a-red) !important; border-radius: 14px !important; }

/* ---------- home ---------- */

.anar-hero { display: flex; gap: 28px; align-items: stretch; margin-top: 12px; }
.anar-hero-main { position: relative; overflow: hidden; flex: 1 1 560px; min-width: 0; background: var(--a-red); color: #fff; border-radius: 36px; padding: 56px 52px; }
.anar-hero-main .d1 { left: -60px; bottom: -60px; width: 260px; height: 260px; background: var(--a-red-2); }
.anar-hero-main .d2 { left: 120px; top: 40px; width: 22px; height: 22px; background: var(--a-y); animation: anar-float 5s ease-in-out infinite; }
.anar-hero-main .d3 { left: 70px; top: 90px; width: 14px; height: 14px; background: #FFB3BC; animation: anar-float 6s ease-in-out infinite reverse; }
@keyframes anar-float { 50% { transform: translateY(-10px); } }
.anar-hero-main > * { position: relative; }
.anar-page .anar-hero-main h1 { color: #fff; font-size: 56px; line-height: 1.3; margin: 22px 0 16px; }
.anar-hero-main p { font-size: 18px; line-height: 1.95; color: #FFE7EA; max-width: 520px; margin-bottom: 32px; }

.anar-feat { flex: 0 1 420px; min-width: 0; background: var(--a-ink); color: #fff !important; border-radius: 36px; padding: 26px; display: flex; flex-direction: column; gap: 16px; transition: transform .25s; }
.anar-feat:hover { transform: translateY(-4px); color: #fff !important; }
.anar-feat-top { display: flex; justify-content: space-between; align-items: center; }
.anar-feat-stars { color: var(--a-y); display: inline-flex; gap: 2px; }
.anar-feat-img { height: 250px; border-radius: 24px; background: var(--a-bg); display: grid; place-items: center; overflow: hidden; }
.anar-feat-img img { height: 250px !important; width: auto !important; object-fit: contain; }
.anar-feat-t b { display: block; font-size: 23px; font-weight: 900; line-height: 1.5; }
.anar-feat-t small { color: var(--a-mut-3); font-size: 15px; }
.anar-feat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; }
.anar-feat-foot s { color: #8E7E94; font-size: 14px; display: block; }
.anar-feat-foot b { color: var(--a-y); font-size: 22px; font-weight: 900; }

.anar-paths { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--a-gap); }
.anar-page a.anar-path { background: #fff; border-radius: 28px; padding: 26px; color: var(--a-ink); display: flex; flex-direction: column; gap: 6px; box-shadow: var(--a-shadow); transition: transform .2s, box-shadow .2s; }
.anar-page a.anar-path:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,20,36,.08); color: var(--a-ink); }
.anar-path-ic { width: 84px; height: 84px; border-radius: 22px; background: #fff; display: grid; place-items: center; overflow: hidden; border: 2px solid #F6E6E6; margin-bottom: 6px; }
.anar-path-ic img { width: 78px !important; height: 78px !important; object-fit: contain; }
.anar-path b { font-size: 20px; font-weight: 900; }
.anar-path span:last-child { color: var(--a-mut); }
.anar-page a.anar-path.is-dark { background: var(--a-ink); color: #fff; box-shadow: none; }
.anar-page a.anar-path.is-dark span:last-child { color: var(--a-mut-3); }

/* course card */
.anar-page a.anar-pcard { background: #fff; border-radius: 28px; padding: 14px; color: var(--a-ink); display: flex; flex-direction: column; gap: 12px; box-shadow: var(--a-shadow); transition: transform .2s, box-shadow .2s; }
.anar-page a.anar-pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,20,36,.08); color: var(--a-ink); }
.anar-pcard-img { position: relative; height: 210px; border-radius: 20px; background: var(--a-soft); display: grid; place-items: center; overflow: hidden; }
.anar-pcard-img img { width: 100% !important; height: 210px !important; object-fit: contain; display: block; transition: transform .3s; }
.anar-pcard:hover .anar-pcard-img img { transform: scale(1.04); }
.anar-off { position: absolute; top: 10px; right: 10px; background: var(--a-red); color: #fff; font-size: 12px; font-weight: 900; padding: 3px 10px; border-radius: 20px; }
.anar-pcard > .anar-tag { align-self: flex-start; margin: 0 4px; }
.anar-pcard-title { font-size: 17px; font-weight: 800; padding: 0 6px; min-height: 54px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anar-pcard-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 6px; margin-top: auto; gap: 8px; }
.anar-pcard-price s { color: #A898A3; font-size: 13px; display: block; line-height: 1.4; }
.anar-pcard-price b { color: var(--a-red); font-size: 17px; font-weight: 900; }
.anar-go { width: 44px; height: 44px; border-radius: 14px; background: var(--a-ink); color: #fff; display: grid; place-items: center; flex: none; transition: background .2s; }
.anar-pcard:hover .anar-go { background: var(--a-red); }

/* digital band + card */
.anar-darkband { margin-top: 72px; background: var(--a-ink); padding: 56px 0; }
.anar-darkband .anar-sec-head h2 { color: #fff; }
.anar-darkband .anar-sec-head p { color: var(--a-mut-3); }
.anar-page a.anar-dcard { background: var(--a-ink-2); border-radius: 28px; padding: 14px; color: #fff; display: flex; flex-direction: column; gap: 14px; transition: transform .2s; }
.anar-shop a.anar-dcard, .anar-product a.anar-dcard { background: var(--a-ink); }
.anar-page a.anar-dcard:hover { transform: translateY(-4px); color: #fff; }
.anar-dcard .anar-code { height: 176px; }
.anar-dcard-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 6px; }
.anar-dcard-title { font-size: 18px; font-weight: 800; padding: 0 6px; line-height: 1.6; min-height: 58px; }
.anar-dcard-foot { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 6px; margin-top: auto; }
.anar-dcard-foot b { color: var(--a-y); font-size: 18px; font-weight: 900; display: block; }
.anar-dcard-foot small { color: #A898A3; font-size: 13px; }
.anar-page a.anar-dcta { border: 2px dashed var(--a-ink-3); border-radius: 28px; padding: 26px; color: var(--a-mut-3); display: flex; flex-direction: column; gap: 12px; justify-content: center; transition: border-color .2s; }
.anar-page a.anar-dcta:hover { border-color: var(--a-y); color: var(--a-mut-3); }
.anar-dcta-ic { width: 60px; height: 60px; border-radius: 18px; background: var(--a-ink-2); color: var(--a-y); display: grid; place-items: center; }
.anar-dcta b { color: #fff; font-size: 20px; font-weight: 900; line-height: 1.6; }
.anar-dcta .anar-btn { align-self: flex-start; }
.anar-page a.anar-dcta.is-light { border-color: var(--a-line); color: var(--a-mut-2); background: #fff; }
.anar-page a.anar-dcta.is-light:hover { border-color: var(--a-ink); }
.anar-dcta.is-light b { color: var(--a-ink); }
.anar-dcta.is-light .anar-dcta-ic { background: var(--a-ink); }

/* code window */
.anar-code { background: var(--a-code); border-radius: 18px; padding: 14px; direction: ltr; text-align: left; overflow: hidden; }
.anar-code-bar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.anar-code-bar i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.anar-code-bar i:nth-child(2) { background: #FFBD2E; }
.anar-code-bar i:nth-child(3) { background: #28C840; }
.anar-code-bar span { margin-left: 10px; color: #7A6A85; font: 12px ui-monospace, Menlo, Consolas, monospace; }
.anar-code pre { margin: 0 !important; padding: 0 !important; background: none !important; border: 0 !important; overflow: hidden; }
.anar-code code { font: 13px/1.75 ui-monospace, Menlo, Consolas, monospace !important; color: var(--a-mut-3) !important; background: none !important; white-space: pre; padding: 0 !important; }
.anar-code .c-com { color: #7A6A85; }
.anar-code .c-str { color: #7EE0B0; }
.anar-code .c-var { color: var(--a-y); }
.anar-code .c-key { color: #FF7A8A; }

/* lead form */
.anar-lead { background: var(--a-y); border-radius: 36px; padding: 44px 48px; display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.anar-lead-t { flex: 1 1 420px; }
.anar-lead-t h2 { font-size: 34px; line-height: 1.45; margin: 16px 0 12px; }
.anar-lead-t p { font-size: 16px; line-height: 2; color: #4A3A2A; }
.anar-lead-f { flex: 1 1 380px; background: #fff; border-radius: 28px; padding: 26px; min-width: 0; }

/* Gravity Forms / generic forms inside our boxes */
.anar-form .gform_wrapper { margin: 0 !important; }
.anar-form .gform_wrapper .gform_body ul, .anar-form .gform_fields { margin: 0 !important; padding: 0 !important; list-style: none !important; display: flex; flex-direction: column; gap: 12px; }
.anar-form .gform_wrapper .gfield { margin: 0 !important; padding: 0 !important; max-width: none !important; width: 100% !important; }
.anar-form .gform_wrapper .gfield_label, .anar-form label { font: 700 14px/1.6 var(--a-font) !important; color: var(--a-ink) !important; margin: 0 0 6px !important; display: block; }
.anar-form input[type=text], .anar-form input[type=email], .anar-form input[type=tel], .anar-form input[type=number], .anar-form select, .anar-form textarea {
	width: 100% !important; height: 50px; border-radius: 14px !important; border: 2px solid var(--a-line) !important; padding: 0 14px !important; font: 600 15px var(--a-font) !important;
	background: #fff !important; color: var(--a-ink) !important; box-shadow: none !important; margin: 0 !important;
}
.anar-form textarea { height: 110px; padding: 12px 14px !important; }
.anar-form input:focus, .anar-form select:focus, .anar-form textarea:focus { border-color: var(--a-ink) !important; outline: 0; }
.anar-form .gform_footer { margin: 14px 0 0 !important; padding: 0 !important; }
.anar-form .gform_footer input[type=submit], .anar-form .gform_button, .anar-form button[type=submit] {
	width: 100% !important; height: 54px; border: 0 !important; border-radius: 16px !important; background: var(--a-red) !important; color: #fff !important;
	font: 900 17px var(--a-font) !important; cursor: pointer; margin: 0 !important; padding: 0 20px !important;
}
.anar-form .gform_footer input[type=submit]:hover, .anar-form .gform_button:hover { background: var(--a-red-h) !important; }
.anar-form .validation_error, .anar-form .gform_validation_errors { border-radius: 14px !important; font-size: 14px; }
.anar-form .gfield_description { font-size: 13px; }

/* articles + instagram */
.anar-split { display: flex; gap: 28px; flex-wrap: wrap; }
.anar-split-main { flex: 2 1 640px; min-width: 0; }
.anar-split-side { flex: 1 1 340px; min-width: 0; }
.anar-darkbox { background: var(--a-ink); border-radius: 32px; padding: 28px; color: #fff; display: flex; flex-direction: column; gap: 16px; }
.anar-page .anar-darkbox h2 { color: #fff; font-size: 24px; }
.anar-stack { display: flex; flex-direction: column; gap: 10px; }

.anar-page a.anar-prow { background: #fff; border-radius: 24px; padding: 12px; display: flex; gap: 14px; align-items: center; color: var(--a-ink); box-shadow: var(--a-shadow); transition: transform .2s; }
.anar-page a.anar-prow:hover { transform: translateY(-3px); color: var(--a-ink); }
.anar-prow-img { width: 132px; height: 96px; flex: none; border-radius: 16px; overflow: hidden; background: var(--a-soft); }
.anar-prow-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.anar-prow-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.anar-prow-body .anar-kicker { font-size: 12px; }
.anar-prow-body b { font-size: 16px; line-height: 1.65; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.anar-page a.anar-mini { display: flex; align-items: center; gap: 12px; color: var(--a-ink); font-weight: 700; font-size: 14.5px; line-height: 1.7; }
.anar-page a.anar-mini:hover { color: var(--a-red); }
.anar-mini-img { width: 76px; height: 56px; flex: none; border-radius: 12px; overflow: hidden; background: var(--a-soft); }
.anar-mini-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.anar-mini-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anar-page a.anar-mini.is-dark { background: var(--a-ink-2); border-radius: 18px; padding: 10px 12px; color: #fff; }
.anar-page a.anar-mini.is-dark:hover { background: var(--a-ink-3); color: #fff; }
.anar-mini.is-dark .anar-mini-img { background: var(--a-ink-3); }

/* community */
.anar-community { border-radius: 36px; background: #fff; display: flex; flex-wrap: wrap; overflow: hidden; box-shadow: var(--a-shadow); }
.anar-community-img { flex: 1 1 460px; min-width: 0; height: 340px !important; object-fit: cover; display: block; }
.anar-community-t { flex: 1 1 460px; padding: 44px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.anar-community-t h2 { font-size: 32px; }
.anar-community-t p { font-size: 16px; line-height: 2; color: var(--a-mut-2); }

/* ---------- shop ---------- */

.anar-shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.anar-shop-head h1 { font-size: 40px; line-height: 1.4; }
.anar-shop-head p { color: var(--a-mut-2); font-size: 16px; margin-top: 8px; }
.anar-tabs { display: flex; background: #fff; border-radius: 20px; padding: 6px; gap: 6px; box-shadow: var(--a-shadow); flex-wrap: wrap; }
.anar-tabs button {
	border: 0; cursor: pointer; font: 900 16px/1.4 var(--a-font); padding: 13px 22px; border-radius: 15px; background: transparent; color: var(--a-ink);
	display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s; min-height: 48px; box-shadow: none; margin: 0;
}
.anar-tabs button small { font-size: 12px; font-weight: 800; background: var(--a-soft); color: var(--a-mut-2); border-radius: 20px; padding: 1px 8px; }
.anar-tabs button:hover { background: var(--a-bg); }
.anar-tabs button[aria-selected=true] { background: var(--a-red); color: #fff; }
.anar-tabs button[aria-selected=true] small { background: rgba(255,255,255,.22); color: #fff; }
.anar-tabs button[data-tab=digital][aria-selected=true] { background: var(--a-ink); color: var(--a-y); }
.anar-tabs.is-wide { margin-bottom: 4px; }
.anar-tabs.is-wide button { font-size: 15px; font-weight: 800; padding: 10px 18px; min-height: 44px; }
.anar-tabs.is-wide button[aria-selected=true] { background: var(--a-ink); color: #fff; }
.anar-tabpanel[hidden] { display: none !important; }
.anar-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.anar-sort { display: inline-flex; align-items: center; gap: 8px; color: var(--a-mut); font-size: 14px; font-weight: 700; }
.anar-sort select { height: 42px; border: 2px solid var(--a-line) !important; border-radius: 12px !important; background: #fff !important; font: 800 14px var(--a-font) !important; color: var(--a-ink) !important; padding: 0 12px !important; box-shadow: none !important; width: auto !important; }
.anar-grid .is-hidden { display: none !important; }
.anar-empty { text-align: center; color: var(--a-mut); padding: 30px 0; }
.anar-emptybox { background: #fff; border-radius: 28px; padding: 48px 24px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; box-shadow: var(--a-shadow); }
.anar-emptybox b { font-size: 22px; font-weight: 900; }
.anar-emptybox p { color: var(--a-mut-2); margin-bottom: 8px; }
.anar-termdesc { margin-top: 32px; }
.anar-perks { margin-top: 48px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.anar-perks > * { background: #fff; border-radius: 24px; padding: 22px; color: var(--a-ink) !important; display: flex; flex-direction: column; gap: 6px; }
.anar-perks .anar-i { color: var(--a-red); margin-bottom: 4px; }
.anar-perks b { font-size: 17px; font-weight: 900; }
.anar-perks p { color: var(--a-mut-2); line-height: 1.9; font-size: 14px; }
.anar-perks .is-yellow { background: var(--a-y); }
.anar-perks .is-yellow .anar-i { color: var(--a-ink); }
.anar-perks .is-yellow p { color: var(--a-ink); }
.anar-perks strong { font-size: 18px; }

/* WooCommerce notices on our pages */
.anar-page .woocommerce-message, .anar-page .woocommerce-info, .anar-page .woocommerce-error, .anar-page .woocommerce-notices-wrapper > * {
	border-radius: 18px; padding: 14px 18px; margin: 0 0 16px; list-style: none; background: #fff; box-shadow: var(--a-shadow); font-size: 15px;
}
.anar-page .woocommerce-error { background: var(--a-pink); color: var(--a-red-h); }

/* ---------- single product ---------- */

.anar-phero { position: relative; overflow: hidden; background: var(--a-red); border-radius: 36px; padding: 44px 48px; color: #fff; display: flex; gap: 40px; align-items: center; }
.anar-phero .d4 { left: -80px; top: -80px; width: 320px; height: 320px; background: var(--a-red-2); }
.anar-phero > *:not(.anar-dot) { z-index: 1; }
.anar-phero-t { position: relative; flex: 1 1 520px; min-width: 0; }
.anar-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.anar-page .anar-phero h1 { color: #fff; font-size: 44px; line-height: 1.4; margin: 18px 0 10px; }
.anar-phero-sub { font-size: 18px; line-height: 1.9; color: #FFE7EA; margin-bottom: 26px !important; max-width: 640px; }
.anar-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.anar-stats div { background: rgba(255,255,255,.14); border-radius: 18px; padding: 12px 14px; line-height: 1.5; }
.anar-stats b { display: block; font-size: 17px; font-weight: 900; }
.anar-stats div:first-child b { font-size: 22px; }
.anar-stats small { font-size: 13px; opacity: .9; }
.anar-phero-img { position: relative; flex: none; width: 300px; height: 290px; border-radius: 28px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.anar-phero-img img { width: 100% !important; height: 100% !important; object-fit: contain; }

.anar-phero.is-dark { background: var(--a-ink); }
.anar-phero.is-dark .anar-phero-sub { color: var(--a-mut-3); }
.anar-phero.is-dark .anar-phero-t { flex: 1 1 500px; }
.anar-phero-code { position: relative; flex: 1 1 420px; min-width: 0; }
.anar-phero-code .anar-code { border-radius: 26px; padding: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.anar-phero-code .anar-code code { font-size: 14px !important; line-height: 1.9 !important; }
.anar-phero-code .anar-code-bar i { width: 12px; height: 12px; }
.anar-phero-code .anar-code pre { overflow-x: auto; }

.anar-pbody { display: flex; gap: 28px; align-items: flex-start; margin-top: 32px; }
.anar-pside { flex: 0 0 360px; order: 0; }
.anar-pmain { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.anar-sticky { position: sticky; top: calc(var(--a-header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.admin-bar .anar-sticky { top: calc(var(--a-header-h) + 48px); }

.anar-buy { background: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--a-shadow-lg); display: flex; flex-direction: column; gap: 10px; }
.anar-buy-old { display: flex; align-items: center; gap: 10px; color: #A898A3; }
.anar-buy-price { margin-bottom: 8px; }
.anar-buy-price b { font-size: 32px; font-weight: 900; }
.anar-buy-price small { font-size: 16px; font-weight: 700; }
.anar-buy-note { color: var(--a-mut); font-size: 14px; margin: -4px 0 8px !important; }
.anar-buy-wallet { flex-wrap: wrap; row-gap: 0; }
.anar-buy-wallet small { flex-basis: 100%; font-size: 12px; font-weight: 600; color: var(--a-mut); }
.anar-checks { display: flex; flex-direction: column; gap: 10px; margin-top: 12px !important; font-size: 15px; }
.anar-checks li { display: flex; gap: 8px; align-items: center; }
.anar-checks .anar-i { color: var(--a-green); }
.anar-specs { margin: 12px 0 0; font-size: 14px; }
.anar-specs div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--a-line); }
.anar-specs div:last-child { border-bottom: 0; }
.anar-specs dt { color: var(--a-mut); margin: 0; }
.anar-specs dd { margin: 0; font-weight: 800; text-align: left; }
.anar-help { background: var(--a-y); border-radius: 24px; padding: 18px 20px; font-size: 14px; line-height: 1.9; }
.anar-help b { font-size: 15px; }
.anar-page .anar-help a { color: var(--a-ink); font-weight: 900; }

.anar-video { border-radius: 28px; overflow: hidden; background: var(--a-ink); }
.anar-video video, .anar-video .anar-video-el { width: 100%; display: block; max-height: 520px; background: #000; }
.anar-embed { position: relative; padding-top: 56.25%; }
.anar-embed iframe, .anar-embed video, .anar-embed embed { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

.anar-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.anar-boxes.is-one { grid-template-columns: 1fr; }
.anar-boxes li { background: var(--a-bg); border-radius: 18px; padding: 14px 16px; font-weight: 700; display: flex; gap: 10px; align-items: flex-start; line-height: 1.8; }
.anar-boxes .anar-i { color: var(--a-red); margin-top: 4px; }

.anar-acc { display: flex; flex-direction: column; gap: 10px; }
.anar-acc details { border: 2px solid var(--a-line); border-radius: 20px; padding: 0 18px; transition: border-color .2s; }
.anar-acc details[open] { border-color: var(--a-red); }
.anar-acc summary, .anar-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 900; padding: 16px 0; }
.anar-acc summary::-webkit-details-marker, .anar-faq summary::-webkit-details-marker { display: none; }
.anar-acc summary::after, .anar-faq summary::after { content: "+"; font-size: 22px; font-weight: 700; line-height: 1; color: var(--a-red); flex: none; }
.anar-acc details[open] summary::after, .anar-faq details[open] summary::after { content: "−"; }
.anar-acc summary small { margin-right: auto; color: var(--a-mut); font-weight: 600; font-size: 13px; }
.anar-acc ul { padding: 0 0 16px !important; display: flex; flex-direction: column; gap: 8px; }
.anar-acc li { display: flex; align-items: center; gap: 8px; color: var(--a-mut-2); font-size: 15px; }
.anar-acc li .anar-i { color: var(--a-red); }
.anar-acc li em { font-style: normal; color: var(--a-red); font-weight: 800; font-size: 12px; background: var(--a-pink); padding: 1px 8px; border-radius: 20px; }
.anar-acc li small { margin-right: auto; color: var(--a-mut); }

.anar-faq details { border-bottom: 1px solid var(--a-line); }
.anar-faq details:last-child { border-bottom: 0; }
.anar-faq p { margin: 0 0 16px !important; color: var(--a-mut-2); line-height: 1.95; }

.anar-teacher { background: var(--a-ink); border-radius: 28px; padding: 24px; color: #fff; display: flex; gap: 22px; align-items: center; }
.anar-teacher img { width: 150px !important; height: 130px !important; object-fit: cover; border-radius: 22px; flex: none; }
.anar-page .anar-teacher h3 { color: #fff; font-size: 22px; margin: 4px 0 8px; }
.anar-teacher p { color: var(--a-mut-3); line-height: 1.9; }

.anar-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.anar-steps > div { background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--a-shadow); }
.anar-steps span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: #FFF3C4; font-weight: 900; color: #A67A00; font-size: 18px; }
.anar-steps .s2 span { background: var(--a-pink); color: var(--a-red); }
.anar-steps .s3 span { background: #DDF5E6; color: var(--a-green); }
.anar-steps b { display: block; margin: 12px 0 6px; font-size: 17px; font-weight: 900; }
.anar-steps p { color: var(--a-mut-2); font-size: 14px; line-height: 1.9; }
.anar-tabpanel > * + * { margin-top: 22px; }
.anar-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.anar-shots a { border-radius: 18px; overflow: hidden; background: var(--a-soft); display: block; }
.anar-shots img { width: 100% !important; height: 220px !important; object-fit: cover; display: block; transition: transform .3s; }
.anar-shots a:hover img { transform: scale(1.03); }
.anar-changelog h3 { font-size: 17px; margin: 14px 0 8px !important; }
.anar-changelog ul { display: flex; flex-direction: column; gap: 6px; }
.anar-changelog li { padding-right: 16px; position: relative; color: var(--a-mut-2); }
.anar-changelog li::before { content: ""; position: absolute; right: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--a-red); }

/* WPBakery / Zephyr content inside product description */
.anar-desc { overflow: hidden; }
.anar-desc-h { font-size: 24px !important; margin-bottom: 14px !important; }
.anar-desc .l-section, .anar-desc .vc_row { padding-left: 0 !important; padding-right: 0 !important; }
.anar-desc .l-section-h { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }
.anar-desc .l-section.width_full > .l-section-h { padding: 0 !important; }
.anar-desc .vc_row[data-vc-full-width] { left: 0 !important; width: auto !important; padding-left: 0 !important; padding-right: 0 !important; }

/* mobile sticky buy bar */
.anar-mbar { display: none; }

/* ---------- article ---------- */

.anar-ahero { display: flex; gap: 36px; align-items: center; }
.anar-ahero-t { flex: 1 1 520px; min-width: 0; }
.anar-ahero h1 { font-size: 44px; line-height: 1.4; margin: 16px 0 14px !important; }
.anar-ahero-sub { font-size: 18px; line-height: 1.95; color: var(--a-mut-2); margin-bottom: 20px !important; }
.anar-ameta { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; color: var(--a-mut); }
.anar-ameta > * { display: inline-flex; align-items: center; gap: 6px; }
.anar-page .anar-ameta a { color: var(--a-mut); }
.anar-ameta-author { color: var(--a-ink); font-weight: 800; }
.anar-rate { color: #C77C00; font-weight: 800; }
.anar-rate .anar-i { color: #F5A623; }
.anar-ahero-img { flex: 1 1 440px; min-width: 0; max-width: 560px; border-radius: 32px; overflow: hidden; background: var(--a-soft); }
.anar-ahero-img img { width: 100% !important; height: 320px !important; object-fit: cover; display: block; }

.anar-abody { display: flex; gap: 32px; align-items: flex-start; margin-top: 40px; }
.anar-acontent { flex: 1 1 auto; min-width: 0; border-radius: 32px; padding: 40px 44px; }
.anar-aside { flex: 0 0 340px; }
.anar-page a.anar-sidepromo { background: var(--a-red); border-radius: 28px; padding: 18px; color: #fff; display: flex; flex-direction: column; gap: 12px; }
.anar-page a.anar-sidepromo:hover { color: #fff; background: var(--a-red-h); }
.anar-sidepromo-img { height: 180px; background: #fff; border-radius: 20px; display: grid; place-items: center; overflow: hidden; }
.anar-sidepromo-img img { height: 180px !important; width: 100% !important; object-fit: contain; }
.anar-sidepromo > b { font-size: 18px; font-weight: 900; line-height: 1.6; }
.anar-sidepromo-foot { display: flex; justify-content: space-between; align-items: center; }
.anar-sidepromo-foot b { color: var(--a-y); }
.anar-sidelist { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.anar-sidelist > b, .anar-sidetoc > b { font-size: 17px; font-weight: 900; }
.anar-sidetoc { padding: 20px; }
.anar-sidetoc ol { margin-top: 10px !important; display: flex; flex-direction: column; gap: 2px; max-height: 40vh; overflow-y: auto; }
.anar-sidetoc li.l3 { padding-right: 14px; font-size: 13px; }
.anar-sidetoc a { display: block; padding: 5px 10px; border-radius: 10px; color: var(--a-mut-2) !important; font-size: 14px; line-height: 1.7; }
.anar-sidetoc a:hover, .anar-sidetoc a.is-on { background: var(--a-bg); color: var(--a-red) !important; }
.anar-sidelead { background: var(--a-y); border-radius: 28px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.anar-sidelead > b { font-size: 17px; font-weight: 900; }
.anar-sidelead p { font-size: 14px; line-height: 1.9; margin-bottom: 4px !important; }

.anar-atags { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.anar-page .anar-atags a { background: var(--a-soft); color: var(--a-mut-2); padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.anar-page .anar-atags a:hover { background: var(--a-pink); color: var(--a-red); }
.anar-share { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--a-line); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.anar-share a, .anar-share button { display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 40px; justify-content: center; padding: 0 10px; border-radius: 12px; background: var(--a-bg); border: 0; color: var(--a-ink) !important; cursor: pointer; font: 700 13px var(--a-font); }
.anar-share a:hover, .anar-share button:hover { background: var(--a-pink); color: var(--a-red) !important; }
.anar-share button.is-done { background: #DDF5E6; color: var(--a-green) !important; }

.anar-toc { margin: 10px 0 24px; background: var(--a-soft); border-radius: 18px; padding: 14px 18px; font-size: 15px; }
.anar-toc-t { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; padding: 0; font: 900 16px var(--a-font); color: var(--a-ink); cursor: pointer; }
.anar-toc-t[aria-expanded=false] .anar-i { transform: rotate(90deg); }
.anar-toc ol { margin: 8px 0 0 !important; padding: 0 !important; counter-reset: toc; }
.anar-toc li { counter-increment: toc; margin: 0 !important; list-style: none !important; }
.anar-toc li::before { content: counter(toc, persian) ". "; color: var(--a-red); font-weight: 800; }
.anar-toc a { color: var(--a-ink) !important; }
.anar-toc a:hover { color: var(--a-red) !important; }
.anar-toc-t[aria-expanded=false] + ol { display: none; }

.anar-authorbox { margin-top: 28px; background: var(--a-ink); border-radius: 28px; padding: 22px 26px; color: #fff; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.anar-authorbox > div { flex: 1 1 300px; }
.anar-page .anar-authorbox h3 { color: #fff; font-size: 20px; margin: 2px 0 6px; }
.anar-authorbox p { color: var(--a-mut-3); line-height: 1.9; font-size: 15px; }
.anar-prevnext { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.anar-page .anar-prevnext a { background: #fff; border-radius: 24px; padding: 18px 22px; color: var(--a-ink); box-shadow: var(--a-shadow); display: flex; flex-direction: column; gap: 4px; transition: transform .2s; }
.anar-page .anar-prevnext a:hover { transform: translateY(-3px); color: var(--a-red); }
.anar-prevnext a.is-next { text-align: left; }
.anar-prevnext small { color: var(--a-mut); }
.anar-prevnext b { font-weight: 800; line-height: 1.7; }
.anar-acomments { margin-top: 28px; }

/* post card (grids) */
.anar-post { background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--a-shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.anar-post:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(30,20,36,.08); }
.anar-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--a-soft); }
.anar-post-img img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .3s; }
.anar-post:hover .anar-post-img img { transform: scale(1.04); }
.anar-post-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.anar-post-body .anar-kicker { font-size: 12.5px; }
.anar-page .anar-post h3 { font-size: 17px; line-height: 1.65; font-weight: 800; }
.anar-page .anar-post h3 a { color: var(--a-ink); }
.anar-page .anar-post h3 a:hover { color: var(--a-red); }
.anar-post p { color: var(--a-mut-2); font-size: 14px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.anar-post-meta { margin-top: auto; padding-top: 6px; display: flex; align-items: center; gap: 5px; color: var(--a-mut); font-size: 12.5px; }
.anar-post-meta i { font-style: normal; margin: 0 4px; }
.anar-post-meta.is-price { color: var(--a-red); font-weight: 900; font-size: 15px; }

/* archive */
.anar-archead { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.anar-archead h1 { font-size: 40px; line-height: 1.4; margin-top: 4px !important; }
.anar-archead p { color: var(--a-mut-2); margin-top: 6px !important; max-width: 680px; }
.anar-archsearch { display: flex; width: min(360px, 100%); background: #fff; border: 2px solid var(--a-line); border-radius: 18px; overflow: hidden; }
.anar-archsearch:focus-within { border-color: var(--a-ink); }
.anar-archsearch input[type=search] { flex: 1; min-width: 0; height: 50px; border: 0 !important; background: none !important; box-shadow: none !important; font: 600 15px var(--a-font); padding: 0 16px; color: var(--a-ink); outline: 0; margin: 0; }
.anar-archsearch button { border: 0; background: var(--a-ink); color: #fff; width: 54px; cursor: pointer; display: grid; place-items: center; margin: 0; padding: 0; }

.anar-pages { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 36px; }
.anar-pages a, .anar-pages span { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 14px; background: #fff; color: var(--a-ink) !important; font-weight: 800; box-shadow: var(--a-shadow); font-family: var(--a-font); }
.anar-pages a:hover { background: var(--a-pink); color: var(--a-red) !important; }
.anar-pages .current { background: var(--a-ink); color: #fff !important; }
.anar-pages .dots { background: none; box-shadow: none; }

/* ---------- prose (article body, descriptions) ---------- */

.anar-prose { font-size: 17px; line-height: 2.1; color: #3A2E3E; overflow-wrap: break-word; }
.anar-prose > *:first-child { margin-top: 0 !important; }
.anar-prose p { margin: 0 0 18px; }
.anar-prose h2 { font-size: 26px; line-height: 1.6; margin: 34px 0 12px; scroll-margin-top: 110px; }
.anar-prose h3 { font-size: 21px; line-height: 1.6; margin: 28px 0 10px; scroll-margin-top: 110px; }
.anar-prose h4 { font-size: 18px; margin: 22px 0 8px; }
.anar-prose a { color: var(--a-red); text-decoration: underline; text-decoration-color: rgba(225,17,46,.35); text-underline-offset: 5px; }
.anar-prose a.anar-btn, .anar-prose .w-btn, .anar-prose a.vc_btn3, .anar-prose .ult_buttons a { text-decoration: none; }
.anar-prose ul, .anar-prose ol { margin: 0 0 18px !important; padding-right: 24px !important; }
.anar-prose ul { list-style: disc !important; }
.anar-prose ol { list-style: decimal !important; }
.anar-prose li { margin: 0 0 6px !important; }
.anar-prose ul li::marker { color: var(--a-red); }
.anar-prose blockquote { margin: 24px 0; background: var(--a-bg); border: 0; border-right: 4px solid var(--a-red); border-radius: 20px; padding: 18px 22px; font-weight: 700; color: var(--a-ink); font-style: normal; }
.anar-prose blockquote p:last-child { margin: 0; }
.anar-prose img { border-radius: 20px; height: auto; }
.anar-prose figure, .anar-prose .wp-caption { max-width: 100%; margin: 20px auto; }
.anar-prose figcaption, .anar-prose .wp-caption-text { font-size: 14px; color: var(--a-mut); text-align: center; }
.anar-prose iframe, .anar-prose video { max-width: 100%; border-radius: 20px; }
.anar-prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 15px; display: block; overflow-x: auto; }
.anar-prose th, .anar-prose td { border: 1px solid var(--a-line); padding: 10px 12px; }
.anar-prose th { background: var(--a-bg); }
.anar-prose code { background: var(--a-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.anar-prose pre { background: var(--a-code); color: var(--a-mut-3); border-radius: 18px; padding: 18px; direction: ltr; text-align: left; overflow-x: auto; }
.anar-prose pre code { background: none; padding: 0; }
.anar-prose hr { border: 0; border-top: 1px solid var(--a-line); margin: 28px 0; }

/* ---------- comments ---------- */

.anar-comments.anar-card { padding: 30px; }
.anar-comments-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.anar-comments-head h2 { font-size: 24px; margin: 0 !important; }
.anar-note { background: var(--a-bg); border-radius: 16px; padding: 14px 16px; color: var(--a-mut-2); margin: 0 0 18px !important; }
.anar-empty { margin: 8px 0 0; }

.anar-comments .comment-respond { background: var(--a-bg); border-radius: 24px; padding: 22px; margin: 0 0 24px; }
.anar-comments .anar-cm-list .comment-respond { margin: 12px 0 0; background: #fff; border: 2px solid var(--a-line); }
.anar-cform-title { font-size: 18px !important; margin: 0 0 6px !important; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.anar-cform-title small a { font-size: 13px; font-weight: 700; color: var(--a-mut) !important; }
.anar-comments .comment-respond > .anar-tag { margin-bottom: 12px; }
.anar-cform { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 10px; }
.anar-cform > * { grid-column: 1 / -1; margin: 0 !important; }
.anar-cform > .anar-field:not(.anar-field-msg):not(.anar-rating-pick) { grid-column: auto; }
.anar-cform-as { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--a-mut-2); }
.anar-field label, .anar-label { display: block; font: 700 14px/1.6 var(--a-font); color: var(--a-ink); margin: 0 0 6px; }
.anar-field label i, .anar-label i { color: var(--a-red); font-style: normal; }
.anar-field label small { color: var(--a-mut); font-weight: 600; }
.anar-field input:not([type=radio]):not([type=checkbox]), .anar-field textarea {
	width: 100% !important; border: 2px solid var(--a-line) !important; border-radius: 14px !important; background: #fff !important; box-shadow: none !important;
	font: 600 15px/1.8 var(--a-font) !important; color: var(--a-ink) !important; padding: 10px 14px !important; margin: 0 !important; height: auto; min-height: 50px;
}
.anar-field textarea { min-height: 130px; resize: vertical; }
.anar-field input:not([type=radio]):focus, .anar-field textarea:focus { border-color: var(--a-ink) !important; outline: 0; }
.anar-check { font-size: 14px; color: var(--a-mut-2); }
.anar-check label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.anar-check input { width: 18px; height: 18px; accent-color: var(--a-red); margin: 0; }
.anar-cform .form-submit { margin: 0 !important; display: flex; justify-content: flex-start; }
.anar-cform .form-submit .anar-btn { min-width: 180px; border: 0; }
.anar-cform .form-submit input.anar-btn { -webkit-appearance: none; appearance: none; height: 52px; }

.anar-stars-in { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.anar-stars-in { position: relative; }
.anar-stars-in input { position: absolute !important; opacity: 0; width: 1px !important; height: 1px !important; min-height: 0 !important; pointer-events: none; margin: 0 !important; right: 0; top: 0; }
.anar-stars-in label { margin: 0 !important; cursor: pointer; color: #D6D9DF; transition: color .15s, transform .15s; }
.anar-stars-in label:hover, .anar-stars-in label:hover ~ label, .anar-stars-in input:checked ~ label { color: #F5A623; }
.anar-stars-in label:hover { transform: scale(1.12); }
.anar-stars-in input:focus-visible + label { outline: 3px solid var(--a-y); border-radius: 6px; }

.anar-cm-list { display: flex; flex-direction: column; gap: 14px; }
.anar-cm-list .children { margin: 12px 30px 0 0 !important; padding: 0 16px 0 0 !important; border-right: 2px solid var(--a-line); display: flex; flex-direction: column; gap: 12px; list-style: none; }
.anar-cm-box { display: flex; gap: 14px; align-items: flex-start; }
.anar-av { flex: none; border-radius: 50%; display: inline-grid; place-items: center; background: var(--av, var(--a-ink)); color: #fff; font: 900 18px/1 var(--a-font); object-fit: cover; }
img.anar-av { background: var(--a-soft); }
.anar-cm-body { flex: 1; min-width: 0; background: var(--a-bg); border-radius: 4px 20px 20px 20px; padding: 14px 18px; }
.anar-cm.is-staff > .anar-cm-box .anar-cm-body { background: #FFF0F2; box-shadow: inset 0 0 0 2px var(--a-pink); }
.anar-cm-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.anar-cm-name { font-weight: 900; font-size: 15px; }
.anar-cm-rate { display: inline-flex; color: #F5A623; }
.anar-page .anar-cm-date, .anar-comments .anar-cm-date { margin-right: auto; color: var(--a-mut) !important; font-size: 12.5px; }
.anar-cm-wait { background: #FFF3C4; color: #8A6400; border-radius: 10px; padding: 6px 10px; font-size: 13px; margin: 6px 0 !important; }
.anar-cm-text { font-size: 15.5px; line-height: 2; color: #3A2E3E; overflow-wrap: anywhere; }
.anar-cm-text p { margin: 0 0 8px !important; }
.anar-cm-text p:last-child { margin: 0 !important; }
.anar-cm-foot { display: flex; gap: 14px; margin-top: 6px; font-size: 13px; }
.anar-cm-foot a { display: inline-flex; align-items: center; gap: 4px; color: var(--a-mut-2) !important; font-weight: 800; }
.anar-cm-foot a:hover { color: var(--a-red) !important; }
.anar-comments .bypostauthor > .anar-cm-box .anar-cm-name { color: var(--a-red); }

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
	.anar-grid.g4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.anar-hero-main { padding: 48px 40px; }
	.anar-page .anar-hero-main h1 { font-size: 48px; }
	.anar-aside { flex-basis: 300px; }
	.anar-pside { flex-basis: 330px; }
}

@media (max-width: 980px) {
	:root { --a-header-h: 72px; }
	.anar-wrap { padding-inline: 20px; }
	.anar-sec { margin-top: 56px; }
	.anar-hero { flex-direction: column; }
	.anar-feat, .anar-hero-main, .anar-phero > *, .anar-ahero > * { flex-basis: auto; }
	.anar-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.anar-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.anar-sec-head h2 { font-size: 30px; }
	.anar-footer-grid { grid-template-columns: 1fr 1fr; }
	.anar-footer-about { grid-column: 1 / -1; }
	.anar-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.anar-phero { flex-direction: column; align-items: stretch; padding: 32px 28px; }
	.anar-phero-img { width: 100%; height: 260px; order: -1; }
	.anar-phero .anar-dot { display: none; }
	.anar-page .anar-phero h1 { font-size: 34px; }
	.anar-pbody, .anar-abody { flex-direction: column; align-items: stretch; }
	.anar-pside, .anar-aside { flex-basis: auto; width: 100%; }
	.anar-pside { order: 0; }
	.anar-sticky { position: static; }
	.anar-aside .anar-sidetoc { display: none; }
	.anar-ahero { flex-direction: column; align-items: stretch; }
	.anar-ahero-img { max-width: none; order: -1; }
	.anar-ahero h1 { font-size: 34px; }
	.anar-acontent { padding: 28px 24px; }
	.anar-steps { grid-template-columns: 1fr; }

	.anar-mbar {
		display: flex; position: fixed; inset: auto 12px 12px 12px; z-index: 800; align-items: center; justify-content: space-between; gap: 12px;
		background: #fff; border-radius: 20px; padding: 10px 10px 10px 16px; box-shadow: 0 12px 40px rgba(30,20,36,.22); transform: translateY(140%); visibility: hidden; transition: transform .25s, visibility .25s;
	}
	.anar-mbar.is-on { transform: none; visibility: visible; }
	.anar-mbar s { display: block; color: #A898A3; font-size: 12px; line-height: 1.3; }
	.anar-mbar b { font-size: 17px; font-weight: 900; color: var(--a-red); }
	.anar-mbar.is-dark { background: var(--a-ink); }
	.anar-mbar.is-dark b { color: var(--a-y); }
	.anar-product { padding-bottom: 110px; }
}

@media (max-width: 760px) {
	.anar-header-in { gap: 10px; min-height: 68px; }
	.anar-logo-text small { display: none; }
	.anar-logo-img { width: 42px !important; height: 48px !important; }
	.anar-logo-text b { font-size: 18px; }
	.anar-ibtn { width: 42px; height: 42px; border-radius: 12px; }
	.anar-header .anar-panel-btn { min-height: 42px; padding: 8px 10px; }
	.anar-header .anar-panel-btn span { display: none; }
	.anar-actions { gap: 8px; }
	.anar-announce { font-size: 13px; padding: 8px 12px; }

	.anar-hero { margin-top: 4px; gap: 16px; }
	.anar-hero-main { border-radius: 28px; padding: 34px 24px; }
	.anar-page .anar-hero-main h1 { font-size: 36px; margin: 16px 0 12px; }
	.anar-hero-main p { font-size: 16px; margin-bottom: 24px; }
	.anar-hero-main .anar-btn.is-lg { flex: 1 1 auto; }
	.anar-feat { border-radius: 28px; padding: 18px; }
	.anar-feat-img, .anar-feat-img img { height: 200px !important; }

	.anar-paths { margin-top: 28px; gap: 12px; }
	.anar-page a.anar-path { padding: 16px; border-radius: 22px; }
	.anar-path-ic { width: 64px; height: 64px; border-radius: 18px; }
	.anar-path-ic img { width: 58px !important; height: 58px !important; }
	.anar-path b { font-size: 16px; }
	.anar-path span:last-child { font-size: 13px; }

	.anar-grid.g4, .anar-grid.g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.anar-grid.g2 { grid-template-columns: 1fr; gap: 12px; }
	.anar-page a.anar-pcard { border-radius: 22px; padding: 10px; gap: 8px; }
	.anar-pcard-img, .anar-pcard-img img { height: 150px !important; border-radius: 16px; }
	.anar-pcard-title { font-size: 14.5px; min-height: 46px; padding: 0 2px; }
	.anar-pcard-foot { padding: 0 2px 2px; }
	.anar-pcard-price b { font-size: 14.5px; }
	.anar-go { width: 36px; height: 36px; border-radius: 12px; }
	.anar-pcard > .anar-tag { font-size: 11px; padding: 2px 8px; margin: 0; }
	.anar-grid.g3 > .anar-dcard, .anar-grid.g3 > .anar-dcta { grid-column: 1 / -1; }
	.anar-shop .anar-grid.g3, .anar-darkband .anar-grid.g3, .anar-product .anar-grid.g3 { grid-template-columns: 1fr; }
	.anar-postgrid.anar-grid.g3 { grid-template-columns: 1fr; }
	.anar-post-img { aspect-ratio: 16 / 8; }

	.anar-sec-head h2 { font-size: 26px; }
	.anar-sec-head.is-tight h2 { font-size: 22px; }
	.anar-chips:not(.is-scroll) { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 4px; }
	.anar-chips::-webkit-scrollbar { display: none; }
	.anar-darkband { margin-top: 56px; padding: 40px 0; }
	.anar-lead { padding: 26px 20px; border-radius: 28px; gap: 20px; }
	.anar-lead-t h2 { font-size: 26px; }
	.anar-lead-f { padding: 18px; border-radius: 22px; }
	.anar-darkbox { border-radius: 26px; padding: 20px; }
	.anar-prow-img { width: 104px; height: 78px; }
	.anar-prow-body b { font-size: 15px; }
	.anar-community-img { height: 220px !important; flex-basis: 100%; }
	.anar-community-t { padding: 24px 22px; flex-basis: 100%; }
	.anar-community-t h2 { font-size: 26px; }

	.anar-shop-head h1, .anar-archead h1 { font-size: 30px; }
	.anar-tabs { width: 100%; }
	.anar-tabs button { flex: 1; justify-content: center; padding: 12px 10px; font-size: 14.5px; }
	.anar-tabs.is-wide { flex-wrap: nowrap; overflow-x: auto; }
	.anar-tabs.is-wide button { flex: none; }
	.anar-perks { grid-template-columns: 1fr; }

	.anar-phero { border-radius: 28px; padding: 26px 20px; gap: 22px; }
	.anar-page .anar-phero h1 { font-size: 28px; margin: 14px 0 8px; }
	.anar-phero-sub { font-size: 16px; }
	.anar-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.anar-phero-img { height: 220px; border-radius: 22px; }
	.anar-phero-code .anar-code code { font-size: 12px !important; }
	.anar-card { padding: 22px 18px; border-radius: 24px; }
	.anar-card > h2, .anar-card-head h2 { font-size: 20px; }
	.anar-boxes { grid-template-columns: 1fr; }
	.anar-teacher { flex-direction: column; align-items: flex-start; }
	.anar-teacher img { width: 100% !important; height: 220px !important; }
	.anar-shots { grid-template-columns: 1fr; }

	.anar-ahero h1 { font-size: 28px; }
	.anar-ahero-sub { font-size: 16px; }
	.anar-ahero-img { border-radius: 24px; }
	.anar-ahero-img img { height: 220px !important; }
	.anar-abody { margin-top: 24px; gap: 20px; }
	.anar-acontent { padding: 22px 18px; border-radius: 24px; }
	.anar-prose { font-size: 16px; line-height: 2.05; }
	.anar-prose h2 { font-size: 22px; }
	.anar-prose h3 { font-size: 19px; }
	.anar-prevnext { grid-template-columns: 1fr; }
	.anar-prevnext a.is-next { text-align: right; }

	.anar-comments.anar-card { padding: 20px 14px; }
	.anar-comments .comment-respond { padding: 16px; }
	.anar-cform { grid-template-columns: 1fr; }
	.anar-cform > .anar-field:not(.anar-field-msg):not(.anar-rating-pick) { grid-column: 1 / -1; }
	.anar-cm-list .children { margin-right: 8px !important; padding-right: 10px !important; }
	.anar-cm-box { gap: 10px; }
	.anar-cm-body { padding: 12px 14px; }

	.anar-footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
	.anar-footer-seo { padding-top: 22px; }
}

@media (max-width: 380px) {
	.anar-grid.g4 { grid-template-columns: 1fr 1fr; gap: 10px; }
	.anar-page .anar-hero-main h1 { font-size: 31px; }
	.anar-logo-text b { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.anar-page *, .anar-header *, .anar-drawer * { animation: none !important; transition: none !important; }
}

@media print {
	.anar-header, .anar-announce, .anar-footer, .anar-aside, .anar-pside, .anar-mbar, .anar-comments, .anar-share { display: none !important; }
}
