/* ==========================================================================
   شیراز موبایل — استایل اصلی سایت (RTL، موبایل‌اول، چیدمان اسنپ‌مانند)
   ========================================================================== */

@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
    --brand: #00A661;
    --brand-dark: #007A47;
    --brand-soft: #E3F6ED;
    --accent: #FFB300;
    --bg: #F1F3F6;
    --card: #FFFFFF;
    --text: #1B2430;
    --muted: #67707E;
    --line: #E8EBF0;
    --danger: #E5484D;
    --radius: 20px;
    --radius-sm: 14px;
    --shadow: 0 6px 24px rgba(23, 43, 77, .07);
    --shadow-sm: 0 2px 10px rgba(23, 43, 77, .06);
    --nav-h: 74px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Vazirmatn', Vazir, Tahoma, sans-serif;
    background: linear-gradient(160deg, #E9EDF2, #F3F5F8);
    color: var(--text);
    min-height: 100dvh;
    font-size: 15px;
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; }

.app {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100dvh;
    background: var(--bg);
    position: relative;
    padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px) + 14px);
    box-shadow: 0 0 60px rgba(23, 43, 77, .10);
}

@media (min-width: 560px) {
    body { padding: 18px 0; }
    .app { border-radius: 28px; min-height: calc(100dvh - 36px); overflow: hidden; }
}

/* ---------- هدر ---------- */
.topbar {
    position: sticky; top: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo {
    width: 42px; height: 42px; border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; display: grid; place-items: center;
    box-shadow: 0 6px 14px rgba(0, 166, 97, .35);
}
.brand-logo svg { width: 22px; height: 22px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.4; }
.brand-text strong { font-size: 16px; font-weight: 800; }
.brand-text small { font-size: 11.5px; color: var(--muted); }
.call-btn {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand);
    display: grid; place-items: center;
    transition: transform .15s;
}
.call-btn svg { width: 20px; height: 20px; }
.call-btn:active { transform: scale(.92); }

.main { padding: 14px 14px 20px; }

/* ---------- جستجو ---------- */
.search-wrap { margin-bottom: 12px; }
.searchbar {
    display: flex; align-items: center; gap: 6px;
    background: var(--card); border-radius: 999px;
    box-shadow: var(--shadow-sm);
    padding: 4px 6px 4px 4px;
    border: 1px solid var(--line);
}
.searchbar input {
    flex: 1; border: 0; outline: none; background: none;
    padding: 9px 12px; font-size: 14px;
}
.searchbar button {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--brand); color: #fff; display: grid; place-items: center;
    flex-shrink: 0;
}
.searchbar button svg { width: 18px; height: 18px; }

