@charset "utf-8";
/* CSS Document */
/* ============================================================
   express_price.css
   报价计算器 + 运价速览 专用样式
   所有类名均使用 ep- 前缀，避免与 common.css 冲突
   ============================================================ */

/* ---------- 页面基础 ---------- */
.ep-page {
    padding: 40px 20px;
    background: #F8F8F8;
    font-size: 14px;
    min-height: 100vh;
    color: #333;
}

/* ============================================================
   一、计算器部分
   ============================================================ */

/* ---------- 整体布局 ---------- */
.ep-calc-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 80px;
    transition: all 0.3s ease;
}

/* ---------- 计算器面板 ---------- */
.ep-calc-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 24px 28px 22px;
    width: 100%;
    max-width: 680px;
    flex-shrink: 0;
    height: 860px;
    display: flex;
    flex-direction: column;
}

/* ---------- 表单区域 ---------- */
.ep-calc-form-area {
    flex: 1;
    overflow: hidden;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
#epSeaForm, #epAirForm {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* ---------- Tabs ---------- */
.ep-calc-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 18px;
    background: #F5F5F5;
    border-radius: 50px;
    padding: 4px;
    flex-shrink: 0;
}
.ep-calc-tab {
    flex: 1;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.ep-calc-tab.active {
    background: #fff;
    color: #FB560A;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---------- 结果面板 ---------- */
.ep-result-panel {
    background: linear-gradient(160deg, #EAF3FF 0%, #F5F9FF 100%);
    border: 1px solid #D6E4F5;
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 4px 24px rgba(120, 160, 220, 0.10);
    width: 100%;
    max-width: 480px;
    position: relative;
    display: none;
    animation: epSlideIn 0.3s ease;
}
.ep-result-panel.show { display: block; }
@keyframes epSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ep-result-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: 1px solid #D6E4F5;
    color: #6B7C93;
    font-size: 20px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    padding: 0;
    font-family: Arial, sans-serif;
}
.ep-result-close:hover {
    background: #fff;
    color: #E53935;
    border-color: #E53935;
}

.ep-result-title {
    font-size: 17px;
    font-weight: 600;
    color: #2C5F9E;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 40px;
}
.ep-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed #D6E4F5;
    font-size: 14px;
    gap: 12px;
}
.ep-result-row:last-of-type { border-bottom: none; }
.ep-result-row .ep-label { color: #6B7C93; white-space: nowrap; }
.ep-result-row .ep-value { color: #333; font-weight: 500; text-align: right; }
.ep-value .ep-text-gray { color: #AAB4C0; font-weight: 400; }
.ep-result-row.ep-sub .ep-label { font-size: 13px; color: #8496AC; }
.ep-result-row.ep-sub .ep-value { font-size: 13px; color: #555; font-weight: 400; }
.ep-result-row.ep-total {
    padding-top: 18px;
    margin-top: 10px;
    border-top: 2px solid #2C5F9E;
    border-bottom: none;
}
.ep-result-row.ep-total .ep-label { font-size: 15px; font-weight: 600; color: #2C5F9E; }
.ep-result-row.ep-total .ep-value { font-size: 24px; font-weight: 700; color: #FB560A; }
.ep-result-row.ep-low-min {
    color: #B36B00;
    background: rgba(255, 244, 230, 0.5);
    margin: 0 -8px;
    padding: 9px 8px;
    border-radius: 6px;
}
.ep-result-row.ep-low-min .ep-label { color: #B36B00; font-weight: 600; }
.ep-result-row.ep-low-min .ep-value { color: #B36B00; font-weight: 600; }
.ep-result-note {
    margin-top: 18px;
    padding: 12px 14px;
    background: rgba(255, 244, 230, 0.7);
    border-radius: 8px;
    font-size: 12px;
    color: #B36B00;
    line-height: 1.6;
}
.ep-customs-note { font-size: 12px !important; color: #8496AC !important; }

/* ---------- 表单通用 ---------- */
.ep-calc-subtitle {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-bottom: 8px;
    flex-shrink: 0;
}
.ep-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.ep-form-group { flex: 1; min-width: 140px; }
.ep-form-group.full-width { flex: 1 1 100%; }
.ep-form-group label {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}
.ep-form-group label .ep-required { color: #FB560A; margin-left: 2px; }
.ep-form-group label .ep-optional {
    color: #AAA;
    font-size: 11px;
    font-weight: 400;
    margin-left: 4px;
}
.ep-page select,
.ep-page input[type="number"],
.ep-page input[type="text"] {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    font-family: inherit;
}
.ep-page select:focus,
.ep-page input[type="number"]:focus,
.ep-page input[type="text"]:focus { border-color: #FB560A; }

.ep-size-hint {
    margin-bottom: 12px;
    font-size: 12px;
    color: #999;
}

/* ---------- 地址识别 ---------- */
.ep-address-block {
    background: #F8FBFE;
    border: 1px solid #E0ECFA;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.ep-address-block .ep-addr-label {
    font-size: 12px;
    color: #2C5F9E;
    font-weight: 600;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ep-address-block .ep-addr-label .ep-auto-tag {
    background: #E0ECFA;
    color: #2C5F9E;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 400;
}
.ep-address-block input {
    background: #fff;
    font-size: 13px;
    height: 60px;
}
.ep-address-hint {
    font-size: 11px;
    color: #8496AC;
    margin-top: 5px;
    line-height: 1.5;
}
.ep-address-hint.matched { color: #43A047; }
.ep-address-hint.no-match { color: #B36B00; }

/* ---------- 模式行 ---------- */
.ep-mode-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    min-height: 40px;
    flex-shrink: 0;
}
.ep-mode-switch {
    display: flex;
    gap: 0;
    background: #F5F5F5;
    border-radius: 8px;
    padding: 3px;
    width: fit-content;
    flex-shrink: 0;
}
.ep-mode-btn {
    padding: 6px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.ep-mode-btn.active {
    background: #fff;
    color: #FB560A;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

/* ---------- 汇总框 ---------- */
.ep-summary-box {
    display: none;
    height: 40px;
    padding: 0 16px;
    border-radius: 8px;
    background: #F0F7FF;
    border: 1px solid #D6E4F5;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
}
.ep-summary-box.show { display: flex; }
.ep-summary-item {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}
.ep-summary-item .ep-s-label { font-size: 11px; color: #8496AC; }
.ep-summary-item .ep-s-value { font-size: 13px; font-weight: 600; color: #2C5F9E; }

/* ---------- 按总计填写 ---------- */
#epTotalMode, #epAirTotalMode { flex-shrink: 0; }
#epTotalMode .ep-form-row, #epAirTotalMode .ep-form-row { margin-bottom: 12px; }

/* ---------- 按单件填写 ---------- */
#epDetailMode, #epAirDetailMode {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}
#epGoodsItems, #epAirGoodsItems {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 4px;
    margin-right: -4px;
    min-height: 60px;
}
#epGoodsItems::-webkit-scrollbar,
#epAirGoodsItems::-webkit-scrollbar { width: 6px; }
#epGoodsItems::-webkit-scrollbar-track,
#epAirGoodsItems::-webkit-scrollbar-track { background: transparent; }
#epGoodsItems::-webkit-scrollbar-thumb,
#epAirGoodsItems::-webkit-scrollbar-thumb {
    background: #E0E0E0;
    border-radius: 3px;
}
#epGoodsItems::-webkit-scrollbar-thumb:hover,
#epAirGoodsItems::-webkit-scrollbar-thumb:hover { background: #CCC; }

.ep-goods-item {
    background: #FAFAFA;
    border: 1px solid #EFEFEF;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 8px;
    position: relative;
}
.ep-goods-item .ep-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}
.ep-goods-item .ep-item-title {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}
.ep-goods-item .ep-item-remove {
    background: transparent;
    border: none;
    color: #CCC;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    font-family: Arial, sans-serif;
    transition: color 0.2s;
}
.ep-goods-item .ep-item-remove:hover { color: #E53935; }

.ep-item-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) repeat(2, 0.8fr);
    gap: 8px;
    align-items: center;
}
.ep-item-grid input {
    height: 34px;
    font-size: 13px;
    padding: 0 8px;
    text-align: center;
}
.ep-item-grid input::placeholder { color: #BBB; }
.ep-item-grid .ep-item-field { position: relative; }
.ep-item-grid .ep-item-field .ep-unit-tag {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #BBB;
    font-size: 10px;
    pointer-events: none;
    background: #FAFAFA;
    padding-left: 2px;
}
.ep-item-grid input { padding-right: 26px; }

.ep-add-item-btn {
    width: 100%;
    height: 38px;
    background: #FFF8F0;
    border: 1px dashed #FACD78;
    border-radius: 8px;
    color: #EE822F;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
    margin-top: 8px;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.ep-add-item-btn:hover {
    background: #FFF0DD;
    border-style: solid;
}

/* ---------- 输入带单位 ---------- */
.ep-input-with-unit { position: relative; }
.ep-input-with-unit input { padding-right: 68px; }
.ep-input-with-unit .ep-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 13px;
    pointer-events: none;
}

/* ---------- 附加选项 ---------- */
.ep-addon-block {
    margin-top: 6px;
    padding: 12px 16px;
    background: #FAFAFA;
    border-radius: 10px;
    border: 1px solid #EFEFEF;
    flex-shrink: 0;
}
.ep-addon-block + .ep-addon-block { margin-top: 12px; }
.ep-addon-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ep-addon-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}
.ep-addon-select {
    flex: 1;
    height: 38px;
}
.ep-addon-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}
.ep-addon-checkbox input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: #FB560A;
    cursor: pointer;
}
.ep-addon-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.2s;
}
.ep-addon-pages.active { opacity: 1; pointer-events: auto; }
.ep-addon-pages input {
    width: 70px; height: 34px;
    padding: 0 8px; text-align: center;
}
.ep-addon-pages span { font-size: 13px; color: #666; }

/* ---------- 空运提示 ---------- */
.ep-air-info {
    margin-top: 10px;
    padding: 10px 14px;
    background: #F0F7FF;
    border-radius: 8px;
    font-size: 12px;
    color: #4A6F9E;
    line-height: 1.6;
    flex-shrink: 0;
}

/* ---------- 计算按钮 ---------- */
.ep-calc-btn {
    width: 100%;
    height: 46px;
    background: linear-gradient(145deg, #FACD78 0%, #EE822F 100%);
    border: none;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin-top: 14px;
    transition: opacity 0.2s;
    font-family: inherit;
    flex-shrink: 0;
}
.ep-calc-btn:hover { opacity: 0.9; }

/* ---------- 错误提示 ---------- */
.ep-error-tip {
    color: #E53935;
    font-size: 13px;
    margin-top: 8px;
    text-align: center;
    display: none;
    flex-shrink: 0;
}
.ep-error-tip.show { display: block; }


/* ============================================================
   二、运价速览部分
   ============================================================ */

.ep-preview-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 32px 28px;
    height: 800px;
}

.ep-preview-title {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
}
.ep-preview-subtitle {
    font-size: 13px;
    color: #999;
    text-align: center;
    margin-bottom: 28px;
}

/* ---------- 筛选栏 ---------- */
.ep-filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}
.ep-filter-btn {
    height: 38px;
    padding: 0 18px;
    border: 1px solid #E0E0E0;
    background: #fff;
    border-radius: 19px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}
.ep-filter-btn:hover { border-color: #FB560A; color: #FB560A; }
.ep-filter-btn.active {
    background: linear-gradient(145deg, #FACD78 0%, #EE822F 100%);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

/* ---------- 运价行情 ---------- */
.ep-market-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 45px;
}
.ep-market-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #EFEFEF;
    border-radius: 14px;
    transition: all 0.25s;
    flex-wrap: wrap;
}
.ep-market-item:hover {
    border-color: #FACD78;
    box-shadow: 0 4px 20px rgba(250, 205, 120, 0.15);
    transform: translateY(-1px);
}
.ep-market-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(145deg, #FACD78 0%, #EE822F 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
}
.ep-market-info { flex: 1; min-width: 160px; }
.ep-market-info2 { min-width: 90px; }
.ep-market-route {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.ep-market-meta {
    font-size: 12px;
    color: #999;
    text-align: center;
}
.ep-market-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}
.ep-market-price .ep-price-label { font-size: 12px; color: #999; margin-right: 2px; }
.ep-market-price .ep-price-value {
    font-size: 26px;
    font-weight: 700;
    color: #FB560A;
    line-height: 1;
}
.ep-market-price .ep-price-unit { font-size: 13px; color: #FB560A; font-weight: 500; }
.ep-market-trend {
    display: flex; align-items: center; gap: 4px;
    padding: 5px 12px; border-radius: 14px;
    font-size: 13px; font-weight: 600; white-space: nowrap;
}
.ep-market-trend.up { background: rgba(229, 57, 53, 0.08); color: #E53935; }
.ep-market-trend.down { background: rgba(67, 160, 71, 0.08); color: #43A047; }
.ep-market-trend.flat { background: rgba(150, 150, 150, 0.08); color: #888; }
.ep-market-trend .ep-trend-icon { font-size: 15px; font-weight: 700; line-height: 1; }
.ep-market-trend .ep-trend-text { font-size: 13px; opacity: 0.85; }
.ep-market-transit {
    width: 110px;
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    padding: 0 8px;
    border-left: 1px solid #EEEEEE;
    border-right: 1px solid #EEEEEE;
}
.ep-market-transit .ep-transit-label { font-size: 11px; color: #999; display: block; margin-bottom: 2px; }
.ep-market-transit .ep-transit-value { font-weight: 500; color: #333; }
.ep-market-link {
    flex-shrink: 0;
    padding: 9px 18px;
    background: #FFF8F0;
    border: 1px solid #FACD78;
    border-radius: 20px;
    color: #EE822F;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.ep-market-link:hover {
    background: linear-gradient(145deg, #FACD78 0%, #EE822F 100%);
    color: #fff;
    border-color: transparent;
}

/* ---------- 数据表格 ---------- */
.ep-table-container {
    max-height: 520px;
    overflow: auto;
    border: 1px solid #EFEFEF;
    border-radius: 12px;
    background: #fff;
    position: relative;
}
.ep-table-container::-webkit-scrollbar { width: 8px; height: 8px; }
.ep-table-container::-webkit-scrollbar-track { background: #F5F5F5; border-radius: 4px; }
.ep-table-container::-webkit-scrollbar-thumb { background: #D0D0D0; border-radius: 4px; }

.ep-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 1150px;
}
.ep-price-table thead th {
    position: sticky; top: 0;
    background: #F8F8F8;
    color: #333;
    font-weight: 600;
    text-align: center;
    padding: 12px 8px;
    border-bottom: 2px solid #EEEEEE;
    border-right: 1px solid #F0F0F0;
    white-space: nowrap;
    z-index: 2;
    font-size: 12px;
    line-height: 1.4;
}
.ep-price-table thead th:last-child { border-right: none; }
.ep-price-table thead th .ep-en {
    display: block;
    font-size: 10px;
    color: #999;
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: 2px;
}
.ep-price-table tbody td {
    padding: 10px 8px;
    border-bottom: 1px solid #F2F2F2;
    border-right: 1px solid #F2F2F2;
    color: #444;
    text-align: center;
    vertical-align: middle;
    font-size: 13px;
    line-height: 1.5;
}
.ep-price-table tbody td:last-child { border-right: none; }

.ep-price-table td.ep-merged-type {
    background: #FAFAFA;
    font-weight: 700;
    color: #333;
    font-size: 15px;
    vertical-align: middle;
    border-right: 2px solid #E5E5E5;
    letter-spacing: 2px;
}
.ep-price-table td.ep-merged-origin {
    background: #F5F9FF;
    font-weight: 600;
    color: #2C5F9E;
    font-size: 14px;
    vertical-align: middle;
    border-right: 2px solid #E0ECFA;
}
.ep-price-table td.ep-merged-service {
    background: #FFFCF5;
    color: #8A6D30;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
    padding: 12px 8px;
    line-height: 1.7;
    border-right: 1px solid #F5E8CC;
    width: 100px;
}
.ep-price-table td.ep-merged-remark {
    background: #FFF9F0;
    color: #8A6D30;
    font-size: 11px;
    vertical-align: middle;
    text-align: left;
    padding: 12px 10px;
    line-height: 1.7;
    white-space: normal;
    border-right: none;
    width: 200px;
}
.ep-price-table td.ep-merged-remark.ep-empty { background: #FAFAFA; }

.ep-price-table td.ep-highlight { color: #FB560A; font-weight: 600; font-size: 14px; }
.ep-price-table td.ep-highlight-tier {
    color: #FB560A;
    font-weight: 600;
    font-size: 14px;
    background: #FFF8F0;
}
.ep-price-table td.ep-transit-cell {
    text-align: left;
    font-size: 12px;
    line-height: 1.6;
    color: #555;
    padding: 10px 12px;
    width: 140px;
    background: #FCFCFC;
}

/* 空运表格 */
.ep-air-table td.ep-highlight-tier { font-size: 13px; padding: 10px 6px; }

.ep-price-table tbody tr:hover td:not(.ep-merged-type):not(.ep-merged-origin):not(.ep-merged-service):not(.ep-merged-remark) {
    background: #FFF8F0;
}

.ep-empty-state {
    padding: 80px 20px;
    text-align: center;
    color: #BBB;
    font-size: 14px;
}

/* ---------- 服务须知 ---------- */
.ep-notice-container {
    max-height: 520px;
    overflow-y: auto;
    padding: 8px 20px 20px;
    border: 1px solid #EFEFEF;
    border-radius: 12px;
    background: #fff;
}
.ep-notice-container::-webkit-scrollbar { width: 8px; }
.ep-notice-container::-webkit-scrollbar-track { background: #F5F5F5; border-radius: 4px; }
.ep-notice-container::-webkit-scrollbar-thumb { background: #D0D0D0; border-radius: 4px; }

.ep-notice-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #EEEEEE;
}
.ep-notice-section:last-child { border-bottom: none; margin-bottom: 0; }
.ep-notice-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #2C5F9E;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 3px solid #FB560A;
}
.ep-notice-section ol,
.ep-notice-section ul {
    padding-left: 22px;
    margin-bottom: 8px;
}
.ep-notice-section li {
    margin-bottom: 8px;
    line-height: 1.9;
    font-size: 13px;
    color: #444;
}
.ep-notice-section p {
    margin-bottom: 10px;
    line-height: 1.9;
    font-size: 13px;
    color: #444;
}
.ep-notice-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 14px 0 8px;
}
.ep-notice-region {
    background: #F8F8F8;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 8px 0;
    font-size: 12px;
    color: #555;
    line-height: 1.9;
    border-left: 3px solid #D6E4F5;
}
.ep-notice-region strong { color: #2C5F9E; }
.ep-notice-highlight {
    background: rgba(251, 86, 10, 0.08);
    color: #FB560A;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}
.ep-notice-tip {
    margin-top: 12px;
    padding: 12px 16px;
    background: rgba(255, 244, 230, 0.7);
    border-radius: 8px;
    font-size: 12px;
    color: #B36B00;
    line-height: 1.8;
}
/* 两个 region 并排 */
.ep-notice-region-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    margin: 8px 0;
}

.ep-notice-region-row > .ep-notice-region {
    flex: 1 1 0;
    min-width: 0;
    margin: 0; /* 消除原 .ep-notice-region 可能带有的上下 margin */
	font-size: large;
}

/* 图片自适应 */
.ep-notice-region-row .pic {
    display: block;
    width: 100%;
    height: auto;
    max-height: 240px;      /* 你希望的高度上限，可自行调整 */
    object-fit: cover;
    border-radius: 8px;
}

/* 宽度 ≤ 720px 时上下排列 */
@media (max-width: 720px) {
    .ep-notice-region-row {
        flex-direction: column;
        gap: 8px;
    }
}

/* ---------- 底部备注 ---------- */
.ep-preview-note {
    margin-top: 20px;
    padding: 14px 16px;
    background: rgba(255, 244, 230, 0.7);
    border-radius: 8px;
    font-size: 12px;
    color: #B36B00;
    line-height: 1.8;
}
.ep-preview-note .ep-note-item { display: block; }

/* ---------- 面板显示/隐藏 ---------- */
.ep-panel { display: none; }
.ep-panel.active { display: block; }


/* ============================================================
   三、响应式
   ============================================================ */

@media (max-width: 991px) {
    .ep-page { padding: 20px 12px; }
    .ep-calc-layout { flex-direction: column; align-items: center; }
    .ep-calc-panel {
        max-width: 680px;
        height: auto;
        min-height: 400px;
        padding: 20px 16px 24px;
    }
    .ep-calc-form-area { overflow: visible; }
    #epGoodsItems, #epAirGoodsItems {
        max-height: 240px;
        flex: none;
    }
    .ep-result-panel { max-width: 680px; }
}

@media (max-width: 768px) {
    .ep-preview-wrapper { padding: 24px 12px; }
    .ep-market-item { padding: 16px; gap: 12px; }
    .ep-market-icon { width: 40px; height: 40px; font-size: 18px; }
    .ep-market-route { font-size: 15px; }
    .ep-market-price .ep-price-value { font-size: 22px; }
    .ep-market-transit {
        border-left: none; border-right: none;
        padding: 0; width: 100%; order: 5; margin-top: 8px;
    }
    .ep-market-link { order: 6; }
    .ep-table-container { max-height: 520px; }
    .ep-price-table { font-size: 12px; min-width: 950px; }
    .ep-price-table thead th,
    .ep-price-table tbody td { padding: 8px 6px; }
    .ep-notice-container { max-height: 520px; padding: 8px 14px 16px; }
}

@media (max-width: 600px) {
    .ep-form-row { flex-direction: column; gap: 12px; }
    .ep-item-grid { grid-template-columns: repeat(3, 1fr); }
    .ep-item-grid .ep-item-field:nth-child(4),
    .ep-item-grid .ep-item-field:nth-child(5),
    .ep-item-grid .ep-item-field:nth-child(6) { grid-column: span 1; }
    .ep-mode-row { flex-direction: column; align-items: stretch; }
    .ep-summary-box { width: 100%; }
}
/* ============================================================
   图片放大查看（Lightbox）
   ============================================================ */

/* 缩略图 */
.ep-notice-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 240px;          /* 你想限制的最大高度 */
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    transition: opacity 0.2s;
}
.ep-notice-img:hover { opacity: 0.88; }

/* 弹窗根节点 */
.ep-lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    animation: epLightboxFade 0.2s ease;
}
.ep-lightbox-modal.show { display: flex; }

@keyframes epLightboxFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.ep-lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ep-lightbox-img {
    max-width: 92vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: block;
    background: #111;
}

/* 关闭按钮：右上角 */
.ep-lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: Arial, sans-serif;
    padding: 0;
}
.ep-lightbox-close:hover {
    background: #FB560A;
    border-color: #FB560A;
}

/* 底部说明 */
.ep-lightbox-caption {
    margin-top: 14px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 1.6;
    max-width: 92vw;
}
.ep-lightbox-caption:empty { display: none; }

/* 上一张 / 下一张 */
.ep-lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-family: Arial, sans-serif;
    padding: 0 0 4px 0;
}
.ep-lightbox-nav-btn:hover {
    background: #FB560A;
    border-color: #FB560A;
}
.ep-lightbox-nav-btn.prev { left: -64px; }
.ep-lightbox-nav-btn.next { right: -64px; }

/* 窄屏适配 */
@media (max-width: 720px) {
    .ep-lightbox-modal { padding: 60px 12px 20px; }
    .ep-lightbox-nav-btn.prev { left: 6px; }
    .ep-lightbox-nav-btn.next { right: 6px; }
    .ep-lightbox-close { top: 6px; right: 6px; }
    .ep-lightbox-caption { font-size: 13px; }
}