/* Tarifario Hanka */
.tf-panel { background: #fff; border: 1px solid #E0E6ED; border-radius: 14px; padding: 22px 26px 18px; box-shadow: 0 10px 30px rgba(0, 37, 79, .06); }
.tf-tabs { display: inline-flex; background: #EEF2F7; border-radius: 10px; padding: 4px; gap: 4px; margin-bottom: 18px; flex-wrap: wrap; }
.tf-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #00254F; font: inherit; font-weight: 700; padding: 9px 20px; border-radius: 8px; cursor: pointer; transition: background .2s, color .2s; }
.tf-tab svg { width: 18px; height: 18px; fill: currentColor; }
.tf-tab:hover { background: rgba(0, 37, 79, .08); }
.tf-tab.on { background: #00254F; color: #fff; }
.tf-tab:focus-visible, .tf-clear:focus-visible { outline: 3px solid #FF9B01; outline-offset: 2px; }

.tf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 16px; }
.tf-field label { display: block; font-size: 13px; font-weight: 700; color: #00254F; margin-bottom: 5px; }
.tf-field select, .tf-field input { width: 100%; height: 46px; border: 1px solid #C8D1DC; border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; color: #14213D; }
.tf-field select:focus, .tf-field input:focus { outline: 3px solid rgba(255, 155, 1, .35); border-color: #FF9B01; }
.tf-wide { grid-column: 1 / -1; }
.tf-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #E0E6ED; flex-wrap: wrap; }
.tf-count { margin: 0; font-weight: 700; color: #00254F; }
.tf-clear { border: 1px solid #C8D1DC; background: #fff; color: #00254F; font: inherit; font-weight: 600; padding: 8px 16px; border-radius: 8px; cursor: pointer; }
.tf-clear:hover { border-color: #00254F; background: #F3F6FA; }

.tf-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.tf-card { background: #fff; border: 1px solid #E0E6ED; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.tf-card:hover { box-shadow: 0 16px 40px rgba(0, 37, 79, .12); transform: translateY(-2px); }
.tf-head { display: flex; gap: 8px; flex-wrap: wrap; padding: 16px 20px 0; }
.tf-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.tf-chip svg { width: 14px; height: 14px; fill: currentColor; }
.tf-chip.air { background: #E3F0FF; color: #0b3a73; }
.tf-chip.sea { background: #DDF3F0; color: #0b5a52; }
.tf-chip.op { background: #FFF1D6; color: #8a5300; }
.tf-chip.neg { background: #EEF2F7; color: #475467; }
.tf-route { display: flex; align-items: center; gap: 14px; padding: 16px 20px 6px; }
.tf-end { flex: 1; min-width: 0; }
.tf-end strong { display: block; font-size: 20px; line-height: 1.15; color: #00254F; }
.tf-end small { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; color: #FF9B01; background: #00254F; border-radius: 4px; padding: 1px 7px; }
.tf-end:last-child { text-align: right; }
.tf-arrow { width: 52px; flex: none; color: #FF9B01; }
.tf-arrow svg { width: 100%; height: 14px; display: block; }
.tf-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 20px 14px; font-size: 13.5px; color: #475467; }
.tf-meta span { position: relative; }
.tf-meta span + span::before { content: "·"; position: absolute; left: -9px; color: #98A2B3; }
.tf-time { font-weight: 700; color: #00254F; }

.tf-table-wrap { border-top: 1px solid #E0E6ED; overflow-x: auto; }
.tf-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tf-table th { text-align: left; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #667085; background: #F7F9FC; padding: 9px 20px; font-weight: 700; }
.tf-table th:last-child, .tf-table td:last-child { text-align: right; }
.tf-table td { padding: 11px 20px; border-top: 1px solid #EEF2F7; vertical-align: top; color: #14213D; }
.tf-table td strong { display: block; color: #00254F; }
.tf-table td small { display: block; color: #667085; font-size: 12.5px; line-height: 1.35; margin-top: 2px; }
.tf-unit { color: #475467; white-space: nowrap; }
.tf-price { white-space: nowrap; font-weight: 800; color: #00254F; font-size: 15.5px; }
.tf-igv { display: inline-block; margin-left: 6px; font-style: normal; font-size: 11px; font-weight: 700; color: #8a5300; background: #FFF1D6; border-radius: 4px; padding: 1px 6px; vertical-align: 2px; }
.tf-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px 18px; margin-top: auto; border-top: 1px solid #E0E6ED; flex-wrap: wrap; }
.tf-valid { font-size: 13px; color: #667085; }
.tf-foot .btn { padding: 10px 20px; }

.tf-more { text-align: center; margin-top: 28px; }
.tf-note { margin: 26px auto 0; max-width: 820px; text-align: center; font-size: 13.5px; color: #667085; line-height: 1.55; }
.tf-empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; background: #F7F9FC; border: 1px dashed #C8D1DC; border-radius: 14px; color: #475467; }
.tf-empty strong { display: block; color: #00254F; font-size: 18px; margin-bottom: 6px; }

@media (max-width: 1099px) { .tf-results { grid-template-columns: 1fr; } }
@media (max-width: 991px) { .tf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) {
  .tf-panel { padding: 18px 16px 14px; }
  .tf-grid { grid-template-columns: 1fr; }
  .tf-tabs { display: flex; }
  .tf-tab { flex: 1; justify-content: center; padding: 9px 8px; }
  .tf-end strong { font-size: 17px; }
  .tf-arrow { width: 34px; }
  .tf-table th, .tf-table td { padding-left: 14px; padding-right: 14px; }
  .tf-head, .tf-route, .tf-meta, .tf-foot { padding-left: 14px; padding-right: 14px; }
  .tf-unit { white-space: normal; }
}
.tf-end small.tf-soft { background: transparent; color: #667085; font-weight: 600; letter-spacing: 0; padding: 0; font-size: 13px; }