/* ---------- اسلایدر بنر ---------- */
.slider { position: relative; margin-bottom: 14px; }
.slides {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    border-radius: var(--radius); scrollbar-width: none;
    box-shadow: var(--shadow);
}
.slides::-webkit-scrollbar { display: none; }
.slide {
    position: relative; flex: 0 0 100%; scroll-snap-align: center;
    min-height: 132px; border-radius: var(--radius); overflow: hidden;
    background: linear-gradient(120deg, var(--bg-from), var(--bg-to));
    color: var(--tx, #fff);
    display: flex; align-items: center;
}
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(240deg, transparent 30%, rgba(0, 0, 0, .45)); }
.slide-body {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 18px;
}
.slide-body strong { font-size: 17px; font-weight: 800; }
.slide-body small { font-size: 12.5px; opacity: .85; }
.slide-btn {
    margin-top: 8px; background: rgba(255, 255, 255, .92); color: #1B2430;
    font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 5px 16px;
}
.dots { display: flex; justify-content: center; gap: 5px; margin-top: 9px; }
.dot { width: 7px; height: 7px; border-radius: 999px; background: #C9CFD8; transition: all .25s; }
.dot.is-on { width: 20px; background: var(--brand); }

/* ---------- پنل‌ها ---------- */
.panel {
    background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 16px; margin-bottom: 14px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h2 { font-size: 15.5px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.marker { width: 7px; height: 20px; border-radius: 99px; background: var(--accent); display: inline-block; }
.see-all { font-size: 12.5px; color: var(--brand); font-weight: 700; }

/* ---------- گرید سرویس‌ها ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.svc-tile {
    position: relative;
    background: var(--card); border-radius: 18px;
    padding: 14px 6px 12px;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform .15s, box-shadow .15s;
    text-align: center;
}
.svc-tile:active { transform: scale(.95); }
.svc-ico {
    width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center;
}
.svc-ico-img { width: 30px; height: 30px; object-fit: contain; border-radius: 0; }
.svc-ico-svg { display: grid; place-items: center; }
.svc-ico-svg svg { width: 100%; height: 100%; }
.svc-title { font-size: 12px; font-weight: 600; color: var(--text); line-height: 1.4; }
.svc-sub { font-size: 10.5px; color: var(--muted); }
.svc-badge {
    position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    background: var(--danger); color: #fff; font-size: 10px; font-weight: 700;
    border-radius: 999px; padding: 1px 9px; white-space: nowrap;
    box-shadow: 0 3px 8px rgba(229, 72, 77, .4);
}
.svc-tile.is-soon { opacity: .78; }
@media (min-width: 420px) { .svc-grid-wide { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 419px) { .svc-grid-wide { grid-template-columns: repeat(3, 1fr); } }

/* ---------- ویجت‌های استعلام ---------- */
.widgets { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.widget-card {
    display: flex; align-items: center; gap: 14px;
    border-radius: var(--radius); padding: 16px;
    color: #fff; box-shadow: var(--shadow);
    transition: transform .15s;
}
.widget-card:active { transform: scale(.98); }
.widget-repair { background: linear-gradient(120deg, var(--brand), var(--brand-dark)); }
.widget-acc { background: linear-gradient(120deg, #2E6BF0, #1E4FD6); }
.w-ico {
    width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
    background: rgba(255, 255, 255, .18); display: grid; place-items: center;
}
.w-ico svg { width: 26px; height: 26px; }
.w-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.w-body strong { font-size: 15px; font-weight: 800; }
.w-body small { font-size: 11.5px; opacity: .85; line-height: 1.6; }
.w-cta {
    background: #fff; color: var(--text); font-size: 12px; font-weight: 800;
    padding: 7px 14px; border-radius: 999px; flex-shrink: 0;
}

/* ---------- نوار اطلاعاتی / آیتم‌های اطلاع‌رسانی ---------- */
.info-rows { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: flex; align-items: center; gap: 12px; }
.info-row > div { flex: 1; display: flex; flex-direction: column; line-height: 1.5; }
.info-row strong { font-size: 13.5px; }
.info-row small { font-size: 12px; color: var(--muted); }
.info-ico {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    background: var(--brand-soft); color: var(--brand); display: grid; place-items: center;
}
.info-ico svg { width: 19px; height: 19px; }

.info-items { padding: 6px 16px; }
.info-items .info-row {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    transition: transform .12s;
}
.info-items .info-row:last-child { border-bottom: 0; }
a.info-row:active, .info-row.is-soon:active { transform: scale(.985); }
.info-row .info-body { flex: 1; display: flex; flex-direction: column; line-height: 1.5; min-width: 0; }
.info-row .btn { flex-shrink: 0; }
.info-row.is-soon { opacity: .8; }

/* ---------- نویگیشن پایین ---------- */
.bottomnav {
    position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 480px; z-index: 50;
    height: calc(var(--nav-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 10px calc(env(safe-area-inset-bottom, 0px));
    background: #fff; border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 30px rgba(23, 43, 77, .12);
    display: flex; align-items: stretch; justify-content: space-around;
}
@media (min-width: 560px) { .bottomnav { bottom: 18px; border-radius: 24px; height: var(--nav-h); } }
.bn-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    color: #98A1AE; position: relative; padding-top: 6px;
}
.bn-item .bn-ico svg { width: 23px; height: 23px; }
.bn-label { font-size: 10.5px; font-weight: 600; }
.bn-item.is-active { color: var(--brand); }
.bn-center { transform: translateY(-14px); }
.bn-circle {
    width: 54px; height: 54px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; display: grid; place-items: center;
    box-shadow: 0 8px 20px rgba(0, 166, 97, .45);
    border: 4px solid #fff;
}
.bn-circle svg { width: 24px; height: 24px; }
.bn-center .bn-label { color: var(--brand); font-weight: 700; }
.bn-center.is-active .bn-circle { transform: scale(1.06); }

/* ---------- دکمه‌ها و فرم‌ها ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    border-radius: 999px; padding: 10px 22px;
    font-size: 13.5px; font-weight: 700;
    transition: transform .15s, opacity .15s;
}
.btn:active { transform: scale(.96); }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(0, 166, 97, .35); }
.btn-ghost { background: var(--brand-soft); color: var(--brand-dark); }
.btn-sm { padding: 6px 14px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; pointer-events: none; }

input[type="text"], input[type="tel"], input[type="search"], input[type="number"],
input[type="url"], input[type="email"], input[type="password"], input[type="date"], select, textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 12px;
    padding: 10px 14px; font-size: 14px; background: #fff; outline: none;
    transition: border-color .15s;
    color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
textarea { resize: vertical; min-height: 90px; }
label.fld { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 10px 0 5px; }

/* ---------- ویزارد استعلام ---------- */
.wizard-head { text-align: center; padding: 8px 0 14px; }
.wizard-head h1 { font-size: 18px; font-weight: 800; }
.wizard-head p { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.steps { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 16px; }
.step-dot {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #A6AEBB; font-size: 11px;
}
.step-dot b {
    width: 30px; height: 30px; border-radius: 50%;
    background: #E4E8EE; color: #98A1AE;
    display: grid; place-items: center; font-size: 13px;
    transition: all .25s;
}
.step-dot.is-active b { background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(0, 166, 97, .4); }
.step-dot.is-active { color: var(--brand); font-weight: 700; }
.step-line { width: 26px; height: 2px; background: #E4E8EE; border-radius: 2px; margin-bottom: 18px; }

.step-pane {
    background: var(--card); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 16px;
}
.pane-title { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.btn-back {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--muted); font-size: 12px; margin-bottom: 8px;
    background: var(--bg); border-radius: 999px; padding: 5px 12px;
}

.chip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.chip-opt {
    border: 1.5px solid var(--line); border-radius: 14px;
    padding: 12px 8px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; background: #fff;
    transition: all .15s; position: relative;
}
.chip-opt small { font-size: 10.5px; color: var(--muted); font-weight: 500; }
.chip-opt:active { transform: scale(.96); }
.chip-opt.is-on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.chip-opt.is-on::after {
    content: '✓'; position: absolute; top: -7px; left: -5px;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--brand); color: #fff; font-size: 11px;
    display: grid; place-items: center;
}
.list-rows { display: flex; flex-direction: column; gap: 8px; }
.list-row {
    border: 1.5px solid var(--line); border-radius: 14px;
    padding: 12px 14px; display: flex; align-items: center; justify-content: space-between;
    font-size: 13.5px; font-weight: 600; background: #fff;
    transition: all .15s;
}
.list-row:active { transform: scale(.98); }
.list-row.is-on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); }
.list-row small { font-size: 11px; color: var(--muted); font-weight: 500; }

.skeleton-row { height: 52px; border-radius: 14px; background: linear-gradient(90deg, #EEF1F5 25%, #F7F9FB 50%, #EEF1F5 75%); background-size: 200% 100%; animation: shimmer 1.1s infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- جعبه برآورد قیمت ---------- */
.quote-box {
    margin-top: 16px; border-radius: 16px;
    background: linear-gradient(160deg, #F0FBF5, #E3F6ED);
    border: 1.5px solid #CBEAD9; padding: 14px;
    animation: rise .3s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quote-head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 13.5px; color: var(--brand-dark); }
.quote-head span { display: flex; align-items: center; gap: 6px; }
.quote-head svg { width: 18px; height: 18px; }
.quote-head small { font-weight: 600; color: var(--muted); }
.quote-items { list-style: none; margin: 10px 0; display: flex; flex-direction: column; }
.quote-items li {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 7px 0; border-bottom: 1px dashed #CBE3D4; font-size: 12.5px;
}
.quote-items li:last-child { border-bottom: 0; }
.quote-items li b { font-size: 12px; color: var(--brand-dark); white-space: nowrap; }
.quote-total {
    display: flex; align-items: center; justify-content: space-between;
    background: #fff; border-radius: 12px; padding: 11px 14px;
    font-size: 13px; color: var(--muted);
    margin-top: 6px;
}
.quote-total strong { color: var(--brand-dark); font-size: 14.5px; font-weight: 800; }
.quote-contact { margin-top: 14px; }
.quote-contact p { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.quote-contact input { margin-bottom: 8px; }

/* ---------- موفقیت ---------- */
.success-box {
    background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm);
    padding: 28px 18px; text-align: center;
    animation: rise .3s ease;
}
.success-ico {
    width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand);
    display: grid; place-items: center;
    animation: pop .4s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-ico svg { width: 30px; height: 30px; }
.success-box h2 { font-size: 16.5px; font-weight: 800; margin-bottom: 4px; }
.success-box p { font-size: 12.5px; color: var(--muted); margin-bottom: 10px; }
.code-box {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    border: 2px dashed var(--brand); border-radius: 14px;
    background: #F4FDF8; padding: 13px; margin: 6px 0 14px;
}
.code-box b { font-size: 20px; font-weight: 800; letter-spacing: 2px; direction: ltr; color: var(--brand-dark); }
.code-box.big b { font-size: 24px; }
.btn-copy {
    background: var(--brand); color: #fff; border-radius: 999px;
    font-size: 11.5px; font-weight: 700; padding: 5px 14px;
}
.success-actions { display: flex; gap: 8px; justify-content: center; }

/* ---------- لوازم جانبی ---------- */
.acc-page { padding-bottom: 6px; }
.acc-search { margin-bottom: 12px; }
.cat-chips {
    display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px;
    scrollbar-width: none; margin-bottom: 6px;
}
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
    flex-shrink: 0; display: flex; align-items: center; gap: 6px;
    background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
    padding: 7px 15px; font-size: 12.5px; font-weight: 600; color: var(--muted);
    transition: all .15s;
}
.cat-chip svg { width: 15px; height: 15px; }
.cat-chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 5px 14px rgba(0, 166, 97, .35); }
.acc-cat { margin-bottom: 16px; }
.acc-cat h3 { font-size: 14px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.acc-cat h3 svg { width: 17px; height: 17px; color: var(--brand); }
.acc-items { display: flex; flex-direction: column; gap: 9px; }
.acc-card {
    background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm);
    padding: 13px 14px; position: relative;
}
.acc-card.out { opacity: .72; }
.acc-stock {
    position: absolute; top: 11px; left: 12px;
    font-size: 10px; font-weight: 700; border-radius: 999px; padding: 2px 9px;
    background: var(--brand-soft); color: var(--brand-dark);
}
.acc-card.out .acc-stock { background: #FDECEC; color: var(--danger); }
.acc-name { font-size: 13.5px; font-weight: 700; padding-left: 60px; line-height: 1.5; }
.acc-note { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.acc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.acc-price { font-size: 13px; font-weight: 800; color: var(--brand-dark); }
.btn-inq {
    background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700;
    border-radius: 999px; padding: 6px 15px;
    box-shadow: 0 4px 10px rgba(0, 166, 97, .3);
}
.btn-inq:active { transform: scale(.94); }

/* ---------- دیالوگ استعلام ---------- */
.inq-dialog {
    margin: auto;
    border: 0; border-radius: 22px; padding: 20px;
    width: min(92vw, 380px);
    max-height: min(86dvh, 640px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
}
.inq-dialog::backdrop { background: rgba(15, 23, 42, .5); backdrop-filter: blur(2px); }
.inq-dialog h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; line-height: 1.6; overflow-wrap: anywhere; }
.inq-dialog-form { display: flex; flex-direction: column; }
.inq-price-line { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.inq-price-line b { color: var(--brand-dark); }
.inq-dialog input, .inq-dialog textarea { margin-bottom: 9px; }
.inq-dialog textarea { min-height: 84px; }
.inq-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.inq-dialog .success-ico { margin-bottom: 8px; }
.inq-dialog p { font-size: 12.5px; color: var(--muted); }
.dialog-close {
    width: 100%; margin-top: 10px; text-align: center;
    color: var(--muted); font-size: 12.5px; padding: 8px;
}

/* ---------- پیگیری ---------- */
.track-form { display: flex; gap: 8px; margin-bottom: 14px; }
.track-form input { flex: 1; text-align: center; letter-spacing: 2px; direction: ltr; font-weight: 700; }
.alert { border-radius: 14px; padding: 11px 14px; font-size: 12.5px; margin-bottom: 12px; }
.alert-error { background: #FDECEC; color: var(--danger); }
.alert-info { background: #EAF2FE; color: #1E4FD6; }
.track-result { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 18px 16px; animation: rise .3s ease; }
.track-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 12px; color: var(--muted); }
.inq-type { font-weight: 800; border-radius: 999px; padding: 3px 13px; font-size: 11.5px; }
.inq-type.repair { background: var(--brand-soft); color: var(--brand-dark); }
.inq-type.accessory { background: #EAF0FE; color: #1E4FD6; }
.track-status { text-align: center; font-size: 13px; color: var(--muted); margin: 12px 0; }
.track-status b { color: var(--text); }
.timeline { display: flex; align-items: flex-start; justify-content: center; margin: 6px 0 14px; }
.tl-step { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 64px; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: #E4E8EE; border: 3px solid #E4E8EE; }
.tl-step.is-done .tl-dot { background: var(--brand); border-color: var(--brand-soft); }
.tl-step small { font-size: 9.5px; color: var(--muted); text-align: center; line-height: 1.3; }
.tl-line { flex: 1; max-width: 26px; height: 2.5px; background: #E4E8EE; border-radius: 2px; margin-top: 6px; }
.tl-line.is-done { background: var(--brand); }
.track-detail h4 { font-size: 12px; color: var(--muted); font-weight: 600; margin: 12px 0 4px; }
.track-detail p { font-size: 13.5px; font-weight: 700; }
.track-details-text { font-weight: 500 !important; font-size: 13px !important; line-height: 1.9; background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.quote-items.static { border: 1px solid var(--line); border-radius: 12px; padding: 4px 12px; }

/* ---------- درباره / تماس ---------- */
.about-hero { text-align: center; padding: 16px 0 6px; }
.about-logo {
    width: 68px; height: 68px; border-radius: 22px; margin: 0 auto 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff;
    display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 166, 97, .4);
}
.about-logo svg { width: 34px; height: 34px; }
.about-hero h1 { font-size: 19px; font-weight: 800; }
.about-hero p { font-size: 12.5px; color: var(--muted); }
.about-text { font-size: 13.5px; color: #3D4653; text-align: justify; }
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.contact-card {
    background: var(--card); border-radius: 18px; box-shadow: var(--shadow-sm);
    padding: 16px 12px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    transition: transform .15s;
}
.contact-card:active { transform: scale(.96); }
.cc-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; margin-bottom: 5px; }
.cc-ico svg { width: 21px; height: 21px; }
.contact-card strong { font-size: 13px; }
.contact-card small { font-size: 11px; color: var(--muted); }
.admin-link { text-align: center; font-size: 11.5px; color: #A6AEBB; margin-top: 16px; }
.admin-link a { color: #A6AEBB; text-decoration: underline; }

/* ---------- جستجو / خطا / خالی ---------- */
.search-sec-title { font-size: 13px; font-weight: 800; margin: 16px 0 10px; }
.search-list { display: flex; flex-direction: column; gap: 8px; }
.search-row {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    background: var(--bg); border-radius: 13px; padding: 11px 13px; font-size: 13px; font-weight: 600;
}
.search-row svg { width: 16px; height: 16px; vertical-align: -3px; margin-left: 4px; }
.search-row b { font-size: 11.5px; color: var(--brand-dark); white-space: nowrap; }
.empty-note {
    text-align: center; color: var(--muted); font-size: 13px;
    background: var(--card); border-radius: 16px; padding: 26px 16px;
}
.page-head-panel { padding-top: 8px; }
.error-panel { text-align: center; padding: 40px 20px; }
.error-panel h1 { font-size: 40px; font-weight: 800; color: #C6CDD7; }
.error-panel p { color: var(--muted); margin: 6px 0 18px; }
.error-ico svg { width: 46px; height: 46px; color: #C6CDD7; }

/* ---------- توست ---------- */
.toast {
    position: fixed; bottom: calc(var(--nav-h) + 20px); left: 50%; transform: translateX(-50%) translateY(20px);
    background: #232B38; color: #fff; font-size: 12.5px; font-weight: 600;
    border-radius: 999px; padding: 10px 20px; z-index: 90;
    opacity: 0; pointer-events: none; transition: all .3s;
    max-width: 86vw; text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- راهنمای نصب iOS ---------- */
.guide-steps { list-style: none; margin: 10px 0 16px; display: flex; flex-direction: column; gap: 14px; }
.guide-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.9; }
.guide-steps li > b {
    width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    background: var(--brand); color: #fff; font-size: 12.5px;
    display: grid; place-items: center; margin-top: 3px;
}
.guide-steps .share-ico { width: 18px; height: 18px; vertical-align: -4px; color: #0A84FF; }

/* ---------- راهنمای نصب در صفحه اپ من ---------- */
.install-guide { display: flex; flex-direction: column; }
.ig-row { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.ig-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.ig-row strong {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13.5px; margin-bottom: 4px;
}
.ig-row strong::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); display: inline-block; }
.ig-row p { font-size: 12.5px; color: #3D4653; }

/* ---------- بنر نصب PWA ---------- */
.install-hint {
    position: fixed; bottom: calc(var(--nav-h) + 18px); left: 50%; transform: translateX(-50%);
    z-index: 80; background: #fff; border-radius: 999px;
    box-shadow: 0 10px 30px rgba(23, 43, 77, .25);
    display: flex; align-items: center; gap: 10px;
    padding: 8px 8px 8px 18px; font-size: 12.5px; font-weight: 700;
    white-space: nowrap;
}
.install-hint button {
    background: var(--brand); color: #fff; border-radius: 999px;
    padding: 6px 16px; font-size: 12px; font-weight: 700;
}
