/* ═══════════════════════════════════════════════════════════════
   TECHRAD v3 — Unified Design System
   Colors: BG #D5F0FE | Primary #0B1D3A | Mid #213A6B | Accent #5B8FF9
   ═══════════════════════════════════════════════════════════════ */

/* ── Abar Font (already loaded via fonts-abar.css) ── */

/* ── CSS Variables ── */
:root {
  --tr-bg:           #EEF6FD;
  --tr-bg-alt:       #D5F0FE;
  --tr-primary:      #0B1D3A;
  --tr-mid:          #213A6B;
  --tr-accent:       #5B8FF9;
  --tr-accent-hover: #3B72F5;
  --tr-text:         #1e3a5f;
  --tr-muted:        #6b8cb8;
  --tr-white:        #ffffff;
  --tr-glass:        rgba(255,255,255,0.78);
  --tr-glass-b:      rgba(255,255,255,0.93);
  --tr-shadow-xs:    0 2px 12px rgba(11,29,58,.05);
  --tr-shadow-sm:    0 4px 24px rgba(11,29,58,.07);
  --tr-shadow-md:    0 8px 40px rgba(11,29,58,.11);
  --tr-shadow-lg:    0 20px 60px rgba(11,29,58,.15);
  --tr-r-xs:         8px;
  --tr-r-sm:         12px;
  --tr-r-md:         20px;
  --tr-r-lg:         28px;
  --tr-r-xl:         40px;
  --ease-out:        cubic-bezier(.22,1,.36,1);
  --ease-bounce:     cubic-bezier(.34,1.56,.64,1);
  --tr-font-base:    'Abar', 'Vazirmatn', sans-serif;
}

/* ── Global Reset ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--tr-font-base);
  background: var(--tr-bg);
  color: var(--tr-primary);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 15px;
}

/* ── Page background pattern ── */
.tr-page-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 15% -5%, rgba(91,143,249,.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 105%, rgba(33,58,107,.10) 0%, transparent 60%),
    linear-gradient(160deg, #EEF6FD 0%, #D5F0FE 45%, #EEF6FD 100%);
}
.tr-page-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(11,29,58,.052) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ════════════════════════════════════════════
   PAGE LOADER
   ════════════════════════════════════════════ */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: #EEF6FD;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px;
  transition: opacity .22s ease, visibility .22s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 52px; height: 52px; border-radius: 50%;
  border: 4px solid rgba(91,143,249,.2);
  border-top-color: var(--tr-accent);
  animation: tr-spin .85s linear infinite;
}
@keyframes tr-spin { to { transform: rotate(360deg); } }

/* ════════════════════════════════════════════
   HEADER — Unified across all pages
   ════════════════════════════════════════════ */
#header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex;
  background: rgba(11, 29, 58, 0.6) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1.5px solid rgba(213,240,254,.85);
  box-shadow: 0 2px 20px rgba(11,29,58,.06);
  transition: all .3s var(--ease-out);
  padding: .8rem 0;
}
/* #header.header-hidden {
  transform: translateY(-105%);
  box-shadow: none;
} */
#header.header-visible {
  transform: translateY(0);
}
#header.scrolled {
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
  box-shadow: 0 4px 32px rgba(11,29,58,.10);
}
.header-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.header-logo-icon {
  width: 150px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.header-logo-img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1);}
