/* =====================================================================
   FileSell Marketplace - Core Stylesheet
   فونت: در صورت تمایل فایل‌های Vazirmatn را در assets/fonts قرار داده
   و @font-face را جایگزین import زیر کنید (self-hosted بهتر از CDN است)
   ===================================================================== */

@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

:root {
    --primary: var(--theme-primary, #2f6fed);
    --primary-dark: var(--theme-primary-dark, #1f4fc2);
    --accent: var(--theme-accent, #ff8a3d);
    --bg: #f6f8fb;
    --surface: #ffffff;
    --text: #1b2430;
    --text-muted: #6b7688;
    --border: #e6e9f0;
    --success: #1fa971;
    --danger: #e14b4b;
    --radius: 14px;
    --shadow: 0 4px 20px rgba(20, 30, 60, 0.06);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 20px;
}
.logo { font-size: 20px; font-weight: 700; color: var(--primary); }
.header-search { flex: 1; display: flex; max-width: 420px; }
.header-search input {
    flex: 1; border: 1px solid var(--border); border-radius: 10px 0 0 10px;
    padding: 10px 14px; font-family: inherit; font-size: 14px;
}
.header-search button {
    border: none; background: var(--primary); color: #fff; padding: 0 18px;
    border-radius: 0 10px 10px 0; cursor: pointer; font-family: inherit;
}
.header-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.header-nav a { color: var(--text-muted); transition: .2s; }
.header-nav a:hover { color: var(--primary); }

.btn-primary-sm, .btn-ghost {
    padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
}
.btn-primary-sm { background: var(--primary); color: #fff !important; }
.btn-ghost { border: 1px solid var(--border); }

/* ---------- Buttons / Forms ---------- */
.btn {
    display: inline-block; padding: 12px 26px; border-radius: 10px;
    background: var(--primary); color: #fff; border: none; cursor: pointer;
    font-family: inherit; font-size: 15px; font-weight: 600; transition: .2s;
}
.btn:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ---------- خرید فوری (بدون ثبت‌نام) ---------- */
.btn-quickbuy {
    background: linear-gradient(135deg, #ff5c5c 0%, #e11d2e 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 4px 14px rgba(225, 29, 46, .28);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn-quickbuy:hover {
    background: linear-gradient(135deg, #ff6f6f 0%, #f0242f 100%);
    box-shadow: 0 6px 18px rgba(225, 29, 46, .38);
    transform: translateY(-1px);
}
.btn-quickbuy:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(225, 29, 46, .3); }
.btn-quickbuy::before {
    content: "⚡";
    margin-left: 6px;
}

/* ---------- حذف از سبد خرید ---------- */
.btn-remove {
    background: #fff5f5;
    color: #dc2626 !important;
    border: 1.5px solid #fecaca;
    font-weight: 700;
    border-radius: 8px;
    transition: .15s ease;
}
.btn-remove:hover {
    background: #dc2626;
    color: #fff !important;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, .25);
}

/* ---------- زیرمنوی دسته‌بندی‌ها در هدر ----------
   موقعیت با position:fixed و توسط جاوااسکریپت (نگاه کنید به پایین header.php)
   محاسبه می‌شود، نه با CSS hover ساده؛ چون نوار دسته‌بندی‌ها overflow-x:auto
   دارد و طبق مشخصات CSS این باعث می‌شود overflow-y هم به‌صورت خودکار به auto
   تبدیل شود و هر چیزی که از آن باکس بیرون بزند (از جمله این زیرمنو با
   position:absolute) کلیپ/پنهان شود؛ به همین دلیل با روش قبلی زیرمنو اصلا
   دیده نمی‌شد. با position:fixed این مشکل کاملا برطرف می‌شود و چون باز/بسته
   شدن با کلیک (نه فقط hover) کنترل می‌شود، روی موبایل هم با لمس کار می‌کند. */
.fm-submenu { display: none; position: fixed; z-index: 60; }
.fm-submenu.is-open { display: block; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.form-control {
    width: 100%; padding: 11px 14px; border: 1px solid var(--border);
    border-radius: 10px; font-family: inherit; font-size: 14px; background: #fff;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-control.is-invalid { border-color: #dc2626 !important; box-shadow: 0 0 0 1px #dc2626; }
.field-error { display: block; color: #dc2626; font-size: 12.5px; margin-top: 4px; }

.card {
    background: var(--surface); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 24px;
}
.auth-card { max-width: 420px; margin: 60px auto; }

/* ---------- Alerts ---------- */
.alert { padding: 12px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.alert-success { background: #e6f8f0; color: var(--success); }
.alert-error { background: #fdecec; color: var(--danger); }
.alert-info { background: #eaf1ff; color: var(--primary); }

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, var(--primary), #5b8def);
    color: #fff; border-radius: var(--radius); padding: 50px 40px;
    margin: 24px 0; text-align: center;
}
.hero h1 { font-size: 30px; margin: 0 0 12px; }
.hero p { opacity: .9; margin: 0; }

/* ---------- Product Grid ---------- */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px; margin: 24px 0;
}
.product-card {
    background: var(--surface); border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow); transition: transform .2s;
}
.product-card:hover { transform: translateY(-4px); }
.product-card img { width: 100%; height: 150px; object-fit: cover; background: #eef1f6; }
.product-card .pc-body { padding: 14px; }
.product-card .pc-title { font-size: 15px; font-weight: 700; margin: 0 0 6px; line-height: 1.6; }
.product-card .pc-seller { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.product-card .pc-price { font-weight: 700; color: var(--primary); }
.product-card .pc-price del { color: var(--text-muted); font-weight: 400; margin-left: 6px; font-size: 12px; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge-featured { background: #fff1e5; color: var(--accent); }

/* ---------- Tables (dashboards) ---------- */
table.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
table.data-table th, table.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 14px; text-align: right; }
table.data-table th { background: #f0f3f9; font-weight: 700; }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status-pending { background: #fff6e0; color: #a67300; }
.status-approved, .status-paid, .status-active { background: #e6f8f0; color: var(--success); }
.status-rejected, .status-failed, .status-banned { background: #fdecec; color: var(--danger); }

/* ---------- Dashboard Layout ---------- */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; margin: 24px 0; align-items: start; }
.dash-sidebar { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; position: sticky; top: 90px; }
.dash-sidebar a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 4px; color: var(--text-muted); }
.dash-sidebar a.active, .dash-sidebar a:hover { background: var(--bg); color: var(--primary); font-weight: 700; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 24px; }
.stat-box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.stat-box .num { font-size: 26px; font-weight: 800; color: var(--primary); }
.stat-box .label { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #101828; color: #a7b0c0; margin-top: 60px; padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; }
.footer-links a { color: #a7b0c0; }
.footer-links a:hover { color: #fff; }

.page-main { min-height: 60vh; padding-top: 24px; padding-bottom: 40px; }

@media (max-width: 800px) {
    .header-inner { flex-wrap: wrap; }
    .header-search { order: 3; max-width: 100%; }
    .dash-layout { grid-template-columns: 1fr; }
}

/* ---------- صفحه محصول: ستون محتوا + ستون قیمت/خرید ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.pd-sidebar { position: sticky; top: 90px; }
@media (max-width: 860px) {
    .pd-layout { grid-template-columns: 1fr; gap: 16px; }
    .pd-sidebar { position: static; order: -1; }
}

/* =====================================================================
   پنل مدیریت - بازطراحی سبک با هدر/سایدبار Tailwind (بدون تاثیر بر
   سایر بخش‌های سایت؛ همه قوانین زیر محدود به body.admin-panel هستند)
   ===================================================================== */
body.admin-panel { background: #f8fafc; }
body.admin-panel .card {
    background: #fff; border-radius: 20px; border: 1px solid rgba(226,232,240,.7);
    box-shadow: 0 8px 30px rgba(0,0,0,.04); padding: 22px;
}
body.admin-panel h1 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 6px; }
body.admin-panel h2 { font-size: 16px; font-weight: 800; margin: 28px 0 14px; }
body.admin-panel table.data-table {
    background: #fff; border-radius: 16px; border: 1px solid rgba(226,232,240,.7); box-shadow: none;
}
body.admin-panel table.data-table th {
    background: #f8fafc; color: #64748b; font-size: 11.5px; font-weight: 600;
    border-bottom: 1px solid #f1f5f9;
}
body.admin-panel table.data-table td { border-bottom: 1px solid #f1f5f9; font-size: 13.5px; }
body.admin-panel table.data-table tr:hover td { background: #f8fafc; }
body.admin-panel .status-pill { border: 1px solid transparent; font-size: 11px; }
body.admin-panel .status-pending { background: #fffbeb; color: #b45309; border-color: #fde68a; }
body.admin-panel .status-approved, body.admin-panel .status-paid, body.admin-panel .status-active { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
body.admin-panel .status-rejected, body.admin-panel .status-failed, body.admin-panel .status-banned { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
body.admin-panel .btn, body.admin-panel .btn-sm {
    background: #0f172a !important; color: #fff !important; border-radius: 12px; font-weight: 600; border: none;
    box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 6px 14px rgba(15,23,42,.10);
    transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}
body.admin-panel .btn:hover, body.admin-panel .btn-sm:hover {
    background: #1e293b !important; transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(15,23,42,.08), 0 10px 20px rgba(15,23,42,.14);
}
body.admin-panel .btn:active, body.admin-panel .btn-sm:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(15,23,42,.10); }
body.admin-panel .btn-outline {
    background: #fff !important; color: #334155 !important; border: 1px solid #e2e8f0; border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15,23,42,.03); transition: background .18s ease, border-color .18s ease, transform .12s ease;
}
body.admin-panel .btn-outline:hover { background: #f8fafc !important; border-color: #cbd5e1; transform: translateY(-1px); }
body.admin-panel .btn-outline:active { transform: translateY(0); }
body.admin-panel .btn-danger { background: #dc2626 !important; color: #fff !important; box-shadow: 0 1px 2px rgba(220,38,38,.12), 0 6px 14px rgba(220,38,38,.18); }
body.admin-panel .btn-danger:hover { background: #b91c1c !important; box-shadow: 0 2px 4px rgba(220,38,38,.16), 0 10px 20px rgba(220,38,38,.24); }
body.admin-panel .btn-primary-soft { background: #eff6ff !important; color: #1d4ed8 !important; border-radius: 12px; border: 1px solid #dbeafe; font-weight: 600; box-shadow: none; }
body.admin-panel .btn-primary-soft:hover { background: #dbeafe !important; border-color: #bfdbfe; transform: translateY(-1px); }
body.admin-panel .btn-danger-soft { background: #fef2f2 !important; color: #b91c1c !important; border-radius: 12px; border: 1px solid #fecaca; font-weight: 600; box-shadow: none; }
body.admin-panel .btn-danger-soft:hover { background: #fee2e2 !important; border-color: #fca5a5; transform: translateY(-1px); }
body.admin-panel .btn-success-soft { background: #ecfdf5 !important; color: #047857 !important; border-radius: 12px; border: 1px solid #a7f3d0; font-weight: 600; box-shadow: none; }
body.admin-panel .btn-success-soft:hover { background: #d1fae5 !important; border-color: #6ee7b7; transform: translateY(-1px); }
body.admin-panel .btn-amber-soft { background: #fffbeb !important; color: #b45309 !important; border-radius: 12px; border: 1px solid #fde68a; font-weight: 600; box-shadow: none; }
body.admin-panel .btn-amber-soft:hover { background: #fef3c7 !important; border-color: #fcd34d; transform: translateY(-1px); }
body.admin-panel [class*="btn-"], body.admin-panel .btn, body.admin-panel .btn-sm {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    cursor: pointer; white-space: nowrap; line-height: 1; box-sizing: border-box;
}
body.admin-panel [class*="btn-"] svg {
    flex-shrink: 0; width: 16px; height: 16px;
}
body.admin-panel .action-group [class*="btn-"] {
    height: 34px;
}
body.admin-panel .btn-icon {
    width: 34px; height: 34px; padding: 0; border-radius: 10px;
}
body.admin-panel .btn-icon svg { width: 16px; height: 16px; }
body.admin-panel .action-group { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
body.admin-panel .form-control { border-radius: 12px; border-color: #e2e8f0; transition: border-color .15s ease, box-shadow .15s ease; }
body.admin-panel .form-control:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
body.admin-panel .form-hint { font-size: 12px; color: #94a3b8; margin-top: 6px; }
body.admin-panel .alert { border-radius: 14px; border: 1px solid transparent; }
body.admin-panel .alert-success { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
body.admin-panel .alert-error { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
body.admin-panel .alert-info { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
body.admin-panel .info-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 13.5px; }
body.admin-panel .info-row:last-child { border-bottom: none; }
body.admin-panel .info-row .label { color: #94a3b8; font-weight: 600; }
body.admin-panel .toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 12px; }
body.admin-panel .avatar-circle { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg,#0f172a,#334155); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; box-shadow: 0 8px 20px rgba(15,23,42,.18); }
body.admin-panel input[type="checkbox"] { width: 18px; height: 18px; accent-color: #2563eb; cursor: pointer; }
body.admin-panel button[disabled] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* گالری انتخاب تصویر بندانگشتی آماده (Word/PDF/Zip/...) برای فرم افزودن/ویرایش محصول */
.fm-thumb-presets { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 4px; }
.fm-thumb-preset-item { cursor: pointer; text-align: center; width: 76px; }
.fm-thumb-preset-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.fm-thumb-preset-box, .fm-thumb-preset-item img {
    width: 68px; height: 68px; border-radius: 12px; border: 2px solid var(--border, #e2e8f0);
    object-fit: cover; display: block; margin: 0 auto 4px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.fm-thumb-preset-box { display: flex; align-items: center; justify-content: center; font-size: 11px; color: #94a3b8; padding: 4px; }
.fm-thumb-preset-item span.fm-thumb-preset-label { font-size: 11px; color: #64748b; display: block; }
.fm-thumb-preset-item input:checked + img,
.fm-thumb-preset-item input:checked + .fm-thumb-preset-box { border-color: var(--primary, #2563eb); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }

/* ---------- دکمه پیشنهاد باندل تخفیف‌دار (صفحه محصول) ---------- */
.bundle-promo-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #fff;
    border-radius: 14px;
    padding: 13px 15px;
    margin-bottom: 14px;
    text-decoration: none;
    box-shadow: 0 8px 20px -8px rgba(217,119,6,.55);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.bundle-promo-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(217,119,6,.65); filter: brightness(1.03); }
.bundle-promo-btn:active { transform: translateY(0); }
.bundle-promo-btn .bpb-icon {
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    background: rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.bundle-promo-btn .bpb-text { flex: 1; text-align: right; min-width: 0; }
.bundle-promo-btn .bpb-title { font-weight: 800; font-size: 13px; line-height: 1.5; display: block; }
.bundle-promo-btn .bpb-sub { font-size: 11px; opacity: .92; margin-top: 2px; display: block; }
.bundle-promo-btn .bpb-arrow { font-size: 20px; opacity: .85; flex-shrink: 0; transition: transform .15s ease; }
.bundle-promo-btn:hover .bpb-arrow { transform: translateX(-3px); }

/* ---------- دکمه «پیگیری سفارش» در هدر سایت ---------- */
.track-order-btn { transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; }
.track-order-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px -6px rgba(8,145,178,.65) !important; }
.track-order-btn:active { transform: translateY(0); }

/* =====================================================================
   پنل مدیریت - ریسپانسیو موبایل
   جداول با کلاس data-table به‌صورت خودکار توسط جاوااسکریپت
   (admin/_admin_footer.php) داخل .table-scroll قرار می‌گیرند تا به‌جای
   بهم‌ریختن کل صفحه، فقط خود جدول به‌صورت افقی اسکرول شود.
   ===================================================================== */
body.admin-panel .table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
}
body.admin-panel .table-scroll table.data-table { margin: 0; }

@media (max-width: 700px) {
    body.admin-panel table.data-table { min-width: 620px; }
    body.admin-panel .card { padding: 16px; }
    body.admin-panel .info-row,
    body.admin-panel .toggle-row {
        flex-wrap: wrap;
    }
    /* ردیف‌های دکمه/فیلتر که با style="display:flex" ساخته شده‌اند،
       روی موبایل به‌صورت خودکار می‌شکنند تا از سرریز افقی جلوگیری شود */
    body.admin-panel [style*="display:flex"],
    body.admin-panel [style*="display: flex"] {
        flex-wrap: wrap !important;
    }
}

@media (max-width: 420px) {
    body.admin-panel h1 { font-size: 19px; }
    body.admin-panel .btn, body.admin-panel .btn-sm { padding: 7px 14px; }
}

/* =====================================================================
   نوار درصد پیشرفت آپلود فایل (fm-upload-progress) - از assets/js/upload-progress.js
   برای فرم‌هایی که ویژگی data-upload-progress دارند استفاده می‌شود؛ روی
   سایت اصلی، پنل فروشندگان و پنل ادمین به‌صورت یکسان کار می‌کند.
   ===================================================================== */
.fm-upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.fm-upload-box {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.25);
    padding: 28px 26px;
    width: 100%;
    max-width: 380px;
    text-align: center;
}
.fm-upload-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.fm-upload-bar-track {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 999px;
    height: 14px;
    overflow: hidden;
    width: 100%;
}
.fm-upload-bar-fill {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transition: width 0.15s ease;
}
.fm-upload-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-muted);
}
.fm-upload-percent {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
}
.fm-upload-hint {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-muted);
}
.fm-upload-close-btn {
    margin-top: 6px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 9px 22px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}
.fm-upload-overlay.fm-upload-error .fm-upload-box { text-align: center; }

@media (max-width: 420px) {
    .fm-upload-box { padding: 22px 18px; }
}

