/* ══════════════════════════════════════════════════════════════════
   Prompt 188 — بخش «مشتریان ارشیا»
   صفحهٔ اصلی (نوار اعتماد) + صفحهٔ /customers/ + ستون‌های پیشخوان

   هویت بصری: بنفش #352070 | طلایی #EEBB66 | سفید و خاکستری روشن
   فونت: Vazirmatn (از شیت فونت قالب) — رابط کاملاً فارسی و RTL
   قانون اندازهٔ لوگو: ارتفاع ثابت، عرض از نسبت واقعی تصویر؛ هیچ کشیدگی.
   ══════════════════════════════════════════════════════════════════ */

/* ─────────────── صفحه اصلی: لوگوها در نوار اعتماد ─────────────── */

/* تصویر درون .tb-logo از قانون‌های css/style-home.css پیروی می‌کند
   (max-height: 40px و width: auto)؛ اینجا فقط هم‌ترازی سلول تثبیت می‌شود. */
.home-canvas .trustband-logos .tb-logo {
    vertical-align: middle;
}

.home-canvas .trustband-more {
    text-align: center;
    margin: 26px 0 0;
}

.home-canvas .tb-more-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ar-brand, #352070);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--ar-brand, #352070);
    border-radius: 999px;
    background: #fff;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.home-canvas .tb-more-link::after {
    content: "←";
    font-size: 15px;
    line-height: 1;
}

.home-canvas .tb-more-link:hover,
.home-canvas .tb-more-link:focus-visible {
    color: #fff;
    background: var(--ar-brand, #352070);
    border-color: var(--ar-brand, #352070);
}

.home-canvas .tb-more-link:focus-visible {
    outline: 2px solid var(--ar-gold, #EEBB66);
    outline-offset: 2px;
}

/* ─────────────── صفحهٔ اختصاصی /customers/ ─────────────── */

.customers-canvas {
    background: #f7f6fb;
    padding-bottom: 58px;
}

.customers-head {
    background: #fff;
    border-bottom: 1px solid #eceaf3;
    padding: 44px 0 34px;
}

.customers-title {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 800;
    color: var(--ar-brand, #352070);
    text-align: center;
}

.customers-intro {
    max-width: 780px;
    margin: 0 auto;
    font-size: 15.5px;
    line-height: 2;
    color: #5b5570;
    text-align: center;
}

.customers-intro p {
    margin: 0;
}

.customers-body {
    padding: 38px 0 0;
}

.customers-subtitle {
    margin: 0 0 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #8b86a3;
    text-align: center;
}

.customers-empty {
    max-width: 640px;
    margin: 0 auto;
    padding: 26px 22px;
    border: 1px dashed #d7d2e6;
    border-radius: 14px;
    background: #fff;
    color: #6c6784;
    font-size: 14.5px;
    line-height: 2;
    text-align: center;
}

.customers-cta {
    margin-top: 44px;
    text-align: center;
}

.customers-cta p {
    margin: 0 0 16px;
    font-size: 15px;
    color: #5b5570;
}

.customers-cta .btn {
    margin: 0 6px;
}

/* ─────────────── گرید لوگوها ─────────────── */

.arshia-customers-grid {
    display: grid;
    grid-template-columns: repeat(var(--ar-cust-cols, 6), minmax(0, 1fr));
    gap: 14px;
    max-width: 1120px;
    margin: 0 auto;
}

.arshia-cust-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 116px;
    padding: 16px 14px;
    background: #fff;
    border: 1px solid #eceaf3;
    border-radius: 14px;
    color: inherit;
    text-align: center;
    text-decoration: none;
}

.arshia-cust-cell:hover {
    text-decoration: none;
}

/* سلول تصویر: ارتفاع قفل‌شده تا لوگوی افقی، عمودی و مربعی یک خط پایه داشته باشند */
.arshia-cust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 68px;
}

.arshia-cust-logo img,
img.arshia-cust-img {
    max-height: 64px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.arshia-cust-name {
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.7;
    color: #4b445f;
}

.arshia-cust-desc {
    font-size: 11.5px;
    line-height: 1.8;
    color: #8b86a3;
}

/* حرکت ملایم — فقط وقتی کاربر کاهش حرکت را انتخاب نکرده باشد */
@media (prefers-reduced-motion: no-preference) {
    .arshia-cust-cell {
        transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    }

    .arshia-cust-cell:hover {
        transform: translateY(-2px);
        border-color: var(--ar-gold, #EEBB66);
        box-shadow: 0 8px 22px rgba(53, 32, 112, .08);
    }

    .arshia-cust-cell:hover .arshia-cust-name {
        color: var(--ar-brand, #352070);
    }
}

.arshia-cust-cell:focus-visible {
    outline: 2px solid var(--ar-gold, #EEBB66);
    outline-offset: 2px;
}

/* ─────────────── واکنش‌گرایی گرید ─────────────── */

@media (max-width: 1024px) {
    .arshia-customers-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .arshia-customers-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
    }

    .customers-title {
        font-size: 25px;
    }
}

@media (max-width: 600px) {
    .arshia-customers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .arshia-cust-cell {
        min-height: 100px;
        padding: 13px 9px;
    }

    .arshia-cust-logo {
        height: 54px;
    }

    .arshia-cust-logo img,
    img.arshia-cust-img {
        max-height: 50px;
    }

    .arshia-cust-name {
        font-size: 11.5px;
    }

    .customers-head {
        padding: 30px 0 24px;
    }
}

@media (max-width: 430px) {
    .arshia-customers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ─────────────── پیشخوان: جعبهٔ لوگو و ستون فهرست ─────────────── */

.arshia-cust-box .arshia-cust-picker {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.arshia-cust-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 76px;
    padding: 10px;
    background: #fff;
    border: 1px dashed #cfc8e6;
    border-radius: 10px;
}

.arshia-cust-preview img {
    max-height: 54px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.arshia-cust-empty {
    font-size: 12px;
    color: #8b86a3;
    text-align: center;
}

.arshia-cust-col-logo img {
    max-height: 34px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

.arshia-cust-missing {
    color: #b32d2e;
    font-weight: 600;
}
