* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #856D35;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

.wrapper {
    max-width: 750px;
    margin: 0 auto;
    background-color: #fff;
    min-height: 100vh;
    padding-bottom: 60px;
}

.alizi-detail-wrap {
    position: relative;
}

/* 头部 */
.header {
    background-color: #EE3300;
    color: #fff;
    text-align: center;
    padding: 15px;
}

.header h1 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

/* 页面内容 */
.alizi-page {
    padding: 0;
    position: relative;
    z-index: 10;
}

/* 盒子样式 */
.box {
    background: #fff;
    margin: 10px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.box .title {
    background-color: #666666;
    color: #fff;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    border: none;
}

.box-content {
    padding: 20px 15px;
}

/* 电话号码显示 */
.box-phone {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    border-left: none;
    border-right: none;
    border-top: none;
}

.phone-display-wrapper {
    text-align: center;
    padding: 30px 0;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-display {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    width: 100%;
}

.phone-display.show {
    opacity: 1;
    transform: translateY(0);
}

.phone-number {
    font-size: 48px;
    font-weight: 700;
    color: #EE3300;
    letter-spacing: 6px;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    text-align: center;
}

/* 加载状态 */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f0f0f0;
    border-top-color: #EE3300;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-state p {
    color: #999;
    font-size: 14px;
}

/* 错误状态 */
.error-state {
    text-align: center;
}

.error-state p {
    color: #EE3300;
    font-size: 14px;
}

/* 轮播图区域 */
.box-slider {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    padding: 0;
    position: relative;
    z-index: 10;
}

.box-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    z-index: 10;
}

.newbanner {
    position: relative;
    width: 100%;
    z-index: 10;
}

.newflexslider {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 10;
}

.newslides {
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    width: 100%;
    z-index: 10;
}

.newslides li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    overflow: visible;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.newslides li.flex-active-slide {
    opacity: 1;
    z-index: 2;
    position: relative;
}

.newslides li img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

/* 分页指示器 */
.flex-control-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 8px;
}

.flex-control-nav li {
    margin: 0;
    padding: 0;
}

.flex-control-nav a {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    text-indent: -9999px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.flex-control-nav a.flex-active {
    background: #EE3300;
    width: 20px;
    border-radius: 4px;
}

/* 方向导航 */
.flex-direction-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 20;
}

.flex-direction-nav li {
    position: absolute;
    margin: 0;
    padding: 0;
}

.flex-direction-nav li:first-child {
    left: 10px;
}

.flex-direction-nav li:last-child {
    right: 10px;
}

.flex-direction-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    user-select: none;
}

.flex-direction-nav a:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.flex-direction-nav a:active {
    transform: scale(0.95);
}

.flex-prev::before {
    content: '‹';
}

.flex-next::before {
    content: '›';
}

/* 限时服务区域 */
.alizi-plug {
    margin-bottom: 20px;
}

/* 信任标签 */
.baoyou {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding: 15px 0;
}

.baoyou span {
    display: inline-block;
    padding: 8px 15px;
    background: #fff9e6;
    color: #EE3300;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ffeaa7;
    white-space: nowrap;
}

/* 拨打按钮 */
.gou {
    text-align: center;
    margin-top: 20px;
}

.call-btn {
    display: inline-block;
    background-color: #EE3300;
    color: #fff;
    text-decoration: none;
    padding: 18px 60px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(238, 51, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
    min-width: 200px;
}

.call-btn:hover,
.call-btn:active {
    background-color: #cc2a00;
    transform: scale(0.98);
    box-shadow: 0 2px 10px rgba(238, 51, 0, 0.3);
}

/* 服务优势 */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    text-align: center;
    margin-bottom: 10px;
}

.feature-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.alizi-detail-content {
    padding: 15px;
}

.alizi-detail-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 实时咨询滚动 */
.alizi-delivery {
    height: 280px;
    background: #fff;
    margin: 10px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    position: relative;
}

.alizi-scroll {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.alizi-scroll ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.alizi-scroll li {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    min-height: 60px;
}

.alizi-scroll li.even {
    background: #fafafa;
}

.alizi-scroll li p {
    margin: 5px 0;
    line-height: 1.6;
    color: #333;
}

.alizi-badge {
    display: inline-block;
    padding: 3px 10px;
    background: #EE3300;
    color: #fff;
    border-radius: 3px;
    font-size: 11px;
    margin-right: 8px;
    font-weight: 500;
}

.alizi-date {
    color: #999;
    font-size: 12px;
    margin-right: 8px;
}

/* 底部 */
.alizi-footer {
    text-align: center;
    padding: 20px 15px;
    color: #999;
    font-size: 12px;
    background: #fff;
    margin-top: 10px;
}

/* 底部导航 */
.alizi-foot-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 750px;
    background-color: #EE3300;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.alizi-foot-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.alizi-foot-nav li {
    flex: 1;
}

.alizi-foot-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    min-height: 60px;
}

.alizi-foot-nav strong {
    display: block;
    margin-top: 4px;
    font-weight: normal;
    font-size: 13px;
}

.alizi-foot-nav .am-icon-phone {
    font-size: 20px;
}

.alizi-up {
    position: absolute;
    right: 15px;
    top: -45px;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
}

.call-btn-bottom {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    min-width: auto !important;
}

.call-btn-bottom:hover,
.call-btn-bottom:active {
    background: rgba(255,255,255,0.1) !important;
    transform: none !important;
}

/* 清除浮动 */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .phone-number {
        font-size: 40px;
        letter-spacing: 4px;
    }

    .call-btn {
        padding: 16px 50px;
        font-size: 18px;
        min-width: 180px;
    }

    .box-image {
        height: auto;
    }

    .newbanner {
        height: auto;
    }

    .newflexslider {
        height: auto;
    }

    .newslides {
        height: auto;
    }

    .newslides li {
        height: auto;
    }

    .newslides li img {
        height: auto;
    }

    .flex-direction-nav a {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .flex-direction-nav li:first-child {
        left: 5px;
    }

    .flex-direction-nav li:last-child {
        right: 5px;
    }

    .flex-control-nav {
        bottom: 10px;
    }

    .flex-control-nav a {
        width: 6px;
        height: 6px;
    }

    .flex-control-nav a.flex-active {
        width: 16px;
    }

    .baoyou span {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 360px) {
    .phone-number {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .call-btn {
        padding: 14px 40px;
        font-size: 16px;
        min-width: 160px;
    }

    .alizi-timer {
        font-size: 20px;
    }

    .alizi-timer strong {
        min-width: 28px;
        padding: 5px 7px;
        font-size: 18px;
    }
}

/* 防止文本选择 */
.phone-number {
    user-select: none;
    -webkit-user-select: none;
}

/* 滚动条样式 */
.alizi-scroll::-webkit-scrollbar {
    width: 4px;
}

.alizi-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.alizi-scroll::-webkit-scrollbar-thumb {
    background: #EE3300;
    border-radius: 2px;
}

.alizi-scroll::-webkit-scrollbar-thumb:hover {
    background: #cc2a00;
}
