/* Global Styles */
:root {
  --primary-color: #ec4899;
  --text-color: #2E2E2E;
  --container-width: 1200px;
  --border-radius: 8px; /* 添加全局圆角变量 */
  --border-radius-sm: 4px; /* 小型元素圆角 */
  --bg-color: rgb(249, 250, 251); /* 添加背景色变量 */
  
  /* 新增统一布局变量 */
  --filter-padding: 20px;        /* 统一过滤区域内边距 */
  --filter-item-gap: 15px;       /* 项目间间隔 */
  --filter-section-gap: 15px;    /* 区域间间隔 */
  
  /* Bust Type值定义 */
  --bust-type-natural: "Natural";
  --bust-type-silicon: "Silicon";
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.5;
  background-color: var(--bg-color); /* 添加背景色 */
}

a {
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color);
}

.btn {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
  padding: 8px 16px; /* 统一内边距为8px 16px */
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 17px !important; /* 确保按钮字体大小与原始index.php一致 */
}

.btn:hover {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  filter: none;
}

.btn-secondary {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm); /* 添加与.btn相同的圆角 */
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 17px !important; /* 确保按钮字体大小与原始index.php一致 */
}

.btn-secondary:hover {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  filter: none;
  color: #333;
  border-color: #ddd;
  background-color: #f8f8f8;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
.header {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-container {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 70px; /* 与header-container高度相同 */
}

.nav-menu li {
  height: 70px; /* 与header-container高度相同 */
  display: flex;
  align-items: center; /* 垂直居中 */
  margin: 0 15px;
}

.nav-menu li a {
  color: var(--text-color);
  transition: color 0.3s ease;
    display: block;
    width: 100%;
    font-size: 17px; /* 统一字体大小 */
}

.nav-menu li a:hover {
  color: var(--primary-color);
}

.header-buttons {
  display: flex;
  align-items: center;
}

.header-buttons .btn {
  margin-left: 10px;
}

.header-buttons .btn-secondary:hover {
  color: #333;
  background-color: #f8f8f8;
  border-color: #ddd;
}

/* Header Global Network Button */
.header-global-btn {
  margin-left: auto; /* 向左扩展 */
  flex-shrink: 0; /* 防止被压缩 */
}

.header-global-btn i {
  margin-right: 6px; /* 图标与文字间距 */
}

.mobile-menu-toggle,
.mobile-search-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* 移动端搜索按钮样式 */
.mobile-search-toggle {
  margin-right: 15px; /* 与菜单按钮保持间距 */
}

/* 移动端全球按钮样式 */
.mobile-global-toggle {
  display: none;
  font-size: 23px;
  cursor: pointer;
  margin-right: 15px;
  transition: color 0.3s ease;
}

/* 移动端按钮容器 */
.header-mobile-buttons {
  display: none;
}

/* Footer Styles */
.footer {
  background-color: #f8f9fa;
  padding: 20px 0 15px;
  margin-top: 15px; /* 减少顶部间隙，优化垂直间距 */
  border-top: 1px solid #eee; /* 添加顶部边框作为分隔线 */
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05); /* 添加顶部阴影，类似页头但更轻微 */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px; /* 使用gap代替margin更可控 */
}

.footer-section {
  flex: 1;
  min-width: 200px;
  margin-bottom: 0; /* 移除底部外边距，使用gap控制 */
}

/* 确保Global Network列在移动端不显示 */
.footer-global-network {
  display: none; /* 默认隐藏 */
}

.footer-section h3 {
  margin-bottom: 10px; /* 缩短标题和列表的间距 */
  font-size: 16px; /* 稍微减小标题字体大小 */
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 5px; /* 减少列表项间距 */
  font-size: 15px; /* 稍微减小字体大小 */
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 14px;
}

/* 合规性信息样式 */
.compliance-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}

.compliance-item {
  display: inline-flex;
  align-items: center;
  color: #666;
}

.compliance-item i {
  margin-right: 5px;
}

.copyright {
  color: #666;
}

.disclaimer {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
  line-height: 1.4;
  text-align: justify;
}

/* PC端页脚样式 - 自适应五等分布局 */
@media (min-width: 992px) {
  .footer-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
  
  .footer-section {
    min-width: 0;
    max-width: 100%;
  }
  
  /* 显示Global Network列 */
  .footer-global-network {
    display: block;
  }
  
  /* Global Network专用样式 */
  .footer-global-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  /* 修改页脚Global Network部分的下拉框样式 */
  .footer-global-network .footer-dropdown {
    width: 100%;
    max-width: 100%;
  }
  
  .footer-global-network .custom-dropdown {
    width: 100%; /* 覆盖通用的230px固定宽度 */
    min-width: 0; /* 覆盖通用的最小宽度 */
    max-width: 100%; /* 确保不超出容器 */
  }
  
  /* 限制页脚下拉选项的高度为4行 */
  .footer-global-network .custom-dropdown .options {
    max-height: 144px; /* 约4行高度 */
    overflow-y: auto; /* 启用垂直滚动 */
  }
  
  /* Global Network下拉框选项左对齐显示 */
  .footer-global-network .custom-dropdown .option {
    text-align: left;
  }
  
  /* 国旗图标样式 */
  .footer-global-network .country-flag {
    width: 18px;
    height: 14px;
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -2px;
    display: inline-block;
    object-fit: cover;
  }
  
  /* Global Network部分字体大小统一为16px */
  .footer-global-network .custom-dropdown .selected,
  .footer-global-network .custom-dropdown .option,
  .footer-global-btn {
    font-size: 16px;
  }
  
  .footer-global-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
    width: 170px !important;
    background-color: white !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 16px !important;
  }
  
  .footer-global-btn:hover,
  .footer-global-network .footer-global-btn:hover,
  .footer-global-network .footer-global-btn.webcam-btn:hover,
  .footer-global-btn.webcam-btn:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
    filter: none !important;
    color: #333 !important;
    border-color: #ddd !important;
    background-color: #f8f8f8 !important;
    text-decoration: none !important;
  }
  
  .footer-global-btn i {
    margin-right: 5px;
    font-size: 16px;
  }
  
  /* Adult Webcams按钮特定样式 */
  .footer-global-network .webcam-btn {
    background-color: white !important; /* 与Global Network按钮相同的白色背景 */
    color: #333 !important; /* 与Global Network按钮相同的文字颜色 */
    width: 170px !important; /* 与Global Network按钮相同的固定宽度 */
    transition: all 0.3s ease !important; /* 与Global Network按钮相同的过渡效果 */
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    font-size: 16px !important;
  }
  
  /* 合并到上面的通用悬停规则中 */
  
  /* 隐藏国家筛选下拉框，但保持footer-global-network和按钮可见 */
  .footer-global-network .footer-dropdown,
  .footer-global-network .custom-dropdown {
    display: none;
  }
  
  /* 调整按钮样式以适应没有下拉框的情况 */
  .footer-global-network .footer-global-btn {
    margin-top: 0; /* 移除可能的顶部间距 */
    width: 170px; /* 设置固定宽度以确保两个按钮宽度一致 */
    min-width: unset; /* 移除最小宽度设置 */
  }
  
  /* 调整footer-global-content的样式 */
  .footer-global-content {
    display: flex;
    flex-direction: column; /* 垂直排列以堆叠多个按钮 */
    justify-content: flex-start; /* 左对齐 */
    align-items: flex-start; /* 左对齐 */
    gap: 10px; /* 按钮之间的间距 */
    width: 100%;
  }
}

/* Search Section */
.search-section {
  padding: 0;
  margin-top: 90px; /* PC端间隙改为20px (90px - 70px = 20px) */
  margin-bottom: 10px; /* 减少底部外边距，与escorts-section配合达到20px总间隙 */
}

.search-wrapper {
  border: 1px solid #ddd; /* 添加实线边框 */
  padding: var(--filter-padding); /* 使用统一变量 */
  background-color: white; /* 设置为白色背景 */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* 添加轻微阴影强化分隔感 */
  border-radius: var(--border-radius); /* 添加圆角 */
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  box-sizing: border-box;
}

.search-header {
  padding: 0px 0 10px;
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
}

.search-header h3 {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin: 0;
}

.search-grid {
  display: flex;
  width: 100%;
  margin-bottom: 15px;
  gap: 10px;
}

.search-column {
  display: flex;
}

.city-column {
  width: 33.33%;
}

.input-column {
  width: 33.33%;
}

.buttons-column {
  width: 33.33%;
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.search-input {
  flex: 1;
  min-width: 0; /* 防止输入框溢出 */
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-size: 17px !important; /* 确保搜索输入框字体大小与原始index.php一致 */
}

/* 确保下拉框占满列宽 */
.city-column .custom-dropdown {
  width: 100%;
}

/* 确保按钮组中的按钮有合适的宽度 */
.buttons-column .btn,
.buttons-column .btn-secondary {
  padding-left: 10px;
  padding-right: 10px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buttons-column .btn:not(.btn-secondary) {
  padding-top: 9px;
  padding-bottom: 9px;
}

.search-divider {
  height: 1px;
  background-color: #eee; /* 轻细的分隔线 */
  margin: var(--filter-section-gap) 0; /* 使用统一变量 */
}

.city-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px; /* 文字间距 */
}

.city-link {
  padding: 2px 0; /* 只保留少量垂直内边距 */
  background-color: transparent; /* 移除背景色 */
  border: none; /* 移除边框 */
  color: #333; /* 设置文字颜色 */
  transition: color 0.3s ease;
}

.city-link:hover {
  background-color: transparent; /* 移除悬停背景色 */
  box-shadow: none; /* 移除悬停阴影 */
  color: var(--primary-color); /* 悬停时改变文字颜色 */
  text-decoration: none; /* 确保没有下划线 */
}

/* Custom Dropdown */
.custom-dropdown {
  position: relative;
  min-width: 180px; /* 移动端的最小宽度 */
  background-color: white;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm); /* 添加圆角 */
  cursor: pointer;
}

