﻿/* =========================================================
   航空快递当日达 官网 - 全局公共样式（全新改版）
   主色：品牌紫 #7e51e4 / 深蓝 #13294b / 金色 #f5b642
   ========================================================= */

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #444;
    background: #f6f7fb;
    line-height: 1.6;
}
img { border: 0; vertical-align: middle; }
a { color: #444; text-decoration: none; outline: none; transition: color .25s; }
a:hover { color: #7e51e4; }
ul, ol, li { list-style: none; }
input, textarea, select, button { font-family: inherit; outline: none; }
button { cursor: pointer; }
.clearfix:after { content: ""; display: block; clear: both; }
.fl { float: left; }
.fr { float: right; }
.hide { display: none; }

/* ---------- 布局容器 ---------- */
.w1200 { width: 1280px; margin: 0 auto; position: relative; }

/* ---------- 通用按钮 ---------- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #8b63e8, #7e51e4);
    color: #fff;
    border: 0;
    padding: 10px 30px;
    border-radius: 24px;
    font-size: 15px;
    cursor: pointer;
    transition: box-shadow .3s, transform .3s;
    box-shadow: 0 4px 14px rgba(126, 81, 228, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 8px 20px rgba(126, 81, 228, .5); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

/* ---------- 区块标题 ---------- */
.zsfwt { text-align: center; margin-bottom: 40px; }
.zsfwt h2 {
    font-size: 32px;
    color: #13294b;
    font-weight: 700;
    position: relative;
    padding-bottom: 18px;
}
.zsfwt h2:after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7e51e4, #f5b642);
    margin: 14px auto 0;
}
.zsfwt p { font-size: 15px; color: #999; margin-top: 12px; letter-spacing: 1px; }

/* =========================================================
   顶部工具条
   ========================================================= */
.headt { background: #13294b; font-size: 13px; }
.headt .w1200 { display: flex; align-items: center; min-height: 56px; }
.headt .ht_left { color: #c9d3e4; font-size: 13px; }
.headt .ht_left span { color: #f5b642; margin: 0 4px; }
.headt .ht_right { margin-left: auto; display: flex; align-items: center; }

/* =========================================================
   主导航
   ========================================================= */
.inav {
    background: #fff;
    box-shadow: 0 2px 12px rgba(19, 41, 75, .08);
    position: sticky;
    top: 0;
    z-index: 999;
}
.idh { height: 86px; display: flex; align-items: center; }
.idh .logo { display: flex; align-items: center; flex-shrink: 0; }
.idh .logo img { height: 58px; }
.idh .logo .logo_txt { margin-left: 14px; }
.idh .logo .logo_txt h1 { font-size: 24px; color: #13294b; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.idh .logo .logo_txt p { font-size: 12px; color: #999; letter-spacing: 2px; margin-top: 2px; white-space: nowrap; }
.idh .logo .logo_txt p b { color: #7e51e4; font-weight: 600; }

.idh .nav { display: flex; margin-left: 36px; height: 86px; align-items: center; flex-shrink: 0; }
.idh .nav li { position: relative; height: 86px; line-height: 86px; white-space: nowrap; }
.idh .nav li a {
    display: block;
    padding: 0 8px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}
.idh .nav li a:hover,
.idh .nav li.on a { color: #7e51e4; }
.idh .nav li.on a { position: relative; }
.idh .nav li.on a:after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 20px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7e51e4, #a88ef0);
}

/* 主导航内的电话块（白底） */
.idh .idh_phone { margin-left: auto; text-align: right; white-space: nowrap; padding-left: 24px; }
.idh .idh_phone .t { font-size: 12px; color: #999; }
.idh .idh_phone .n { font-size: 22px; color: #7e51e4; font-weight: 700; line-height: 1.3; white-space: nowrap; }

/* 头部电商区（顶部工具条 + 主导航共用） */
.idh_box { display: flex; align-items: center; flex-shrink: 0; }
.idh_box .idh_phone { text-align: right; margin-right: 16px; white-space: nowrap; }
.idh_box .idh_phone .t { font-size: 12px; color: rgba(255,255,255,.7); }
.idh_box .idh_phone .n { font-size: 20px; color: #f5b642; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.idh_box .idh_btn { display: flex; align-items: center; }
.idh_box .idh_btn a {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 18px;
    font-size: 13px;
    margin-left: 8px;
    white-space: nowrap;
}
.idh_box .idh_btn .online { background: linear-gradient(135deg, #8b63e8, #7e51e4); color: #fff; box-shadow: 0 4px 12px rgba(126,81,228,.35); }
.idh_box .idh_btn .online:hover { color: #fff; }
.idh_box .idh_btn .price { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.idh_box .idh_btn .price:hover { background: #fff; color: #13294b; }
.idh_box .idh_btn .user { margin-left: 12px; font-size: 13px; color: #c9d3e4; white-space: nowrap; }
.idh_box .idh_btn .user a { color: #c9d3e4; }
.idh_box .idh_btn .user a:hover { color: #fff; }

/* 二维码悬浮提示 */
.ewm { position: relative; margin-left: 10px; }
.ewm .ewm_ico {
    display: inline-block;
    width: 34px; height: 34px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    transition: background .25s, color .25s, border-color .25s;
}
.ewm:hover .ewm_ico { background: #7e51e4; border-color: #7e51e4; color: #fff; }
.ewm .ewm_box {
    display: none;
    position: absolute;
    right: 0; top: 44px;
    width: 170px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(19,41,75,.15);
    padding: 14px;
    text-align: center;
    z-index: 1000;
}
.ewm:hover .ewm_box { display: block; }
.ewm .ewm_box img { width: 120px; height: 120px; }
.ewm .ewm_box p { font-size: 13px; color: #666; margin-top: 6px; }

/* =========================================================
   页脚
   ========================================================= */
.footer { background: #13294b; margin-top: 60px; }
.foot { padding: 48px 0 10px; overflow: hidden; }
.foot .flx { width: 400px; float: left; color: #b9c4d8; }
.foot .flx .tt { font-size: 20px; color: #fff; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.foot .flx .tt:after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: #f5b642; border-radius: 2px; }
.foot .flx li { font-size: 14px; padding: 5px 0; }
.foot .flx li b { color: #f5b642; font-weight: 600; margin-right: 6px; }
.foot .flx li a { color: #b9c4d8; }
.foot .flx li a:hover { color: #fff; }
.foot .fkf { width: 300px; float: left; padding-left: 30px; }
.foot .fkf .tt { font-size: 18px; color: #fff; margin-bottom: 18px; }
.foot .fkf .fkf_box { display: flex; justify-content: space-between; gap: 14px; }
.foot .fkf .fkf_item { text-align: center; flex: 1; }
.foot .fkf .fkf_item img { width: 86px; height: 86px; background: #fff; padding: 4px; border-radius: 8px; display: block; margin: 0 auto; }
.foot .fkf .fkf_item p { color: #b9c4d8; font-size: 12px; margin-top: 8px; }
.foot .fkf .tt { font-size: 18px; color: #fff; margin-bottom: 18px; }
.foot .fkf .fkf_box { display: flex; justify-content: space-between; }
.foot .fkf .fkf_item { text-align: center; }
.foot .fkf .fkf_item img { width: 96px; height: 96px; background: #fff; padding: 4px; border-radius: 8px; }
.foot .fkf .fkf_item p { color: #b9c4d8; font-size: 12px; margin-top: 6px; }
.foot .ftxt { width: 460px; float: right; display: flex; justify-content: space-between; }
.foot .ftxt .ft_item .tt { font-size: 16px; color: #fff; margin-bottom: 16px; }
.foot .ftxt .ft_item li { padding: 4px 0; }
.foot .ftxt .ft_item li a { color: #b9c4d8; font-size: 13px; }
.foot .ftxt .ft_item li a:hover { color: #fff; }
.fbq { text-align: center; color: #8fa0bd; font-size: 12px; padding: 20px 0 26px; border-top: 1px solid rgba(255,255,255,.08); }
.fbq a { color: #8fa0bd; margin: 0 6px; }
.fbq a:hover { color: #fff; }

/* =========================================================
   悬浮按钮
   ========================================================= */
.mkf { position: fixed; right: 24px; bottom: 120px; z-index: 9999; }
.mkf a { display: block; width: 56px; height: 56px; border-radius: 50%; margin-top: 14px; text-align: center; line-height: 56px; color: #fff; font-size: 13px; box-shadow: 0 6px 16px rgba(0,0,0,.18); transition: transform .3s; }
.mkf a:hover { transform: translateY(-4px); color: #fff; }
.mkf .mkf_jj { background: linear-gradient(135deg, #ff8a5c, #f55b4e); }
.mkf .mkf_kf { background: linear-gradient(135deg, #8b63e8, #7e51e4); }

/* =========================================================
   下单弹窗
   ========================================================= */
.parcel-modal { display: none; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(19,41,75,.55); z-index: 100000; }
.parcel-modal .pm_box {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 14px;
    padding: 30px 36px 34px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.parcel-modal .pm_tit { font-size: 22px; color: #13294b; font-weight: 700; text-align: center; padding-bottom: 16px; position: relative; margin-bottom: 24px; }
.parcel-modal .pm_tit:after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46px; height: 3px; background: linear-gradient(90deg, #7e51e4, #f5b642); border-radius: 2px; }
.parcel-modal .pm_close { position: absolute; right: 16px; top: 14px; width: 32px; height: 32px; line-height: 30px; text-align: center; font-size: 22px; color: #999; cursor: pointer; border-radius: 50%; }
.parcel-modal .pm_close:hover { background: #f2f2f7; color: #333; }
.parcel-modal .pm_row { display: flex; align-items: center; margin-bottom: 14px; }
.parcel-modal .pm_row .lab {
    flex: 0 0 88px; text-align: right; padding-right: 12px;
    font-size: 13px; color: #666;
}
.parcel-modal .pm_row .lab i { color: #f55b4e; font-style: normal; margin-right: 3px; }
.parcel-modal .pm_row input[type="text"] {
    flex: 1; width: 100%; height: 42px; padding: 0 14px; box-sizing: border-box;
    border: 1px solid #e3e6ee; border-radius: 8px; font-size: 14px;
    transition: border-color .25s;
}
.parcel-modal .pm_row input[type="text"]:focus { border-color: #7e51e4; }
.parcel-modal .pm_col2 { display: flex; justify-content: space-between; }
.parcel-modal .pm_col2 .pm_row { width: 48.5%; flex: 0 0 48.5%; }
.parcel-modal .pm_col2 .pm_row .lab { flex: 0 0 76px; }
.parcel-modal .pm_cell { position: relative; flex: 1; }
.parcel-modal .pm_cell input { width: 100%; padding-right: 104px; }
.parcel-modal .pm_cell .sendcode { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: auto; flex: none; height: 32px; padding: 0 14px; border: 0; background: #f3effc; color: #7e51e4; border-radius: 6px; font-size: 13px; }
.parcel-modal .pm_cell .sendcode.disabled { background: #eee; color: #999; cursor: not-allowed; }
.parcel-modal .pm_submit { width: 100%; height: 46px; margin-top: 8px; font-size: 16px; }
