/* 短信定价表组件样式：地区跳转 + 搜索 + 国旗价目表 + 分页，三语页面共用这一份样式 */
.price-section {
  margin-top: 56px;
}

.price-section__title {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 2.5vw, 34px);
  font-weight: 800;
  letter-spacing: .02em;
  color: #e11c8b;
}

.price-section__subtitle {
  margin: 14px auto 0;
  max-width: 640px;
  text-align: center;
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.price-tool {
  margin: 32px auto 0;
  max-width: 1200px;
  background: #f8f9fc;
  border-radius: 16px;
  padding: 28px 32px 8px;
}

/* 跳转到：地区快捷筛选 tab */
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  row-gap: 10px;
}

.price-tabs__label {
  font-weight: 700;
  color: #111;
  white-space: nowrap;
}

.price-tabs__item {
  background: none;
  border: none;
  padding: 2px 0;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  white-space: nowrap;
}

.price-tabs__item.is-active {
  color: #e11c8b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 表格上方：小标题 + 搜索框 */
.price-toolbar {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1b3d5;
}

.price-toolbar__title {
  font-size: 18px;
  font-weight: 800;
  color: #111;
}

.price-search {
  position: relative;
  width: 240px;
  max-width: 100%;
}

.price-search input {
  width: 100%;
  height: 38px;
  border: 1px solid #e2e4ea;
  border-radius: 999px;
  padding: 0 16px 0 36px;
  font-size: 13px;
  color: #111;
  background: #fff;
  outline: none;
  box-sizing: border-box;
}

.price-search input:focus {
  border-color: #e11c8b;
}

.price-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  stroke: #999;
  fill: none;
  stroke-width: 2;
}

/* 价目表格 */
.price-table-wrap {
  overflow-x: auto;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 800px;
}

.price-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #666;
  padding: 14px 10px;
  width: 25%;
  white-space: nowrap;
}

.price-table td {
  font-size: 14px;
  color: #222;
  padding: 14px 10px;
  border-top: 1px solid #ebecf2;
  white-space: nowrap;
  width: 25%;
}

.price-table tbody tr:nth-child(even) {
  background: #fff;
}

.price-table tbody tr:nth-child(odd) {
  background: #fcfcfe;
}

.price-table td.price-col-country {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top-color: transparent;
}

.price-table__empty td {
  text-align: center;
  color: #999;
  padding: 32px 10px;
}

/* 国旗：雪碧图定位，圆形裁切展示 */
.flag-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  overflow: hidden;
  background-image: url('/public/images/flags/flags-spritex1.png');
  background-repeat: no-repeat;
  background-size: 256px 120px;
  /* 具体显示哪一面国旗，由 JS 按 spriteIndex 计算 background-position 写到行内样式 */
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .flag-icon {
    background-image: url('/public/images/flags/flags-sprite.png');
  }
}

/* 分页 */
.price-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0;
}

.price-pagination__summary {
  font-size: 13px;
  color: #555;
}

.price-pagination__pages {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-pagination__btn {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid #e2e4ea;
  background: #fff;
  color: #333;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.price-pagination__btn.is-active {
  background: #e11c8b;
  border-color: #e11c8b;
  color: #fff;
  font-weight: 700;
}

.price-pagination__btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.price-pagination__ellipsis {
  color: #999;
  padding: 0 2px;
}

.price-tool__notice {
  display: none;
  margin-top: 14px;
  font-size: 12px;
  color: #e11c8b;
  background: #fdeef6;
  border-radius: 8px;
  padding: 10px 14px;
}

.price-tool__notice.is-visible {
  display: block;
}

@media (max-width: 980px) {
  .price-table {
    min-width: 600px;
  }

  .price-table th,
  .price-table td:nth-child(2) {
    white-space: normal;
  }

  .price-table td:nth-child(2) {
    overflow-wrap: anywhere;
  }

  .price-table th:nth-child(1),
  .price-table td:nth-child(1) {
    width: 32%;
  }

  .price-table th:nth-child(2),
  .price-table td:nth-child(2) {
    width: 24%;
  }

  .price-table th:nth-child(3),
  .price-table td:nth-child(3) {
    width: 14%;
  }

  .price-table th:nth-child(4),
  .price-table td:nth-child(4) {
    width: 30%;
  }
}
@media (max-width: 767.9px) {
  .price-tool {
    padding: 20px 16px 4px;
  }

  .price-tabs {
    gap: 12px;
  }

  .price-toolbar {
    align-items: flex-start;
  }

  .price-search {
    width: 100%;
  }
}



