/* =====================================================================
   Vazirmatn — self-hosted.
   Google Fonts is unreliable from inside Iran, and this font IS the site's
   Persian typography, so it ships with the project instead. Paths are relative
   to this stylesheet: static/css/ -> static/fonts/.
   ===================================================================== */
/* arabic */
@font-face{
  font-family:'Vazirmatn';font-style:normal;font-weight:100 900;font-display:swap;
  src:url('../fonts/vazirmatn-arabic.woff2') format('woff2');
  unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* latin-ext */
@font-face{
  font-family:'Vazirmatn';font-style:normal;font-weight:100 900;font-display:swap;
  src:url('../fonts/vazirmatn-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face{
  font-family:'Vazirmatn';font-style:normal;font-weight:100 900;font-display:swap;
  src:url('../fonts/vazirmatn-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =====================================================================
   تریلی — Tereili.com
   Daylight highway hero · light, high-contrast UI · RTL · Persian
   Built for truck drivers on phones: big tap targets, plain language.
   ===================================================================== */

:root{
  /* Premium white / warm-gray / Tereili-yellow.
     Roughly 75% light neutral, 15% dark text, 10% yellow accent —
     the yellow is an accent, never a background. */

  /* surfaces */
  --bg:        #F7F7F5;   /* warm off-white page */
  --surface:   #FFFFFF;   /* cards */
  --surface-2: #F0F0ED;   /* subtle fills, hover states */
  --line:      #E5E5E5;   /* borders */
  --tint:      #FFF7D6;   /* light yellow wash */

  /* ink */
  --ink:       #171717;   /* main text */
  --ink-2:     #666666;   /* secondary text */
  --ink-3:     #999999;   /* muted meta */

  /* brand — the logo's yellow on near-black */
  --accent:    #FFC400;   /* Tereili Yellow, the primary */
  --accent-2:  #EAB000;   /* hover */
  --on-accent: #111111;   /* text on yellow */
  --brand:     #171717;   /* dark blocks: headers, CTA, primary buttons */
  --brand-2:   #2B2B2B;   /* lighter dark, for gradients */

  --ok:        #12855C;
  --danger:    #D1435B;

  --radius:    16px;
  --radius-lg: 22px;
  /* neutral-warm shadows so cards sit on the off-white without going blue */
  --shadow:    0 1px 2px rgba(23,23,23,.05), 0 8px 24px rgba(23,23,23,.06);
  --shadow-lg: 0 2px 6px rgba(23,23,23,.07), 0 20px 48px rgba(23,23,23,.11);
  --shadow-accent: 0 6px 18px rgba(255,196,0,.34);
  --maxw:      1200px;
  --nav-h:     68px;
}

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

body{
  font-family:'Vazirmatn',-apple-system,BlinkMacSystemFont,system-ui,sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.8;                 /* Persian needs generous leading */
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 20px}
.num{font-variant-numeric:tabular-nums}
.ltr{direction:ltr;unicode-bidi:embed;display:inline-block}

/* ================= NAV ================= */
.nav{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.88);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid var(--line);
}
.nav-in{
  height:var(--nav-h);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:20px;letter-spacing:-.01em}
.logo .mark{
  width:34px;height:34px;border-radius:10px;flex:none;
  background:linear-gradient(140deg,var(--brand-2),var(--brand));
  display:grid;place-items:center;
  box-shadow:0 4px 12px rgba(23,23,23,.24);
}
.logo .mark svg{width:20px;height:20px;stroke:var(--accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* the real logo badge */
.logo .mark-img{width:38px;height:38px;flex:none;border-radius:10px;object-fit:cover}
.logo small{display:block;font-size:10.5px;font-weight:500;color:var(--ink-3);line-height:1}

.nav-links{display:flex;align-items:center;gap:4px}
.nav-links a{
  padding:9px 14px;border-radius:10px;
  font-size:14.5px;font-weight:600;color:var(--ink-2);
  transition:background .2s,color .2s;
}
.nav-links a{color:var(--ink)}
.nav-links a:hover{background:var(--surface-2)}
.nav-links a.active{background:var(--accent);color:var(--on-accent);font-weight:800}

/* hamburger — only on small screens */
.burger{
  display:none;width:42px;height:42px;border-radius:11px;
  border:1px solid var(--line);background:var(--surface);cursor:pointer;
  place-items:center;
}
.burger svg{width:22px;height:22px;stroke:var(--ink);fill:none;stroke-width:2;stroke-linecap:round}

@media(max-width:900px){
  .burger{display:grid}
  .nav-links{
    position:absolute;top:var(--nav-h);left:0;right:0;
    flex-direction:column;align-items:stretch;gap:2px;
    background:var(--surface);
    border-bottom:1px solid var(--line);
    padding:10px 20px 16px;
    box-shadow:var(--shadow);
    display:none;
  }
  .nav-links.open{display:flex}
  .nav-links a{padding:13px 14px;font-size:16px}
  .nav .btn{display:none}
  /* ...but the login / «پنل من» button stays visible on mobile — it is the
     only way in, and unlike «تماس» it has no fallback (the call bar covers
     calling). It sits between the logo and the burger. */
  .nav .btn.nav-auth-btn{display:inline-flex;margin-inline-start:auto;margin-inline-end:8px}
}

/* ================= BUTTONS ================= */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 22px;border-radius:999px;border:none;cursor:pointer;
  font-size:15px;font-weight:700;white-space:nowrap;
  transition:transform .2s cubic-bezier(.2,.7,.2,1),box-shadow .25s,background .2s;
}
.btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.btn-primary{background:var(--brand);color:#fff;box-shadow:0 6px 18px rgba(23,23,23,.22)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(23,23,23,.28)}
.btn-accent{background:var(--accent);color:var(--on-accent);box-shadow:0 6px 18px rgba(255,196,0,.34)}
.btn-accent:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(255,196,0,.46)}
.btn-ghost{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.btn-ghost:hover{background:var(--surface-2);transform:translateY(-2px)}
.btn-white{background:#fff;color:var(--brand);box-shadow:0 8px 24px rgba(0,0,0,.22)}
.btn-white:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.3)}
.btn-lg{padding:15px 30px;font-size:16.5px}
.btn-sm{padding:9px 16px;font-size:13.5px}
.btn-block{width:100%}

/* ================= HERO (home) ================= */
.hero{
  position:relative;
  min-height:min(88svh,760px);
  display:flex;align-items:center;
  overflow:hidden;
  background:#171717;
}
#hero-canvas{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;z-index:0;
  /* Resolved relative to THIS stylesheet, so static/css/ and static/frames/
     must stay siblings — moving either one breaks the hero's first frame. */
  background:#171717 url("../frames/frame_0001.jpg") center/cover no-repeat;
}
/* daylight footage needs a dark anchor for white text, strongest on the right (RTL) */
.hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(270deg, rgba(17,17,17,.86) 0%, rgba(17,17,17,.66) 38%, rgba(17,17,17,.22) 68%, rgba(17,17,17,.05) 100%),
    linear-gradient(0deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,0) 45%);
}
/* .hero-in also carries .wrap — keep its 20px side padding, set only vertical */
.hero-in{position:relative;z-index:2;width:100%;padding-block:64px}
.hero h1{
  font-size:clamp(30px,5.4vw,60px);
  font-weight:900;line-height:1.3;letter-spacing:-.02em;
  color:#fff;max-width:19ch;
  text-shadow:0 2px 20px rgba(0,0,0,.6);
}
.hero h1 .hl{color:var(--accent)}
.hero p{
  margin-top:18px;font-size:clamp(15px,2vw,19px);line-height:1.85;
  color:rgba(255,255,255,.88);max-width:46ch;
  text-shadow:0 2px 14px rgba(0,0,0,.7);
}
.hero-cta{margin-top:30px;display:flex;gap:12px;flex-wrap:wrap}

/* phones: the copy must wrap inside the screen, not run past the edge */
@media(max-width:640px){
  .hero{min-height:auto}
  .hero-in{padding-block:52px 64px}
  .hero h1{font-size:clamp(27px,7.4vw,36px);max-width:100%}
  .hero p{font-size:15.5px;max-width:100%}
  /* darken evenly — on a narrow screen the text sits over the whole frame */
  .hero::after{
    background:
      linear-gradient(0deg, rgba(17,17,17,.9) 0%, rgba(17,17,17,.6) 55%, rgba(17,17,17,.5) 100%);
  }
  .hero-cta{gap:10px}
  .hero-cta .btn{flex:1 1 100%}
  .quick{margin-top:-34px}
}

/* the four services, floating over the hero base */
.quick{
  position:relative;z-index:3;
  margin-top:-56px;padding-bottom:64px;
}
.quick-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:16px;
}
@media(max-width:900px){.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.quick-grid{grid-template-columns:1fr}}
.qcard{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:26px 22px;
  box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:12px;
  transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s;
}
.qcard:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg);border-color:#D8D8D4}
/* All four service icons share the yellow tint: the old palette alternated
   them, which now reads as two of the four being unstyled. */