/* 筛选下拉框组样式 */
.filter-dropdowns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--filter-item-gap);
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.filter-dropdown {
  flex: 0 0 calc(16.666% - var(--filter-item-gap));
  min-width: 180px;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .custom-dropdown {
    width: 150px; /* PC端固定宽度调整为230px */
  }
}

.custom-dropdown .selected {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-dropdown .selected::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: 10px;
  font-size: 12px;
}

/* 下拉框基础样式优化 - 限制为4个选项高度 */
.custom-dropdown .options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  max-height: 180px; /* 限制为5个选项高度 (5 * 36px = 180px) */
  overflow-y: auto;
  z-index: 1000;
  display: none;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.custom-dropdown .options.active {
  display: block;
}

.custom-dropdown .option {
  padding: 8px 12px;
  transition: all 0.3s ease;
  background-color: white; /* 确保选项背景为白色 */
}

.custom-dropdown .option:hover {
  background-color: rgba(236, 72, 153, 0.1); /* 改为浅粉色背景，与主色调相协调 */
}

/* 带搜索框的下拉菜单高度调整 */
.custom-dropdown.searchable .options {
  max-height: 225px; /* 5个选项 + 搜索框 (180px + 45px) */
}

/* 统一滚动条样式 */
.custom-dropdown .options::-webkit-scrollbar {
  width: 6px; /* 更细的滚动条 */
}

.custom-dropdown .options::-webkit-scrollbar-track {
  background: transparent; /* 透明轨道 */
}

.custom-dropdown .options::-webkit-scrollbar-thumb {
  background-color: rgba(236, 72, 153, 0.3); /* 使用主题色但透明度降低 */
  border-radius: 3px; /* 圆角滚动条 */
}

.custom-dropdown .options::-webkit-scrollbar-thumb:hover {
  background-color: rgba(236, 72, 153, 0.5); /* 悬停时增加不透明度 */
}

/* Firefox滚动条样式 */
.custom-dropdown .options {
  scrollbar-width: thin; /* Firefox细滚动条 */
  scrollbar-color: rgba(236, 72, 153, 0.3) transparent; /* Firefox滚动条颜色 */
}

/* 移动端触摸优化 */
@media (max-width: 991px) {
  .custom-dropdown .options {
    -webkit-overflow-scrolling: touch; /* 改善iOS触摸滚动体验 */
    touch-action: pan-y; /* 允许垂直触摸平移 */
  }
  
  /* 确保在触摸设备上可见的滚动指示 */
  .custom-dropdown .options::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(to top, rgba(255,255,255,0.8), rgba(255,255,255,0));
    pointer-events: none; /* 不影响交互 */
    opacity: 0.8;
    border-radius: 0 0 var(--border-radius-sm) var(--border-radius-sm);
  }
}

/* Escort Cards */
.escorts-section {
  padding: 10px 0 15px; /* 底部内边距减少到15px，优化到页脚的垂直间隙 */
}

.escort-card {
  display: flex;
  margin-bottom: 20px;
  background-color: white;
  border: 1px solid #ddd; /* 添加实线边框，与搜索筛选框一致 */
  border-radius: var(--border-radius); /* 添加圆角 */
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  flex-direction: column; /* 默认改为垂直布局，这样不需要在媒体查询中重复 */
}

.escort-image {
  width: 100%; /* 默认宽度100%，覆盖整个卡片宽度 */
  aspect-ratio: 2/3; /* 修改为2:3固定宽高比 */
  object-fit: cover;
  object-position: center top; /* 优先显示图片上部，通常是人物面部 */
  border-radius: var(--border-radius) var(--border-radius) 0 0; /* 只保留上方两个角的圆角 */
}

/* 备选方案用于不支持aspect-ratio的浏览器 */
@supports not (aspect-ratio: 2/3) {
.escort-image {
    position: relative;
    height: 0;
    padding-top: 150%; /* 3/2 = 1.5 转为百分比 */
  }
  
  .escort-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  object-fit: cover;
    object-position: center top;
  }
}

/* 卡片详情区域整体调整 */
.escort-details {
  padding: 12px 10px;
  width: 100%;
  border-radius: 0; /* 移除内容区域的圆角 */
  display: flex;
  flex-direction: column;
  gap: 6px; /* 统一垂直间距 */
}

