/* =============================================
   هسته قالب ابر باران پلاس v1.1 – CSS
   ============================================= */

/* ---- FONT: از المنتور / سایت خوانده می‌شود ---- */
/* المنتور فونت را در --e-global-typography-*-font-family روی :root ست می‌کند */
.abr-header, .abr-footer, .abr-section-wrap, .abr-archive-wrap,
.abr-single-product, .abr-cart-page, .abr-product-page,
.abr-mobile-sidebar, .abr-cart-sidebar, .abr-search-overlay,
.abr-mobile-bottom-nav {
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit));
}
.abr-header *, .abr-footer *, .abr-section-wrap *,
.abr-archive-wrap *, .abr-single-product *, .abr-cart-page *,
.abr-product-page *, .abr-mobile-sidebar *, .abr-cart-sidebar *,
.abr-search-overlay *, .abr-mobile-bottom-nav * {
    box-sizing: border-box;
    font-family: var(--e-global-typography-text-font-family, var(--e-global-typography-primary-font-family, inherit));
}

/* ================================================
   هدر
   ================================================ */
.abr-header {
    position: relative;
    width: 100%;
    z-index: 999;
    background: #fff;
    transition: box-shadow .3s, background .3s;
}
.abr-header--sticky { position: sticky; top: 0; }
.abr-header--transparent { background: transparent !important; }
.abr-header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); background: #fff !important; }

