@font-face{font-family:Sarabun;font-weight:300;font-display:swap;src:url(fonts/Sarabun-Light.woff2) format('woff2')}
@font-face{font-family:Sarabun;font-weight:400;font-display:swap;src:url(fonts/Sarabun-Regular.woff2) format('woff2')}
@font-face{font-family:Sarabun;font-weight:500;font-display:swap;src:url(fonts/Sarabun-SemiBold.woff2) format('woff2')}
@font-face{font-family:Sarabun;font-weight:600;font-display:swap;src:url(fonts/Sarabun-Bold.woff2) format('woff2')}

:root{--blue:#095ef7;--navy:#0a2f9e;--dot:#0f2fd0;--muted:#a6a6b9;--time:#838895}
*{box-sizing:border-box}
body{margin:0;font-family:Sarabun,serif,-apple-system,sans-serif;background:#fff;color:#000;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{margin:0}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
.page{background:#0000001c}

/* Cabeçalho */
.header{position:sticky;top:0;z-index:50;height:56px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 16px}
.logo{font-size:20px;font-weight:600;letter-spacing:1px;color:var(--navy)}
.nav{display:none;align-items:center;gap:24px;font-size:14px;font-weight:500}
.nav-item{display:inline-flex;align-items:center;gap:4px;color:#000;white-space:nowrap}
.nav-item.plain{font-weight:500}
.nav-item.lang{gap:3px}
.chev{width:6px;height:6px;border-right:1.6px solid #000;border-bottom:1.6px solid #000;transform:rotate(45deg) translateY(-2px);display:inline-block;margin-left:3px}
.login{height:32px;padding:0 16px;min-width:82px;background:transparent;border:1px solid #020202;font-size:14px;font-weight:400;cursor:pointer;border-radius:0}
.burger{background:none;border:0;padding:6px;cursor:pointer;display:flex;flex-direction:column;gap:4px}
.burger span{display:block;width:16px;height:1.6px;background:#000}

/* Banner */
.banner{position:relative;height:284px;background:var(--blue);overflow:hidden}
.banner-art{position:absolute;inset:0;background:url("https://www.imile.com/images/newTrackOrder/Track_Orders.jpg") 76% center/cover no-repeat,
  radial-gradient(circle at 78% 45%,rgba(255,255,255,.22) 0,rgba(255,255,255,0) 38%),
  radial-gradient(circle at 92% 90%,rgba(0,36,150,.55) 0,rgba(0,36,150,0) 45%),
  linear-gradient(135deg,#0a4fd0 0%,#095ef7 55%,#3b8bff 100%)}
.banner-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 61.98%)}
.banner-text{position:absolute;z-index:2;top:48%;left:16px;transform:translate(0,-40%);color:#fff;font-size:12px}
.banner-text h1{color:#fff;text-align:left;font-size:24px;line-height:30px;width:80%;margin:18px 0;font-weight:600}
.search{position:absolute;z-index:2;display:flex;width:100%;bottom:20px;padding:0 16px;left:0;height:32px}
.search input{flex:1;min-width:0;border:0;outline:0;background:#ccc;color:#000;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:16px;padding:4px 8px;opacity:.8;border-radius:0}
.search input::placeholder{color:#000;opacity:.42}
.search-btn{background:#000;border:0;width:32px;height:32px;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.search-btn svg{width:16px;height:16px}

/* Status */
.status{padding:0 16px}
.status h2{color:#000;text-align:left;font-size:24px;line-height:30px;width:80%;margin-top:30px;font-weight:600}
.status-wrap{margin:40px 0 60px}
.status-card{border-radius:24px;display:flex;justify-content:center;align-items:center;min-height:50vh;flex-direction:column;text-align:center}
.empty-img{height:120px}
.status-card.has-result{display:block;text-align:left;min-height:0;background:#f6f7fa;padding:20px 16px}

/* Linha do tempo */
.waybill{font-size:16px;font-weight:600;display:flex;align-items:center;gap:6px;margin:6px 0 24px}
.copy{width:14px;height:14px;border:1.5px solid #838895;border-radius:3px;display:inline-block;position:relative;cursor:pointer}
.tz-note{display:flex;align-items:center;gap:8px;background:#ececf0;color:var(--muted);font-size:14px;padding:10px 24px;margin-bottom:24px}
.tz-note i{width:14px;height:14px;border-radius:50%;background:#a6a6b9;color:#fff;font-style:normal;font-size:10px;line-height:14px;text-align:center;flex:none}
.tl-group{display:flex;flex-direction:column}
.tl-row{display:grid;grid-template-columns:96px 24px 52px 1fr;align-items:start;position:relative;padding-bottom:22px}
.tl-date{font-size:16px;font-weight:600;color:#000;line-height:20px}
.tl-dotcol{position:relative;height:100%;display:flex;justify-content:center;padding-top:6px}
.tl-dot{width:7px;height:7px;border-radius:50%;background:var(--dot);position:relative;z-index:1}
.tl-dotcol::after{content:"";position:absolute;top:18px;bottom:-18px;left:50%;width:1px;background:#dcdce4;transform:translateX(-.5px)}
.tl-row:last-child .tl-dotcol::after{display:none}
.tl-time{font-size:12px;color:var(--time);line-height:20px;padding-top:0}
.tl-title{font-size:24px;font-weight:600;line-height:20px;color:var(--muted);margin:0 0 6px}
.tl-title.current{color:var(--blue)}
.tl-desc{font-size:14px;line-height:21px;color:var(--muted)}
.tl-row.current .tl-desc{color:#000}
.tl-desc b{color:#e00}

/* Rodapé */
.footer-area{background:#e1e1e1;padding:0 0 28px}
.footer-white{background:#fff}
.email-box{padding:14px 24px}
.email-title{padding:24px 0}
.email-title h3{font-size:20px;font-weight:600;line-height:30px}
.email-title span{font-size:14px;font-weight:400;line-height:21px;color:rgba(0,0,0,.87)}
.email-row{display:flex;flex-direction:column}
.email-input{display:block;width:100%;height:45px;border:1px solid #000;padding:0 12px;font-family:Roboto,Helvetica,Arial,sans-serif;font-size:14px;border-radius:0;outline:0}
.subscribe{display:block;width:100%;height:45px;border:2px solid #000;background:#fff;font-size:14px;font-weight:500;margin:16px 0;cursor:pointer}
.privacy-policy{font-size:12px}
.footer-box{padding:0 24px 14px}
.footer-cols{display:grid;grid-template-columns:1fr;gap:24px;padding:24px 0}
.footer-logo{font-size:30px;font-weight:600;line-height:1.1;letter-spacing:1px;color:var(--navy)}
.fcol h4{font-size:13px;font-weight:600;line-height:20px;margin-bottom:12px}
.fcol a{display:block;font-size:13px;line-height:14px;margin-bottom:7px;color:rgba(0,0,0,.87)}
.footer-line{height:1px;background:#3f3fb5}
.footer-bottom{display:flex;flex-direction:column;gap:16px;padding-top:16px}
.legal{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:11px;line-height:16px;color:rgba(0,0,0,.87)}
.legal a{text-decoration:underline}
.outer-imgs{display:flex;gap:10px}
.outer-imgs img{width:16px;height:16px}


/* >= 600px */
@media (min-width:600px){
  .banner-text{left:80px;font-size:18px}
  .banner-text h1{line-height:86px;width:100%}
  .search{width:370px;bottom:13px;padding:0;left:80px;height:50px}
  .search input{padding:13px;opacity:1}
  .search-btn{width:50px;height:50px}
  .search-btn svg{width:22px;height:22px}
  .status{padding:0 50px}
  .status h2{font-size:36px;margin-top:38px;line-height:86px;width:100%}
  .status-card{background:#f6f7fa;padding:32px}
  .status-card.has-result{padding:32px}
  .empty-img{height:150px}
  .tl-row{grid-template-columns:130px 24px 56px 1fr}
}
@media (max-width:599px){
  .tl-row{grid-template-columns:1fr;row-gap:2px;padding-left:18px}
  .tl-row .tl-dotcol{display:none}
  .tl-row .tl-date{font-size:14px}
  .tl-title{font-size:18px}
  .tl-time{display:inline}
}
@media (min-width:900px){
  .banner{height:430px}
  .banner-text{top:55%}
  .banner-text h1{font-size:72px}
  .search{width:450px;bottom:28px}
  .status-card{min-height:438px}
  .status-card.has-result{min-height:0}
  .email-box{display:flex;justify-content:space-between;align-items:center;padding:14px 100px}
  .email-title{max-width:488px}
  .email-form{width:674px}
  .email-row{flex-direction:row;gap:8px}
  .email-input{flex:1}
  .subscribe{width:115px;margin:0}
  .privacy-policy{margin-top:12px}
  .footer-box{padding:0 40px 14px}
  .footer-cols{grid-template-columns:1.1fr 1.5fr 1.5fr 1.5fr;padding:60px 0 56px;gap:0}
  .footer-logo{font-size:44px;padding-left:60px}
  .footer-bottom{flex-direction:row;justify-content:space-between;align-items:center}
  .footer-area{padding:0 40px 28px}
}
@media (min-width:1200px){
  .header{height:70px;padding:0 28px}
  .logo{font-size:26px}
  .nav{display:flex}
  
  .banner{height:590px}
  .search{bottom:100px}
}

.status-card.has-result .status-msg{margin:0}
.status-msg{max-width:420px}

/* Chat */
.chat-fab{position:fixed;right:24px;bottom:24px;width:50px;height:50px;border-radius:50%;background:#0a2f9e;border:0;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 4px 12px rgba(0,0,0,.25);z-index:60}
.chat-fab[hidden]{display:none}
.chat{position:fixed;right:24px;bottom:24px;width:400px;max-width:calc(100vw - 16px);height:600px;max-height:calc(100vh - 32px);background:#fff;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.22);display:flex;flex-direction:column;z-index:70;overflow:hidden}
.chat[hidden]{display:none}
.chat-head{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#f6f7fa;border-bottom:1px solid #eceef2}
.chat-avatar,.msg-av{width:28px;height:28px;border-radius:50%;flex:none;background:radial-gradient(circle at 35% 35%,#7fb2ff,#095ef7 60%,#0a2f9e)}
.chat-name{font-size:14px;font-weight:600;flex:1}
.chat-head button{background:none;border:0;font-size:24px;line-height:1;cursor:pointer;color:#555}
.chat-msgs{flex:1;overflow-y:auto;padding:12px 16px;display:flex;flex-direction:column;gap:14px}
.chat-time{text-align:center;font-size:12px;color:#999}
.msg{display:flex;gap:10px;align-items:flex-start;max-width:100%}
.msg.user{justify-content:flex-end}
.bubble{background:#f1f3f8;border-radius:10px;padding:10px 14px;font-size:14px;line-height:21px;max-width:80%;word-wrap:break-word}
.msg.user .bubble{background:#eef0f6}
.bubble a{color:#095ef7}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding-left:38px}
.chip{border:1px solid #333;background:#fff;border-radius:16px;padding:5px 10px;font-size:12px;cursor:pointer;font-family:inherit}
.chip:hover{background:#f1f3f8}
.chat-form{display:flex;align-items:flex-end;gap:8px;padding:10px 16px 14px;border-top:1px solid #eceef2}
.chat-form textarea{flex:1;border:0;outline:0;resize:none;font-family:inherit;font-size:13px;padding:8px 0;max-height:80px;background:#fff}
.chat-send{background:#2b5cff;color:#fff;border:0;border-radius:18px;padding:8px 14px;font-size:12px;font-weight:500;cursor:pointer;font-family:inherit}
.chat-send:disabled{background:#cfd3de;cursor:default}
@media (max-width:599px){.chat{right:8px;bottom:8px;height:calc(100vh - 16px)}}

.news-msg{font-size:13px;min-height:0;margin-top:10px}
.news-msg.ok{color:#0a7a3d}
.news-msg.err{color:#c62828}


/* ---- Menu mobile (gaveta) + submenus desktop ---- */
.no-scroll{overflow:hidden}
.logo-img{height:44px;display:block}.logo-img.big{height:80px}
.static{cursor:default}
.drawer-ov{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:80}
.drawer-ov[hidden]{display:none}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(300px,78vw);background:#fff;z-index:90;transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column;visibility:hidden}
.drawer.open{transform:none;visibility:visible}
.drawer-top{display:flex;gap:18px;align-items:center;padding:0 20px;height:56px;border-bottom:1px solid #eef0f6;font-size:14px;font-weight:500;flex:none}
.drawer-list{overflow-y:auto;flex:1;padding:0 20px 24px}
.mrow{display:flex;justify-content:space-between;align-items:center;width:100%;padding:18px 0;background:none;border:0;border-bottom:1px solid #eef0f6;font-family:inherit;font-size:16px;color:#222;text-align:left;cursor:pointer}
.mrow .chev{transition:transform .2s}
.macc.open .mrow .chev{transform:rotate(225deg) translateY(2px)}
.msub{display:none;padding:4px 0 8px 12px;border-bottom:1px solid #eef0f6}
.macc.open .msub{display:block}
.macc .mrow{border-bottom:0}
.msub a{display:block;padding:11px 0;font-size:14px;color:#444}
.mgroup{font-size:12px;font-weight:600;color:#888;text-transform:uppercase;letter-spacing:.4px;padding:10px 0 2px}
.burger.x span:nth-child(1){transform:translateY(5.6px) rotate(45deg)}
.burger.x span:nth-child(2){opacity:0}
.burger.x span:nth-child(3){transform:translateY(-5.6px) rotate(-45deg)}
.burger span{transition:transform .2s,opacity .2s}
.toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:#222;color:#fff;padding:10px 18px;border-radius:20px;font-size:13px;z-index:200}
.toast[hidden]{display:none}
.dd{position:relative}
.dd-menu{display:none;position:absolute;top:100%;left:-12px;margin-top:14px;min-width:260px;background:#fff;box-shadow:0 8px 24px rgba(0,0,0,.15);padding:10px 0;z-index:100}
.dd:hover .dd-menu,.dd.open .dd-menu{display:block}
.dd::after{content:"";position:absolute;left:0;right:0;top:100%;height:16px}
.dd-menu a{display:block;padding:9px 18px;font-size:13px;color:#222}
.dd-menu a:hover{background:#f3f6ff;color:var(--blue)}
.dd-menu .mgroup{padding:10px 18px 2px}
.footer-logo .logo-img{margin:0 auto}
@media (max-width:1199px){
  .burger{display:flex}
}
@media (min-width:1200px){
  .burger,.drawer,.drawer-ov{display:none}
}

.chat-avatar,.msg-av{background:url("/site/images/chat-avatar.svg") center/cover no-repeat,#fff}

/* Barra de progresso e avisos do rastreio */
.pg{margin:0 0 14px}
.pg-bar{height:4px;background:#dcdce4;border-radius:4px;overflow:hidden}
.pg-bar i{display:block;height:100%;background:var(--blue);transition:width .4s}
.pg-steps{display:flex;justify-content:space-between;gap:6px;margin-top:8px;font-size:12px;color:var(--muted)}
.pg-step.on{color:var(--blue);font-weight:600}
.pg-now{display:none;font-size:13px;color:var(--blue);font-weight:600;margin-top:6px}
.pg-info{font-size:14px;font-weight:600;margin-bottom:4px}
.pg-next{font-size:12px;color:var(--muted);margin-bottom:20px}
.tl-new{animation:tlIn .4s ease-out}
.tl-new .tl-dot{animation:tlPulse .6s 2}
@keyframes tlIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
@keyframes tlPulse{50%{transform:scale(2)}}
.tl-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#222;color:#fff;font-size:14px;padding:10px 16px;border-radius:6px;z-index:50}
@media (max-width:599px){.pg-steps{display:none}.pg-now{display:block}}
@media (prefers-reduced-motion:reduce){.tl-new,.tl-new .tl-dot,.pg-bar i{animation:none;transition:none}}