/* 信息行容器 */
.escort-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* 名字样式调整 */
.escort-name {
  font-size: 18px; /* 减小标题字体 */
  margin: 0;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

/* 年龄标签 */
.escort-age {
  font-size: 15px;
  color: #666;
}

/* 性别标签 */
.escort-gender {
  font-size: 14px;
  color: #2E2E2E;
}

/* 服务商标签 */
.escort-provider {
  font-size: 14px;
  color: #2E2E2E;
  text-align: right;
}

/* 价格标签 */
.escort-price {
  font-size: 14px;
  color: #2E2E2E;
  text-align: right;
}

/* 地点信息 */
.escort-location {
  display: flex;
  align-items: center;
  color: #2E2E2E;
  font-size: 14px;
}

.escort-location i {
  margin-right: 5px;
}

/* 保留描述样式但通常不显示 */
.escort-description {
  display: none;
}

/* Pagination */
.pagination,
.pagination-wrapper ul.pagination {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.pagination li,
.pagination-wrapper ul.pagination li {
  list-style: none !important;
}

.page-link {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 5px;
  border-radius: var(--border-radius-sm);
  background-color: white;
  border: 1px solid #ddd;
  transition: none; /* 禁用所有过渡动画 */
  user-select: none; /* 禁止文本选择 */
  color: #2E2E2E; /* 明确设置文本颜色为深灰色 */
}

.page-link.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.page-link:hover {
  box-shadow: none;
  filter: none;
  background-color: white; /* 保持与非悬停状态一致 */
  color: #2E2E2E; /* 明确设置悬停时文本颜色为深灰色 */
  border-color: #ddd; /* 保持原有边框颜色 */
}

/* 专门针对搜索模块中的重置按钮 */
.search-container .btn-secondary:hover {
  color: #333;
  background-color: #f8f8f8;
  border-color: #ddd;
}

/* 按钮图标样式 */
.btn i, 
.btn-secondary i {
  margin-right: 5px;
  font-size: 0.9em; /* 稍微小一点的图标 */
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  :root {
    --filter-item-gap: 5px;
    --filter-section-gap: 5px; /* 添加这一行，调整区域间隙 */
  }
  
  /* 调整筛选框底部边距 */
  .filter-dropdown {
    margin-bottom: 5px;
  }
  
  /* 调整筛选行之间的间隙 */
  .filter-row {
    margin-bottom: 5px;
  }
  
  body {
    padding-top: 0;
  }
  
  .header-container {
    height: 60px; /* 固定高度为60px */
    padding: 0 15px; /* 只保留水平内边距 */
    display: flex;
    align-items: center; /* 确保内容垂直居中 */
  }

  .logo {
    flex: 1;
  }
  
  .header-mobile-buttons {
    display: flex;
    align-items: center;
  }
  
  .mobile-menu-toggle,
  .mobile-search-toggle,
  .mobile-global-toggle {
    display: block;
  }
  
  .mobile-global-toggle.active {
    color: var(--primary-color);
  }
  
  .nav-container {
    display: none;
    position: absolute;
    top: 60px; /* 使用固定值60px替代100% */
    left: 0;
    width: 100%;
    background-color: white;
    border-top: 1px solid #eee;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .nav-container.active {
    display: block;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding-bottom: 5px; /* 添加底部内边距 */
  }
  
  .nav-menu {
    flex-direction: column;
    height: auto;
    padding: 15px 0 10px; /* 增加顶部内边距，保持底部内边距 */
  }
  
  .nav-menu li {
    height: 44px; /* 设置固定高度 */
    margin: 0;
    display: flex;
    align-items: center; /* 确保垂直居中 */
    padding: 0 15px; /* 添加水平内边距 */
  }
  
  .header-buttons {
    flex-direction: column;
    align-items: stretch;
    padding: 5px 15px 15px; /* 减少顶部内边距 */
    border-top: 1px solid #eee; /* 添加顶部分隔线 */
    margin-top: 5px; /* 添加顶部外边距 */
  }
  
  .header-buttons .btn,
  .header-buttons .btn-secondary {
    width: 100%;
    text-align: center;
    margin: 5px 0;
    padding: 8px 16px; /* 统一内边距 */
  }

  /* 移动端完全隐藏locations功能 */
  .locations-dropdown,
  .locations-dropdown-content {
    display: none !important;
  }
  
  /* 搜索筛选框垂直布局 */
  .search-grid {
    flex-direction: column;
    gap: 15px;
  }

  .search-column {
    width: 100% !important;
  }

  .custom-dropdown, 
  .search-input {
    width: 100%;
  }

  .buttons-column {
    flex-direction: column;
    gap: 10px;
  }

  .buttons-column .btn,
  .buttons-column .btn-secondary {
    width: 100%;
  }
  
  /* 可折叠筛选模块 */
  .search-section .collapsible-section {
    margin-top: 15px;
  }
  
  .search-section .collapse-content {
    display: block;
  }
  
  /* 筛选下拉框组垂直布局 */
  .filter-dropdowns {
    flex-direction: column;
    margin-bottom: 0;
  }
  
  .filter-dropdown {
    flex: none;
    margin-bottom: 10px;
    width: 100%;
    position: relative; /* 确保相对定位 */
  }
  
  .filter-dropdown .custom-dropdown {
    position: relative; /* 确保相对定位 */
    z-index: 20; /* 确保正常状态下拉框在上层 */
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    width: 100%;
  }
  
  .filter-dropdown .custom-dropdown.active {
    z-index: 30; /* 激活状态下提高层级 */
  }
  
  .filter-dropdown .custom-dropdown .options {
    z-index: 50; /* 确保下拉选项在最上层 */
    width: 100%; /* 确保宽度100% */
    left: 0;
    position: absolute; /* 确保绝对定位 */
  }
  
  /* 城市快捷链接双列布局 */
  .city-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* 修改escort容器为网格布局 - 一行两个卡片 */
  #escort-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 一行两列 */
    gap: 10px; /* 卡片之间的间距 */
    width: 100%; /* 确保宽度100% */
  }
  
  /* 调整卡片样式适应两列布局 */
  .escort-card {
    flex-direction: column;
    margin-bottom: 10px; /* 减小垂直间距 */
    width: auto; /* 自动宽度，由网格控制 */
  }
  
  /* 隐藏自我介绍文本 */
  .escort-description {
    display: none;
  }
  
  /* 调整卡片内部元素间距 */
  .escort-details {
    padding: 12px 10px; /* 调整内边距：上下12px，左右10px */
  }
  
  /* 调整姓名和年龄样式 */
  .escort-name {
    font-size: 18px; /* 减小标题字体 */
  }
  
  .escort-age {
    font-size: 15px;
    color: #666;
  }
  
  /* 调整位置信息样式 */
  .escort-location {
    font-size: 15px; /* 字体大小调整为15px */
  }
  
  /* 调整图片样式以适应新布局 */
  .escort-image {
    width: 100%; /* 确保图片宽度为100% */
    /* 移除固定高度，使用aspect-ratio代替 */
    object-fit: cover; /* 确保图片裁剪合适 */
    object-position: center top; /* 优先显示图片上部，通常是人物面部 */
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* 只保留上方圆角 */
  }
  
  /* 移除标题区域 */
  .search-section .search-header {
    display: none;
  }
  
  /* 筛选区默认隐藏 */
  .search-section .filters-wrapper {
    display: none;
    margin-top: 15px;
  }
  
  /* 筛选区域展开状态 */
  .search-section .filters-wrapper.active {
    display: block;
  }
  
  /* 筛选按钮激活状态 */
  .search-section .filter-toggle.active {
    background-color: #f8f8f8;
    color: #333;
    border-color: #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  /* 确保分隔线在展开区域内 */
  .search-section .filters-wrapper .search-divider:first-child {
    margin-top: 0;
  }

  /* 移动端搜索筛选框样式 - 修改为与导航菜单一致的样式 */
  .search-section {
    position: relative;
    background-color: white;
    z-index: 999;
    margin: 0;
    padding: 0;
  }
  
  /* 搜索筛选框展开状态 */
  .search-section.active {
    display: block !important;
  }
  
  /* 移除搜索筛选框的外边框和圆角 */
  .search-wrapper {
    border: none;
    border-radius: 0;
    padding: calc(var(--filter-padding) / 1.5);
    box-shadow: none;
    background-color: white;
  }
  
  /* 移动端搜索按钮激活状态 */
  .mobile-search-toggle.active {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
  
  /* 移动端菜单按钮激活状态 */
  .mobile-menu-toggle.active {
    color: var(--primary-color);
    transition: color 0.3s ease;
  }
  
  /* 移动端按钮统一过渡效果 */
  .mobile-search-toggle,
  .mobile-menu-toggle {
    transition: color 0.3s ease;
  }
  
  /* 调整escorts-section的上边距 */
  .escorts-section {
    padding: 8px 0 15px; /* 底部内边距从30px减少到15px，优化垂直间隙 */
    margin-top: 75px; /* 减少顶部边距，因为搜索区域不再是固定定位 */
  }

  /* 搜索筛选框内部布局和边距微调 */
  .search-grid, .filter-dropdowns, .city-quick-links {
    margin-bottom: 10px; /* 统一底部间距 */
  }
  
  /* 确保内容不会超出容器边界 */
  .search-input, .buttons-column .btn, .custom-dropdown {
    max-width: 100%;
    box-sizing: border-box;
  }
  
  /* 调整搜索按钮的内边距和外观 */
  .buttons-column .btn {
    justify-content: center;
  }
  
  /* 搜索筛选框内的分隔线样式调整 */
  .search-divider {
    margin: 10px 0;
  }
}

/* PC端样式覆盖 - 默认隐藏筛选区但显示标题 */
@media (min-width: 992px) {
  .search-section .filters-wrapper {
    display: none; /* 默认隐藏筛选区 */
    transition: all 0.3s ease; /* 添加过渡效果 */
    width: 100%; /* 确保宽度100%与搜索区对齐 */
    max-width: var(--container-width); /* 最大宽度与容器一致 */
    margin: 0 auto; /* 居中显示 */
  }
  
  /* 隐藏移动端专用按钮 */
  .mobile-filter-buttons {
    display: none;
  }
  
  .search-section .search-header {
    display: block; /* 默认显示标题 */
  }
  
  /* 显示筛选区激活状态 */
  .search-section .filters-wrapper.active {
    display: block;
  }
  
  /* PC端卡片网格布局 - 一行5个 */
  #escort-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12.5px;
    max-width: 1170px;
    margin: 0 auto;
  }
  
  /* 减少搜索过滤区域和筛选区域之间的垂直间隙 */
  .search-grid {
    margin-bottom: 8px; /* 从15px减小到8px */
  }
  
  /* 减少第一行筛选和第二行筛选之间的垂直间隙 */
  .filter-dropdowns {
    padding: 8px 0 0 0; /* 修改为只保留顶部内边距 */
    margin-bottom: 8px; /* 从15px减小到8px */
  }

  .escort-card {
    flex-direction: column; /* 改为垂直布局 */
    margin-bottom: 20px;
    width: 224px; /* 保持卡片宽度为224px */
  }
  
  .escort-image {
    width: 100%; /* 宽度设为100%以完全覆盖卡片宽度 */
    height: 336px; /* 调整为336px高度，保持2:3的宽高比 */
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* 只保留上方圆角 */
  }
  
  .escort-description {
    display: none; /* PC端也隐藏自我介绍 */
  }
  
  .escort-details {
    padding: 15px 10px; /* 调整内边距为上下15px，左右10px */
    width: 100%;
  }
  
  /* PC端免费试用链接样式 */
  .free-trial-link {
    color: var(--primary-color) !important; /* 粉色，并使用!important确保覆盖其他样式 */
  }
  
  /* 覆盖悬停效果 */
  .free-trial-link:hover {
    color: var(--primary-color) !important;
  }
  
  /* 确保免费链接与其他导航项对齐 */
  .nav-menu li a.free-trial-link {
    transition: none; /* 禁用过渡效果 */
  }
  
  /* 使locations按钮与其他按钮保持一致的外观 */
  .header-buttons .locations-dropdown {
    margin-left: 10px;
  }
  
  .header-buttons .locations-btn {
    display: inline-block;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .header-buttons .locations-btn:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    filter: none;
    color: #333;
    border-color: #ddd;
    background-color: #f8f8f8;
  }
  
  /* 下拉菜单的显示逻辑 */
  .locations-dropdown:hover .locations-dropdown-content {
    display: block;
  }
  
  /* 扩展交互区域 */
  .locations-dropdown:after {
    content: '';
    position: absolute;
    height: 20px;
    left: 0;
    right: 0;
    bottom: -20px;
    z-index: 1000;
  }
  
  /* 下拉内容的交互处理 */
  .locations-dropdown:hover .locations-dropdown-content,
  .locations-dropdown-content:hover {
    opacity: 1;
    pointer-events: auto;
    display: block;
  }
  
  /* 位置网格布局 */
  .locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-collapse: collapse;
    box-sizing: border-box;
  }
  
  /* 地区块样式 */
  .location-region {
    width: 100%;
    margin: 0;
    position: relative;
    box-sizing: border-box;
    padding: 10px 15px;
    border: none; /* 移除所有边框 */
  }
  
  /* 添加虚线右边框 - 默认为5列，被大屏媒体查询覆盖 */
  .location-region:not(:nth-child(5n)) {
    border-right: 1px dashed #ddd;
  }
  
  /* 添加虚线底边框 - 默认为5列，被大屏媒体查询覆盖 */
  .location-region:not(:nth-child(n+6):nth-child(-n+10)) {
    border-bottom: 1px dashed #ddd;
  }
  
  /* 空白location区域保持边框一致 */
  .location-region.empty {
    display: block;
    visibility: hidden;
  }
  
  /* 修改地区标题样式，减少上边距 */
  .location-region h4 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 0; /* 移除顶部边距 */
    margin-bottom: 10px;
    color: var(--primary-color);
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
  }
  
  /* 修改城市链接容器 */
  .location-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* 修改城市链接样式 */
  .location-cities a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    margin-right: 0;
  }
  
  /* 城市链接悬停效果 */
  .location-cities a:hover {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  /* 添加响应式布局 - 小型屏幕 */
  @media (min-width: 992px) and (max-width: 1199px) {
    .locations-dropdown-content {
      width: 958px; /* 960px减去两侧边框宽度 */
      max-width: 100%; /* 确保不超过屏幕宽度 */
    }
    
    .locations-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    
    /* 调整右边框（4列布局） */
    .location-region:not(:nth-child(4n)) {
      border-right: 1px dashed #ddd;
    }
    
    .location-region:nth-child(4n) {
      border-right: none;
    }
    
    /* 调整底边框（4列布局） */
    .location-region:not(:nth-child(n+5):nth-child(-n+8)) {
      border-bottom: 1px dashed #ddd;
    }
  }
  
  /* 添加响应式布局 - 大型屏幕 */
  @media (min-width: 1200px) {
    .locations-dropdown-content {
      width: 1200px;
    }
     
    .locations-grid {
      grid-template-columns: repeat(5, 1fr);
    }
     
    /* 调整右边框（5列布局） */
    .location-region:not(:nth-child(5n)) {
      border-right: 1px dashed #ddd;
    }
     
    .location-region:nth-child(5n) {
      border-right: none;
    }
     
    /* 调整底边框（5列布局） */
    .location-region:not(:nth-child(n+6):nth-child(-n+10)) {
      border-bottom: 1px dashed #ddd;
    }
  }
}