.abr-header-inner {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Desktop layout: logo | nav | actions */
.abr-header-desktop {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 24px;
}
.abr-header-mobile { display: none; width: 100%; align-items: center; justify-content: space-between; }

/* Column widths */
.abr-hd-logo { flex: 0 0 auto; }
.abr-hd-nav  { flex: 1; }
.abr-hd-actions { flex: 0 0 auto; }

/* Menu position variants */
.abr-menu-pos--before_logo { flex-direction: row-reverse; }
.abr-menu-pos--center .abr-hd-logo { order: 1; }
.abr-menu-pos--center .abr-hd-nav  { order: 2; display: flex; justify-content: center; }
.abr-menu-pos--center .abr-hd-actions { order: 3; }

.abr-logo { display: inline-block; line-height: 0; }
.abr-logo img { height: auto; display: block; max-height: 60px; width: 140px; object-fit: contain; }
.abr-site-name { font-size: 1.4rem; font-weight: 700; color: inherit; white-space: nowrap; }

/* NAV */
.abr-nav > ul, .abr-nav .abr-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.abr-nav > ul > li { position: relative; }
.abr-nav > ul > li > a {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    border-radius: 8px;
    transition: background .2s, color .2s;
    white-space: nowrap;
    position: relative;
}
.abr-nav > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 14px;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: transparent;
    transition: background .2s;
}
.abr-nav > ul > li > a:hover, .abr-nav > ul > li.current-menu-item > a { color: #e84393; }
.abr-nav > ul > li > a:hover::after, .abr-nav > ul > li.current-menu-item > a::after { background: #e84393; }

/* Dropdown */
.abr-nav ul ul {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    background: #fff; min-width: 220px; border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12); padding: 8px; list-style: none;
    z-index: 1000; border: 1px solid rgba(0,0,0,.06);
}
.abr-nav ul li:hover > ul { display: block; animation: abrFadeDown .2s ease; }
@keyframes abrFadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.abr-nav ul ul li a {
    display: block; padding: 9px 14px; color: #444; text-decoration: none;
    font-size: .9rem; border-radius: 8px; transition: background .15s, color .15s;
}
.abr-nav ul ul li a:hover { background: #fdf2f8; color: #e84393; }

/* Header Icons */
.abr-header-icons { display: flex; align-items: center; gap: 2px; }
.abr-icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 8px; color: #333;
    text-decoration: none; background: none; border: none; cursor: pointer;
    position: relative; transition: background .2s, color .2s;
}
.abr-icon-btn:hover { background: #f5f5f5; color: #e84393; }
/* همه آیکون‌های هدر یک‌سایز - override هر width/height که در HTML باشد */
.abr-icon-btn svg,
.abr-header-desktop .abr-icon-btn svg,
.abr-header-mobile .abr-icon-btn svg {
    width: 22px !important;
    height: 22px !important;
    flex-shrink: 0;
    display: block;
}

.abr-cart-count {
    position: absolute; top: 3px; left: 3px;
    min-width: 18px; height: 18px; padding: 0 4px;
    background: #e84393; color: #fff; border-radius: 20px;
    font-size: .68rem; display: flex; align-items: center; justify-content: center;
    font-weight: 700; line-height: 1; opacity: 0; transform: scale(.5);
    transition: opacity .2s, transform .2s;
}
.abr-cart-count.visible { opacity: 1; transform: scale(1); }

/* ---- Mobile Header ---- */
.abr-mob-right,
.abr-mob-left {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.abr-mob-logo { flex: 1; display: flex; justify-content: center; }
.abr-hamburger { background: none; border: none; cursor: pointer; }

/* ---- Search Overlay ---- */
.abr-search-overlay {
    position: fixed; inset: 0; background: rgba(15,15,15,.7);
    z-index: 9999; display: flex; align-items: flex-start; justify-content: center;
    padding-top: 100px; opacity: 0; pointer-events: none; transition: opacity .25s;
    backdrop-filter: blur(4px);
}
.abr-search-overlay.open { opacity: 1; pointer-events: all; }
.abr-search-wrap {
    background: #fff; border-radius: 20px; padding: 0;
    width: 92%; max-width: 640px; position: relative; overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.2);
    transform: translateY(-20px) scale(.97); transition: transform .25s;
}
.abr-search-overlay.open .abr-search-wrap { transform: translateY(0) scale(1); }
.abr-search-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px 12px; border-bottom: 1px solid #f3f4f6;
}
.abr-search-label { font-size: .85rem; color: #9ca3af; font-weight: 500; }
.abr-search-close { background: none; border: none; cursor: pointer; color: #9ca3af; display: flex; transition: color .15s; }
.abr-search-close:hover { color: #111; }
.abr-search-field-wrap { position: relative; padding: 12px 20px; }
.abr-search-icon { position: absolute; right: 34px; top: 50%; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.abr-search-input {
    width: 100%; border: 2px solid #e5e7eb; border-radius: 12px;
    padding: 13px 18px 13px 40px; font-size: 1rem; outline: none;
    direction: rtl; font-family: inherit; transition: border-color .2s;
    background: #f9fafb;
}
.abr-search-input:focus { border-color: #e84393; background: #fff; }
.abr-search-clear { position: absolute; left: 34px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: #9ca3af; font-size: .85rem; }
.abr-search-results { max-height: 380px; overflow-y: auto; padding: 0 8px 8px; }
.abr-search-item {
    display: flex; align-items: center; gap: 12px; padding: 10px 12px;
    border-radius: 10px; text-decoration: none; color: #333;
    transition: background .15s; border-right: 3px solid transparent;
}
.abr-search-item:hover { background: #fdf2f8; border-right-color: #e84393; }
.abr-search-item img { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.abr-search-item-title { font-size: .9rem; font-weight: 600; margin-bottom: 3px; }
.abr-search-item-price { font-size: .85rem; color: #e84393; font-weight: 700; }
.abr-search-no-result { text-align: center; padding: 24px; color: #9ca3af; font-size: .9rem; }

/* ---- Sidebars ---- */
.abr-mobile-sidebar, .abr-cart-sidebar {
    position: fixed; top: 0; height: 100%;
    background: #fff; z-index: 9998;
    display: flex; flex-direction: column;
    transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.abr-mobile-sidebar { right: 0; left: auto; width: 300px; transform: translateX(110%); border-left: 1px solid #f3f4f6; box-shadow: -8px 0 40px rgba(0,0,0,.12); }
.abr-cart-sidebar   { left: 0; right: auto; width: 340px; transform: translateX(-110%); border-right: 1px solid #f3f4f6; box-shadow: 8px 0 40px rgba(0,0,0,.12); }
.abr-mobile-sidebar.open { transform: translateX(0); }
.abr-cart-sidebar.open   { transform: translateX(0); }

.abr-sidebar-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 20px; border-bottom: 1px solid #f3f4f6; min-height: 64px;
}
.abr-sidebar-logo img { max-height: 36px; }
.abr-sidebar-close, .abr-cart-close { background: none; border: none; cursor: pointer; color: #9ca3af; display: flex; transition: color .15s; }
.abr-sidebar-close:hover, .abr-cart-close:hover { color: #111; }
.abr-cart-sidebar-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }

.abr-sidebar-nav { flex: 1; overflow-y: auto; }
.abr-mobile-menu { list-style: none; padding: 8px 0; margin: 0; }
.abr-mobile-menu li a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 13px 20px; color: #374151; text-decoration: none;
    font-size: .95rem; border-bottom: 1px solid #f9fafb;
    transition: background .15s, color .15s;
}
.abr-mobile-menu li a:hover, .abr-mobile-menu li.current-menu-item > a { background: #fdf2f8; color: #e84393; }
.abr-mobile-menu li ul { padding-right: 20px; }
.abr-mobile-menu li ul li a { font-size: .88rem; padding-right: 16px; }

.abr-sidebar-footer {
    padding: 12px 16px; border-top: 1px solid #f3f4f6;
}
.abr-sidebar-link {
    display: flex; align-items: center; gap: 8px; padding: 10px 12px;
    color: #555; text-decoration: none; border-radius: 8px; font-size: .9rem;
    transition: background .15s, color .15s;
}
.abr-sidebar-link:hover { background: #fdf2f8; color: #e84393; }

.abr-cart-sidebar-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.abr-cart-sidebar-footer { padding: 16px; border-top: 1px solid #f3f4f6; }
.abr-cart-loading { text-align: center; padding: 40px 16px; color: #9ca3af; }
.abr-cart-sidebar-item {
    display: flex; gap: 12px; padding: 12px 0;
    border-bottom: 1px solid #f9fafb; align-items: flex-start;
}
.abr-cart-sidebar-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.abr-cart-sidebar-info { flex: 1; min-width: 0; }
.abr-cart-sidebar-info h4 { margin: 0 0 6px; font-size: .88rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abr-cart-sidebar-info span { font-size: .85rem; color: #e84393; font-weight: 700; }
.abr-cart-total-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: .9rem; font-weight: 600; border-top: 1px solid #f3f4f6; margin-top: 4px; }
.abr-cart-go-btn {
    display: block; width: 100%; background: #e84393; color: #fff;
    text-align: center; padding: 13px; border-radius: 12px;
    text-decoration: none; font-weight: 700; margin-bottom: 8px;
    font-family: inherit; font-size: .9rem; transition: opacity .2s;
}
.abr-cart-go-btn:hover { opacity: .9; color: #fff; }
.abr-cart-go-btn.secondary { background: #f3f4f6; color: #333; }
.abr-cart-go-btn.secondary:hover { background: #e5e7eb; }

.abr-overlay-bg {
    position: fixed; inset: 0; background: rgba(0,0,0,.45);
    z-index: 9997; display: none; backdrop-filter: blur(2px);
}
.abr-overlay-bg.show { display: block; }

/* ================================================
   فوتر
   ================================================ */
.abr-footer { font-family: inherit; }
.abr-footer-body { background: #0f1f10; color: #8a9e8b; }
.abr-footer-grid {
    display: grid !important;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 48px;
    width: 100%;
    border-bottom: 1px solid #1e3a1f;
}

/* برند */
.abr-footer-brand-row { margin-bottom: 16px; }
.abr-footer-logo-link { display: inline-block; }
.abr-footer-logo-img { max-width: 150px; height: auto; display: block; }
.abr-footer-brand-name {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1.2rem; font-weight: 700; color: #fff; text-decoration: none;
}
.abr-footer-brand-icon {
    width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.abr-footer-brand { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 16px; }
.abr-footer-desc {
    font-size: .85rem; line-height: 2; color: #8a9e8b;
    margin: 0 0 20px; max-width: 280px;
}

/* شبکه‌های اجتماعی */
.abr-social-links { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.abr-social-btn {
    width: 36px; height: 36px; border-radius: 9px;
    background: #1a2e1b; border: 1px solid #2a402b;
    display: flex; align-items: center; justify-content: center;
    color: #7cb87d; text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}
.abr-social-btn:hover { background: #2e7d32; border-color: #2e7d32; color: #fff; }

/* اینماد */
.abr-enamad { margin-top: 8px; }
.abr-enamad img { border-radius: 8px; max-height: 80px; }

/* عناوین ستون‌ها */
.abr-fc-title {
    font-size: .88rem; font-weight: 600; color: #fff;
    margin: 0 0 18px; padding-bottom: 10px;
    display: inline-block; border-bottom: 2px solid #2e7d32;
    font-family: inherit;
}

/* منوی فوتر */
.abr-fc-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.abr-fc-menu li a {
    color: #8a9e8b; text-decoration: none; font-size: .84rem;
    font-family: inherit; display: flex; align-items: center; gap: 6px;
    transition: color .2s;
}
.abr-fc-menu li a::before { content: '›'; color: #2e7d32; font-size: 1.1rem; line-height: 1; }
.abr-fc-menu li a:hover { color: #81c784; }

/* تماس */
.abr-contact-list { display: flex; flex-direction: column; gap: 14px; }
.abr-contact-item {
    display: flex; align-items: flex-start; gap: 10px;
    color: #8a9e8b; font-size: .83rem; text-decoration: none;
    font-family: inherit; line-height: 1.7;
}
.abr-contact-link:hover { color: #81c784; }
.abr-contact-icon {
    width: 30px; height: 30px; border-radius: 8px; background: #1a2e1b;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    color: #66bb6a; margin-top: 2px;
}

/* Footer Bottom */
.abr-footer-bottom { background: #0a1a0b; }
.abr-footer-bottom-inner {
    max-width: 1100px; margin: 0 auto; padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.abr-copy-text { font-size: .8rem; color: #4a5e4b; font-family: inherit; }
.abr-payment-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.abr-payment-badge {
    background: #1a2e1b; color: #6b8e6c; font-size: .72rem;
    padding: 4px 10px; border-radius: 20px; border: 1px solid #2a402b;
    font-family: inherit;
}

/* Mobile Bottom Nav */
.abr-mobile-bottom-nav {
    display: none;
    position: fixed; bottom: 0; right: 0; left: 0;
    background: #fff; border-top: 1px solid #e5e7eb; z-index: 998;
    padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.abr-bottom-nav-item {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    flex: 1; text-decoration: none; color: #6b7280; font-size: .68rem;
    padding: 4px 0; position: relative; transition: color .2s;
    font-family: inherit; background: none; border: none; cursor: pointer;
}
.abr-bottom-nav-item:hover, .abr-bottom-nav-item.active { color: #e84393; }
.abr-bottom-nav-item .abr-cart-count { top: 0; left: 50%; transform: translateX(60%) scale(1); font-size: .62rem; min-width: 16px; height: 16px; }

/* ================================================
   محصولات – مشترک
   ================================================ */
.abr-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.abr-archive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* CARD BASE — کل کارت لینک است */
.abr-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform .28s, box-shadow .28s;
    box-shadow: 0 1px 8px rgba(0,0,0,.07);
}
.abr-product-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.11); }

/* تصویر */
.abr-product-image {
    display: block; overflow: hidden;
    aspect-ratio: 1/1; background: #f9fafb; flex-shrink: 0;
}
.abr-product-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease; display: block;
}
.abr-product-card:hover .abr-product-img { transform: scale(1.05); }

/* اطلاعات */
.abr-product-info {
    padding: 12px 14px 14px;
    display: flex; flex-direction: column; flex: 1;
}
.abr-product-cat {
    font-size: .72rem; color: #9ca3af;
    display: block; margin-bottom: 4px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.abr-product-title {
    margin: 0 0 8px; font-size: .88rem; line-height: 1.45;
    color: #111827; font-weight: 600;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.abr-product-title a { color: inherit; text-decoration: none; }

/* ستاره */
.abr-product-rating {
    display: flex; align-items: center; gap: 1px;
    margin-bottom: 8px; color: #fbbf24;
}
.abr-product-rating span { color: #9ca3af; font-size: .72rem; margin-right: 3px; }

/* پایین کارت */
.abr-card-bottom {
    margin-top: auto;
    display: flex; align-items: center;
    justify-content: space-between; gap: 6px;
    flex-wrap: wrap;
}
.abr-product-price { font-size: .88rem; line-height: 1.3; }
.abr-product-price del { color: #9ca3af !important; font-size: .76rem; display: block; }
.abr-product-price del .amount { color: #9ca3af !important; }
.abr-product-price ins { text-decoration: none; color: #e84393; font-weight: 700; }
.abr-product-price .woocommerce-Price-amount { color: #e84393; font-weight: 700; }

/* دکمه خرید (غیر کلیک‌پذیر — کل کارت لینک است) */
.abr-buy-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: #e84393; color: #fff; padding: 6px 12px;
    border-radius: 8px; font-size: .78rem; font-weight: 600;
    white-space: nowrap; pointer-events: none; flex-shrink: 0;
    transition: background .2s;
}
.abr-product-card:hover .abr-buy-btn { background: #d1346e; }
.abr-buy-btn--out { background: #e5e7eb !important; color: #9ca3af !important; }

/* Badge */
.abr-card-badges { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.abr-sale-badge {
    display: inline-block; background: #ef4444; color: #fff;
    font-size: .7rem; padding: 2px 8px; border-radius: 20px; font-weight: 700;
}
.abr-product-card > .abr-sale-badge { position: absolute; top: 8px; right: 8px; z-index: 2; }
.abr-out-of-stock-badge { font-size: .78rem; color: #9ca3af; }

/* ---- Card Style Variants ---- */
.abr-card-style--classic .abr-product-card { border-radius: 8px; box-shadow: none; border: 1px solid #e5e7eb; }
.abr-card-style--classic .abr-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.abr-card-style--minimal .abr-product-card { border-radius: 0; box-shadow: none; border-bottom: 1px solid #f3f4f6; }
.abr-card-style--minimal .abr-product-card:hover { transform: none; }
.abr-card-style--overlay .abr-product-image { aspect-ratio: 3/4; }
.abr-card-style--overlay .abr-product-info {
    position: absolute; bottom: 0; right: 0; left: 0;
    background: linear-gradient(to top, rgba(0,0,0,.82) 0%, transparent 100%);
    padding: 20px 12px 12px;
}
.abr-card-style--overlay .abr-product-title { color: #fff; }
.abr-card-style--overlay .abr-product-price ins .amount,
.abr-card-style--overlay .abr-product-price .woocommerce-Price-amount { color: #fbbf24 !important; }

/* ================================================
   Section Header
   ================================================ */
.abr-section-wrap { padding: 40px 0; }
.abr-sec-header {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 28px; gap: 16px;
}
.abr-sec-header-left {}
.abr-sec-title {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 6px; font-size: 1.5rem; font-weight: 800; color: #111827;
    font-family: inherit;
}
.abr-sec-title-accent { display: inline-block; width: 5px; height: 28px; background: #e84393; border-radius: 3px; flex-shrink: 0; }
.abr-sec-subtitle { margin: 0; font-size: .88rem; color: #6b7280; font-family: inherit; }
.abr-view-all-btn {
    display: inline-flex; align-items: center; gap: 5px;
    border: 2px solid #e84393; color: #e84393; padding: 8px 18px;
    border-radius: 25px; text-decoration: none; font-size: .85rem; font-weight: 600;
    transition: background .2s, color .2s; white-space: nowrap; font-family: inherit;
}
.abr-view-all-btn:hover { background: #e84393; color: #fff; }
.abr-view-all-white { border-color: rgba(255,255,255,.6); color: #fff; }
.abr-view-all-white:hover { background: rgba(255,255,255,.2); color: #fff; }
.abr-no-products { grid-column: 1/-1; text-align: center; padding: 48px; color: #9ca3af; }

/* ---- Sale Section ---- */
.abr-sale-wrap { border-radius: 20px; overflow: hidden; box-shadow: 0 4px 24px rgba(232,67,147,.2); }
.abr-sale-hd { background: linear-gradient(135deg, #e84393, #f97316); padding: 24px 28px; }
.abr-sec-header--sale { margin-bottom: 0; }
.abr-sale-flame-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.abr-flame-emoji { font-size: 1.6rem; }
.abr-sale-hd .abr-sec-title { color: #fff; }
.abr-sale-body { padding: 24px 20px; background: #fff; }

/* ================================================
   آرشیو
   ================================================ */
.abr-archive-wrap {}
.abr-archive-toolbar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; padding: 12px 18px; background: #f9fafb;
    border-radius: 12px; gap: 12px;
}
.abr-toolbar-left {}
.abr-toolbar-right { display: flex; align-items: center; gap: 10px; }
.abr-result-count { font-size: .88rem; color: #6b7280; font-family: inherit; }
.abr-result-count strong { color: #111827; }

.abr-view-switcher { display: flex; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.abr-view-btn { width: 34px; height: 34px; background: none; border: none; cursor: pointer; color: #9ca3af; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.abr-view-btn.active { background: #e84393; color: #fff; }

.abr-sort-select {
    border: 1px solid #e5e7eb; padding: 8px 12px; border-radius: 8px;
    font-size: .88rem; direction: rtl; cursor: pointer; background: #fff;
    outline: none; font-family: inherit; transition: border-color .2s;
}
.abr-sort-select:focus { border-color: #e84393; }

.abr-archive-layout { display: flex; gap: 24px; align-items: flex-start; }
.abr-archive-layout.has-sidebar {}
.abr-archive-sidebar { width: 240px; flex-shrink: 0; background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 1px 8px rgba(0,0,0,.06); }
.abr-archive-sidebar h4 { font-size: .95rem; font-weight: 700; margin: 0 0 12px; }
.abr-archive-main { flex: 1; min-width: 0; }
.abr-sidebar-placeholder {}
.abr-sidebar-placeholder ul { list-style: none; padding: 0; margin: 0; }
.abr-sidebar-placeholder ul li a { display: block; padding: 8px 0; color: #555; text-decoration: none; font-size: .88rem; border-bottom: 1px solid #f3f4f6; transition: color .15s; font-family: inherit; }
.abr-sidebar-placeholder ul li a:hover { color: #e84393; }

.abr-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.abr-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 10px; border: 1px solid #e5e7eb;
    text-decoration: none; color: #555; font-size: .9rem; transition: all .2s;
    font-family: inherit;
}
.abr-pagination .page-numbers.current, .abr-pagination .page-numbers:hover { background: #e84393; color: #fff; border-color: #e84393; }
.abr-pagination .page-numbers.dots { border: none; cursor: default; color: #9ca3af; }

/* ---- فیلتر آرشیو ---- */
.abr-filter-group { margin-bottom: 16px; border-bottom: 1px solid #f3f4f6; padding-bottom: 16px; }
.abr-filter-group:last-child { border-bottom: none; }
.abr-filter-group h4,
.abr-filter-toggle-head {
    font-size: .88rem; font-weight: 700; color: #374151;
    margin: 0 0 10px; display: flex; align-items: center;
    justify-content: space-between; cursor: pointer;
    user-select: none;
}
.abr-filter-arrow { transition: transform .2s; flex-shrink: 0; color: #9ca3af; }
.abr-filter-toggle-head.collapsed .abr-filter-arrow { transform: rotate(-90deg); }

/* چیپس ویژگی */
.abr-filter-chips {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.abr-filter-chips.collapsed { display: none; }
.abr-chip {
    display: inline-flex; align-items: center;
    padding: 4px 12px; border-radius: 20px;
    border: 1.5px solid #e5e7eb; background: #fff;
    color: #4b5563; font-size: .8rem; text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
    white-space: nowrap;
}
.abr-chip:hover { border-color: #e84393; color: #e84393; }
.abr-chip--active { border-color: #e84393; background: #fdf2f8; color: #e84393; font-weight: 600; }

/* دسته‌بندی */
.abr-filter-cats { list-style: none; padding: 0; margin: 0; }
.abr-filter-cats li { margin-bottom: 2px; }
.abr-filter-cat-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 8px; border-radius: 8px; text-decoration: none;
    color: #4b5563; font-size: .84rem; transition: background .15s, color .15s;
}
.abr-filter-cat-link:hover { background: #fdf2f8; color: #e84393; }
.abr-filter-active { background: #fdf2f8 !important; color: #e84393 !important; font-weight: 600; }
.abr-filter-cat-link span { font-size: .74rem; color: #9ca3af; }

/* قیمت */
.abr-price-filter-form { display: flex; flex-direction: column; gap: 8px; }
.abr-price-inputs { display: flex; align-items: center; gap: 6px; }
.abr-price-input {
    flex: 1; border: 1.5px solid #e5e7eb; border-radius: 8px;
    padding: 6px 8px; font-size: .82rem; outline: none;
    font-family: inherit; direction: rtl; min-width: 0;
    transition: border-color .2s;
}
.abr-price-input:focus { border-color: #e84393; }
.abr-price-inputs span { color: #9ca3af; flex-shrink: 0; }
.abr-price-filter-btn {
    background: #e84393; color: #fff; border: none; border-radius: 8px;
    padding: 7px; font-size: .82rem; cursor: pointer; font-family: inherit;
    transition: opacity .2s;
}
.abr-price-filter-btn:hover { opacity: .88; }
.abr-archive-grid.list-view { grid-template-columns: 1fr !important; }
.abr-archive-grid.list-view .abr-product-card { display: grid; grid-template-columns: 180px 1fr; }
.abr-archive-grid.list-view .abr-product-image { aspect-ratio: auto; height: 180px; }
.abr-archive-grid.list-view .abr-product-info { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }

/* دکمه فیلتر موبایل */
.abr-filter-toggle-btn {
    display: none; align-items: center; gap: 6px;
    background: #fff; border: 1.5px solid #e5e7eb; border-radius: 8px;
    padding: 8px 14px; font-size: .88rem; cursor: pointer; color: #374151;
    font-family: inherit; transition: border-color .2s, color .2s;
}
.abr-filter-toggle-btn:hover { border-color: #e84393; color: #e84393; }

/* سربرگ سایدبار فیلتر */
.abr-filter-sidebar-head {
    display: none; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-bottom: 1px solid #f3f4f6; margin: -20px -20px 16px;
    font-weight: 700; font-size: .95rem;
}
.abr-filter-close-btn { background: none; border: none; cursor: pointer; color: #9ca3af; display: flex; }

/* ================================================
   صفحه محصول تکی
   ================================================ */
.abr-single-product,
.abr-product-page {
    padding: 24px 0;
    /* فونت از المنتور/سایت */
    font-family: var(--e-global-typography-text-font-family,
                 var(--e-global-typography-primary-font-family,
                 var(--wp--preset--font-family--primary, inherit)));
}
/* اطمینان از inherit همه فرزندان */
.abr-single-product *,
.abr-product-page * {
    font-family: inherit;
}

.abr-sp-breadcrumb {
    font-size: .82rem; color: #9ca3af; margin-bottom: 28px;
    display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.abr-sp-breadcrumb a { color: #9ca3af; text-decoration: none; transition: color .15s; }
.abr-sp-breadcrumb a:hover { color: #e84393; }
.abr-sp-breadcrumb span { color: #d1d5db; }

.abr-sp-layout, .abr-pp-layout {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; margin-bottom: 48px; align-items: start;
}

/* Gallery */
.abr-sp-gallery { position: relative; }
.abr-sp-main-img, .abr-pp-main-img {
    position: relative; overflow: hidden; border-radius: 16px;
    background: #f9fafb; cursor: zoom-in;
}
.abr-sp-main-img img, .abr-pp-main-img img,
.abr-main-product-img {
    width: 100%; display: block; border-radius: 16px;
    transition: transform .3s ease;
}
.abr-sp-main-img:hover .abr-main-product-img { transform: scale(1.03); }

/* دکمه ذره‌بین - حذف شده */
.abr-zoom-btn { display: none; }

.abr-sp-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.abr-sp-thumb {
    width: 68px; height: 68px; border-radius: 10px; overflow: hidden;
    cursor: pointer; border: 2px solid transparent;
    transition: border-color .2s, transform .15s; flex-shrink: 0;
}
.abr-sp-thumb:hover { transform: translateY(-2px); }
.abr-sp-thumb:hover, .abr-sp-thumb.active { border-color: #e84393; }
.abr-sp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Lightbox */
.abr-lightbox {
    position: fixed; inset: 0; z-index: 99999;
    display: none; align-items: center; justify-content: center;
}
.abr-lightbox.open { display: flex; }
.abr-lightbox-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(6px);
}
.abr-lightbox-content {
    position: relative; z-index: 1;
    max-width: 90vw; max-height: 90vh;
    display: flex; align-items: center; justify-content: center;
}
.abr-lightbox-img {
    max-width: 90vw; max-height: 85vh;
    object-fit: contain; border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    display: block;
}
.abr-lightbox-close {
    position: absolute; top: -44px; left: 0;
    background: rgba(255,255,255,.15); border: none; cursor: pointer;
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: background .2s;
}
.abr-lightbox-close:hover { background: rgba(255,255,255,.3); }
.abr-lightbox-prev, .abr-lightbox-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,.15); border: none; cursor: pointer;
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: background .2s;
}
.abr-lightbox-prev { right: -56px; }
.abr-lightbox-next { left: -56px; }
.abr-lightbox-prev:hover, .abr-lightbox-next:hover { background: rgba(255,255,255,.3); }
.abr-no-scroll { overflow: hidden; }

/* اطلاعات محصول */
.abr-sp-info { display: flex; flex-direction: column; gap: 0; }
.abr-sp-title {
    font-size: 1.5rem; font-weight: 800; margin: 0 0 12px;
    color: #111827; line-height: 1.35;
}
.abr-sp-meta {
    display: flex; gap: 10px; align-items: center;
    margin-bottom: 14px; flex-wrap: wrap;
}
.abr-sp-sku { font-size: .8rem; color: #9ca3af; }
.abr-sp-stars { display: flex; align-items: center; gap: 2px; color: #fbbf24; }
.abr-sp-stars span { color: #9ca3af; font-size: .75rem; margin-right: 4px; }

.abr-stock {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 20px; font-size: .78rem; font-weight: 600;
}
.abr-stock--instock { background: #ecfdf5; color: #059669; }
.abr-stock--outofstock { background: #fef2f2; color: #dc2626; }

.abr-sp-price {
    font-size: 1.7rem; font-weight: 800; color: #e84393;
    margin-bottom: 14px; line-height: 1.2;
}
.abr-sp-price del { font-size: 1rem; color: #9ca3af !important; margin-left: 6px; font-weight: 400; }
.abr-sp-price del .amount { color: #9ca3af !important; }
.abr-sp-price ins { text-decoration: none; }
.abr-sp-price ins .amount { color: #e84393; }

.abr-sp-short-desc {
    color: #4b5563; font-size: .92rem; line-height: 1.8;
    margin-bottom: 20px; border-bottom: 1px solid #f3f4f6; padding-bottom: 18px;
}

/* Variations */
.abr-sp-variations { margin-bottom: 16px; }
.abr-variation-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.abr-var-label {
    font-size: .85rem; font-weight: 700; color: #374151;
    white-space: nowrap; padding-top: 7px; min-width: 60px; flex-shrink: 0;
}
.abr-var-options { display: flex; flex-wrap: wrap; gap: 6px; }
.abr-var-btn {
    padding: 6px 14px; border: 2px solid #e5e7eb; border-radius: 8px;
    background: #fff; color: #374151; font-size: .83rem; cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
    line-height: 1; font-family: inherit;
}
.abr-var-btn:hover { border-color: #e84393; color: #e84393; }
.abr-var-btn.selected { background: #e84393; border-color: #e84393; color: #fff; font-weight: 600; }
.abr-var-price-wrap { font-size: 1rem; font-weight: 700; color: #e84393; margin-top: 8px; }
.abr-var-price-wrap ins { text-decoration: none; }

/* Actions */
.abr-sp-actions {
    display: flex; gap: 10px; align-items: stretch; margin-bottom: 20px;
}
.abr-qty-wrap {
    display: flex; align-items: center; border: 2px solid #e5e7eb;
    border-radius: 10px; overflow: hidden; flex-shrink: 0;
}
.abr-qty-btn {
    width: 36px; height: 44px; background: #f9fafb; border: none;
    cursor: pointer; font-size: 1.1rem; color: #555;
    transition: background .15s, color .15s;
}
.abr-qty-btn:hover { background: #e5e7eb; color: #111; }
.abr-qty-input {
    width: 48px; height: 44px; border: none; text-align: center;
    font-size: .92rem; outline: none;
}
.abr-sp-btn {
    flex: 1; background: #e84393; color: #fff; border: none; border-radius: 10px;
    padding: 12px 20px; font-size: .92rem; font-weight: 700; cursor: pointer;
    transition: opacity .2s, transform .15s; min-height: 44px;
}
.abr-sp-btn:hover { opacity: .88; transform: translateY(-1px); }
.abr-sp-btn:disabled { opacity: .5; transform: none; cursor: not-allowed; }

/* متا */
.abr-sp-metas {
    display: flex; flex-direction: column; gap: 6px;
    font-size: .83rem; color: #6b7280; margin-bottom: 16px;
}
.abr-sp-metas span { color: #9ca3af; }
.abr-sp-cats a, .abr-sp-tags a { color: #e84393; text-decoration: none; }

/* اشتراک */
.abr-pp-share {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; flex-wrap: wrap; margin-top: 4px;
}
.abr-share-btn {
    padding: 6px 14px; border-radius: 8px; text-decoration: none;
    font-size: .8rem; font-weight: 700; transition: opacity .2s;
}
.abr-share-btn:hover { opacity: .85; }
.abr-share-tg { background: #0088cc; color: #fff; }
.abr-share-wa { background: #25d366; color: #fff; }

/* Tabs */
.abr-sp-tabs { margin-top: 36px; }
.abr-tabs-header {
    display: flex; border-bottom: 2px solid #f3f4f6; margin-bottom: 24px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap;
}
.abr-tab-btn {
    padding: 12px 22px; background: none; border: none;
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    font-size: .92rem; cursor: pointer; color: #9ca3af;
    transition: color .2s, border-color .2s; white-space: nowrap;
}
.abr-tab-btn.active { color: #e84393; border-bottom-color: #e84393; font-weight: 600; }
.abr-tab-content { display: none; font-size: .92rem; line-height: 1.8; color: #4b5563; }
.abr-tab-content.active { display: block; }

/* Attr table */
.abr-attr-table { width: 100%; border-collapse: collapse; }
.abr-attr-table tr:nth-child(even) td,
.abr-attr-table tr:nth-child(even) th { background: #f9fafb; }
.abr-attr-table th, .abr-attr-table td {
    padding: 10px 14px; text-align: right;
    font-size: .88rem; border: 1px solid #f3f4f6;
}
.abr-attr-table th { font-weight: 600; color: #374151; width: 35%; }
.abr-attr-table td { color: #4b5563; }

/* توضیحات */
.abr-product-description { line-height: 1.9; color: #4b5563; }
.abr-product-description h2, .abr-product-description h3 { color: #111827; margin: 20px 0 10px; }
.abr-product-description ul, .abr-product-description ol { padding-right: 20px; margin-bottom: 12px; }
.abr-product-description li { margin-bottom: 6px; }
.abr-product-description img { max-width: 100%; border-radius: 8px; }

/* Related */
.abr-sp-related { margin-top: 48px; }
.abr-sp-related h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; color: #111827; }

/* Sticky Buy Bar */
.abr-sticky-buy-bar {
    position: fixed; bottom: 0; right: 0; left: 0; background: #fff;
    border-top: 2px solid #f3f4f6; padding: 12px 24px; z-index: 8500;
    box-shadow: 0 -4px 20px rgba(0,0,0,.1); transform: translateY(100%);
    transition: transform .3s;
}
.abr-sticky-buy-bar.visible { transform: translateY(0); }
.abr-sticky-bar-inner { display: flex; align-items: center; gap: 14px; max-width: 1200px; margin: 0 auto; }
.abr-sticky-img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.abr-sticky-title { flex: 1; font-size: .9rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abr-sticky-price { color: #e84393; font-weight: 800; font-size: .95rem; white-space: nowrap; }
.abr-sticky-buy-bar .abr-sp-btn { flex: 0 0 auto; width: auto; padding: 10px 24px; font-size: .88rem; }

/* Sale badge large */
.abr-sale-badge--lg { font-size: .9rem; padding: 5px 14px; }
.abr-sale-badge--gallery { position: absolute; top: 12px; right: 12px; z-index: 3; font-size: .85rem; padding: 4px 12px; border-radius: 20px; }

/* ستاره‌ها در صفحه محصول */
.abr-sp-stars { display: flex; align-items: center; gap: 2px; }
.abr-sp-stars span { color: #9ca3af; font-size: .78rem; margin-right: 4px; }
.abr-sp-sku { font-size: .82rem; color: #9ca3af; }

/* متا محصول */
.abr-sp-metas { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; color: #6b7280; }
.abr-sp-metas span { color: #9ca3af; }
.abr-sp-cats a, .abr-sp-tags a { color: #e84393; text-decoration: none; }

/* ---- محصول متغیر: انتخاب ویژگی ---- */
.abr-sp-variations { margin-bottom: 20px; }
.abr-variation-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.abr-var-label { font-size: .88rem; font-weight: 600; color: #374151; white-space: nowrap; padding-top: 6px; min-width: 70px; }
.abr-var-options { display: flex; flex-wrap: wrap; gap: 8px; }
.abr-var-btn {
    padding: 7px 16px; border: 2px solid #e5e7eb; border-radius: 8px;
    background: #fff; color: #374151; font-size: .85rem; cursor: pointer;
    transition: border-color .2s, background .2s, color .2s; font-family: inherit;
    line-height: 1;
}
.abr-var-btn:hover { border-color: #e84393; color: #e84393; }
.abr-var-btn.selected { background: #e84393; border-color: #e84393; color: #fff; }
.abr-var-btn.disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.abr-var-price-wrap { font-size: 1.1rem; font-weight: 700; color: #e84393; margin-top: 8px; }

/* ---- جدول ویژگی‌ها ---- */
.abr-attr-table { width: 100%; border-collapse: collapse; }
.abr-attr-table tr:nth-child(even) td, .abr-attr-table tr:nth-child(even) th { background: #f9fafb; }
.abr-attr-table th, .abr-attr-table td { padding: 11px 16px; text-align: right; font-size: .9rem; border: 1px solid #f3f4f6; }
.abr-attr-table th { font-weight: 600; color: #374151; width: 35%; }
.abr-attr-table td { color: #4b5563; }

/* ---- محتوای توضیحات ---- */
.abr-product-description { line-height: 1.9; color: #4b5563; }
.abr-product-description h2, .abr-product-description h3 { color: #111827; margin: 20px 0 10px; }
.abr-product-description ul, .abr-product-description ol { padding-right: 20px; margin-bottom: 12px; }
.abr-product-description li { margin-bottom: 6px; }
.abr-product-description img { max-width: 100%; border-radius: 8px; }

/* ================================================
   سبد خرید
   ================================================ */
.abr-cart-page { padding: 24px 0; font-family: inherit; }
.abr-cart-empty { text-align: center; padding: 80px 24px; }
.abr-cart-empty svg { margin: 0 auto 20px; display: block; }
.abr-cart-empty p { font-size: 1.1rem; color: #9ca3af; margin: 0 0 24px; font-family: inherit; }

.abr-cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.abr-cart-table { width: 100%; border-collapse: collapse; }
.abr-cart-table thead th { padding: 12px 16px; background: #f9fafb; text-align: right; font-size: .88rem; color: #6b7280; font-weight: 600; border-bottom: 2px solid #e5e7eb; font-family: inherit; }
.abr-cart-table td { padding: 16px; border-bottom: 1px solid #f3f4f6; vertical-align: middle; font-size: .9rem; font-family: inherit; }
.abr-cart-product { display: flex; align-items: center; gap: 14px; }
.abr-cart-product img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.abr-cart-product a { color: #374151; text-decoration: none; font-weight: 500; font-family: inherit; }
.abr-cart-remove { color: #d1d5db; display: flex; align-items: center; padding: 6px; border-radius: 6px; transition: color .15s, background .15s; }
.abr-cart-remove:hover { color: #ef4444; background: #fef2f2; }
.abr-coupon-wrap { display: flex; gap: 8px; margin-top: 18px; }
.abr-coupon-input { flex: 1; border: 2px solid #e5e7eb; border-radius: 10px; padding: 11px 14px; font-size: .9rem; direction: rtl; outline: none; font-family: inherit; transition: border-color .2s; }
.abr-coupon-input:focus { border-color: #e84393; }
.abr-coupon-btn { background: #374151; color: #fff; border: none; border-radius: 10px; padding: 11px 18px; cursor: pointer; font-size: .9rem; font-family: inherit; transition: background .2s; }
.abr-coupon-btn:hover { background: #111827; }

.abr-cart-summary { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; position: sticky; top: 90px; }
.abr-cart-summary h3 { margin: 0 0 20px; font-size: 1rem; font-family: inherit; color: #111827; }
.abr-total-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: .9rem; border-bottom: 1px solid #f9fafb; font-family: inherit; }
.abr-total-row:last-child { border-bottom: none; }
.abr-discount-row { color: #059669; }
.abr-grand-total { font-size: 1.05rem; font-weight: 700; border-top: 2px solid #e5e7eb !important; padding-top: 14px !important; margin-top: 4px; }
.abr-checkout-btn {
    display: block; width: 100%; background: #e84393; color: #fff;
    text-align: center; padding: 14px; border-radius: 12px; text-decoration: none;
    font-weight: 700; margin-top: 16px; transition: opacity .2s; font-size: .95rem;
    font-family: inherit;
}
.abr-checkout-btn:hover { opacity: .88; color: #fff; }
.abr-continue-btn {
    display: block; width: 100%; text-align: center; padding: 10px; color: #9ca3af;
    text-decoration: none; font-size: .88rem; margin-top: 8px; transition: color .2s;
    font-family: inherit;
}
.abr-continue-btn:hover { color: #e84393; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1200px) {
    .abr-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .abr-fc-about { grid-column: 1 / -1; }
    .abr-products-grid { grid-template-columns: repeat(3, 1fr); }
    .abr-archive-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .abr-archive-sidebar { width: 200px; }
    .abr-cart-layout { grid-template-columns: 1fr 300px; }
}

@media (max-width: 768px) {
    .abr-header-desktop { display: none !important; }
    .abr-header-mobile { display: flex !important; }
    .abr-mobile-bottom-nav { display: flex !important; }
    body { padding-bottom: 60px; }

    /* فوتر موبایل: ۲ ستون */
    .abr-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px; padding: 32px 16px !important; }
    .abr-fc-about { grid-column: 1 / -1; }
    .abr-footer-bottom-inner { flex-direction: column; text-align: center; }

    .abr-products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .abr-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* صفحه محصول تکی موبایل */
    .abr-sp-layout, .abr-pp-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 28px;
    }
    .abr-sp-title { font-size: 1.2rem; margin-bottom: 10px; }
    .abr-sp-price { font-size: 1.4rem; margin-bottom: 14px; }
    .abr-sp-short-desc { font-size: .9rem; margin-bottom: 16px; }
    .abr-sp-actions { gap: 10px; margin-bottom: 16px; }
    .abr-sp-actions.has-variations { flex-direction: column; }
    .abr-sp-btn { padding: 12px 16px; font-size: .9rem; }
    .abr-sp-thumbs { gap: 6px; }
    .abr-sp-thumb { width: 58px; height: 58px; }
    .abr-sp-tabs { margin-top: 24px; }
    .abr-tabs-header { overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
    .abr-tab-btn { padding: 11px 16px; font-size: .88rem; }
    .abr-sp-related { margin-top: 28px; }
    .abr-sp-related .abr-products-grid { grid-template-columns: repeat(2, 1fr); }
    /* sticky bar در موبایل بالای bottom nav */
    .abr-sticky-buy-bar { bottom: 60px; padding: 10px 14px; }
    .abr-sticky-buy-bar .abr-sp-btn { padding: 9px 16px; font-size: .85rem; }
    .abr-sticky-title { display: none; }

    .abr-cart-layout { grid-template-columns: 1fr; }
    .abr-cart-table thead { display: none; }
    .abr-cart-table td { display: flex; align-items: center; justify-content: space-between; border-bottom: none; padding: 8px 0; }
    .abr-cart-row { display: block; border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 12px; padding: 12px 16px; }
    .abr-cart-summary { position: static; }
    .abr-sec-header { flex-direction: column; align-items: flex-start; gap: 12px; }

    /* آرشیو موبایل: دکمه فیلتر نمایش داده شود */
    .abr-filter-toggle-btn { display: inline-flex !important; }
    .abr-filter-sidebar-head { display: flex !important; }
    /* سایدبار فیلتر: در موبایل به صورت سایدبار از راست */
    .abr-archive-layout.has-sidebar { flex-direction: column; }
    .abr-archive-sidebar {
        position: fixed; top: 0; right: 0; bottom: 0; width: 280px;
        z-index: 9996; transform: translateX(110%); transition: transform .3s ease;
        border-radius: 0; box-shadow: -8px 0 40px rgba(0,0,0,.15);
        overflow-y: auto; padding: 0;
    }
    .abr-archive-sidebar.abr-filter-open { transform: translateX(0); }
    .abr-filter-sidebar-head { padding: 16px 20px; }
    .abr-sidebar-placeholder { padding: 0 20px 20px; }
    .abr-archive-sidebar .widget { padding: 0 20px; margin-bottom: 16px; }

    .abr-archive-toolbar { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
    .abr-toolbar-left { display: flex; align-items: center; gap: 10px; }
    .abr-toolbar-right { margin-right: auto; display: flex; gap: 6px; }
    .abr-sort-select { font-size: .82rem; padding: 6px 10px; }
}

@media (max-width: 480px) {
    .abr-products-grid, .abr-archive-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .abr-product-info { padding: 10px; }
    .abr-product-title { font-size: .82rem; }
    .abr-add-to-cart { font-size: .76rem; padding: 7px 8px; }
    .abr-card-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
    .abr-add-to-cart { width: 100%; justify-content: center; }
    .abr-sp-title { font-size: 1.2rem; }
    .abr-sp-price { font-size: 1.4rem; }
    /* فوتر تک‌ستون در موبایل کوچک */
    .abr-footer-grid { grid-template-columns: 1fr !important; }
    .abr-fc-about { grid-column: auto; }
    .abr-sec-title { font-size: 1.1rem; }
}