.qcard .ic{
  width:52px;height:52px;border-radius:15px;display:grid;place-items:center;
  background:linear-gradient(140deg,var(--tint),#FFE9A3);
}
.qcard .ic svg{width:26px;height:26px;stroke:var(--accent-2);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.qcard:hover .ic{background:linear-gradient(140deg,var(--accent),var(--accent-2))}
.qcard:hover .ic svg{stroke:var(--on-accent)}
.qcard h3{font-size:18px;font-weight:800;line-height:1.5}
.qcard p{font-size:14.5px;color:var(--ink-2);line-height:1.75;flex:1}
.qcard .go{font-size:14px;font-weight:700;color:var(--brand);display:flex;align-items:center;gap:6px}
.qcard .go svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ================= PAGE HEADER (inner pages) ================= */
.page-head{
  background:linear-gradient(140deg,var(--brand) 0%,var(--brand-2) 100%);
  color:#fff;padding:44px 0 48px;position:relative;overflow:hidden;
}
.page-head::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(60% 120% at 88% 0%, rgba(255,196,0,.30), transparent 60%);
}
.page-head .wrap{position:relative}
.crumb{font-size:13.5px;color:rgba(255,255,255,.72);margin-bottom:12px}
.crumb a:hover{color:#fff;text-decoration:underline}
.page-head h1{font-size:clamp(26px,4.4vw,42px);font-weight:900;line-height:1.35;letter-spacing:-.015em}
.page-head p{margin-top:12px;font-size:clamp(14.5px,1.8vw,17.5px);color:rgba(255,255,255,.85);max-width:60ch;line-height:1.8}

/* ================= SECTIONS ================= */
.section{padding:64px 0}
.section-sm{padding:44px 0}
.sec-head{margin-bottom:32px}
.sec-head.center{text-align:center}
.sec-head h2{font-size:clamp(23px,3.6vw,36px);font-weight:900;line-height:1.4;letter-spacing:-.015em}
.sec-head p{margin-top:10px;font-size:16px;color:var(--ink-2);line-height:1.8;max-width:62ch}
.sec-head.center p{margin-inline:auto}
.eyebrow{
  display:inline-block;font-size:13px;font-weight:800;color:var(--accent-2);
  background:#FFFBEC;border:1px solid #FFE9A3;
  padding:5px 14px;border-radius:999px;margin-bottom:14px;
}

/* ================= FILTER BAR ================= */
.filters{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:16px;
  box-shadow:var(--shadow);margin-bottom:26px;
}
.filter-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.field{display:flex;flex-direction:column;gap:6px;flex:1;min-width:150px}
.field label{font-size:12.5px;font-weight:700;color:var(--ink-3)}
.field select,.field input{
  font-family:inherit;font-size:15px;color:var(--ink);
  padding:11px 13px;border-radius:11px;
  border:1px solid var(--line);background:var(--surface-2);
  outline:none;transition:border-color .2s,background .2s;
  width:100%;
}
.field select:focus,.field input:focus{border-color:var(--brand);background:#fff}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  padding:9px 17px;border-radius:999px;cursor:pointer;
  font-size:14px;font-weight:700;
  background:var(--surface-2);color:var(--ink-2);
  border:1px solid transparent;
  transition:all .2s;
}
.chip:hover{background:var(--surface-2);color:var(--ink)}
/* selected state is yellow, matching the nav's active link */
.chip.active{background:var(--accent);color:var(--on-accent);font-weight:800;box-shadow:var(--shadow-accent)}
/* تانکر is the house specialty — its chip stays highlighted whether or not it
   is the current filter, so it reads as a category we build, not just sell */
.chip.chip-feature{
  background:var(--tint);color:var(--on-accent);font-weight:800;
  border-color:var(--accent);
}
.chip.chip-feature:hover{background:#FFEFB8;color:var(--on-accent)}
/* when it is also the current filter it takes the solid yellow selected state */
.chip.chip-feature.active{
  background:var(--accent);color:var(--on-accent);
  border-color:var(--accent);box-shadow:var(--shadow-accent);
}
.result-count{font-size:14.5px;color:var(--ink-2);font-weight:600;margin-bottom:16px}

/* ================= LISTING CARDS ================= */
.listings{
  display:grid;
  /* min() keeps the track from exceeding the viewport on narrow phones —
     a bare minmax(300px,…) overflows once the wrap padding and gap are added. */
  grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:20px;
}
.listing{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;flex-direction:column;
  transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s;
}
.listing{position:relative}
.listing:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:#D8D8D4}
.listing.hide{display:none}
/* covers the whole card so any click opens the listing; the phone button and
   its own controls sit above it */
.listing-link{position:absolute;inset:0;z-index:1}
.listing-foot,.listing .tag{position:relative;z-index:2}
.listing:hover .listing-body h3{color:var(--brand-2)}
.listing-media{
  position:relative;aspect-ratio:16/10;
  background:linear-gradient(160deg,#F0F0EA 0%,#E2E2DC 100%);
  display:grid;place-items:center;overflow:hidden;
  border-bottom:1px solid var(--line);
}
.listing-media svg{width:78%;max-width:230px;height:auto}

/* The main photo on a listing page. It cannot reuse .listing-media: that is
   object-fit:cover on a 16/10 box, which is right for a small grid card but
   crops a tall phone photo down to a strip — a real listing showed nothing but
   the black sky above the cab. The whole photo has to be visible here. */
.listing-hero{
  position:relative;
  aspect-ratio:4/3;
  background:var(--surface-2);
  display:grid;place-items:center;
  overflow:hidden;
}
.listing-hero img{
  width:100%;height:100%;
  object-fit:contain;
  cursor:zoom-in;
}
.listing-hero svg{width:78%;max-width:260px;height:auto}
/* uploaded photos fill the same 16/10 slot the SVG artwork occupies */
/* contain, not cover. A cover crop on a tall phone photo shows a slice of
   windshield and cuts off the machine — the whole truck has to be visible in
   the card, which is what a buyer is scanning for. Letterboxing against the
   plate is the acceptable cost. */
.listing-media img{width:100%;height:100%;object-fit:contain}
.tag{
  position:absolute;top:12px;inset-inline-start:12px;
  font-size:12px;font-weight:800;padding:5px 12px;border-radius:999px;
  background:rgba(255,255,255,.94);color:var(--brand);
  box-shadow:0 2px 8px rgba(0,0,0,.12);
}
/* "sold" stays red because it is a genuine stop signal; "brand new" moves to
   the brand yellow so the common case sits in the palette */
.tag.sold{background:var(--danger);color:#fff}
.tag.new{background:var(--accent);color:var(--on-accent)}
.listing-body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1;gap:10px}
.listing-body h3{font-size:17.5px;font-weight:800;line-height:1.55}
.listing-body h3 a{transition:color .2s}
.listing-body h3 a:hover{color:var(--brand-2)}
.meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13.5px;color:var(--ink-3)}
.meta span{display:flex;align-items:center;gap:5px}
.meta svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Price is the yellow accent on a card. Uses the darker --accent-2 rather than
   #FFC400: pure yellow text on white is unreadable in sunlight, which is
   exactly where drivers use this. */
.price{font-size:20px;font-weight:900;color:var(--accent-2);letter-spacing:-.01em;margin-top:auto;padding-top:8px}
.price small{font-size:13px;font-weight:600;color:var(--ink-3)}
.listing-foot{
  display:flex;gap:9px;align-items:center;
  padding-top:14px;border-top:1px solid var(--line);
}
.listing-foot .btn{flex:1}
.seller{font-size:13px;color:var(--ink-3)}

/* photo strip under the main image on a listing page */
.thumbs{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.thumb{
  width:82px;height:60px;padding:0;cursor:pointer;overflow:hidden;
  border-radius:10px;border:2px solid var(--line);background:var(--surface-2);
  transition:border-color .2s,transform .2s;
}
.thumb img{width:100%;height:100%;object-fit:cover}
.thumb:hover{transform:translateY(-2px)}
.thumb.active{border-color:var(--brand)}

/* ================= PAGINATION ================= */
.pagination{
  display:flex;justify-content:center;align-items:center;gap:8px;
  flex-wrap:wrap;margin-top:38px;
}
.pagination a,.pagination span{
  min-width:42px;padding:10px 14px;border-radius:11px;
  font-size:14.5px;font-weight:700;text-align:center;
  background:var(--surface);border:1px solid var(--line);color:var(--ink-2);
  transition:background .2s,color .2s,border-color .2s;
}
.pagination a:hover{background:var(--surface-2);color:var(--ink);border-color:#D8D8D4}
.pagination .current{background:var(--brand);color:#fff;border-color:var(--brand)}
.pagination .gap{border:none;background:none;padding:10px 4px;min-width:auto}

/* Honeypot — hidden from people, still filled in by bots.
   Clipped rather than pushed off-screen with a negative offset: in an RTL
   document an absolutely-positioned element at left:-9999px widens the layout,
   and with overflow-x:hidden on body that collapses the whole page. */
.hp-field{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;
}

/* the "order a custom tanker" card that leads the تانکر grid */
.listing-cta{
  background:linear-gradient(150deg,var(--brand) 0%,var(--brand-2) 100%);
  border-color:var(--brand);color:#fff;
  box-shadow:0 2px 6px rgba(23,23,23,.1),0 18px 40px rgba(23,23,23,.24);
}
.listing-cta:hover{border-color:var(--accent);box-shadow:0 2px 6px rgba(23,23,23,.1),0 22px 50px rgba(23,23,23,.30)}
.listing-cta-media{
  position:relative;aspect-ratio:16/10;overflow:hidden;
  display:grid;place-items:center;
  background:linear-gradient(160deg,rgba(255,255,255,.12),rgba(255,255,255,.03));
  border-bottom:1px solid rgba(255,255,255,.16);
}
.listing-cta-media svg{width:78%;max-width:230px;height:auto;opacity:.96}
.listing-cta-badge{
  position:absolute;top:12px;inset-inline-start:12px;
  font-size:12px;font-weight:800;padding:5px 12px;border-radius:999px;
  background:var(--accent);color:var(--on-accent);box-shadow:0 2px 8px rgba(0,0,0,.2);
}
.listing-cta .listing-body h3{font-size:19px;color:#fff}
.listing-cta .listing-body p{font-size:14.5px;color:rgba(255,255,255,.84);line-height:1.75}
.listing-cta .ticks li{color:rgba(255,255,255,.9);font-size:14px}
.listing-cta .ticks li::before{color:var(--accent)}
.listing-cta-go{
  margin-top:auto;padding-top:14px;
  border-top:1px solid rgba(255,255,255,.16);
  display:flex;align-items:center;gap:7px;
  font-size:15px;font-weight:800;color:var(--accent);
}
.listing-cta-go svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* ================= INFO / CONTENT CARDS ================= */
.grid-3{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:20px}
.card{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);padding:28px 24px;box-shadow:var(--shadow);
}
.card h3{font-size:18.5px;font-weight:800;line-height:1.5;margin-bottom:10px}
.card p{font-size:15px;color:var(--ink-2);line-height:1.85}
.card .ic{
  width:52px;height:52px;border-radius:15px;display:grid;place-items:center;
  background:linear-gradient(140deg,var(--surface-2),#E8E8E2);margin-bottom:16px;
}
.card .ic svg{width:26px;height:26px;stroke:var(--brand);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.card.accent .ic{background:linear-gradient(140deg,var(--tint),#FFE9A3)}
.card.accent .ic svg{stroke:var(--accent-2)}

.ticks{list-style:none;display:flex;flex-direction:column;gap:11px;margin-top:14px}
.ticks li{display:flex;gap:10px;align-items:flex-start;font-size:15px;color:var(--ink-2);line-height:1.75}
.ticks li::before{
  content:"✓";flex:none;font-weight:900;color:var(--ok);
  font-size:14px;line-height:1.8;
}

/* numbered steps */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:18px;counter-reset:s}
.step{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  padding:26px 22px;box-shadow:var(--shadow);position:relative;
}
.step .n{
  width:38px;height:38px;border-radius:11px;display:grid;place-items:center;
  background:var(--brand);color:#fff;font-weight:900;font-size:17px;margin-bottom:14px;
}
.step h3{font-size:17px;font-weight:800;line-height:1.5;margin-bottom:8px}
.step p{font-size:14.5px;color:var(--ink-2);line-height:1.8}

/* price table */
.ptable{
  width:100%;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);
  border-collapse:collapse;
}
.ptable th,.ptable td{padding:15px 18px;text-align:right;font-size:15px;border-bottom:1px solid var(--line)}
.ptable thead th{background:var(--surface-2);font-weight:800;font-size:14px;color:var(--ink-2)}
.ptable tbody tr:last-child td{border-bottom:none}
.ptable tbody tr:hover{background:var(--surface)}
.ptable td.p{font-weight:800;color:var(--brand);white-space:nowrap}
.table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* ================= CTA BAND ================= */
.cta-band{
  background:linear-gradient(140deg,var(--brand) 0%,var(--brand-2) 100%);
  color:#fff;border-radius:var(--radius-lg);padding:clamp(30px,5vw,52px);
  position:relative;overflow:hidden;text-align:center;
}
.cta-band::before{
  content:"";position:absolute;inset:0;
  background:radial-gradient(70% 130% at 50% 0%, rgba(255,196,0,.32), transparent 62%);
}
.cta-band>*{position:relative}
.cta-band h2{font-size:clamp(23px,3.6vw,36px);font-weight:900;line-height:1.4}
.cta-band p{margin-top:12px;font-size:16.5px;color:rgba(255,255,255,.86);max-width:52ch;margin-inline:auto;line-height:1.8}
.cta-band .row{margin-top:26px;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* ================= FORM ================= */
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}
.form-note{font-size:13.5px;color:var(--ink-3);margin-top:6px;line-height:1.7}
textarea{
  font-family:inherit;font-size:15px;color:var(--ink);
  padding:12px 13px;border-radius:11px;border:1px solid var(--line);
  background:var(--surface-2);outline:none;width:100%;resize:vertical;min-height:110px;
  transition:border-color .2s,background .2s;
}
textarea:focus{border-color:var(--brand);background:#fff}
.form-ok{
  display:none;align-items:center;gap:10px;
  background:#e6f7f0;border:1px solid #a9e2cb;color:#0a6444;
  padding:14px 16px;border-radius:12px;font-weight:700;font-size:15px;margin-top:16px;
}
.form-ok.show{display:flex}
.form-ok svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* validation feedback */
.form-err{
  display:none;flex-direction:column;gap:6px;
  background:#fdeaed;border:1px solid #f4bcc5;color:#93223a;
  padding:14px 16px;border-radius:12px;font-weight:700;font-size:14.5px;margin-bottom:18px;
}
.form-err.show{display:flex}
.field-err{font-size:13px;font-weight:700;color:var(--danger);line-height:1.6}
.field input[aria-invalid="true"],.field select[aria-invalid="true"]{border-color:var(--danger)}

/* file pickers — the default control is tiny and hard to hit on a phone */
.field input[type=file]{
  font-family:inherit;font-size:14px;color:var(--ink-2);
  padding:11px 13px;border-radius:11px;width:100%;
  border:1px dashed #D5D5D0;background:var(--surface-2);cursor:pointer;
}
.field input[type=file]:hover{border-color:var(--brand);background:#fff}

/* separator above the listing-only part of the contact form */
.ad-divider{
  margin:22px 0 18px;padding-top:20px;border-top:1px solid var(--line);
}

/* checkbox + label as one big tap target */
.check-row{
  display:flex;align-items:center;gap:11px;cursor:pointer;
  padding:13px 15px;border-radius:11px;
  background:var(--surface-2);border:1px solid var(--line);
  font-size:15px;font-weight:600;
}
.check-row:hover{background:#E9E9E4}
.check-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--brand);flex:none;cursor:pointer}

/* compact listing links in a sidebar */
.mini-listing{
  display:flex;align-items:center;gap:12px;
  padding:10px 0;border-bottom:1px solid var(--line);
}
.mini-listing:last-of-type{border-bottom:none}
.mini-listing-art{
  width:74px;height:48px;flex:none;border-radius:8px;overflow:hidden;
  background:linear-gradient(160deg,#F0F0EA,#E2E2DC);
  display:grid;place-items:center;
}
.mini-listing-art svg{width:88%;height:auto}
.mini-listing strong{display:block;font-size:14.5px;font-weight:700;line-height:1.5}
.mini-listing small{display:block;font-size:13px;color:var(--ink-3);margin-top:2px}
.mini-listing:hover strong{color:var(--brand-2)}

/* ================= FOOTER ================= */
.footer{
  background:#111111;color:rgba(255,255,255,.72);
  padding:52px 0 26px;margin-top:70px;
}
.foot-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr auto;gap:34px}
@media(max-width:860px){.foot-grid{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}}
/* Enamad trust seal — a light plate so the badge stays legible on the dark
   footer; the anchor overrides the footer's block-link styling. */
.trust-seals{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.trust-seals a{display:inline-block;padding:0;background:#fff;border-radius:10px;padding:8px}
.trust-seals img{display:block;height:auto;width:100px}
.footer h4{color:#fff;font-size:15.5px;font-weight:800;margin-bottom:14px}
.footer a{display:block;padding:5px 0;font-size:14.5px;transition:color .2s}
.footer a:hover{color:var(--accent)}
.footer .logo{color:#fff;margin-bottom:12px}
.footer .about{font-size:14.5px;line-height:1.85;max-width:36ch}
.foot-bot{
  margin-top:34px;padding-top:22px;border-top:1px solid rgba(255,255,255,.1);
  display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;
  font-size:13.5px;color:rgba(255,255,255,.55);
}

/* sticky call bar — thumb-reachable on phones */
.callbar{
  position:fixed;bottom:0;left:0;right:0;z-index:60;
  display:none;gap:10px;padding:10px 14px;
  background:rgba(255,255,255,.96);
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
  box-shadow:0 -4px 20px rgba(23,23,23,.1);
}
.callbar .btn{flex:1}
@media(max-width:760px){
  .callbar{display:flex}
  body{padding-bottom:72px}
}

/* reveal on scroll */
.reveal{opacity:1}
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1)}
.js .reveal.in{opacity:1;transform:none}

/* ================= BUILD-A-TANKER BAND (home) ================= */
.tanker-band{
  display:grid;grid-template-columns:1fr 1.15fr;gap:0;
  border-radius:var(--radius-lg);overflow:hidden;
  background:linear-gradient(150deg,var(--brand) 0%,var(--brand-2) 100%);
  box-shadow:0 2px 6px rgba(23,23,23,.1),0 18px 40px rgba(23,23,23,.2);
}
.tanker-band-art{
  display:grid;place-items:center;padding:34px 26px;
  background:linear-gradient(160deg,rgba(255,255,255,.1),rgba(255,255,255,.02));
  border-inline-end:1px solid rgba(255,255,255,.14);
}
.tanker-band-art svg{width:100%;max-width:330px;height:auto}
.tanker-band-body{padding:38px 34px;color:#fff}
.tanker-band-badge{
  display:inline-block;margin-bottom:12px;
  font-size:12.5px;font-weight:800;padding:5px 13px;border-radius:999px;
  background:var(--accent);color:var(--on-accent);
}
.tanker-band-body h2{font-size:clamp(23px,3vw,31px);font-weight:900;line-height:1.4;color:#fff}
.tanker-band-body p{margin-top:12px;font-size:15.5px;line-height:1.85;color:rgba(255,255,255,.85)}
.tanker-band-body .ticks{margin-top:16px}
.tanker-band-body .ticks li{color:rgba(255,255,255,.92);font-size:14.5px}
.tanker-band-body .ticks li::before{color:var(--accent)}

@media(max-width:820px){
  .tanker-band{grid-template-columns:1fr}
  .tanker-band-art{padding:26px 20px;border-inline-end:none;border-bottom:1px solid rgba(255,255,255,.14)}
  .tanker-band-body{padding:28px 22px}
  .tanker-band-body .btn{flex:1 1 100%}
}

/* ================= CALL CHOOSER ================= */
.callsheet{
  position:fixed;inset:0;z-index:210;
  display:grid;place-items:center;padding:20px;
}
.callsheet[hidden]{display:none}
.callsheet-backdrop{
  position:absolute;inset:0;background:rgba(10,10,10,.6);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  animation:promo-fade .2s ease both;
}
.callsheet-box{
  position:relative;z-index:1;width:min(420px,100%);
  background:var(--surface);border-radius:var(--radius-lg);
  padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.35);
  animation:promo-in .25s cubic-bezier(.2,.8,.25,1) both;
}
.callsheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.callsheet-head h3{font-size:19px;font-weight:900}
.callsheet-close{
  width:34px;height:34px;border-radius:50%;flex:none;cursor:pointer;
  display:grid;place-items:center;
  background:var(--surface-2);border:1px solid var(--line);
  transition:background .2s,transform .2s;
}
.callsheet-close svg{width:17px;height:17px;stroke:var(--ink-2);fill:none;stroke-width:2.4;stroke-linecap:round}
.callsheet-close:hover{background:#E7E7E3;transform:rotate(90deg)}
.callsheet-note{font-size:14px;color:var(--ink-2);margin:6px 0 16px}
.callsheet-list{display:flex;flex-direction:column;gap:10px}
.callsheet-item{
  display:flex;align-items:center;gap:13px;
  padding:14px 15px;border-radius:14px;
  background:var(--surface-2);border:1px solid var(--line);
  transition:background .2s,border-color .2s,transform .2s;
}
.callsheet-item:hover{background:var(--tint);border-color:var(--accent);transform:translateY(-2px)}
.callsheet-icon{
  width:42px;height:42px;border-radius:12px;flex:none;
  display:grid;place-items:center;
  background:var(--accent);
}
.callsheet-icon svg{width:19px;height:19px;stroke:var(--on-accent);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.callsheet-text{flex:1;min-width:0}
.callsheet-text strong{display:block;font-size:15.5px;font-weight:800;line-height:1.5}
.callsheet-text .num{font-size:15px;font-weight:700;color:var(--ink-2)}
.callsheet-go{flex:none}
.callsheet-go svg{width:18px;height:18px;stroke:var(--ink-3);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.callsheet-item:hover .callsheet-go svg{stroke:var(--ink)}
.callsheet-hours{font-size:13px;color:var(--ink-3);text-align:center;margin-top:16px}

/* ================= PROMO MODAL (home page) ================= */
.promo{
  position:fixed;inset:0;z-index:200;
  display:grid;place-items:center;padding:20px;
}
.promo[hidden]{display:none}
.promo-backdrop{
  position:absolute;inset:0;
  background:rgba(10,10,10,.78);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  animation:promo-fade .25s ease both;
}
.promo-box{
  position:relative;z-index:1;
  width:min(980px,100%);max-height:calc(100dvh - 40px);
  border-radius:var(--radius-lg);overflow:hidden;
  background:#111;box-shadow:0 30px 80px rgba(0,0,0,.5);
  animation:promo-in .3s cubic-bezier(.2,.8,.25,1) both;
}
.promo-link{display:block;position:relative}
.promo-link img{
  width:100%;height:auto;display:block;
  /* keeps a tall mobile creative inside the viewport, leaving room for the
     CTA bar beneath it (40px page padding + ~56px bar) */
  max-height:calc(100dvh - 100px);object-fit:contain;
}
/* Sits below the artwork rather than over it — both creatives already carry
   their own call to action, and an overlay bar covers the category strip. */
.promo-cta{
  display:flex;align-items:center;justify-content:center;gap:8px;
  padding:15px 20px;
  background:var(--accent);color:var(--on-accent);
  font-size:17px;font-weight:900;
  transition:background .2s;
}
.promo-cta svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.promo-link:hover .promo-cta{background:var(--accent-2)}
.promo-close{
  position:absolute;top:12px;inset-inline-end:12px;z-index:2;
  width:40px;height:40px;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;
  background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.28);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  transition:background .2s,transform .2s;
}
.promo-close svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round}
.promo-close:hover{background:rgba(0,0,0,.8);transform:rotate(90deg)}
body.promo-open{overflow:hidden}

@keyframes promo-fade{from{opacity:0}to{opacity:1}}
@keyframes promo-in{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}

@media(max-width:700px){
  .promo{padding:14px}
  .promo-box{width:100%}
  .promo-cta{font-size:15.5px;padding:14px 16px}
}

@media(prefers-reduced-motion:reduce){
  .js .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
  *{animation:none!important}
}

/* =====================================================================
   FULL-SCREEN PHOTO VIEWER (listing page)

   Direction: Persian reads right to left, so "forward" through the photos
   moves leftwards. Previous sits at the inline-start (the right edge in RTL)
   and points right; next sits at the inline-end (the left edge) and points
   left. Logical properties do the flipping, so this stays correct if the
   site is ever run in an LTR locale.
   ===================================================================== */
.lightbox{
  position:fixed;inset:0;z-index:300;
  display:grid;
  /* minmax(0,…) not 1fr: a plain 1fr row refuses to shrink below its content,
     so a tall photo would push the row past the viewport. */
  grid-template-rows:minmax(0,1fr) auto;
  /* No place-items:center here. Centring makes the stage shrink-wrap its
     content, which leaves it without a definite height — and then the photo's
     max-height:100% has nothing to resolve against and overflows. The stage
     must STRETCH to fill the row; centring happens inside it. */
}
.lightbox[hidden]{display:none}

/* Frosted glass: the site stays visible behind the photo instead of a black
   wall. The page underneath is white and bright, so it carries a dimming layer
   as well as the blur — without it, a light photo would wash out against a
   light background. Clicking anywhere on the glass closes the viewer. */
.lightbox-backdrop{
  position:absolute;inset:0;
  background:rgba(10,10,12,.40);
  -webkit-backdrop-filter:blur(26px) saturate(1.5);
  backdrop-filter:blur(26px) saturate(1.5);
  animation:promo-fade .2s ease both;
}
/* Without backdrop-filter there is no glass, only a see-through veil — so the
   fallback is a solid scrim rather than an unreadable page behind the photo. */
@supports not ((backdrop-filter:blur(2px)) or (-webkit-backdrop-filter:blur(2px))){
  .lightbox-backdrop{background:rgba(10,10,12,.92)}
}

.lightbox-stage{
  position:relative;z-index:1;cursor:zoom-out;
  grid-row:1;
  /* Minimal gutters so the photo renders as large as it can. The arrows float
     over it and carry their own glass background, so they stay readable. */
  margin:0;padding:18px;
  /* min-height:0 lets this grid item shrink to its row; without it the item's
     automatic minimum size is its content, and a tall photo overflows. */
  min-height:0;min-width:0;
  display:flex;align-items:center;justify-content:center;
  /* The photo is fitted, never cropped — see max-height below. */
  overflow:hidden;
}
.lightbox-stage img{
  cursor:default;
  max-width:100%;max-height:100%;
  width:auto;height:auto;
  object-fit:contain;
  border-radius:8px;
  animation:lb-in .22s cubic-bezier(.2,.8,.25,1) both;
  -webkit-user-select:none;user-select:none;
}
@keyframes lb-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}

/* Close — top inline-end, which is the top-left corner in RTL. */
.lightbox-close{
  position:absolute;top:16px;inset-inline-end:16px;z-index:3;
  width:44px;height:44px;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:background .2s;
}
.lightbox-close svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:2.2;stroke-linecap:round}
.lightbox-close:hover{background:rgba(255,255,255,.24)}

.lightbox-count{
  position:absolute;top:24px;inset-inline-start:20px;z-index:3;
  font-size:14px;font-weight:700;color:rgba(255,255,255,.86);
  font-variant-numeric:tabular-nums;
}

/* Arrows */
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:48px;height:48px;border-radius:50%;cursor:pointer;
  display:grid;place-items:center;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  transition:background .2s;
}
.lightbox-nav svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.lightbox-nav:hover{background:rgba(255,255,255,.26)}
.lightbox-prev{inset-inline-start:18px}   /* right edge in RTL — goes back */
.lightbox-next{inset-inline-end:18px}     /* left edge in RTL — goes forward */

/* Thumbnail strip along the bottom */
.lightbox-strip{
  position:relative;z-index:2;
  grid-row:2;justify-self:center;max-width:100%;
  background:rgba(10,10,12,.34);
  -webkit-backdrop-filter:blur(20px) saturate(1.4);
  backdrop-filter:blur(20px) saturate(1.4);
  display:flex;gap:9px;
  max-width:100%;padding:14px 16px calc(14px + env(safe-area-inset-bottom));
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.lightbox-strip::-webkit-scrollbar{display:none}
.lightbox-thumb{
  flex:none;width:74px;height:54px;padding:0;cursor:pointer;overflow:hidden;
  border-radius:8px;border:2px solid transparent;background:#1a1a1c;
  opacity:.55;transition:opacity .2s,border-color .2s;
}
.lightbox-thumb img{width:100%;height:100%;object-fit:cover}
.lightbox-thumb:hover{opacity:.85}
.lightbox-thumb.active{opacity:1;border-color:var(--accent)}

/* the big photo on the page invites the click */
#mainPhoto{cursor:zoom-in}

@media(max-width:640px){
  .lightbox-stage{padding:8px}
  .lightbox-nav{width:42px;height:42px}
  .lightbox-prev{inset-inline-start:10px}
  .lightbox-next{inset-inline-end:10px}
  .lightbox-close{top:12px;inset-inline-end:12px;width:40px;height:40px}
  .lightbox-count{top:20px;inset-inline-start:14px;font-size:13px}
  .lightbox-thumb{width:60px;height:44px}
}

@media(prefers-reduced-motion:reduce){
  .lightbox-stage img{animation:none}
  .lightbox-backdrop{animation:none}
}
@media(prefers-reduced-transparency:reduce){
  .lightbox-backdrop,.lightbox-strip{
    -webkit-backdrop-filter:none;backdrop-filter:none;
    background:rgba(10,10,12,.95);
  }
}


/* =====================================================================
   FREIGHT — the load board
   A load is scanned, not studied: a driver checks the route, whether their
   truck fits, and the rate, in that order. The card is built in that order.
   ===================================================================== */
.freights{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));
  gap:var(--s4,16px);
}
.freight{
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:18px;
  display:flex;flex-direction:column;gap:10px;
  transition:border-color .2s,box-shadow .2s;
}
.freight:hover{border-color:var(--line-2,#D6D6DC);box-shadow:var(--shadow)}

.freight-route{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  font-size:19px;font-weight:800;color:var(--ink);letter-spacing:-.02em;
}
/* The arrow is a left-pointer in the markup because the document is RTL and
   the reading order already runs right to left — origin sits on the right. */
.freight-arrow{color:var(--accent-2,#EAB000);font-weight:400;font-size:22px;line-height:1}
.freight-city{white-space:nowrap}
.freight-detail{font-size:13px;color:var(--ink-3);line-height:1.6}

.freight-tags{display:flex;flex-wrap:wrap;gap:6px}
.freight-tags .tag{
  position:static;background:var(--surface-2);color:var(--ink-2);
  border:1px solid var(--line);box-shadow:none;
  font-size:12px;font-weight:600;padding:4px 11px;
}
.freight-cargo{font-size:14px;color:var(--ink);font-weight:600}
.freight-note{font-size:13px;color:var(--ink-2);line-height:1.7}

.freight-price{
  font-size:21px;font-weight:800;color:var(--ink);
  letter-spacing:-.02em;margin-top:auto;padding-top:6px;
  font-variant-numeric:tabular-nums;
}
.freight-price small{font-size:12px;font-weight:600;color:var(--ink-3);letter-spacing:0}

.freight-foot{
  display:flex;align-items:center;gap:10px;
  padding-top:12px;border-top:1px solid var(--line);
}
.freight-foot .btn{flex:none}
.freight-carrier{font-size:12.5px;color:var(--ink-3);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}


/* A product with no photo yet. The .listing-media svg rule sizes the truck
   illustrations at 78% of the card, which is right for a drawing of a truck
   and absurd for a 24px icon — it filled the whole tile in solid black. */
.media-placeholder{display:grid;place-items:center;width:100%;height:100%}
.media-placeholder svg{
  width:48px;max-width:48px;height:48px;
  color:var(--line-2,#D6D6DC);
  stroke:currentColor;fill:none;
}

/* Freight card: the driver-match badge and the fill indicator. */
.freight-match{
  display:inline-flex;align-items:center;gap:5px;
  background:var(--tint);color:var(--on-accent);
  border:1px solid var(--accent);
  font-size:12.5px;font-weight:800;
  padding:5px 11px;border-radius:999px;align-self:flex-start;
}
.freight-fill{margin-top:2px}
.freight-fill-head{
  display:flex;justify-content:space-between;align-items:center;
  font-size:12.5px;font-weight:700;color:var(--ink-2);margin-bottom:5px;
}
.freight-fill-left{color:var(--accent-2);font-weight:800}
.freight-fill-track{
  height:7px;background:var(--surface-2);border-radius:99px;overflow:hidden;
}
.freight-fill-track i{
  display:block;height:100%;border-radius:99px;
  background:linear-gradient(90deg,var(--accent-2),var(--accent));
}

/* ================= CHAT ================= */
.chat-log{
  display:flex;flex-direction:column;gap:10px;
  min-height:300px;max-height:60vh;overflow-y:auto;
  padding:16px;background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius-lg);margin-bottom:14px;
}
.chat-msg{display:flex;flex-direction:column;max-width:78%}
.chat-msg.mine{align-self:flex-start;align-items:flex-start}
.chat-msg.theirs{align-self:flex-end;align-items:flex-end}
.chat-bubble{
  padding:10px 14px;border-radius:16px;font-size:14.5px;line-height:1.7;
  white-space:pre-wrap;word-break:break-word;
}
.chat-msg.mine .chat-bubble{background:var(--accent);color:var(--on-accent);border-bottom-right-radius:5px}
.chat-msg.theirs .chat-bubble{background:var(--surface-2);color:var(--ink);border-bottom-left-radius:5px}
.chat-time{font-size:11px;color:var(--ink-3);margin-top:3px}
.chat-composer{display:flex;gap:10px}
.chat-composer input{
  flex:1;font-family:inherit;font-size:15px;padding:12px 15px;
  border:1px solid var(--line-2);border-radius:999px;background:var(--surface);outline:none;
}
.chat-composer input:focus{border-color:var(--ink)}

/* =====================================================================
   CHAT — messenger layout (AI + person)
   A full-height column: fixed topbar, scrolling message area, sticky
   composer. Feels like a chat app rather than a form on a page.
   ===================================================================== */
.chat-shell{
  display:flex;flex-direction:column;
  height:calc(100dvh - var(--nav-h));
  max-width:760px;margin:0 auto;background:var(--bg);
}
.chat-topbar{
  display:flex;align-items:center;gap:12px;
  padding:12px 16px;background:var(--surface);
  border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5;
}
.chat-back{
  font-size:26px;line-height:1;color:var(--ink-2);
  width:34px;height:34px;display:grid;place-items:center;
  border-radius:50%;transform:scaleX(-1);flex:none;
}
.chat-back:hover{background:var(--surface-2);color:var(--ink)}
.chat-topbar-av{
  width:42px;height:42px;border-radius:50%;flex:none;
  display:grid;place-items:center;font-size:20px;font-weight:800;
  background:var(--brand);color:#fff;
}
.chat-topbar-av-ai{background:var(--tint)}
.chat-topbar-info{min-width:0}
.chat-topbar-info strong{display:block;font-size:15px;font-weight:800;color:var(--ink)}
.chat-topbar-info small{font-size:12px;color:var(--ink-3)}

.chat-scroll{
  flex:1;overflow-y:auto;padding:18px 16px;
  display:flex;flex-direction:column;gap:10px;
  background:
    radial-gradient(circle at 100% 0, rgba(255,196,0,.05), transparent 40%),
    var(--bg);
}
.chat-msg{display:flex;flex-direction:column;max-width:80%}
.chat-msg.mine{align-self:flex-start;align-items:flex-start}
.chat-msg.theirs{align-self:flex-end;align-items:flex-end}
.chat-bubble{
  padding:11px 15px;border-radius:18px;font-size:14.5px;line-height:1.8;
  white-space:pre-wrap;word-break:break-word;box-shadow:var(--shadow);
}
.chat-msg.mine .chat-bubble{
  background:var(--accent);color:var(--on-accent);border-bottom-right-radius:5px;
}
.chat-msg.theirs .chat-bubble{
  background:var(--surface);color:var(--ink);border-bottom-left-radius:5px;
  border:1px solid var(--line);
}
.chat-time{font-size:11px;color:var(--ink-3);margin-top:4px;padding:0 4px}

/* typing dots */
.chat-typing{display:flex;gap:4px;align-items:center;padding:14px 16px}
.chat-typing span{
  width:7px;height:7px;border-radius:50%;background:var(--ink-3);
  animation:chat-blink 1.2s infinite both;
}
.chat-typing span:nth-child(2){animation-delay:.2s}
.chat-typing span:nth-child(3){animation-delay:.4s}
@keyframes chat-blink{0%,80%,100%{opacity:.25}40%{opacity:1}}

/* intro / suggestions */
.chat-intro{text-align:center;margin:auto;max-width:420px;padding:24px}
.chat-intro-icon{font-size:46px;margin-bottom:10px}
.chat-intro p{color:var(--ink-2);font-size:15px;line-height:1.9;margin-bottom:18px}
.chat-suggests{display:flex;flex-direction:column;gap:9px}
.chat-suggest{
  font-family:inherit;font-size:14px;color:var(--ink);cursor:pointer;
  background:var(--surface);border:1px solid var(--line);
  border-radius:14px;padding:12px 16px;text-align:right;transition:all .15s;
}
.chat-suggest:hover{border-color:var(--accent);background:var(--tint)}

/* composer */
.chat-composer{
  display:flex;gap:10px;align-items:center;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  background:var(--surface);border-top:1px solid var(--line);
  position:sticky;bottom:0;
}
.chat-composer input{
  flex:1;font-family:inherit;font-size:15px;padding:13px 18px;
  border:1px solid var(--line-2);border-radius:999px;background:var(--bg);
  outline:none;transition:border-color .15s;
}
.chat-composer input:focus{border-color:var(--accent)}
.chat-send{
  width:48px;height:48px;flex:none;border:none;cursor:pointer;
  border-radius:50%;background:var(--accent);color:var(--on-accent);
  display:grid;place-items:center;transition:background .15s,transform .1s;
  box-shadow:var(--shadow-accent);
}
.chat-send:hover{background:var(--accent-2)}
.chat-send:active{transform:scale(.92)}
.chat-send:disabled{opacity:.5;cursor:default}
.chat-send svg{transform:scaleX(-1)}   /* arrow points the RTL "forward" way */

/* the callbar + footer are noise inside a chat; hide chrome on chat pages */
.chat-page .callbar,.chat-page .footer{display:none}
.chat-page{overflow:hidden}

/* AI history list */
.ai-history-row{
  display:flex;align-items:center;gap:13px;
  background:var(--surface);border:1px solid var(--line);
  border-radius:var(--radius);padding:14px 16px;margin-bottom:11px;
  transition:border-color .15s,box-shadow .15s;
}
.ai-history-row:hover{border-color:var(--line-2);box-shadow:var(--shadow-float)}
.ai-history-icon{
  width:44px;height:44px;border-radius:13px;flex:none;
  display:grid;place-items:center;font-size:22px;background:var(--tint);
}
.ai-history-body{flex:1;min-width:0}
.ai-history-body strong{
  display:block;font-size:14.5px;font-weight:700;color:var(--ink);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ai-history-body small{font-size:12px;color:var(--ink-3)}
.ai-history-go{font-size:24px;color:var(--ink-3);transform:scaleX(-1)}

/* OTP auto-fill (no SMS gateway yet): the code types itself into the field. */
.otp-note{
  font-size:12.5px;color:var(--ink-3);margin-top:8px;text-align:center;
  transition:color .3s;
}
.otp-note-done{color:var(--ok);font-weight:700}
#code.otp-tick{
  border-color:var(--accent);
  box-shadow:0 0 0 4px rgba(255,196,0,.22);
}
#code{transition:box-shadow .12s,border-color .12s}

/* =====================================================================
   TCARD — premium listing card (image-forward, villa style)
   ===================================================================== */
.tcard{
  position:relative;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;flex-direction:column;
  transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s;
}
.tcard:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg);border-color:#D8D8D4}
.tcard-link{position:absolute;inset:0;z-index:1}

.tcard-media{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--surface-2);
}
.tcard-media img{width:100%;height:100%;object-fit:cover;display:block}
/* Photo-less: art on the dark brand plate so white text over it stays readable. */
.tcard-media-art{
  background:linear-gradient(150deg,var(--brand) 0%,var(--brand-2) 100%);
  display:grid;place-items:center;
}
.tcard-media-art svg{width:74%;max-width:230px;height:auto;opacity:.96}

/* The gradient that anchors the white text at the foot of the image. */
.tcard-scrim{
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to top,
    rgba(10,10,12,.86) 0%, rgba(10,10,12,.45) 32%, rgba(10,10,12,0) 58%);
}
.tcard-media-art .tcard-scrim{
  background:linear-gradient(to top,
    rgba(10,10,12,.6) 0%, rgba(10,10,12,.15) 40%, rgba(10,10,12,0) 65%);
}

/* Floating price pill, top-start. */
.tcard-price{
  position:absolute;top:14px;inset-inline-start:14px;z-index:2;
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  color:var(--ink);
  font-size:16px;font-weight:900;letter-spacing:-.01em;
  padding:8px 15px;border-radius:999px;
  box-shadow:0 4px 14px rgba(0,0,0,.18);
}
.tcard-price small{font-size:11px;font-weight:600;color:var(--ink-3)}

/* Badge, top-end. */
.tcard-badge{
  position:absolute;top:14px;inset-inline-end:14px;z-index:2;
  background:var(--accent);color:var(--on-accent);
  font-size:12px;font-weight:800;padding:5px 12px;border-radius:999px;
  box-shadow:0 2px 8px rgba(0,0,0,.18);
}
.tcard-badge-sold{background:var(--danger);color:#fff}

/* Info block over the gradient. */
.tcard-info{
  position:absolute;inset-inline:0;bottom:0;z-index:2;
  padding:16px 16px 14px;color:#fff;
}
.tcard-info h3{
  font-size:17px;font-weight:800;line-height:1.5;color:#fff;
  text-shadow:0 1px 8px rgba(0,0,0,.5);margin-bottom:6px;
}
.tcard-loc{display:flex;align-items:center;gap:5px;font-size:13.5px;color:rgba(255,255,255,.92);margin-bottom:8px}
.tcard-loc svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none}
.tcard-specs{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:12.5px;color:rgba(255,255,255,.86)}
.tcard-specs span{display:flex;align-items:center;gap:5px}
.tcard-specs svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8;flex:none}

/* White foot strip with the call action. */
.tcard-foot{
  display:flex;align-items:center;gap:10px;
  padding:12px 14px;position:relative;z-index:2;
}
.tcard-foot .btn{flex:none;position:relative;z-index:3}
.tcard-seller{font-size:13px;color:var(--ink-3);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Send button in cooldown: a live mm:ss countdown, not a button. */
.chat-send-timer{
  background:var(--surface-2);color:var(--ink-2);box-shadow:none;
  font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;
  width:auto;min-width:58px;padding:0 12px;border-radius:24px;
}

/* Blue verified check — Instagram-style, for pro shops and companies. */
.bluecheck{display:inline-block;vertical-align:-2px;flex:none}
h1 .bluecheck{width:22px;height:22px;vertical-align:-3px}

/* Whole-card click: the stretched .tcard-link covers the card, but the price
   pill, badge, gradient and info block sit above it and were swallowing clicks.
   Make everything decorative click-through so any point on the card opens the
   ad — only the call button in the foot stays interactive. */
.tcard-scrim,
.tcard-price,
.tcard-badge,
.tcard-info,
.tcard-seller{pointer-events:none}
.tcard-foot{pointer-events:none}          /* foot background → passes to the link */
.tcard-foot .btn{pointer-events:auto}     /* …but the تماس button still works */

/* =====================================================================
   IMAGE UPLOADER — dropzone with previews (ad submission form)
   ===================================================================== */
.uploader{
  border:1.5px dashed var(--line-2,#D6D6DC);
  border-radius:var(--radius);
  padding:12px;background:var(--surface-2);
  transition:border-color .2s,background .2s;
}
.uploader-over{border-color:var(--accent);background:var(--tint)}
.uploader-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(88px,1fr));
  gap:10px;
}
.uploader-grid:empty{display:none}
.uploader-cell{
  position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;
  background:var(--surface);border:1px solid var(--line);
}
.uploader-cell img{width:100%;height:100%;object-fit:cover;display:block}
.uploader-rm{
  position:absolute;top:4px;inset-inline-end:4px;
  width:24px;height:24px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(10,10,12,.62);color:#fff;font-size:17px;line-height:1;
  display:grid;place-items:center;
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
}
.uploader-rm:hover{background:var(--danger)}
.uploader-add{
  width:100%;margin-top:10px;
  display:flex;flex-direction:column;align-items:center;gap:3px;
  background:var(--surface);border:1px solid var(--line);
  border-radius:12px;padding:18px;cursor:pointer;
  color:var(--ink-2);font-family:inherit;transition:border-color .2s,color .2s;
}
.uploader-grid:empty + .uploader-add{margin-top:0}
.uploader-add:hover{border-color:var(--accent);color:var(--ink)}
.uploader-add svg{stroke:var(--accent-2)}
.uploader-add span{font-size:14.5px;font-weight:700;color:var(--ink)}
.uploader-add small{font-size:12px;color:var(--ink-3)}
.uploader-videochip{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  background:var(--surface);border:1px solid var(--line);border-radius:12px;
  padding:12px 14px;font-size:13.5px;font-weight:600;grid-column:1/-1;
}
.uploader-videochip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.uploader-rm-inline{
  border:none;background:none;color:var(--danger);font-weight:700;
  cursor:pointer;font-family:inherit;font-size:13px;flex:none;
}

/* =====================================================================
   MONEY UI — flash messages, wallet, product detail, fee notice
   ===================================================================== */
.flash-wrap{max-width:720px;margin:14px auto 0;padding:0 18px;display:flex;flex-direction:column;gap:10px}
.flash{padding:12px 16px;border-radius:12px;font-size:14px;font-weight:700;line-height:1.7}
.flash-success{background:#E4F5EE;color:#0E7A52;border:1px solid #B9E6D4}
.flash-error,.flash-danger{background:#FDEAED;color:#93223a;border:1px solid #F3C4CD}
.flash-info,.flash-warning{background:#FFF6DB;color:#8F6600;border:1px solid #F2E2AE}

/* Wallet */
.wallet-balance{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;
  background:linear-gradient(150deg,var(--brand) 0%,var(--brand-2) 100%);color:#fff}
.wallet-balance-label{font-size:13.5px;opacity:.9}
.wallet-balance-value{font-size:34px;font-weight:900;letter-spacing:-.01em}
.wallet-balance-value small{font-size:15px;font-weight:600;opacity:.9}
.wallet-chips{display:flex;flex-wrap:wrap;gap:10px}
.wallet-chip{border:1.5px solid var(--line-2,#D6D6DC);background:var(--surface-2);
  border-radius:999px;padding:8px 16px;font-size:13.5px;font-weight:700;cursor:pointer;color:var(--ink)}
.wallet-chip:hover,.wallet-chip.on{border-color:var(--accent);background:var(--tint);color:var(--ink)}
.wallet-txns{display:flex;flex-direction:column;margin-top:8px}
.wallet-txn{display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:12px 0;border-bottom:1px solid var(--line,#EDEDF0)}
.wallet-txn:last-child{border-bottom:none}
.wallet-txn-main{display:flex;flex-direction:column;gap:3px;min-width:0}
.wallet-txn-kind{font-weight:800;font-size:14px}
.wallet-txn-desc{font-size:12.5px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis}
.wallet-txn-side{display:flex;flex-direction:column;gap:3px;align-items:flex-end;flex:none}
.wallet-txn-amount{font-weight:800;font-size:14px;font-variant-numeric:tabular-nums}
.wallet-txn-amount.pos{color:#0E7A52}
.wallet-txn-amount.neg{color:#93223a}
.wallet-txn-date{font-size:11.5px;color:var(--ink-3);font-variant-numeric:tabular-nums}

/* Ad fee notice */
.ad-fee-note{margin-top:12px;padding:12px 14px;border-radius:12px;background:#FFF6DB;
  color:#8F6600;border:1px solid #F2E2AE;font-size:13.5px;line-height:1.9}

/* Product detail */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}
@media(max-width:720px){.product-detail{grid-template-columns:1fr}}
.product-detail-media{position:relative;border-radius:var(--radius);overflow:hidden;
  background:var(--surface-2);aspect-ratio:4/3;display:grid;place-items:center}
.product-detail-media img{width:100%;height:100%;object-fit:cover}
.product-detail-media .media-placeholder{opacity:.4}

/* Product gallery (detail page) */
.product-gallery{display:flex;flex-direction:column;gap:10px}
.product-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.product-thumb{width:64px;height:64px;border-radius:10px;overflow:hidden;padding:0;
  border:2px solid transparent;background:var(--surface-2);cursor:pointer;flex:none}
.product-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.product-thumb.on{border-color:var(--accent)}

/* Existing-image remove grid (shop edit form) */
.edit-imgs{display:flex;flex-wrap:wrap;gap:10px}
.edit-img{position:relative;width:70px;cursor:pointer;display:block}
.edit-img img{width:70px;height:70px;object-fit:cover;border-radius:10px;display:block;border:1px solid var(--line)}
.edit-img input{position:absolute;top:4px;inset-inline-start:4px;width:18px;height:18px;accent-color:var(--danger)}
.edit-img span{display:block;text-align:center;font-size:11px;color:var(--ink-3);margin-top:3px}
.edit-img input:checked ~ img{outline:2px solid var(--danger);opacity:.6}

/* =====================================================================
   بارنامه HELPER (logistics panel)
   ===================================================================== */
.helper-wrap{display:flex;flex-direction:column;gap:20px;max-width:860px}
.helper-card{padding:22px}
.helper-h{font-size:18px;font-weight:900;margin-bottom:6px}
.helper-sub{font-size:13.5px;color:var(--ink-2);margin-bottom:14px;line-height:1.9}
.helper-empty{color:var(--ink-3);font-size:14px}
.helper-note{font-size:12.5px;color:var(--ink-3);margin-top:10px;line-height:1.9}

/* copy button */
.copy-btn{background:var(--accent);color:var(--on-accent);border:none;border-radius:10px;
  padding:7px 14px;font-size:13px;font-weight:800;cursor:pointer;font-family:inherit;transition:background .15s}
.copy-btn:hover{filter:brightness(.96)}
.copy-btn.copied{background:#0E7A52;color:#fff}
.copy-btn-sm{padding:5px 10px;font-size:12px;border-radius:8px}
.copy-btn-lg{padding:10px 20px;font-size:14px}

/* ton-km rates */
.helper-rates{display:flex;flex-direction:column;gap:12px}
.helper-rate{border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:var(--surface-2)}
.helper-rate-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:6px;margin-bottom:8px}
.helper-rate-title{font-weight:800;font-size:14.5px}
.helper-rate-date{font-size:12px;color:var(--ink-3)}
.helper-rate-body{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.helper-rate-value{font-size:22px;font-weight:900;font-variant-numeric:tabular-nums;color:var(--ink)}
.helper-rate-unit{font-size:12.5px;color:var(--ink-2)}

/* calculator */
.helper-result{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  margin-top:16px;padding:16px;border-radius:14px;
  background:linear-gradient(150deg,var(--brand) 0%,var(--brand-2) 100%);color:#fff}
.helper-result-label{display:block;font-size:12.5px;opacity:.9}
.helper-result-value{display:block;font-size:24px;font-weight:900;font-variant-numeric:tabular-nums}
.helper-result-sub{display:block;font-size:13px;opacity:.9;margin-top:2px}

/* bracket lookup + table */
.helper-lookup{margin-bottom:16px}
.lookup-out{margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--tint);border:1px solid var(--line)}
.lookup-hit{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px}
.lookup-hit b{font-weight:900}
.lookup-amount{font-variant-numeric:tabular-nums}
.lookup-none{color:var(--danger);font-size:13.5px}
.helper-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.helper-table{width:100%;border-collapse:collapse;font-size:14px;min-width:360px}
.helper-table th,.helper-table td{padding:10px 14px;text-align:start;border-bottom:1px solid var(--line)}
.helper-table th{background:var(--surface-2);font-weight:800;font-size:13px;color:var(--ink-2)}
.helper-table tr:last-child td{border-bottom:none}
.helper-table tbody tr:hover{background:var(--surface-2)}
.helper-td-result{font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}

/* بارنامه helper — per-company datasets */
.helper-ds-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.helper-ds-meta{display:block;font-size:12.5px;color:var(--ink-3);margin-top:4px}
.helper-filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:12px}
.helper-filter{display:flex;flex-direction:column;gap:3px;min-width:140px;flex:1}
.helper-filter label{font-size:12px;font-weight:700;color:var(--ink-2)}
.helper-filter select{padding:8px 10px;border:1px solid var(--line);border-radius:10px;
  background:var(--surface);font-family:inherit;font-size:13.5px;color:var(--ink)}
.helper-search{width:100%;padding:10px 14px;border:1px solid var(--line);border-radius:12px;
  font-family:inherit;font-size:14px;margin-bottom:6px;background:var(--surface);color:var(--ink)}
.copy-cell{cursor:pointer;transition:background .1s}
.copy-cell:hover{background:var(--tint)}
.copy-toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%) translateY(10px);
  background:var(--ink);color:#fff;padding:9px 18px;border-radius:999px;font-size:13.5px;font-weight:700;
  z-index:200;opacity:0;transition:opacity .25s,transform .25s;pointer-events:none}
.copy-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* Carrier contact-number rows */
.contact-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;padding:10px 0;border-bottom:1px solid var(--line)}
.contact-row:last-child{border-bottom:none}
.contact-row .contact-name{flex:1;min-width:120px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-family:inherit}
.contact-row .contact-phone{width:150px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;font-family:inherit}

/* Freight call list (multiple company numbers after unlock) */
.freight-contacts{width:100%}
.freight-contacts-h{font-size:12.5px;color:var(--ink-3);font-weight:700;margin-bottom:8px}
.freight-contact{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);
  border-radius:12px;margin-bottom:6px;background:var(--surface-2);color:var(--ink)}
.freight-contact:last-child{margin-bottom:0}
.freight-contact svg{width:16px;height:16px;stroke:var(--accent-2);fill:none;stroke-width:1.9;flex:none}
.freight-contact span{font-weight:700;font-size:13.5px}
.freight-contact b{margin-inline-start:auto;font-size:14px;font-variant-numeric:tabular-nums}

/* Per-load number picker (freight form) */
.contact-pick{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);
  border-radius:12px;margin-bottom:8px;cursor:pointer;background:var(--surface-2)}
.contact-pick input{width:18px;height:18px;accent-color:var(--accent-2);flex:none}
.contact-pick span{font-weight:700;font-size:13.5px}
.contact-pick b{margin-inline-start:auto;font-size:13.5px;font-variant-numeric:tabular-nums;color:var(--ink-2)}

/* بار دلاری — a dollar load stands out with a green ribbon and accent */
.freight-dollar{border-color:#17a06e;box-shadow:0 0 0 1px #17a06e inset,var(--shadow,0 6px 20px rgba(0,0,0,.06))}
.dollar-ribbon{display:inline-flex;align-items:center;gap:6px;
  background:linear-gradient(135deg,#17a06e 0%,#0e7a52 100%);color:#fff;
  font-size:12.5px;font-weight:800;padding:6px 14px;border-radius:999px;
  margin-bottom:12px;box-shadow:0 3px 10px rgba(14,122,82,.35)}
.dollar-ribbon svg{flex:none}
.dollar-tag-sm{display:inline-block;background:#E4F5EE;color:#0E7A52;
  font-size:11.5px;font-weight:800;padding:3px 9px;border-radius:999px;margin-inline-start:6px;vertical-align:middle}