/* 小型PC端 (992px-1200px) */
@media (min-width: 992px) and (max-width: 1199px) {
  /* 卡片布局改为每行4个 */
  #escort-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1170px;
    margin: 0 auto;
  }
  
  .escort-card {
    flex-direction: column; /* 改为垂直布局 */
    margin-bottom: 20px;
    width: 100%; /* 自适应宽度 */
  }
  
  /* 修改图片部分，使用aspect-ratio确保比例一致 */
  .escort-image {
    width: 100%;
    height: auto; /* 移除固定高度 */
    aspect-ratio: 2/3; /* 使用aspect-ratio代替固定高度 */
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
  
  /* 同时添加备用方案，兼容不支持aspect-ratio的浏览器 */
  @supports not (aspect-ratio: 2/3) {
    .escort-image {
      height: 0;
      padding-top: 150%; /* 3÷2×100% */
      position: relative;
    }
  }
  
  .escort-description {
    display: none; /* PC端也隐藏自我介绍 */
  }
}

/* 大型PC端 (≥1200px) */
@media (min-width: 1200px) {
  /* PC端卡片网格布局 - 一行5个 */
  #escort-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12.5px;
    max-width: 1170px;
    margin: 0 auto;
  }
  
  .escort-card {
    flex-direction: column; /* 改为垂直布局 */
    margin-bottom: 20px;
    width: 224px; /* 保持卡片宽度为224px */
  }
  
  .escort-image {
    width: 100%; /* 宽度设为100%以完全覆盖卡片宽度 */
    height: 336px; /* 调整为336px高度，保持2:3的宽高比 */
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius) var(--border-radius) 0 0; /* 只保留上方圆角 */
  }
  
  .escort-description {
    display: none; /* PC端也隐藏自我介绍 */
  }
}

/* 筛选下拉框固定样式优化 */
.filter-dropdown .custom-dropdown {
  position: relative; /* 确保相对定位 */
  z-index: 5; /* 默认状态下的z-index */
}

.filter-dropdown .custom-dropdown.active {
  z-index: 1010; /* 激活状态下提高到更高层级 */
}

.filter-dropdown .custom-dropdown .options {
  z-index: 1020; /* 选项区域使用更高的z-index */
  position: absolute;
  width: 100%;
}

/* 确保选项在滚动时也不会被遮挡 */
.filter-dropdown .custom-dropdown .options.active {
  display: block;
  overflow: visible;
}

/* 中间位置的下拉框特别处理 */
.filter-dropdown:nth-child(3) .custom-dropdown .options,
.filter-dropdown:nth-child(4) .custom-dropdown .options {
  z-index: 1030; /* 给中间位置的下拉框更高优先级 */
}

/* 小型手机设备 (≤414px) */
@media (max-width: 414px) {
  /* 文本替换处理 */
  .escort-provider {
    font-size: 0; /* 隐藏原文本 */
  }
  
  .escort-provider:after {
    font-size: 14px; /* 恢复字体大小 */
    content: attr(data-provider); /* 使用自定义属性显示修改后文本 */
  }
  
  /* 隐藏价格 */
  .escort-price {
    display: none;
  }
  
  /* 修改卡片姓名字体大小 */
  .escort-name {
    font-size: 17px; /* 从18px减小到17px */
  }
  
  /* 合并原≤400px的分页样式 */
  .hide-small {
    display: none;
  }
  
  .page-link {
    padding: 6px 14px;
    font-size: 14px;
    min-width: 36px;
    text-align: center;
    box-sizing: border-box;
  }
  
  .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
    margin-top: 20px;
  }
  
  .next-btn {
    margin-left: 2px;
  }
  
  .prev-btn {
    margin-right: 2px;
  }
}

/* 超小型手机设备 (≤360px) */
@media (max-width: 360px) {
  /* 卡片布局改为每行1个 */
  #escort-container {
    grid-template-columns: 1fr;
  }
  
  /* 修改图片部分，确保比例一致 */
  .escort-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
  }
  
  /* 备用方案 */
  @supports not (aspect-ratio: 2/3) {
    .escort-image {
      height: 0;
      padding-top: 150%;
      position: relative;
    }
  }
  
  /* 恢复provider原始文本显示 */
  .escort-provider {
    font-size: 14px; /* 恢复原文本字体大小 */
  }
  
  .escort-provider:after {
    content: none; /* 移除after伪元素的内容 */
  }
  
  /* 恢复价格显示 */
  .escort-price {
    display: block; /* 恢复价格显示 */
  }
}

/* 中等移动设备分页适配 - 400px-991.98px屏幕 */
@media screen and (min-width: 401px) and (max-width: 991.98px) {
  .pagination {
    margin-top: 20px; /* 将上边距从30px减少到20px */
  }
}

/* Load More Button Styles */
.load-more-container {
  width: 100%;
  margin-top: 10px; /* PC端默认值 */
  margin-bottom: 0px; /* 移除底部间隙，优化到页脚的总间隙 */
}

/* 移动端调整 */
@media (max-width: 991.98px) {
  .load-more-container {
    margin-top: 20px; /* 移动端减少到0px */
  }
}

.load-more-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s;
  /* 基于btn-secondary样式但去除悬停效果 */
}

/* 移除悬停效果 */
.load-more-btn:hover {
  background-color: white;
  box-shadow: none;
  transform: none;
}

/* 响应式样式 - 移动端按钮文本 */
@media (max-width: 767px) {
  .load-more-btn:after {
    content: "LOAD MORE";
    color: #ec4899;
  }
}

@media (min-width: 768px) {
  .load-more-btn:after {
    content: "LOAD MORE ESCORTS";
    color: #ec4899;
  }
}

/* 卡片链接样式 */
.escort-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.escort-card-link .escort-age,
.escort-card-link .escort-description,
.escort-card-link .escort-location {
  color: inherit;
}

.escort-card-link:hover,
.escort-card-link:hover .escort-age,
.escort-card-link:hover .escort-description,
.escort-card-link:hover .escort-location {
  text-decoration: none;
  color: inherit;
}

/* 加载动画样式 */
.load-spinner {
  text-align: center;
  margin: 20px 0;
  font-size: 24px;
  color: var(--primary-color);
}

/* 搜索加载动画特定样式 */
.search-spinner {
  margin: 15px auto 25px;
}

/* 加载动画旋转图标 */
.load-spinner i {
  display: inline-block;
}

/* 移动端加载动画调整 */
@media (max-width: 991.98px) {
  .search-spinner {
    margin: 10px auto 20px;
  }
}

/* 验证图标样式 - 移动端默认 */
.verified-icon {
  width: 17px; /* 移动端宽度 */
  height: 17px; /* 移动端高度 */
  margin-left: 5px; /* 与名字保持间距 */
  vertical-align: middle;
  position: relative;
  top: -1px; /* 微调垂直位置 */
  display: inline-block;
}

/* PC端验证图标尺寸 */
@media (min-width: 992px) {
  .verified-icon {
    width: 18px; /* PC端宽度 */
    height: 18px; /* PC端高度 */
  }
}

/* 卡片状态显示框样式 */
.escort-image-container {
  position: relative;
  width: 100%;
  display: block;
}

/* 状态显示框基础样式 */
.escort-status {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 6px 10px;
  background-color: rgba(0, 0, 0, 0.6); /* 深灰色半透明背景 */
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase; /* 全部大写 */
  z-index: 2;
}

/* 可用状态 - 绿色 */
.status-available {
  color: #2ecc71;
}

/* 巡演中 - 橙色 */
.status-touring {
  color: #f39c12;
}

/* 休息中 - 白色 */
.status-break {
  color: #ffffff;
}

/* 离线状态 - 黄色 */
.status-offline {
  color: #ffeb3b;
}

/* 平板设备 (768px-991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* 卡片布局改为每行3个 */
  #escort-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
  }
  
  /* 修改图片部分，使用aspect-ratio确保比例一致 */
  .escort-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
  }
  
  /* 同时添加备用方案，兼容不支持aspect-ratio的浏览器 */
  @supports not (aspect-ratio: 2/3) {
    .escort-image {
      height: 0;
      padding-top: 150%;
      position: relative;
    }
  }
}

/* 全球选择区域基础样式 */
.global-section {
  position: fixed;
  top: 60px; /* 确保与页头高度一致 */
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 998; /* 略低于搜索区域，避免冲突 */
  display: none;
  overflow: visible; /* 修改为visible允许下拉内容溢出容器 */
  max-height: calc(100vh - 60px); /* 保持计算一致 */
  margin: 0;
  padding: 0;
}

/* 全球选择区域展开状态 */
.global-section.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 全球区域内部样式 */
.global-wrapper {
  border: none;
  border-radius: 0;
  padding: 15px;
  box-shadow: none;
  background-color: white;
  overflow: visible; /* 允许下拉内容溢出 */
}

/* 全球区域栅格布局 */
.global-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px; /* 添加底部间距 */
}

.global-column {
  width: 100%;
}

/* Go Now按钮样式 */
.go-now-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 9px 16px;
  font-weight: 400;
}

