/* ==================f
   فروشگاه بازار لوازم خانگی - استایل اصلی
   ================== */
@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-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --c-primary: #2563eb;
  --c-primary-dark: #1e40af;
  --c-accent: #f59e0b;
  --c-danger: #ef4444;
  --c-success: #16a34a;
  --c-info: #0891b2;
  --bg: #f4f6fa;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 20px rgba(15, 23, 42, .06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.9;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.main { min-height: 55vh; padding-top: 20px; padding-bottom: 50px; }
.muted { color: var(--muted); font-size: 13px; }
.center { text-align: center; }

/* دکمه‌ها */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 22px; border-radius: 12px; border: 1.5px solid transparent;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: all .2s;
}
.btn-sm { padding: 6px 14px; font-size: 12.5px; border-radius: 9px; }
.btn-lg { padding: 13px 30px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-accent { background: var(--c-accent); color: #fff; }
.btn-accent:hover { filter: brightness(.95); }
.btn-danger { background: #fee2e2; color: #b91c1c; }
.btn-danger:hover { background: #fecaca; }
.btn-light { background: #f1f5f9; color: #475569; }
.btn-light:hover { background: #e2e8f0; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-icon { background: none; border: 0; cursor: pointer; font-size: 17px; padding: 4px; }

/* توست */
.toast {
  position: fixed; top: 20px; left: 20px; z-index: 999; min-width: 280px; max-width: 380px;
  padding: 14px 18px; border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: 13.5px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px;
  animation: slideIn .35s ease;
}
@keyframes slideIn { from { transform: translateY(-16px); opacity: 0; } to { transform: none; opacity: 1; } }
.toast button { background: none; border: 0; font-size: 18px; cursor: pointer; color: inherit; }
.toast-success { background: #dcfce7; color: #166534; }
.toast-danger { background: #fee2e2; color: #b91c1c; }
.toast-warning { background: #fef3c7; color: #92400e; }
.toast-info { background: #e0f2fe; color: #075985; }

/* نوار بالا */
.topbar { background: #0f172a; color: #cbd5e1; font-size: 12.5px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; padding: 7px 16px; }
.topbar-right { display: flex; gap: 22px; }
.topbar-left { display: flex; gap: 14px; align-items: center; }
.topbar-left a:hover { color: #fff; }
.topbar-sep { opacity: .4; }

/* هدر */
.header { background: var(--card); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; }
.header-in { display: flex; align-items: center; gap: 20px; padding: 14px 16px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon { display: flex; }
.logo-text b { font-size: 17px; display: block; line-height: 1.4; color: var(--c-primary-dark); }
.logo-text small { color: var(--muted); font-size: 11px; }
.search-form { flex: 1; display: flex; max-width: 560px; }
.search-form input {
  flex: 1; border: 2px solid var(--border); border-radius: 0 12px 12px 0;
  padding: 10px 16px; font-family: inherit; font-size: 13.5px; background: #f8fafc;
}
.search-form input:focus { outline: none; border-color: var(--c-primary); background: #fff; }
.search-form button {
  background: var(--c-primary); color: #fff; border: 0; padding: 0 20px;
  border-radius: 12px 0 0 12px; cursor: pointer;
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-right: auto; flex-shrink: 0; }
.header-account, .header-cart {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: #475569; font-size: 11px; padding: 6px 10px; border-radius: 10px; position: relative;
}
.header-account:hover, .header-cart:hover { background: #f1f5f9; }
.cart-count {
  position: absolute; top: -2px; left: 0; background: var(--c-danger); color: #fff;
  font-size: 10.5px; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* منو */
.nav { border-top: 1px solid var(--border); background: var(--card); }
.nav-in { display: flex; align-items: stretch; gap: 4px; }
.nav-link { padding: 12px 14px; font-size: 13.5px; font-weight: 500; color: #475569; position: relative; }
.nav-link:hover { color: var(--c-primary); }
.nav-cats { position: relative; }
.nav-cats-btn {
  background: none; border: 0; font-family: inherit; font-size: 13.5px; font-weight: 700;
  color: var(--c-primary); padding: 12px 14px; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.nav-cats-menu {
  position: absolute; top: 100%; right: 0; background: #fff; min-width: 260px;
  border-radius: 0 0 14px 14px; box-shadow: var(--shadow-lg); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; z-index: 50;
}
.nav-cats:hover .nav-cats-menu { opacity: 1; visibility: visible; transform: none; }
.nav-cats-menu li { list-style: none; }
.nav-cats-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; }
.nav-cats-menu a:hover { background: #eff6ff; color: var(--c-primary); }
.nav-cats-all { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.nav-cats-all a { color: var(--c-primary); font-weight: 700; }
.nav-cat-icon { width: 22px; text-align: center; }
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: #475569; }

/* اسلایدر */
.hero-slider { position: relative; border-radius: var(--radius); overflow: hidden; height: 340px; box-shadow: var(--shadow); }
.slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity .7s;
}
.slide.active { opacity: 1; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to left, rgba(15,23,42,.75), rgba(15,23,42,.15)); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; color: #fff; }
.slide-content h2 { font-size: 30px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.slide-content p { font-size: 15px; opacity: .95; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.slider-dots { position: absolute; bottom: 16px; right: 50%; transform: translateX(50%); z-index: 3; display: flex; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; border-radius: 6px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: all .25s; }
.slider-dots button.active { width: 26px; background: #fff; }

/* بخش‌ها */
.section { margin-top: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.section-head h2 { font-size: 19px; font-weight: 900; color: #0f172a; }
.section-more { color: var(--c-primary); font-size: 13px; font-weight: 700; }
.fire { font-size: 22px; }

/* دسته‌بندی‌ها */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-card {
  background: var(--card); border-radius: var(--radius); padding: 18px 12px; text-align: center;
  box-shadow: var(--shadow); transition: all .25s; border: 1.5px solid transparent;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--c-primary); }
.cat-img { display: block; width: 86px; height: 86px; margin: 0 auto 10px; border-radius: 50%; overflow: hidden; background: #f1f5f9; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card b { display: block; font-size: 13.5px; }
.cat-card small { color: var(--muted); font-size: 11.5px; }

/* کارت محصول */
.product-grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pc-img { position: relative; display: block; padding: 14px; }
.pc-img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #f8fafc; }
.pc-badge {
  position: absolute; top: 22px; right: 22px; background: var(--c-danger); color: #fff;
  font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 8px;
}
.pc-badge-oos { background: #475569; top: 52px; }
.pc-body { padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pc-cat { color: var(--muted); font-size: 11.5px; }
.pc-cat:hover { color: var(--c-primary); }
.pc-title { font-size: 13.5px; font-weight: 700; line-height: 1.7; min-height: 46px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-title:hover { color: var(--c-primary); }
.pc-price { display: flex; flex-direction: column; margin-top: auto; }
.pc-price del { color: #94a3b8; font-size: 12px; }
.pc-price-new { color: var(--c-primary-dark); font-weight: 900; font-size: 14.5px; }
.pc-form { margin-top: 6px; }
.stars .star-on { color: #f59e0b; } .stars .star-off { color: #e2e8f0; }
.offers-section { background: linear-gradient(135deg,#fff7ed,#fff); border: 1.5px solid #fed7aa; border-radius: var(--radius); padding: 22px; }

/* برندها */
.brand-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-pill {
  background: var(--card); padding: 10px 24px; border-radius: 30px; box-shadow: var(--shadow);
  font-weight: 700; font-size: 13.5px; color: #475569; transition: all .2s;
}
.brand-pill:hover { color: var(--c-primary); box-shadow: var(--shadow-lg); }

/* سربرگ صفحه */
.page-head { margin: 6px 0 22px; }
.page-head h1 { font-size: 21px; font-weight: 900; }
.page-head small { color: var(--muted); }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--c-primary); }

/* فروشگاه */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: start; }
.shop-sidebar { position: sticky; top: 130px; }
.filter-box { background: var(--card); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow); }
.filter-box h3 { font-size: 14px; margin-bottom: 12px; }
.filter-list { list-style: none; }
.filter-list label { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 13px; cursor: pointer; }
.filter-list small { color: var(--muted); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-range input { padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 9px; font-family: inherit; }
.filter-check { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 13px; cursor: pointer; }
.shop-toolbar {
  background: var(--card); border-radius: var(--radius); padding: 12px 18px; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-size: 13px;
}
.shop-toolbar select { padding: 7px 12px; border: 1.5px solid var(--border); border-radius: 9px; font-family: inherit; font-size: 13px; }

/* صفحه محصول */
.product-page { display: grid; grid-template-columns: 420px 1fr; gap: 28px; background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.pp-main-img img { width: 100%; border-radius: 14px; aspect-ratio: 1; object-fit: cover; background: #f8fafc; }
.pp-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pp-thumb { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); background: none; cursor: pointer; padding: 0; }
.pp-thumb.active { border-color: var(--c-primary); }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pp-brand { color: var(--muted); font-size: 12.5px; }
.pp-info h1 { font-size: 20px; font-weight: 900; line-height: 1.8; margin: 4px 0 10px; }
.pp-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-short { background: #f8fafc; border-radius: 12px; padding: 14px 16px; margin: 14px 0; font-size: 13.5px; }
.pp-features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 13px; color: #475569; margin-bottom: 18px; }
.pp-buybox { border: 1.5px dashed var(--border); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.pp-price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pp-price del { color: #94a3b8; font-size: 14px; }
.pp-off { background: var(--c-danger); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 8px; }
.pp-price-final { font-size: 21px; color: var(--c-primary-dark); font-weight: 900; }
.pp-stock { font-size: 13px; font-weight: 700; }
.pp-stock.in { color: var(--c-success); }
.pp-stock.out { color: var(--c-danger); }
.pp-buy-form { display: flex; gap: 12px; align-items: center; }
.qty-box { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 11px; overflow: hidden; }
.qty-btn { background: #f8fafc; border: 0; width: 36px; height: 40px; font-size: 18px; cursor: pointer; color: #475569; }
.qty-input { width: 52px; text-align: center; border: 0; font-family: inherit; font-size: 14.5px; font-weight: 700; -moz-appearance: textfield; }
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm .qty-btn { height: 34px; width: 30px; }
.qty-sm .qty-input { width: 44px; }

/* تب‌های محصول */
.product-tabs-section { margin-top: 22px; display: grid; gap: 18px; }
.pt-box { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.pt-title { font-size: 16.5px; margin-bottom: 14px; }
.pt-subtitle { font-size: 15px; margin: 22px 0 12px; }
.pt-desc { font-size: 14px; color: #334155; margin-bottom: 18px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.specs-table th, .specs-table td { padding: 11px 14px; border-bottom: 1px solid #f1f5f9; text-align: right; }
.specs-table th { width: 220px; color: var(--muted); font-weight: 500; background: #fafbfc; }
.comments-list { display: grid; gap: 14px; }
.comment-item { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.comment-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.comment-form .form-group { margin-bottom: 12px; }

/* سبد خرید */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.cart-main { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { font-size: 12.5px; color: var(--muted); text-align: right; padding: 8px 10px; border-bottom: 2px solid var(--border); }
.cart-table td { padding: 14px 10px; border-bottom: 1px solid #f1f5f9; font-size: 13.5px; vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 12px; }
.cart-prod img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #f8fafc; }
.cart-prod a { font-weight: 700; font-size: 13px; }
.off-tag { color: var(--c-danger); font-weight: 700; font-size: 11.5px; }
.cart-actions { display: flex; gap: 10px; margin-top: 18px; }
.cart-summary { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 130px; }
.cart-summary h3 { font-size: 15.5px; margin-bottom: 14px; }
.sum-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; color: #475569; }
.sum-row b { color: var(--text); }
.sum-row.off b, .sum-row.off span { color: var(--c-success); }
.sum-row.total { border-top: 2px dashed var(--border); margin-top: 8px; padding-top: 14px; font-size: 14.5px; font-weight: 700; }
.sum-row.total b { color: var(--c-primary-dark); font-size: 16px; }
.sum-row.sm { font-size: 12.5px; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 13px; }

/* تسویه حساب */
.checkout-layout { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
.card-box { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.card-box h3 { font-size: 15.5px; margin-bottom: 14px; }
.box-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pay-method { display: flex; align-items: center; gap: 14px; border: 2px solid var(--c-primary); background: #eff6ff; padding: 16px; border-radius: 12px; cursor: pointer; }
.pay-method b { display: block; font-size: 14px; }
.pay-method small { color: var(--muted); font-size: 12px; }
.pay-logo { margin-right: auto; font-size: 26px; }

/* فرم‌ها */
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 11px;
  font-family: inherit; font-size: 13.5px; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.form-group input[disabled] { background: #f1f5f9; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.alert { padding: 13px 18px; border-radius: 12px; font-size: 13.5px; margin-bottom: 16px; line-height: 2; }
.alert a { text-decoration: underline; }
.alert-danger { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }
.alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #b45309; }

/* احراز هویت */
.auth-wrap { max-width: 460px; margin: 30px auto; }
.auth-card { background: var(--card); border-radius: 20px; padding: 34px 30px; box-shadow: var(--shadow-lg); text-align: center; }
.auth-card h2 { font-size: 18px; margin-bottom: 4px; }
.auth-card p { margin-bottom: 18px; }
.auth-card form { text-align: right; }
.auth-logo { font-size: 40px; margin-bottom: 8px; }
.auth-links { margin-top: 16px; font-size: 13px; color: var(--muted); }
.auth-links a { color: var(--c-primary); font-weight: 700; }
.auth-hint { margin-top: 16px; background: #f0f9ff; border-radius: 10px; padding: 10px 14px; font-size: 12px; color: #0369a1; line-height: 1.9; }

/* پنل کاربری */
.up-layout { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; }
.up-sidebar { background: var(--card); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); position: sticky; top: 130px; }
.up-user { display: flex; align-items: center; gap: 12px; padding: 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.up-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 900; }
.up-user b { display: block; font-size: 14px; } .up-user small { color: var(--muted); font-size: 11.5px; }
.up-sidebar a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 500; color: #475569; }
.up-sidebar a:hover { background: #f1f5f9; }
.up-sidebar a.active { background: #eff6ff; color: var(--c-primary); font-weight: 700; }
.up-content .up-title { font-size: 17px; margin-bottom: 16px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px; }
.stat-card span { font-size: 28px; }
.stat-card b { display: block; font-size: 15.5px; }
.stat-card small { color: var(--muted); font-size: 12px; }
.order-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.order-filters a { background: var(--card); padding: 7px 16px; border-radius: 20px; font-size: 12.5px; font-weight: 700; color: #475569; box-shadow: var(--shadow); }
.order-filters a.active { background: var(--c-primary); color: #fff; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.data-table th { background: #f8fafc; color: var(--muted); font-size: 12px; text-align: right; padding: 11px 12px; white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.detail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; color: var(--muted); font-size: 13px; }
.timeline { display: flex; justify-content: space-between; margin-top: 20px; position: relative; }
.timeline::before { content: ''; position: absolute; top: 7px; right: 10%; left: 10%; height: 3px; background: var(--border); border-radius: 2px; }
.tl-step { position: relative; text-align: center; flex: 1; }
.tl-dot { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--border); margin: 0 auto 6px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--border); }
.tl-step.done .tl-dot { background: var(--c-success); }
.tl-step small { font-size: 11px; color: var(--muted); }

/* نتیجه سفارش */
.result-wrap { max-width: 720px; margin: 0 auto; }
.result-card { border-radius: var(--radius); padding: 30px; text-align: center; margin-bottom: 18px; box-shadow: var(--shadow); }
.result-card.ok { background: linear-gradient(135deg,#dcfce7,#f0fdf4); border: 1.5px solid #86efac; }
.result-card.no { background: linear-gradient(135deg,#fee2e2,#fef2f2); border: 1.5px solid #fca5a5; }
.result-icon { font-size: 46px; }
.result-card h2 { margin: 8px 0; font-size: 19px; }
.result-no { background: #fff; border-radius: 10px; padding: 8px 16px; display: inline-block; margin-top: 10px; font-size: 14px; }
.result-sums { margin-top: 14px; }

/* تماس و درباره */
.contact-layout { display: grid; grid-template-columns: 340px 1fr; gap: 22px; align-items: start; }
.contact-list { list-style: none; }
.contact-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.contact-socials { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.contact-socials a { background: #f1f5f9; padding: 8px 16px; border-radius: 10px; font-size: 12.5px; font-weight: 700; }
.contact-socials a:hover { background: #eff6ff; color: var(--c-primary); }
.about-box { padding: 30px; }
.about-lead { font-size: 16px; font-weight: 700; color: var(--c-primary-dark); margin-bottom: 12px; }
.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.about-features > div { background: #f8fafc; border-radius: 14px; padding: 18px; text-align: center; }
.about-features b { font-size: 30px; display: block; margin-bottom: 6px; }
.about-features h4 { font-size: 14px; margin-bottom: 4px; }
.about-features p { font-size: 12.5px; color: var(--muted); }

/* صفحه‌بندی */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.page-link { padding: 8px 15px; background: var(--card); border-radius: 10px; font-size: 13px; font-weight: 700; color: #475569; box-shadow: var(--shadow); }
.page-link.active { background: var(--c-primary); color: #fff; }
.page-link.disabled { opacity: .45; cursor: default; }

/* خالی */
.empty-state { background: var(--card); border-radius: var(--radius); padding: 60px 20px; text-align: center; box-shadow: var(--shadow); }
.empty-icon { font-size: 50px; margin-bottom: 10px; }
.empty-state h3 { font-size: 17px; margin-bottom: 6px; }
.empty-state p { color: var(--muted); margin-bottom: 18px; }

/* فوتر */
.footer { background: #0f172a; color: #94a3b8; margin-top: 60px; }
.footer-features { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0; border-bottom: 1px solid #1e293b; }
.ff-item { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.ff-icon { font-size: 26px; }
.ff-item b { color: #e2e8f0; display: block; font-size: 13.5px; }
.ff-item small { font-size: 11.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 30px; padding: 34px 0; }
.footer-col h4 { color: #e2e8f0; font-size: 14.5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.footer-about p { font-size: 12.5px; line-height: 2.1; margin: 12px 0; }
.footer-logo .logo-text b { color: #fff; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { background: #1e293b; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.footer-socials a:hover { background: var(--c-primary); }
.footer-contact li { display: flex; gap: 6px; }
.footer-badge { margin-top: 14px; background: #1e293b; border-radius: 10px; padding: 10px 14px; font-size: 12px; color: #4ade80; text-align: center; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 16px 0; font-size: 12.5px; text-align: center; }

/* واکنش‌گرا */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-page { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .about-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar-hide-sm { display: none; }
  .header-in { flex-wrap: wrap; }
  .search-form { order: 3; min-width: 100%; }
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-in { flex-direction: column; padding: 8px 16px; }
  .nav-cats-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-layout, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .up-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .hero-slider { height: 220px; }
  .slide-content h2 { font-size: 20px; }
  .footer-features { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .pp-buy-form { flex-direction: column; align-items: stretch; }
  .toast { left: 12px; right: 12px; top: 12px; }
}