.header-logo-text {
  font-size: 1.05rem; font-weight: 900; color: var(--tr-primary);
  letter-spacing: -.02em;
}
.navbar-nav .nav-link {
  color: #374151 !important; font-size: .86rem; font-weight: 600;
  padding: .45rem .9rem !important; border-radius: 10px;
  transition: all .2s; white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(91,143,249,.09);
  color: var(--tr-accent) !important;
}
.btn-header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tr-primary); color: #fff !important;
  border: none; border-radius: 50px;
  padding: .5rem 1.35rem;
  font-family: var(--tr-font-base); font-weight: 800; font-size: .84rem;
  text-decoration: none; transition: all .25s;
  box-shadow: 0 4px 16px rgba(11,29,58,.22);
}
.btn-header-cta:hover {
  background: var(--tr-mid); color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11,29,58,.28);
}
.header-icon-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer;
  transition: all .2s; font-size: 1rem;
}
.header-icon-btn:hover {
  background: rgba(91,143,249,.16); color: var(--tr-accent);
}
.cart-header-link.cart-has-items {
  color: #fff;
  filter: drop-shadow(0 0 3px #e6e6e6) drop-shadow(0 0 6px #e6e6e6) drop-shadow(0 0 12px #e6e6e6) drop-shadow(0 0 20px rgba(255, 255, 255, .8));
  transition: filter .3s ease;
}

/* ════════════════════════════════════════════
   FOOTER — Unified
   ════════════════════════════════════════════ */
.tr-footer {
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(91,143,249,.1);
  padding: 52px 0 28px;
}
.tr-footer-brand-desc {
  font-size: .82rem; color: #fff !important; line-height: 1.8;
  margin-top: 12px; margin-bottom: 16px;
}
.tr-footer-heading {
  font-size: .82rem; font-weight: 800; color: #fff !important; margin-bottom: 16px;
}
.tr-footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tr-footer-links a { font-size: .80rem; color: #fff !important; text-decoration: none; transition: .2s; }
.tr-footer-links a:hover { color: rgba(255,255,255,.78) !important; }
.tr-footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .80rem; color: #fff !important; margin-bottom: 10px;
}
.tr-footer-contact-item a,
.tr-footer-contact-item span { color: #fff !important; }
.tr-footer-contact-ico {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(91,143,249,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--tr-accent); font-size: .78rem; flex-shrink: 0;
}
.tr-footer-social { display: flex; gap: 10px; }
.tr-footer-social-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(11,29,58,.07);
  display: flex; align-items: center; justify-content: center;
  color: #fff !important; text-decoration: none; font-size: .9rem; transition: .2s;
}
.tr-footer-social-btn:hover { background: var(--tr-accent); color: #fff; }
.tr-footer-bottom {
  border-top: 1px solid rgba(91,143,249,.1); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.tr-footer-copy { font-size: .75rem; color: #fff !important; }
.tr-footer-bottom > div { color: #fff !important; }

/* ════════════════════════════════════════════
   GLASS CARDS — Core component
   ════════════════════════════════════════════ */
.glass-card {
  background: var(--tr-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid var(--tr-glass-b);
  border-radius: var(--tr-r-md);
  box-shadow: var(--tr-shadow-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
}
.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--tr-shadow-md);
  border-color: rgba(91,143,249,.28);
}
.glass-card-dark {
  background: rgba(11,29,58,.72);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--tr-r-md);
  backdrop-filter: blur(20px);
}

/* ════════════════════════════════════════════
   BUTTONS
   ════════════════════════════════════════════ */
.btn-tr-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--tr-primary); color: #fff;
  border: none; border-radius: 50px;
  padding: 13px 26px; font-family: var(--tr-font-base);
  font-weight: 800; font-size: .9rem; cursor: pointer;
  text-decoration: none; transition: all .3s var(--ease-out);
  box-shadow: 0 8px 24px rgba(11,29,58,.24);
}
.btn-tr-primary:hover {
  background: var(--tr-mid); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(11,29,58,.30);
}
.btn-tr-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.86); color: var(--tr-primary);
  border: 1.5px solid rgba(91,143,249,.3); border-radius: 50px;
  padding: 12px 24px; font-family: var(--tr-font-base);
  font-weight: 700; font-size: .88rem; cursor: pointer;
  text-decoration: none; transition: all .3s var(--ease-out);
  backdrop-filter: blur(10px);
}
.btn-tr-outline:hover {
  border-color: var(--tr-accent); color: var(--tr-accent);
  background: rgba(91,143,249,.08); transform: translateY(-2px);
}
.btn-tr-accent {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--tr-accent); color: #fff;
  border: none; border-radius: 50px;
  padding: 13px 26px; font-family: var(--tr-font-base);
  font-weight: 800; font-size: .9rem; cursor: pointer;
  text-decoration: none; transition: all .3s;
  box-shadow: 0 8px 24px rgba(91,143,249,.35);
}
.btn-tr-accent:hover {
  background: var(--tr-accent-hover); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(91,143,249,.45);
}
.btn-tr-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: var(--tr-primary);
  border: none; border-radius: 50px;
  padding: 13px 28px; font-family: var(--tr-font-base);
  font-weight: 800; font-size: .9rem; cursor: pointer;
  text-decoration: none; transition: all .3s;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn-tr-white:hover {
  background: var(--tr-bg-alt); color: var(--tr-primary);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.22);
}

/* ════════════════════════════════════════════
   FORM ELEMENTS
   ════════════════════════════════════════════ */