.go-now-btn i {
  margin-right: 8px;
}

/* 提高全球下拉选项的z-index */
.global-section .custom-dropdown .options {
  z-index: 1050; /* 确保高于其他元素 */
  max-height: 250px; /* 增加最大高度 */
  overflow-y: auto; /* 内容过多时显示滚动条 */
}

/* 确保下拉框在激活时正确显示 */
.global-section .custom-dropdown.active {
  z-index: 1051; /* 比options更高一级 */
  position: relative; /* 确保z-index生效 */
}

/* 全球区域样式 - 移除reset按钮 */

/* 微调搜索图标位置，使其与其他图标视觉对齐 */
.mobile-search-toggle i {
  position: relative;
  top: 1px; /* 向下偏移2px，使搜索图标与其他图标视觉对齐 */
}

/* Locations Dropdown Styles - 仅PC端 */
@media (min-width: 992px) {
  /* 位置下拉容器 */
  .locations-dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* 位置按钮样式 */
  .locations-btn {
    cursor: pointer;
  }
  
  /* 下拉内容区域 - 精确控制总宽度为1200px */
  .locations-dropdown-content {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 70px; /* 从69px改为70px，整体向下移动1px */
    width: 1198px; /* 1200px减去两侧边框宽度 */
    max-width: 100%; /* 确保不超过屏幕宽度 */
    margin: 0 auto; /* 居中对齐 */
    background-color: white;
    border: 1px solid #ddd; /* 四边统一使用实线边框 */
    z-index: 999;
    padding: 0; /* 移除所有内边距 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* 确保宽度计算包含边框和内边距 */
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
  }
  
  /* 修改container样式 */
  .locations-dropdown-content .container {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* 修改grid布局 */
  .locations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    box-sizing: border-box;
    width: 100%;
  }
  
  /* 修改地区块样式，调整边框为虚线 */
  .location-region {
    width: 100%;
    margin: 0;
    position: relative;
    box-sizing: border-box;
    padding: 10px 15px;
    border: none; /* 移除所有边框 */
  }
  
  /* 添加虚线右边框 - 默认为5列，被小屏媒体查询覆盖 */
  .location-region:not(:nth-child(5n)) {
    border-right: 1px dashed #ddd;
  }
  
  /* 添加虚线底边框 - 默认为5列，被小屏媒体查询覆盖 */
  .location-region:not(:nth-child(n+6):nth-child(-n+10)) {
    border-bottom: 1px dashed #ddd;
  }
  
  /* 空白location区域保持边框一致 */
  .location-region.empty {
    display: block;
    visibility: hidden;
  }
  
  /* 修改地区标题样式，减少上边距，将下边框改为虚线 */
  .location-region h4 {
    font-size: 17px;
    font-weight: 600;
    margin-top: 0; /* 移除顶部边距 */
    margin-bottom: 10px;
    color: var(--primary-color);
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd; /* 改为虚线边框 */
  }
  
  /* 修改城市链接容器 */
  .location-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* 修改城市链接样式 */
  .location-cities a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    margin-right: 0;
  }
  
  /* 城市链接悬停效果 */
  .location-cities a:hover {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  /* 下拉菜单的显示逻辑 */
  .locations-dropdown:hover .locations-dropdown-content {
    display: block;
  }
  
  /* 扩展交互区域 */
  .locations-dropdown:after {
    content: '';
    position: absolute;
    height: 20px;
    left: 0;
    right: 0;
    bottom: -20px;
    z-index: 1000;
  }
  
  /* 下拉内容的交互处理 */
  .locations-dropdown:hover .locations-dropdown-content,
  .locations-dropdown-content:hover {
    opacity: 1;
    pointer-events: auto;
    display: block;
  }
  
  /* 添加响应式布局 - 小型屏幕 */
  @media (min-width: 992px) and (max-width: 1199px) {
    .locations-dropdown-content {
      width: 958px; /* 960px减去两侧边框宽度 */
      max-width: 100%; /* 确保不超过屏幕宽度 */
    }
    
    .locations-grid {
      grid-template-columns: repeat(4, 1fr);
    }
    
    /* 调整右边框（4列布局） */
    .location-region:not(:nth-child(4n)) {
      border-right: 1px dashed #ddd;
    }
    
    .location-region:nth-child(4n) {
      border-right: none;
    }
    
    /* 调整底边框（4列布局） */
    .location-region:not(:nth-child(n+5):nth-child(-n+8)) {
      border-bottom: 1px dashed #ddd;
    }
  }
  
  /* 添加响应式布局 - 大型屏幕 */
  @media (min-width: 1200px) {
    .locations-dropdown-content {
      width: 1198px; /* 精确控制宽度 */
    }
  }
}

/* 多选下拉框样式 */
.custom-dropdown.multi-select .options {
  max-height: 216px; /* 显示6个选项 (6 * 36px = 216px) */
  overflow-y: auto;
}

.custom-dropdown.multi-select .option {
  display: flex;
  align-items: center;
  cursor: pointer !important; /* 强制设置鼠标指针样式 */
}

.custom-dropdown.multi-select .option input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer !important; /* 确保复选框也有指针样式 */
}

/* 自定义复选框样式 */
.custom-dropdown.multi-select .option input[type="checkbox"]:checked,
.filter-checkbox input[type="checkbox"]:checked {
  accent-color: var(--primary-color);
}

.custom-dropdown.multi-select .selected {
  position: relative;
}

.custom-dropdown.multi-select .selected::after {
  content: "\f0d7";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* 带搜索功能的下拉框 */
.custom-dropdown.searchable .search-input-container {
  padding: 10px;
  position: sticky;
  top: 0;
  background-color: white;
  border-bottom: 1px solid #eee;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* 添加轻微阴影增强分隔感 */
}

.custom-dropdown.searchable .dropdown-search {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  font-size: 17px !important; /* 确保下拉搜索框字体大小与原始index.php一致 */
  transition: border-color 0.3s ease;
}

.custom-dropdown.searchable .dropdown-search:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2); /* 添加聚焦时的轻微阴影效果 */
}

/* 搜索框占位符文本样式 */
.custom-dropdown.searchable .dropdown-search::placeholder {
  color: #999;
  font-size: 15px;
}

.custom-dropdown.searchable .options {
  max-height: 300px;
  overflow-y: auto;
}

/* 复选按钮组样式 */
.filter-checkbox-group {
  display: flex;
  flex-wrap: nowrap;  /* 不换行 */
  gap: 0;  /* 移除间隙 */
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
}

.filter-checkbox:hover {
  background-color: #f0f0f0;
}

.filter-checkbox input[type="checkbox"] {
  margin-right: 8px;
  cursor: pointer !important; /* 确保复选框也有指针样式 */
}

.filter-checkbox .checkbox-label {
  font-size: 16px;
  color: #333;
}

.filter-checkbox input[type="checkbox"]:checked + .checkbox-label {
  color: var(--primary-color);
}

/* 调整筛选区域布局 */
.filter-dropdowns {
  display: flex;
  flex-wrap: wrap;
  gap: var(--filter-item-gap);
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}

.filter-dropdown {
  flex: 0 0 calc(16.666% - var(--filter-item-gap));
  min-width: 180px;
  box-sizing: border-box;
}

/* 移动端样式调整 */
@media (max-width: 991px) {
  .filter-dropdown {
    flex: 0 0 calc(50% - var(--filter-item-gap)); /* 每行2个 */
  }
  
  /* 移动端复选按钮样式 */
  .filter-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--filter-item-gap);
    justify-content: flex-start; /* 左对齐 */
  }
  
  .filter-checkbox {
    flex: 0 0 calc(50% - var(--filter-item-gap)/2); /* 每行2个，优化对齐 */
    margin-bottom: calc(var(--filter-item-gap) / 1.5);
    border-radius: var(--border-radius-sm); /* 恢复圆角 */
    border: 1px solid #ddd; /* 确保所有边都有边框 */
    background-color: #f9f9f9; /* 恢复背景色 */
  }
  
  .filter-checkbox .checkbox-label {
    font-size: 16px;
  }
  
  /* 超小屏设备（≤360px）的额外调整 */
  @media (max-width: 360px) {
    .filter-dropdown {
      flex: 0 0 100%; /* 每行1个 */
    }
    
    .filter-checkbox {
      flex: 0 0 100%; /* 超小屏幕上每行1个 */
    }
  }
}

/* PC端筛选区域表格式布局 - 仅限PC端 */
@media (min-width: 992px) {
  /* 修改筛选区域布局为表格式 */
  .filter-dropdowns {
    flex-wrap: nowrap;
    gap: 0; /* 移除间隙 */
    padding: 0; /* 移除内边距 */
  }
  
  .filter-dropdown {
    flex: 1;
    min-width: 0;
  }
  
  /* 下拉菜单样式 */
  .filter-dropdown .custom-dropdown {
    width: 100%;
    border-radius: 0;
    border: 1px solid #ddd;
  }
  
  /* 首尾项圆角处理 */
  .filter-dropdowns .filter-dropdown:first-child .custom-dropdown {
    border-top-left-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
  }
  
  .filter-dropdowns .filter-dropdown:last-child .custom-dropdown {
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
  }
  
  /* 右侧边框处理 */
  .filter-dropdown:not(:last-child) .custom-dropdown {
    border-right: 0;
  }
  
  /* 复选按钮组表格式布局 */
  .filter-checkbox-group {
    display: flex;
    flex-wrap: nowrap;  /* 不换行 */
    gap: 0;  /* 移除间隙 */
    width: 100%;
    box-sizing: border-box;
    padding: 0;
  }
  
  .filter-checkbox {
    flex: 1;  /* 平均分配空间 */
    border-radius: 0;  /* 移除所有圆角 */
    margin: 0;  /* 移除所有外边距 */
    padding: 10px 5px;  /* 调整内边距 */
    display: flex;
    justify-content: center;  /* 水平居中 */
    align-items: center;  /* 垂直居中 */
    text-align: center;  /* 文本居中 */
    background-color: white;  /* 背景改为白色 */
    border: 1px solid #ddd;
  }
  
  /* 首尾项圆角处理 */
  .filter-checkbox-group .filter-checkbox:first-child {
    border-top-left-radius: var(--border-radius-sm);
    border-bottom-left-radius: var(--border-radius-sm);
  }
  
  .filter-checkbox-group .filter-checkbox:last-child {
    border-top-right-radius: var(--border-radius-sm);
    border-bottom-right-radius: var(--border-radius-sm);
  }
  
  /* 右侧边框处理 */
  .filter-checkbox:not(:last-child) {
    border-right: 0;
  }
  
  /* 勾选状态样式 */
  .filter-checkbox input[type="checkbox"]:checked + .checkbox-label {
    color: var(--primary-color);
  }
  
  /* 悬停状态样式 */
  .filter-checkbox:hover {
    background-color: rgba(236, 72, 153, 0.1);  /* 使用与下拉选项相同的悬停背景 */
  }
}

