/* ==========================================================================
   قالب عابد — برگه‌ها و نوشته‌ها (درباره ما، تماس، سؤالات، راهنما، وبلاگ)
   ========================================================================== */

.ab-article { padding: 20px; background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius-lg); }
@media (min-width: 900px) { .ab-article { padding: 36px 44px; } }
.ab-article__img img { width: 100%; border-radius: var(--ab-radius); margin-bottom: 20px; }

/* بلوک‌های رایج وردپرس */
.ab-prose .wp-block-button__link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 20px; border-radius: var(--ab-radius-sm); background: var(--ab-green); color: #fff; text-decoration: none; font-weight: 700; }
.ab-prose .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ab-green); border: 1.5px solid var(--ab-green); }
.ab-prose .wp-block-columns { gap: 20px; }
.ab-prose .wp-block-separator { border: 0; border-top: 1px solid var(--ab-line); margin: 2em 0; max-width: none; }
.ab-prose .wp-block-image figcaption { font-size: 13px; color: var(--ab-muted); text-align: center; }

/* سؤالات متداول (بلوک details) */
.ab-prose details { margin: 0 0 10px; border: 1px solid var(--ab-line); border-radius: 12px; background: #fff; max-width: none; }
.ab-prose details summary { padding: 14px 16px; cursor: pointer; font-weight: 800; color: var(--ab-green-900); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.ab-prose details summary::-webkit-details-marker { display: none; }
.ab-prose details summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--ab-gold-700); }
.ab-prose details[open] summary::after { content: "−"; }
.ab-prose details > :not(summary) { padding: 0 16px 14px; margin: 0; }

/* فهرست نوشته‌ها */
.ab-posts { display: grid; gap: 16px; }
@media (min-width: 700px) { .ab-posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ab-posts { grid-template-columns: repeat(3, 1fr); } }
.ab-post { background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); overflow: hidden; }
.ab-post__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ab-post__body { padding: 16px; }
.ab-post__title { font-size: 17px; margin: 0 0 4px; }
.ab-post__title a { color: var(--ab-text); }
.ab-post__excerpt { font-size: 14px; color: var(--ab-text-2); }