.tr-form-group { margin-bottom: 1.25rem; }
.tr-label {
  display: block; font-size: .82rem; font-weight: 800;
  color: var(--tr-primary); margin-bottom: .45rem;
}
.tr-input, .tr-select, .tr-textarea {
  width: 100%;
  background: rgba(255,255,255,.88);
  border: 1.5px solid rgba(91,143,249,.2);
  border-radius: var(--tr-r-sm); padding: .85rem 1.1rem;
  font-family: var(--tr-font-base); font-size: .9rem;
  color: var(--tr-primary); direction: rtl;
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
}
.tr-input:focus, .tr-select:focus, .tr-textarea:focus {
  border-color: var(--tr-accent);
  background: rgba(255,255,255,.98);
  box-shadow: 0 0 0 4px rgba(91,143,249,.12);
}
.tr-input::placeholder, .tr-textarea::placeholder { color: rgba(74,111,165,.55); }
.tr-textarea { resize: vertical; min-height: 120px; }
.tr-select { appearance: none; cursor: pointer; }

/* ════════════════════════════════════════════
   BADGES & PILLS
   ════════════════════════════════════════════ */
.tr-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 50px; padding: 4px 12px;
  font-size: .72rem; font-weight: 700;
}
.tr-badge-accent { background: rgba(91,143,249,.12); color: var(--tr-accent-hover); }
.tr-badge-success { background: rgba(22,163,74,.1); color: #16a34a; }
.tr-badge-warning { background: rgba(245,158,11,.1); color: #d97706; }
.tr-badge-danger  { background: rgba(220,38,38,.1); color: #dc2626; }
.tr-badge-muted   { background: rgba(11,29,58,.07); color: var(--tr-muted); }
.tr-badge-primary { background: rgba(11,29,58,.1); color: var(--tr-primary); }

/* Section eyebrow */
.tr-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(91,143,249,.10); border: 1px solid rgba(91,143,249,.2);
  border-radius: 50px; padding: 6px 18px;
  font-size: .76rem; font-weight: 700; color: var(--tr-accent-hover);
  margin-bottom: 16px;
}

/* ════════════════════════════════════════════
   DASHBOARD CARDS
   ════════════════════════════════════════════ */
.dashboard-card-glass {
  background: rgba(255,255,255,.88);
  border: 1.5px solid rgba(255,255,255,.95);
  border-radius: var(--tr-r-md); padding: 22px;
  backdrop-filter: blur(16px); box-shadow: var(--tr-shadow-sm);
  transition: all .3s var(--ease-out);
}
.dashboard-card-glass:hover { transform: translateY(-3px); box-shadow: var(--tr-shadow-md); }

/* Stat cards */
.stat-card-glass {
  background: rgba(255,255,255,.88);
  border: 1.5px solid rgba(255,255,255,.95);
  border-radius: var(--tr-r-md); padding: 24px;
  text-align: center; backdrop-filter: blur(16px);
  box-shadow: var(--tr-shadow-sm); transition: transform .3s;
}
.stat-card-glass:hover { transform: translateY(-4px); }
.stat-glass-num {
  font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--tr-primary), var(--tr-accent));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-glass-label { font-size: .8rem; color: var(--tr-muted); font-weight: 700; margin-top: 6px; }

/* ════════════════════════════════════════════
   SIDEBAR — Dashboard
   ════════════════════════════════════════════ */
.sidebar-glass {
  background: rgba(255,255,255,.88);
  border: 1.5px solid rgba(255,255,255,.95);
  border-radius: var(--tr-r-lg); padding: 20px;
  backdrop-filter: blur(20px); box-shadow: var(--tr-shadow-sm);
  position: sticky; top: 90px;
}
.sidebar-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--tr-r-sm);
  font-size: .84rem; font-weight: 700; color: var(--tr-text);
  text-decoration: none; transition: all .22s; margin-bottom: 4px;
}
.sidebar-link:hover {
  background: rgba(91,143,249,.09);
  color: var(--tr-accent); text-decoration: none;
}
.sidebar-link.active {
  background: linear-gradient(135deg, rgba(91,143,249,.15), rgba(11,29,58,.08));
  color: var(--tr-accent);
  border: 1px solid rgba(91,143,249,.2);
}
.sidebar-link i { font-size: .9rem; width: 18px; text-align: center; }

/* ════════════════════════════════════════════
   TABLE STYLES
   ════════════════════════════════════════════ */