/* 特定处理992px到1200px之间的视口宽度问题 */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* 确保ethnicity和providers的文字不会被遮挡 */
  .filter-dropdown .custom-dropdown .selected {
    font-size: 15px; /* 稍微减小字体大小 */
    padding: 8px 0px 8px 10px; /* 调整内边距 */
  }
  
  /* 确保下拉箭头不会占用太多空间 */
  .filter-dropdown .custom-dropdown .selected::after {
    right: 8px;
    font-size: 10px;
  }
  
  /* 下拉框展开后选项文字大小 */
  .filter-dropdown .custom-dropdown .option {
    font-size: 15px;
  }
  
  /* 第三行复选按钮组文字大小调整 */
  .filter-checkbox .checkbox-label {
    font-size: 16px; /* 与PC端保持一致的字体大小 */
  }
}

/* 筛选区域包装器统一样式 */
.filters-wrapper {
  width: 100%;
  box-sizing: border-box;
}

/* 统一所有过滤行的基础样式 */
.filter-row {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: var(--filter-section-gap);
}

/* 复选框标签样式优化 */
@media (min-width: 992px) {
  /* 优化复选框与标签的布局 */
  .filter-checkbox input[type="checkbox"] {
    margin-right: 5px;
  }
  
  .filter-checkbox .checkbox-label {
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%; /* 限制宽度以防文本溢出 */
  }
  
  /* 调整复选框容器在不同状态下的样式 */
  .filter-checkbox.active {
    background-color: rgba(236, 72, 153, 0.1);
  }
  
  /* 确保复选框在表格布局中整齐对齐 */
  .filter-checkbox input[type="checkbox"] {
    position: relative;
    top: -1px; /* 微调垂直对齐 */
  }
}

/* 多选且可搜索的下拉框 */
.custom-dropdown.multi-select.searchable .options {
  max-height: 261px; /* 6个选项 + 搜索框 (216px + 45px) */
}

/* 清理之前为特定下拉框设置的不同高度 */
@media (min-width: 992px) {
  /* 移除原有的PC端特定下拉菜单的特殊高度设置 */
  .filter-dropdown:nth-child(5) .custom-dropdown .options,
  .filter-dropdown:nth-child(6) .custom-dropdown .options,
  .filter-dropdown:nth-child(7) .custom-dropdown .options,
  .filter-dropdown:nth-child(8) .custom-dropdown .options,
  .filter-dropdown:nth-child(10) .custom-dropdown .options,
  .filter-dropdown:nth-child(11) .custom-dropdown .options {
    max-height: 180px; /* 统一为5个选项高度 */
    overflow-y: auto; /* 确保有垂直滚动条 */
  }
  
  /* 为第一行第5个(nationality)和第6个(ethnicity)下拉框设置滚动 */
  .filter-dropdown:nth-child(5) .custom-dropdown .options,
  .filter-dropdown:nth-child(6) .custom-dropdown .options {
    max-height: 180px; /* 5个选项高度 */
    overflow-y: auto;
  }
  
  /* 为第二行第1个(languages)、第2个(bust size)、第4个(height)和第5个(weight)下拉框设置滚动 */
  .filter-row:nth-child(2) .filter-dropdown:nth-child(1) .custom-dropdown .options,
  .filter-row:nth-child(2) .filter-dropdown:nth-child(2) .custom-dropdown .options,
  .filter-row:nth-child(2) .filter-dropdown:nth-child(4) .custom-dropdown .options,
  .filter-row:nth-child(2) .filter-dropdown:nth-child(5) .custom-dropdown .options {
    max-height: 180px; /* 5个选项高度 */
    overflow-y: auto;
  }
  
  /* 针对带搜索框的下拉菜单(nationality和languages) */
  .filter-dropdown:nth-child(5) .custom-dropdown.searchable .options,
  .filter-row:nth-child(2) .filter-dropdown:nth-child(1) .custom-dropdown.searchable .options {
    max-height: 225px; /* 5个选项 + 搜索框 */
  }
}

/* 筛选框溢出和下拉箭头修复 - PC端 */
@media (min-width: 992px) {
  /* 1. 筛选区域中的下拉框覆盖通用宽度设置 */
  .filter-dropdown .custom-dropdown {
    width: 100% !important; /* 强制覆盖通用230px宽度设置 */
    min-width: 0; /* 允许压缩至内容宽度以下 */
  }
  
  /* 2. 修复下拉箭头显示问题 */
  .filter-dropdown .custom-dropdown .selected {
    padding-right: 25px; /* 为箭头预留空间 */
    overflow: hidden;
    text-overflow: ellipsis; /* 文字过长显示省略号 */
  }
  
  .filter-dropdown .custom-dropdown .selected::after {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* 移动端筛选模块优化 */
@media (max-width: 991px) {
  /* Services, Nationality, Ethnicity, Languages搜索样式统一 */
  .custom-dropdown.searchable .options {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(150, 150, 150, 0.5) transparent;
  }
  
  /* 优化搜索框在移动端的样式 */
  .custom-dropdown.searchable .search-input-container {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }
  
  /* 优化搜索输入框 */
  .custom-dropdown.searchable .dropdown-search {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius-sm);
    font-size: 17px !important; /* 确保移动端下拉搜索框字体大小与原始index.php一致 */
  }
  
  /* breast, hair, height, weight垂直滚动条样式统一 */
  .filter-dropdown .custom-dropdown .options {
    max-height: 250px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(150, 150, 150, 0.5) transparent;
  }
  
  /* 滚动条样式定制 */
  .custom-dropdown .options::-webkit-scrollbar {
    width: 6px;
  }
  
  .custom-dropdown .options::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .custom-dropdown .options::-webkit-scrollbar-thumb {
    background-color: rgba(150, 150, 150, 0.5);
    border-radius: 6px;
  }
  
  /* 选项悬停效果统一 */
  .custom-dropdown .option:hover {
    background-color: rgba(236, 72, 153, 0.1);
  }
  
  /* 确保下拉菜单显示在其他内容之上 */
  .custom-dropdown.active .options {
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
  }
  
  /* 改进选项的触摸体验 */
  .custom-dropdown .option {
    padding: 10px 15px;  /* 增加内边距，改善触摸体验 */
    border-bottom: 1px solid #f5f5f5;
  }
  
  .custom-dropdown .option:last-child {
    border-bottom: none;
  }
  
  /* 确保多选下拉框中的复选框在移动端更容易点击 */
  .custom-dropdown.multi-select .option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
  
  /* 视觉反馈 - 点击时的颜色变化 */
  .custom-dropdown .option:active {
    background-color: rgba(236, 72, 153, 0.2);
  }
  
  /* 移动端按钮容器 */
  .mobile-filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
  }
  
  /* 按钮样式，参考Reset按钮 */
  .mobile-filter-btn {
    width: 100%;
    padding: 8px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    transition: all 0.3s ease;
  }
  
  /* 图标和文本间距 */
  .mobile-filter-btn i {
    margin-right: 8px;
  }
  
  /* 按钮悬停效果 */
  .mobile-filter-btn:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #f8f8f8;
  }
  
  /* 按钮激活状态 */
  .mobile-filter-btn:active {
    background-color: #f0f0f0;
    transform: translateY(1px);
  }
}

/* ================ Escort Detail Page Styles ================ */

/* 详情页容器 */
.detail-container {
  max-width: 1200px;
  margin: 75px auto 30px;
  padding: 0 15px;
}

/* 面包屑导航样式 */
.breadcrumb-container {
  margin-bottom: 5px;
}

.breadcrumb {
  padding: 10px 0;
  margin-bottom: 0;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  list-style: none !important;
}

.breadcrumb-item {
  font-size: 17px !important;
  display: flex !important;
  align-items: center !important;
}

.breadcrumb-item a {
  color: #ec4899 !important;
  text-decoration: none !important;
  font-size: 17px !important;
}

.breadcrumb-item a:hover {
  text-decoration: underline !important;
  color: #ec4899 !important;
}

.breadcrumb-item.active {
  color: #333 !important;
  font-size: 17px !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: ">" !important;
  color: #6c757d !important;
  padding: 0 8px !important;
  float: none !important;
}

/* 两栏布局容器 */
.detail-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* 左栏样式 - 基本的三分之一宽度 */
.detail-left-column {
  flex: 1;
  min-width: 300px;
}

/* 右栏样式 - 基本的三分之二宽度 */
.detail-right-column {
  flex: 2;
  min-width: 300px;
}