/* دیدگاه‌ها */
.ab-comments { margin-top: 24px; padding: 20px; background: #fff; border: 1px solid var(--ab-line); border-radius: var(--ab-radius); }
.ab-comments__list { list-style: none; display: grid; gap: 12px; margin-bottom: 20px; }
.ab-comments .comment-body { padding: 14px; background: var(--ab-bg); border-radius: 12px; }
.ab-comments .form-submit input { background: var(--ab-green); color: #fff; border: 0; border-radius: var(--ab-radius-sm); min-height: 44px; padding: 8px 22px; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   برگه‌های طراحی‌شده: تماس، پیگیری سفارش، روش‌های ارسال، سربرگ درباره ما
   ========================================================================== */
.ab-prose > .ab-pg, .ab-prose > .ab-section { max-width: none; }
.ab-prose .ab-pg h2, .ab-prose .ab-pg h3 { margin-top: 0; }
.ab-pg { line-height: 1.9; }
.ab-pg__lead { margin: 0 0 20px; font-size: 15.5px; color: var(--ab-text-2); max-width: 70ch; }
.ab-prose .ab-pg__h { font-size: 19px; color: var(--ab-green-900); margin: 28px 0 14px; }
.ab-pg a { text-decoration: none; }

/* واحدهای تماس */
.ab-units { display: grid; gap: 14px; }
@media (min-width: 760px) { .ab-units { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-unit { display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--ab-line); border-radius: 18px; background: linear-gradient(180deg, #fff, var(--ab-bg)); }
.ab-unit__head { display: flex; gap: 12px; align-items: center; }
.ab-unit__ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--ab-green-50); color: var(--ab-green); }
.ab-unit__ic .ab-i { width: 23px; height: 23px; }
.ab-prose .ab-unit__title { margin: 0; font-size: 17px; color: var(--ab-green-900); }
.ab-unit__note { margin: 0; font-size: 13px; color: var(--ab-muted); line-height: 1.6; }
.ab-prose .ab-unit__tel { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 14px; background: var(--ab-green); color: #fff; font-size: 20px; font-weight: 800; letter-spacing: .5px; text-decoration: none; box-shadow: 0 6px 16px rgba(40, 54, 24, .18); transition: transform .15s, background .15s; }
.ab-prose .ab-unit__tel:hover { background: var(--ab-green-900); transform: translateY(-1px); }
.ab-unit__tel .ab-i { width: 20px; height: 20px; }
.ab-prose .ab-msgs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ab-prose .ab-msgs li { margin: 0; }
.ab-prose .ab-msg { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--ab-line); background: #fff; color: var(--ab-text); font-size: 12.5px; font-weight: 700; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.ab-prose .ab-msg:hover { border-color: var(--ab-green); box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.ab-msg__ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #8a8d7e; color: #fff; font-size: 12px; line-height: 1; }
.ab-msg__ic .ab-i { width: 13px; height: 13px; }
.ab-msg--whatsapp .ab-msg__ic { background: #25d366; }
.ab-msg--telegram .ab-msg__ic { background: #229ed9; }
.ab-msg--eitaa .ab-msg__ic { background: #f28c28; }
.ab-msg--bale .ab-msg__ic { background: #18b47b; }
.ab-msg--splus .ab-msg__ic { background: #1f7ae0; }
.ab-msg--rubika .ab-msg__ic { background: #d6336c; }
.ab-msg--instagram .ab-msg__ic { background: #c13584; }

/* ساعت، تلفن دفتر، نشانی */
.ab-cinfo { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 900px) { .ab-cinfo { grid-template-columns: 1fr 1fr 1.4fr; } }
.ab-cinfo__card { padding: 16px 18px; border-radius: 16px; background: var(--ab-bg); border: 1px solid var(--ab-line); }
.ab-prose .ab-cinfo__card p { margin: 0 0 4px; font-size: 14px; color: var(--ab-text-2); }
.ab-prose .ab-cinfo__t { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 15px; color: var(--ab-green-900); }
.ab-cinfo__t .ab-i { width: 19px; height: 19px; color: var(--ab-gold-700); }
.ab-cinfo__row { display: flex; justify-content: space-between; gap: 10px; }
.ab-cinfo__row span { color: var(--ab-muted); }
.ab-prose .ab-cinfo__row a { font-weight: 800; color: var(--ab-green); text-decoration: none; }
.ab-prose .ab-cinfo__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ab-prose .ab-cinfo__acts a { text-decoration: none; }

/* نقشه (با لمس بارگذاری می‌شود) */
.ab-map { position: relative; margin-top: 14px; height: 300px; border-radius: 18px; overflow: hidden; border: 1px solid var(--ab-line); background: repeating-linear-gradient(45deg, #eef2e6 0 14px, #e7ecdc 14px 28px); }
.ab-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.ab-map__btn { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; background: none; color: var(--ab-green-900); font: inherit; font-weight: 800; cursor: pointer; }
.ab-map__btn .ab-i { width: 34px; height: 34px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: #fff; color: var(--ab-green); box-shadow: var(--ab-shadow); }

.ab-ccta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--ab-green-900); color: #fff; }
.ab-ccta strong { display: block; font-size: 16px; }
.ab-ccta span { display: block; font-size: 13px; opacity: .8; }
.ab-ccta .ab-btn--primary { background: var(--ab-gold); color: var(--ab-green-900); }

/* روش‌های ارسال */
.ab-shipping__grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .ab-shipping__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-shipm { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border: 1px solid var(--ab-line); border-radius: 18px; background: #fff; }
.ab-shipm__head { display: flex; align-items: center; gap: 12px; }
.ab-shipm__logo { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 14px; background: var(--ab-bg); overflow: hidden; color: var(--ab-green); }
.ab-prose .ab-shipm__logo img { display: block; width: 46px; height: 46px; max-height: none; object-fit: contain; border-radius: 0; }
.ab-shipm__logo .ab-i { width: 28px; height: 28px; }
.ab-prose .ab-shipm__t { margin: 0; font-size: 17px; }
.ab-prose .ab-shipm__facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.ab-prose .ab-shipm__facts li { display: inline-flex; align-items: center; gap: 5px; margin: 0; padding: 3px 10px; border-radius: 999px; background: var(--ab-green-50); color: var(--ab-green-900); font-size: 12.5px; font-weight: 700; }
.ab-shipm__facts .ab-i { width: 14px; height: 14px; color: var(--ab-gold-700); }
.ab-shipm__text { font-size: 13.5px; color: var(--ab-text-2); line-height: 1.95; }
.ab-prose .ab-shipm__text p { margin: 0 0 6px; }
.ab-prose .ab-shipm__text a { color: var(--ab-green); text-decoration: underline; text-underline-offset: 3px; }
.ab-prose .ab-shipm__acts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0 0; padding-top: 8px; border-top: 1px dashed var(--ab-line); }
.ab-prose .ab-shipm__acts a { text-decoration: none; }
.ab-prose .ab-shipm__sup { font-size: 12.5px; color: var(--ab-muted); }

/* پیگیری سفارش */
.ab-track__head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: var(--ab-green-50); border: 1px solid var(--ab-green-100); }
.ab-track__head > div { flex: 1; min-width: 220px; }
.ab-prose .ab-track__head .ab-pg__h { margin: 0; }
.ab-prose .ab-track__head p { margin: 2px 0 0; font-size: 13.5px; color: var(--ab-text-2); }
.ab-prose .ab-track__call { text-decoration: none; }
.ab-track__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: #fff; color: var(--ab-green); }
.ab-track__ic .ab-i { width: 26px; height: 26px; }
.ab-track__body { margin-top: 14px; }
.ab-track .acs-tr-empty { padding: 26px; text-align: center; border: 1px dashed var(--ab-line-2); border-radius: 16px; color: var(--ab-muted); }

/* سربرگ برگه (درباره ما) */
.ab-phero { display: grid; gap: 20px; align-items: center; margin-bottom: 26px; padding: 22px; border-radius: 22px; background: linear-gradient(135deg, var(--ab-green-900), #3b4d24); color: #fff; }
@media (min-width: 900px) { .ab-phero { grid-template-columns: 1.15fr 1fr; padding: 30px; } }
.ab-prose .ab-phero__eye { margin: 0 0 6px; color: var(--ab-gold); font-weight: 800; font-size: 13px; }
.ab-prose .ab-phero__title { margin: 0 0 10px; color: #fff; font-size: 24px; line-height: 1.5; }
.ab-prose .ab-phero__lead { margin: 0; color: rgba(255, 255, 255, .88); font-size: 15px; }
.ab-prose .ab-phero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 18px 0 0; padding: 0; }
.ab-prose .ab-phero__stats li { margin: 0; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); line-height: 1.5; }
.ab-phero__stats strong { display: block; font-size: 22px; color: var(--ab-gold); line-height: 1.3; }
.ab-phero__stats span { font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.ab-phero__img { margin: 0; }
.ab-prose .ab-phero__img img { display: block; width: 100%; max-height: 360px; object-fit: cover; border-radius: 16px; }
.ab-prose .wp-element-caption { font-size: 13px; color: var(--ab-muted); text-align: center; }
/* بخش‌های صفحه نخست داخل برگه‌ها: رنگ تیترها از متن برگه گرفته نشود */
.ab-prose .ab-cta__title, .ab-prose .ab-cta h2 { color: #fff; margin-top: 0; }
.ab-prose .ab-section .ab-btn, .ab-prose .ab-section a.ab-btn { text-decoration: none; }
.ab-prose .ab-section .ab-container { padding-inline: 0; }