.tr-table-wrap {
  background: rgba(255,255,255,.88); border: 1.5px solid rgba(255,255,255,.95);
  border-radius: var(--tr-r-md); overflow: hidden;
  backdrop-filter: blur(16px); box-shadow: var(--tr-shadow-sm);
}
.tr-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.tr-table th {
  background: rgba(11,29,58,.05); padding: .85rem 1.1rem;
  text-align: right; font-weight: 800; color: var(--tr-primary);
  border-bottom: 2px solid rgba(91,143,249,.12);
}
.tr-table td {
  padding: .82rem 1.1rem; border-bottom: 1px solid rgba(213,240,254,.7);
  vertical-align: middle; color: var(--tr-text);
}
.tr-table tr:last-child td { border-bottom: none; }
.tr-table tr:hover td { background: rgba(91,143,249,.04); }

/* ════════════════════════════════════════════
   PAGINATION
   ════════════════════════════════════════════ */
.tr-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.tr-page-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.88); border: 1.5px solid rgba(91,143,249,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: .84rem; font-weight: 700; color: var(--tr-text);
  text-decoration: none; transition: all .22s; cursor: pointer;
}
.tr-page-btn:hover, .tr-page-btn.active {
  background: var(--tr-accent); color: #fff; border-color: var(--tr-accent);
}

/* ════════════════════════════════════════════
   NOTIFICATIONS / MESSAGES
   ════════════════════════════════════════════ */
.tr-alert {
  display: flex; align-items: flex-start; gap: 12px;
  background: rgba(255,255,255,.92); border-radius: var(--tr-r-sm);
  padding: 14px 18px; margin-bottom: 14px;
  border: 1.5px solid transparent; font-size: .86rem;
  backdrop-filter: blur(10px);
}
.tr-alert-success { border-color: rgba(22,163,74,.25); background: rgba(22,163,74,.06); }
.tr-alert-warning { border-color: rgba(245,158,11,.25); background: rgba(245,158,11,.06); }
.tr-alert-danger  { border-color: rgba(220,38,38,.25);  background: rgba(220,38,38,.06);  }
.tr-alert-info    { border-color: rgba(91,143,249,.25);  background: rgba(91,143,249,.06); }