/* 模块卡片通用样式 */
.detail-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  overflow: hidden;
}

/* 卡片标题样式 */
.detail-card-title {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
  padding: 15px;
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}

/* 主图模块样式 */
.main-photo {
  position: relative;
}

.main-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  cursor: pointer;
}

/* 照片墙模块样式 */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 15px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* 全屏图片查看器样式更新 */
.fullscreen-gallery .gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
}

/* 视频区域样式 */
.video-container {
  padding: 15px;
}

.video-container video {
  width: 100%;
  border-radius: 4px;
}

/* 视频预览样式 */
.video-preview {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/9;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 4px;
}

.video-preview:hover .video-thumbnail {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  transition: background-color 0.3s ease;
}

.video-preview:hover .play-button {
  background-color: rgba(236, 72, 153, 0.9);
}

/* 全屏视频播放器样式 */
.fullscreen-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.video-player {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
  z-index: 1;
}

.video-player video {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 4px;
}

.video-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 20px;
  transition: background-color 0.3s ease;
  z-index: 15;
}

.video-close:hover {
  background-color: rgba(236, 72, 153, 0.9);
}

/* 移动端视频播放器样式调整 */
@media (max-width: 991px) {
  .video-player {
    width: 95%;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .video-close {
    width: 40px;
    height: 40px;
    font-size: 16px;
    top: 15px;
    right: 15px;
  }
}

/* 关于卡片样式 */
.about-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.about-info {
  flex: 1;
  min-width: 250px;
}

.about-actions {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.about-actions .btn {
  min-width: 120px;
}

.detail-page .escort-name {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 5px 0;
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.detail-page .verified-icon {
  color: #1e88e5;
  font-size: 18px;
  margin-left: 8px;
}



.detail-page .escort-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 8px;
}

.detail-page .escort-age, .detail-page .escort-location, .detail-page .escort-provider {
  font-size: 17px;
  color: #555;
}

.detail-page .escort-location i {
  color: #ec4899;
  margin-right: 4px;
}

.detail-page .last-online {
  font-size: 17px;
  color: #777;
}

.about-content {
  padding-bottom: 15px;
}

.about-text-container {
  position: relative;
  padding: 10px 15px 0;
}

.about-text-collapsed {
  display: block;
}

.about-text-expanded {
  display: none;
}

.about-text-container p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.read-more-btn, .read-less-btn {
  background-color: transparent;
  border: none;
  color: #ec4899;
  padding: 5px 0;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-less-btn {
  display: none;
}

/* 个人详情模块样式 */
.personal-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 15px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.detail-page .detail-label {
  font-size: 17px;
  color: #ec4899;
  margin-bottom: 4px;
}

.detail-page .detail-value {
  font-size: 17px;
  color: var(--text-color);
}

/* 联系信息模块样式 */
.contact-info {
  padding: 15px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .contact-buttons {
    flex-direction: row;
    justify-content: space-between;
  }
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  font-size: 17px;
}

.contact-btn i {
  margin-right: 8px;
  font-size: 18px;
}

.warning-text {
  margin-top: 15px;
  padding: 15px;
  background-color: rgba(236, 72, 153, 0.1);
  border-radius: 4px;
}

.warning-text p {
  color: #ec4899;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ec4899;
  font-size: 18px;
}

.contact-detail {
  flex: 1;
}

.contact-label {
  font-size: 14px;
  color: #777;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 16px;
  color: #333;
}

/* 工作时间模块样式 */
.schedule-container {
  padding: 15px;
  padding-right: 0px; /* 覆盖右侧内边距 */
}

.schedule-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.schedule-row:last-child {
  border-bottom: none;
}

/* 工作时间表第一行样式 */
.schedule-card .schedule-row:first-child {
  padding-top: 0;
  padding-bottom: 12px;
}

.day {
  width: 120px;
  font-weight: 400;
  color: #ec4899;
}

.hours {
  flex: 1;
  color: #555;
  padding-left: 40px; /* 向右移动10px */
  padding-right: 0px; 
}

.hours.available {
  color: #333;
}

.hours.unavailable {
  color: #333;
}

/* 费率和服务模块容器 */
.detail-flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.rates-card, .services-card {
  flex: 1;
  min-width: 250px;
}

/* 费率模块样式 */
.rates-table {
  padding: 15px;
}

.rate-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.rate-row:last-child {
  border-bottom: none;
}

/* 表头行样式 */
.rate-row.header-row {
  font-weight: 400;
  color: var(--text-color);
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 5px;
  padding-top: 0;      /* 添加这一行覆盖继承的上内边距 */
  padding-bottom: 12px;
}

.duration {
  font-weight: 400;
  color: #ec4899;
  flex: 1;
}

.price {
  font-weight: 400;
  color: var(--text-color);
  text-align: right;
  min-width: 70px;
}

/* 价格列样式 */
.price-column {
  flex: 1;
  text-align: right;
  min-width: 80px;
  max-width: 120px;
}

.header-row .price-column {
  color: #ec4899;
  font-size: 17px;
}

/* 添加价格类型标题和价格列样式 */
.price-type {
  font-weight: 500;
  color: #666;
  font-size: 14px;
  text-align: right;
  margin-left: 8px;
  min-width: 60px;
}

.price-columns {
  display: flex;
  align-items: center;
}

/* 服务模块样式 */
.services-list {
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 4px;
}

.service-item.available i {
  color: #4caf50;
}

.service-item.unavailable i {
  color: #f44336;
}

.service-item span {
  font-size: 14px;
  color: #333;
}

/* 全屏图片查看器样式 */
.fullscreen-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-image {
  max-width: 90%;
  max-height: 80vh;
  position: relative;
  z-index: 1; /* 添加较低的z-index */
}

.gallery-image img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.gallery-close, .gallery-prev, .gallery-next {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.7);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 20px;
  transition: background-color 0.3s ease;
  z-index: 10;
}

/* 修复Font Awesome图标在按钮中的居中问题 */
.gallery-close i, .gallery-prev i, .gallery-next i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  top: 1px; /* 微调垂直位置 */
}

/* 特别处理左右箭头的位置 */
.gallery-prev i {
  left: 2px; /* 轻微向左偏移以视觉居中 */
}

.gallery-next i {
  right: -2px; /* 轻微向右偏移以视觉居中 */
}

.gallery-close:hover, .gallery-prev:hover, .gallery-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.gallery-close {
  top: 20px;
  right: 20px;
  z-index: 15; /* 确保关闭按钮在最上层 */
}

.gallery-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* 添加阴影增强可见性 */
}

.gallery-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* 添加阴影增强可见性 */
}

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
}

/* 移动端样式 */
@media (max-width: 991px) {
  .detail-content {
    flex-direction: column;
  }
  
  .detail-left-column, .detail-right-column {
    width: 100%;
  }
  
  .about-header {
    flex-direction: column;
  }
  
  .about-actions {
    width: 100%;
  }
  
  .about-actions .btn {
    flex: 1;
  }
  
  .contact-item {
    flex-wrap: wrap;
  }
  
  .contact-action {
    width: 100%;
    margin-top: 10px;
  }
  
  .contact-action .btn {
    width: 100%;
  }
  
  /* 调整移动端全屏查看器样式 */
  .gallery-image {
    max-width: 85%; /* 减小图片容器宽度，给按钮留出空间 */
  }
  
  .gallery-prev, .gallery-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .gallery-prev {
    left: 10px; /* 调整左按钮位置，更靠近边缘但保持可见 */
  }
  
  .gallery-next {
    right: 10px; /* 调整右按钮位置，更靠近边缘但保持可见 */
  }
  
  /* 修复移动端按钮中图标的位置 */
  .gallery-prev i, .gallery-next i, .gallery-close i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  
  /* 移动端服务模块样式 */
  .service-row {
    padding: 12px 0;
  }
  
  .service-column {
    min-width: 60px;
  }
  
  .service-status span {
    font-size: 12px;
  }
  
  .service-status i {
    font-size: 14px;
  }
  
  /* detail页面移动端特定样式 */
  .detail-page .service-status span {
    font-size: 16px;
  }
  
  .detail-page .service-status i {
    font-size: 17px;
  }
}

/* WhatsApp按钮样式 */
.whatsapp-btn {
  background-color: #25D366;
  border-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
  border-color: #128C7E;
}

/* SMS按钮样式 - 仅移动端显示 */
.sms-btn {
  background-color: #6c757d;
  border-color: #6c757d;
}

.sms-btn:hover {
  background-color: #5a6268;
  border-color: #5a6268;
}

/* 移动端SMS按钮亮灰色样式 */
@media (max-width: 991px) {
  .sms-btn {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    border-color: #dee2e6 !important;
  }
  
  .sms-btn:hover {
    background-color: #e9ecef !important;
    color: #495057 !important;
    border-color: #dee2e6 !important;
  }
}

/* 移动端显示SMS按钮 */
@media (max-width: 991px) {
  .sms-btn {
    display: flex !important;
  }
}

/* PC端隐藏SMS按钮 */
@media (min-width: 992px) {
  .sms-btn {
    display: none !important;
  }
}

/* Telegram按钮样式 */
.telegram-btn {
  background-color: #0088cc;
  border-color: #0088cc;
}

.telegram-btn:hover {
  background-color: #006699;
  border-color: #006699;
}

/* Viber按钮样式 */
.viber-btn {
  background-color: #665cac;
  border-color: #665cac;
}

.viber-btn:hover {
  background-color: #554a91;
  border-color: #554a91;
}

/* Line按钮样式 */
.line-btn {
  background-color: #00c300;
  border-color: #00c300;
}

.line-btn:hover {
  background-color: #009900;
  border-color: #009900;
}

