/* 首页简洁版（Apple 风格） */
html { scroll-behavior: smooth; }
body { background: #fff; }

/* 覆盖商城默认容器宽度，让首页通栏 */
.body-content-container,
.body-content-formal-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #fff;
}

#apple-home {
    color: #1d1d1f;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #fff;
    overflow-x: hidden;
}
#apple-home * { box-sizing: border-box; }
#apple-home img { max-width: 100%; display: block; }
#apple-home a { text-decoration: none; color: inherit; }
#apple-home section { scroll-margin-top: 56px; }

.ah-wrap { max-width: 1180px; margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.ah-nav {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.ah-nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    height: 52px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ah-logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.ah-logo span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    color: #86868b;
}
.ah-nav-links { display: flex; gap: 32px; }
.ah-nav-links a {
    font-size: 13px;
    color: #1d1d1f;
    opacity: 0.82;
    transition: opacity 0.2s;
}
.ah-nav-links a:hover { opacity: 1; }
.ah-nav-actions { display: flex; gap: 18px; align-items: center; }
.ah-nav-icon { display: flex; color: #1d1d1f; opacity: 0.85; transition: opacity 0.2s; }
.ah-nav-icon:hover { opacity: 1; }

/* ---------- 免单幻灯片 ---------- */
.ah-carousel {
    position: relative;
    overflow: hidden;
    background: #f5f5f7;
}
.ah-track {
    display: flex;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.ah-slide { flex: 0 0 100%; display: block; }
.ah-slide img { width: 100%; height: auto; display: block; }
.ah-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #1d1d1f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: opacity 0.25s, background 0.2s;
    z-index: 2;
}
.ah-carousel:hover .ah-arrow,
.ah-carousel:focus-within .ah-arrow { opacity: 1; }
.ah-arrow:hover { background: #fff; }
.ah-prev { left: 22px; }
.ah-next { right: 22px; }
.ah-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 9px;
    z-index: 2;
}
.ah-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.22);
    cursor: pointer;
    transition: all 0.25s ease;
}
.ah-dot.is-active { width: 24px; border-radius: 5px; background: #1d1d1f; }
@media (hover: none) { .ah-arrow { opacity: 0.92; } }
@media (max-width: 620px) {
    .ah-arrow { display: none; }
    .ah-dots { bottom: 14px; }
}

/* ---------- 通用标题 ---------- */
.ah-h2 {
    margin: 0;
    font-size: clamp(30px, 3.6vw, 48px);
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.ah-h2-sub {
    margin: 16px auto 0;
    max-width: 560px;
    color: #6e6e73;
    font-size: 17px;
    line-height: 1.55;
}

/* ---------- 商品 ---------- */
.ah-products { padding: 108px 24px 96px; text-align: center; }
.ah-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 58px;
    text-align: left;
}
.ah-card {
    display: block;
    border-radius: 28px;
    transition: transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.ah-card:hover { transform: translateY(-5px); }
.ah-card-media {
    background: #f5f5f7;
    border-radius: 28px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    overflow: hidden;
}
.ah-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.ah-card:hover .ah-card-media img { transform: scale(1.04); }
.ah-card-ph { color: #86868b; font-size: 15px; }
.ah-card-body { padding: 22px 6px 6px; }
.ah-card-title {
    margin: 0;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.012em;
}
.ah-card-desc {
    margin: 7px 0 0;
    color: #6e6e73;
    font-size: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ah-card-price { margin: 14px 0 0; }
.ah-price { font-size: 18px; font-weight: 600; }
.ah-price-from { font-size: 14px; color: #6e6e73; margin-left: 2px; }
.ah-empty { grid-column: 1 / -1; color: #6e6e73; padding: 40px 0; }

/* ---------- 规则 ---------- */
.ah-rules { background: #f5f5f7; padding: 100px 24px 108px; text-align: center; }
.ah-rule-list {
    max-width: 820px;
    margin: 52px auto 0;
    padding: 0;
    list-style: none;
    counter-reset: ah-rule;
    text-align: left;
}
.ah-rule-list li {
    position: relative;
    counter-increment: ah-rule;
    background: #fff;
    border-radius: 18px;
    padding: 22px 28px 22px 64px;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #424245;
}
.ah-rule-list li::before {
    content: counter(ah-rule, decimal-leading-zero);
    position: absolute;
    left: 26px;
    top: 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #0071e3;
}
.ah-rule-list strong { color: #1d1d1f; font-weight: 600; margin-right: 4px; }

/* ---------- 页脚 ---------- */
.ah-foot {
    padding: 56px 24px 72px;
    border-top: 1px solid #d2d2d7;
    text-align: center;
    color: #6e6e73;
    font-size: 13px;
}
.ah-foot-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ah-foot-brand { margin: 0; font-size: 15px; font-weight: 600; color: #1d1d1f; }
.ah-foot-links { margin: 0; display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.ah-foot-links a { color: #424245; }
.ah-foot-links a:hover { color: #0071e3; }
.ah-foot-copy { margin: 0; color: #86868b; }

/* 隐藏商城自带的页脚（示范客服电话 / ICP 占位等），只保留本站极简页脚 */
.body-content-footer-container { display: none !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .ah-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 44px; }
    .ah-nav-links { gap: 20px; }
}
@media (max-width: 620px) {
    .ah-nav-links { display: none; }
    .ah-products, .ah-rules { padding: 68px 20px 72px; }
    .ah-grid { grid-template-columns: 1fr; gap: 26px; }
    .ah-card-media { border-radius: 22px; padding: 30px; }
    .ah-card-body { padding: 18px 2px 2px; }
    .ah-rule-list li { padding: 20px 20px 20px 52px; }
    .ah-rule-list li::before { left: 20px; top: 20px; }
    #apple-home { padding-bottom: 56px; }
}
