.elementor-2307 .elementor-element.elementor-element-1b448d5{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--align-items:center;}.elementor-2307 .elementor-element.elementor-element-67e9c7c{--display:flex;}.elementor-2307 .elementor-element.elementor-element-6325e74{width:var( --container-widget-width, 1400px );max-width:1400px;--container-widget-width:1400px;--container-widget-flex-grow:0;}.elementor-2307 .elementor-element.elementor-element-6325e74.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(min-width:768px){.elementor-2307 .elementor-element.elementor-element-67e9c7c{--content-width:1400px;}}/* Start custom CSS for shortcode, class: .elementor-element-6325e74 *//* ========== 搜索框整体容器 ========== */
.phone-search-wrap {
    width: 100%;
    margin: 40px auto 20px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

/* ========== 搜索框主容器（确保一行显示） ========== */
.phone-search-box {
    background: #ffffff;
    
    box-shadow: rgba(0,0,0,0.06);
    padding: 30px 30px 20px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;

    /* 关键：Flex 布局，强制不换行 */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* 防止主题或插件影响：搜索框内所有直接子元素恢复为 flex 项目 */
.phone-search-box > * {
    flex: 0 0 auto;
    display: inline-flex;      /* 用于 span 等，input 会自动适配 */
    align-items: center;
    justify-content: center;
    width: auto;               /* 覆盖可能设置的 width:100% */
    max-width: none;
    margin: 0;
}

/* 单独重置 input 的宽度和显示 */
.phone-search-box input.phone-search-digit {
    width: 56px !important;
    height: 56px;
    padding: 0;
    margin: 0;
    display: inline-block;     /* 显式设为 inline-block */
    flex: 0 0 auto;
    text-align: center;
    font-size: 24px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    background: #fafbfc;
    font-family: monospace;
    -webkit-appearance: none;  /* 移除 iOS 默认样式 */
    appearance: none;
}

.phone-search-box input.phone-search-digit:focus {
    border-color: #fc5952;
    background: #fff;
}

/* 前缀和分隔符统一红色 */
.phone-search-box .phone-search-prefix,
.phone-search-box .phone-search-separator {
    font-size: 28px;
    font-weight: 700;
    color: #fc5952;           /* 红色 */
    white-space: nowrap;
    letter-spacing: 2px;
    display: inline-block;
    line-height: 1;
}

/* 搜索按钮 */
.phone-search-box button {
    height: 56px;
    padding: 0 32px;
    background: #fc5952;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.phone-search-box button:hover {
    background: #e0483f;
}

/* 隐藏占位符（兜底，如果 PHP 未删除 placeholder） */
.phone-search-box input.phone-search-digit::placeholder {
    color: transparent;
    opacity: 0;
}

/* 提示文字和结果 */
.phone-search-tip {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.phone-search-result {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

/* ========== 号码卡片网格：桌面端一行5个 ========== */
.phone-number-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 30px auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ========== 卡片默认样式 ========== */
.phone-number-item {
    position: relative;
    text-align: center;
    background: #e6e6e6;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    padding: 20px 15px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.phone-number-item:hover {
    background: #fc5952;
    border-color: #fc5952;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.phone-number-item:hover .phone-number,
.phone-number-item:hover .phone-price {
    color: #ffffff;
}

.phone-number {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.5px;
    transition: color 0.25s ease;
}

.phone-price {
    font-size: 15px;
    color: #d33;
    margin-top: 8px;
    font-weight: 600;
    transition: color 0.25s ease;
}

/* ========== 提示框 ========== */
.phone-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #333333;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    min-width: 240px;
    max-width: 320px;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    white-space: normal;
}

.phone-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333333;
}

/* ========== 响应式适配（小屏允许换行） ========== */
@media (max-width: 768px) {
    .phone-search-box {
        flex-wrap: wrap;     
        padding: 16px 12px;
        gap: 2px;
    }

    .phone-search-box .phone-search-prefix,
    .phone-search-box .phone-search-separator {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .phone-search-box input.phone-search-digit {
        width: 24px !important;
        height: 26px;
        font-size: 18px;
    }
    .phone-search-box button {
        height: 26px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .phone-number-grid,
    .phone-number-grid.phone-search-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
    }
    .phone-number-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 12px 6px;
        min-height: 70px;
    }

    .phone-number-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px;
    }

    .phone-number {
        font-size: 14px;
        word-break: break-all;
        line-height: 1.2;
        white-space: normal;
    }

    .phone-price {
        font-size: 12px;
        margin-top: 6px;
        line-height: 1.2;
        word-break: break-word;
    }
}/* End custom CSS */