/* PC端联系按钮布局 */
@media (min-width: 992px) {
  /* 2个按钮时的布局 */
  .contact-buttons.two-buttons {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .contact-buttons.two-buttons .contact-btn {
    width: calc(50% - 7.5px);
  }
  
  /* 3个按钮时的布局 */
  .contact-buttons.three-buttons {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .contact-buttons.three-buttons .contact-btn {
    width: calc(33.333% - 10px);
  }
}

@media (max-width: 991.98px) {
  .detail-container {
    margin-top: 65px; /* 从75px减少到65px，实现15px的间距 */
  }
  
  /* ... existing code ... */
}

/* 电话按钮PC端样式 */
@media (min-width: 992px) {
  /* PC端显示Show Phone */
  .phone-btn .btn-text:first-of-type {
    font-size: 0;
  }
  
  .phone-btn .btn-text:first-of-type:after {
    content: "Show Phone";
    font-size: 16px;
  }
  
  /* 电话号码显示状态 */
  .phone-btn.show-number .btn-text:first-of-type {
    display: none;
  }
  
  .phone-btn.show-number .btn-text.show-phone {
    display: inline-block !important;
  }
  
  /* PC端显示号码后移除点击样式 */
  .phone-btn.show-number {
    cursor: default;
    pointer-events: none;
  }
  
  .phone-btn.show-number:hover {
    background-color: var(--primary-color);
    box-shadow: none;
    filter: none;
  }
}

/* 电话按钮显示号码状态 */
.phone-btn.show-number i {
  display: none;
}

/* Detail页面特定样式 - 仅在PC端隐藏搜索区域 */
@media (min-width: 992px) {
  .detail-page .search-section {
    display: none !important; /* 使用!important确保覆盖其他样式 */
  }
}

/* 服务模块样式 - 新表格布局 */
.services-table {
  padding: 15px;
}

.service-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.service-row:last-child {
  border-bottom: none;
}

/* 表头行样式 */
.service-row.header-row {
  font-weight: 400;
  color: #ec4899;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 5px;
  padding-top: 0;      /* 添加这一行覆盖继承的上内边距 */
  padding-bottom: 12px;
}

.service-name {
  font-weight: 400;
  color: #ec4899;
  flex: 1;
}

/* 服务状态列样式 */
.service-column {
  flex: 1;
  text-align: center;
  min-width: 80px;
  max-width: 120px;
}

.header-row .service-column {
  color: #ec4899;
  font-size: 17px;
}

.service-status {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-status.included i {
  color: #4caf50;
}

.service-status.extra i {
  color: #ec4899;
}

.service-status.unavailable i {
  color: #f44336;
}

.service-status span {
  margin-left: 5px;
  font-size: 14px;
}

.service-status.extra span {
  color: #ec4899;
  font-weight: 500;
}

/* 为detail页面添加特定样式 */
@media (min-width: 992px) {
  .detail-page .service-status i {
    font-size: 19px;
  }
  
  .detail-page .service-status span {
    margin-left: 5px;
    font-size: 17px;
  }
}

/* Working Detail Container Styles */
.working-detail-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.working-detail-left {
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 100%;
}

.working-detail-right {
  width: 100%;
}

.working-detail-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.working-detail-bottom {
  width: 100%;
}

/* PC端视口样式 - 重新设计布局 */
@media (min-width: 992px) {
  .working-detail-container {
    flex-direction: column;
    gap: 0; /* 移除容器间隙，调整Services上方间距为20px */
    align-items: stretch;
  }
  
  /* 上半部分：Availability + Rates 左右排列 */
  .working-detail-top {
    flex-direction: row;
    gap: 20px;
    margin-bottom: 0;
    align-items: stretch; /* 让子元素等高 */
  }
  
  .working-detail-left {
    flex: 1;
    max-width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
  }
  
  .working-detail-right {
    flex: 1;
    max-width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
  }
  
  /* 让卡片占满容器高度 */
  .working-detail-left .detail-card,
  .working-detail-right .detail-card {
    flex: 1;
  }
  
  /* 下半部分：Services 100%宽度 */
  .working-detail-bottom {
    width: 100%;
  }
  
  /* Services横向grid布局 - 参考Personal Details */
  .working-detail-bottom .services-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
  }
  
  /* 隐藏原有的表头行 */
  .working-detail-bottom .service-row.header-row {
    display: none;
  }
  
  /* 将每个service-row转换为grid项目 */
  .working-detail-bottom .service-row:not(.header-row) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-bottom: none;
    margin: 0;
    text-align: center;
  }
  
  /* 服务名称样式保持原有大小 */
  .working-detail-bottom .service-name {
    flex: 1;
    font-weight: 400;
    color: #ec4899;
    font-size: 17px; /* 保持原有字体大小 */
  }
  
  /* 隐藏服务状态图标 */
  .working-detail-bottom .service-column {
    display: none;
  }
}

/* 移动端视口样式 - 保持垂直布局 */
@media (max-width: 991.98px) {
  .working-detail-container {
    flex-direction: column;
  }
  
  .working-detail-left, 
  .working-detail-right {
    width: 100%;
  }
}

/* 移动端视口下模块间隙精确调整 */
@media (max-width: 991px) {
  /* Videos和About模块间隙调整为20px */
  .detail-left-column + .detail-right-column .about-card {
    margin-top: -20px;
  }
  
  /* Rates和Services模块间隙调整为20px */
  .working-detail-left .rates-card {
    margin-bottom: 0px;
  }
}

/* 为Outcall列添加右侧内边距 */
.rate-row .price-column:last-child {
  padding-right: 20px; /* 增加右侧内边距 */
}

/* Availability模块小屏幕适配 */
@media (max-width: 414px) {
  .hours {
    padding-left: 30px;
  }
}

@media (max-width: 390px) {
  .hours {
    padding-left: 10px;
  }
}

/* 移动端Working Detail模块间距调整 */
@media (max-width: 991px) {
  .working-detail-top {
    gap: 0; /* 移除Availability→Rates的容器间距，从40px调整为20px */
  }
  .working-detail-container {
    gap: 0; /* 移除Rates→Services的容器间距，从40px调整为20px */
  }
}

/* Disclaimer Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: none; /* 默认隐藏，通过JavaScript控制显示 */
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.disclaimer-modal {
  background-color: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.disclaimer-header {
  padding: 25px 25px 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.disclaimer-header h2 {
  color: var(--primary-color);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.disclaimer-header p {
  color: var(--text-color);
  font-size: 15px;
  margin: 0;
}

.disclaimer-content {
  padding: 20px 25px;
}

.disclaimer-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3px;
  line-height: 1.6;
}

.disclaimer-item:last-child {
  margin-bottom: 0;
}

.disclaimer-number {
  font-weight: 600;
  color: var(--primary-color);
  margin-right: 4px;
  min-width: 12px;
  font-size: 15px;
}

.disclaimer-text {
  color: var(--text-color);
  font-size: 14px;
  text-align: justify;
}

.disclaimer-buttons {
  padding: 15px 25px 25px;
  display: flex;
  gap: 15px;
  justify-content: center;
  border-top: 1px solid #eee;
}

.disclaimer-buttons .btn,
.disclaimer-buttons .btn-secondary {
  flex: 1;
  max-width: 150px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.disclaimer-buttons .btn:hover {
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.disclaimer-buttons .btn-secondary:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 767px) {
  .modal-overlay {
    padding: 15px;
  }
  
  .disclaimer-modal {
    max-height: 85vh;
    border-radius: var(--border-radius-sm);
  }
  
  .disclaimer-header {
    padding: 20px 18px 12px;
  }
  
  .disclaimer-header h2 {
    font-size: 22px;
  }
  
  .disclaimer-header p {
    font-size: 14px;
  }
  
  .disclaimer-content {
    padding: 18px;
  }
  
  .disclaimer-item {
    margin-bottom: 2px;
  }
  
  .disclaimer-text {
    font-size: 13px;
  }
  
  .disclaimer-buttons {
    padding: 12px 18px 20px;
    flex-direction: row;
  }
  
  .disclaimer-buttons .btn,
  .disclaimer-buttons .btn-secondary {
    max-width: none;
    padding: 14px 24px;
  }
}

@media (max-width: 360px) {
  .disclaimer-header h2 {
    font-size: 20px;
  }
  
  .disclaimer-content {
    padding: 15px;
  }
  
  .disclaimer-buttons {
    padding: 12px 15px 18px;
  }
}

@media (max-width: 991.98px) {
  .filter-dropdowns {
    gap: 10px 0;
  }
  .filter-dropdown {
    flex: 1 1 48%;
    min-width: 140px;
    max-width: 100%;
    margin-right: 4%;
    margin-bottom: 10px;
  }
  .filter-dropdown:nth-child(2n) {
    margin-right: 0;
  }
}

@media (min-width: 992px) {
  .filter-dropdowns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 0;
  }
  .filter-dropdown {
    flex: 1 1 calc(16.66% - 10px);
    min-width: 140px;
    max-width: 16.66%;
    margin-right: 0;
    /*margin-bottom: 15px;*/
    box-sizing: border-box;
  }
  .filter-dropdown:nth-child(6n) {
    margin-right: 0;
  }
}

@media (max-width: 991.98px) {
  .search-header,
  .search-grid {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .search-wrapper {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .search-section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
  }
}

@media (max-width: 991.98px) {
  .search-section {
    display: none !important;
  }
}

/* ... existing code ... */
.pagination li.active .page-link,
.pagination-wrapper ul.pagination li.active .page-link {
  background: #ec4899 !important;
  color: #fff !important;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
/* ... existing code ... */

/* ... existing code ... */
.no-match {
  color: #999;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  background: #fff;
  border-top: 1px solid #eee;
}
/* ... existing code ... */