/* Toast notifications */
.tr-toast {
  position: fixed; bottom: calc(80px + env(safe-area-inset-bottom));
  right: 1.25rem; z-index: 9999;
  background: rgba(255,255,255,.96); border: 1.5px solid rgba(91,143,249,.25);
  border-radius: var(--tr-r-md); padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px rgba(11,29,58,.14); backdrop-filter: blur(16px);
  display: flex; align-items: center; gap: .75rem; font-size: .88rem;
  font-weight: 700; color: var(--tr-primary);
  animation: slideInRight .35s var(--ease-out); max-width: 340px;
}
@keyframes slideInRight { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
@media (min-width: 768px) { .tr-toast { bottom: 1.5rem; } }

/* ════════════════════════════════════════════
   ANIMATIONS
   ════════════════════════════════════════════ */
@keyframes fadeInUp    { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft  { from { opacity:0; transform:translateX(28px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(-28px); } to { opacity:1; transform:translateX(0); } }
@keyframes scaleIn     { from { opacity:0; transform:scale(.88); } to { opacity:1; transform:scale(1); } }
@keyframes float       { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes pulseGlow   { 0%,100%{box-shadow:0 0 0 0 rgba(91,143,249,.4)} 50%{box-shadow:0 0 0 10px rgba(91,143,249,0)} }
@keyframes shimmer     { 0%{background-position:-200% 0} 100%{background-position:200% 0} }
@keyframes gradientShift { 0%{background-position:0 50%} 50%{background-position:100% 50%} 100%{background-position:0 50%} }

.anim-float     { animation: float 5s ease-in-out infinite; }
.anim-pulse     { animation: pulseGlow 2.5s ease-in-out infinite; }
.anim-fade-up   { animation: fadeInUp .6s var(--ease-out) both; }
.anim-fade-left { animation: fadeInLeft .6s var(--ease-out) both; }
.anim-scale-in  { animation: scaleIn .5s var(--ease-bounce) both; }

/* Scroll reveal utility */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity:0; transform:translateX(26px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.reveal-right { opacity:0; transform:translateX(-26px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.reveal-left.visible, .reveal-right.visible { opacity:1; transform:translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: .06s; }
.delay-2 { transition-delay: .12s; }
.delay-3 { transition-delay: .18s; }
.delay-4 { transition-delay: .24s; }
.delay-5 { transition-delay: .30s; }
.delay-6 { transition-delay: .36s; }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, rgba(213,240,254,.7) 25%, rgba(255,255,255,.85) 50%, rgba(213,240,254,.7) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--tr-r-sm);
}

/* ════════════════════════════════════════════
   MOBILE BOTTOM NAV — Glassmorphism
   ════════════════════════════════════════════ */
.mobile-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1050;
  display: none; align-items: stretch; justify-content: space-around;
  padding: 8px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(11,29,58,.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -4px 32px rgba(11,29,58,.28);
}
@media (max-width: 767px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}
.mob-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  flex: 1; padding: 8px 4px; color: rgba(255,255,255,.52);
  text-decoration: none !important; font-size: 9.5px; font-weight: 600;
  border-radius: 12px; position: relative; transition: color .22s;
  font-family: var(--tr-font-base);
}
.mob-nav-item.active { color: #5B8FF9; }
.mob-nav-item.active .mob-nav-icon-wrap {
  background: rgba(91,143,249,.18); border-radius: 12px;
  box-shadow: 0 0 12px rgba(91,143,249,.3);
}
.mob-nav-item.active::before {
  content: ''; position: absolute; top: 4px; left: 50%;
  transform: translateX(-50%); width: 4px; height: 4px;
  background: #5B8FF9; border-radius: 50%;
  box-shadow: 0 0 6px rgba(91,143,249,.8);
}
.mob-nav-icon-wrap {
  width: 40px; height: 34px; display: flex; align-items: center;
  justify-content: center; border-radius: 10px; transition: all .22s;
}
.mob-nav-icon-wrap svg {
  width: 22px; height: 22px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.mob-nav-label { font-size: 9.5px; opacity: .75; white-space: nowrap; }
.mob-nav-item.active .mob-nav-label { opacity: 1; font-weight: 700; }
.cart-badge-mob {
  position: absolute; top: -2px; right: -2px;
  background: linear-gradient(135deg, #5B8FF9, #213A6B);
  color: #fff; font-size: 9px; font-weight: 800;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; border: 1.5px solid rgba(11,29,58,.8);
}
@keyframes mobRipple { to { transform:translate(-50%,-50%) scale(2.5); opacity:0; } }

/* ════════════════════════════════════════════
   FLOATING SUPPORT BUTTONS
   ════════════════════════════════════════════ */
#support-fab {
  position: fixed; left: 1.25rem;
  bottom: calc(5.5rem + env(safe-area-inset-bottom));
  z-index: 9999;
  display: flex; flex-direction: column; gap: .6rem; align-items: center;
}
.support-btn {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none; font-size: 1.35rem;
  transition: transform .22s; cursor: pointer;
}
.support-btn:hover { transform: scale(1.1); }
.support-btn-wa  { background: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,.45); }
.support-btn-tg  { background: #229ED9; box-shadow: 0 4px 16px rgba(34,158,217,.45); }
@media (max-width: 767px) {
  #support-fab { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

/* ════════════════════════════════════════════
   RESPONSIVE UTILITIES
   ════════════════════════════════════════════ */
@media (max-width: 575px) {
  .tr-section { padding: 56px 0; }
  .section-title { font-size: 1.45rem !important; }
  .hero-title { font-size: 1.8rem !important; }
}
@media (max-width: 767px) {
  .tr-section { padding: 64px 0; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn-tr-primary,
  .hero-btns .btn-tr-outline { width: 100%; justify-content: center; }
  .dashboard-card-glass { margin-bottom: 1rem; }
}

/* ════════════════════════════════════════════
   BACK TO TOP
   ════════════════════════════════════════════ */
.go-to {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--tr-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(11,29,58,.25);
  transition: all .3s; font-size: 1rem;
}
.go-to:hover { background: var(--tr-mid); transform: translateY(-2px); }

/* ════════════════════════════════════════════
   FLOAT CONTACT WRAP (legacy compat)
   ════════════════════════════════════════════ */
.float-contact-wrap { display: none; }


.header-icon-btn {
  color: #fff;
    filter:
        drop-shadow(0 0 3px #e6e6e6)
        drop-shadow(0 0 6px #e6e6e6)
        drop-shadow(0 0 12px #e6e6e6)
        drop-shadow(0 0 20px rgba(255,255,255,.8));
    transition: filter .3s ease;
}