.da{
    width: 100%;
    background-color: #f5f0e7;
}
.breadcrumb {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
}
.breadcrumb a {
    color: #333;
    text-decoration: none;
}
.breadcrumb .current {
    color: #b97556;
}
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}
.page-title {
    text-align: center;
    margin-bottom: 40px;
    cursor: pointer;
}
.page-title h1 {
    font-size: 14px;
    color: #333;
    margin: 0 0 10px;
    font-weight: normal;
}
.page-title h2 {
    font-size: 20px;
    color: #b97556;
    margin: 0;
    font-weight: normal;
}
.fabric-top {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.fabric-desc-text {
    flex: 1;
    min-width: 250px;
}
.fabric-image-wrap {
    width: 40%;
    min-width: 280px;
    position: relative;
}
.magnifier-container {
    position: relative;
    width: 100%;
    cursor: crosshair;
    overflow: hidden;
}
.fabric-image {
    width: 100%;
    display: block;
}
.magnifier-lens {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 3px solid #b97556;
    border-radius: 50%;
    display: none;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}
.magnifier-img {
    position: absolute;
}
@media (max-width: 768px) {
    .magnifier-lens {
        width: 130px;
        height: 130px;
    }
}
.fabric-image-caption {
    text-align: center;
    font-size: 14px;
    margin-top: 12px;
    color: #555;
}
.accordion-miantiao-item {
    border-top: 1px solid #ccc;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    user-select: none;
}
.arrow-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}
.accordion-header:hover .arrow-icon {
    transform: scale(1.2) rotate(180deg);
    color: #b97556;
}
.accordion-miantiao-item.open .arrow-icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    font-size: 14px;
    line-height: 1.8;
}
.accordion-content-inner {
    padding-bottom: 15px;
}
.model-showcase {
    margin-top: 30px;
    margin-bottom: 60px;
}
.model-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.model-card {
    width: 434px;
    height: 600px;
    position: relative;
}
.model-card img {
    width: 434px;
    height: 600px;
    object-fit: cover;
    border-radius: 6px;
}
.style-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 26px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 33px;
}
.style-tab {
    font-size: 16px;
    padding: 8px 16px;
    cursor: pointer;
    color: #555;
    position: relative;
}
.style-tab:hover {
    color: #b97556;
}
.style-tab.active {
    color: #b97556;
    border-bottom: 2px solid #b97556;
}
.tab-input, .edit-textarea {
    font-size: 14px;
    padding: 6px 10px;
    width: 90%;
    border: 1px solid #b97556;
    border-radius: 4px;
    outline: none;
    min-height: 60px;
    resize: vertical;
}
.tab-input {
    min-height: auto;
    width: 120px;
}
.more-fabric {
    margin-top: 60px;
    text-align: center;
}
.fabric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fabric-grid-item {
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 1 / 1;
}
.fabric-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1.8s ease;
}
.fabric-grid-item:hover img {
    transform: scale(1.25);
}
.member-section {
    margin-top: 60px;
    text-align: center;
}
.perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.perk-item {
    text-align: center;
}
.perk-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #002663;
}
.admin_zi {
    position: absolute; top:10px; left:40px; text-align: center; background:#EA0307; color: #FFFFFF;font-size: 12px; width: 60px; height: 25px; line-height:25px;border-radius: 15px; cursor: pointer;
}
.admin_zi_upload {
   position: absolute; top:10px; left:40px; text-align: center; background:#5EA806; color: #FFFFFF;font-size: 12px; width: 60px; height: 25px; line-height:25px;border-radius: 15px; cursor: pointer;   
}
.edit-span {
    cursor: pointer;
    display: block;
    padding: 4px;
}
.edit-span:hover {
    background: #fff3e0;
}

/* 上传弹窗 */
.upload-mask {
    position: fixed; left:0; top:0; width:100%; height:100%; background:rgba(0,0,0,0.7); z-index:9999; display:none;
}
.upload-box {
    position: absolute; left:50%; top:50%; transform:translate(-50%,-50%); background:#fff; padding:30px; border-radius:10px; width:400px; text-align:center;
}
.upload-box h3 {
    margin:0 0 10px 0; font-size:16px; color:#333;
}
.upload-box p {
    color:#666; font-size:14px; margin:0 0 20px 0;
}
.upload-btn {
    background:#007bff; color:#fff; padding:10px 20px; border:none; border-radius:6px; cursor:pointer;
}
.progress {
    width:100%; height:6px; background:#eee; border-radius:3px; margin:15px 0; display:none;
}
.progress-bar {
    height:100%; background:#007bff; width:0%; border-radius:3px; transition:all 0.2s;
}
.progress-text {
    font-size:14px; color:#007bff; font-weight:bold; display:none;
}

/* ====================== AI 试衣弹窗样式（优化版） ====================== */
.ai-try-mask {
    position: fixed; left:0; top:0; width:100%; height:100%;
    background:rgba(0,0,0,0.85); z-index:99999; display:none;
}
.ai-try-box {
    position: absolute; left:50%; top:50%; transform:translate(-50%,-50%);
    width:1200px; background:#fff; border-radius:16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.ai-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: #b97556;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
}
.ai-close-btn:hover {
    background: #a05a40;
    transform: rotate(90deg);
}
.ai-box-inner {
    display: flex;
    min-height: 375px;
}
.ai-left {
    width: 30%;
    background: linear-gradient(135deg, #f8f5f0 0%, #f0ebe4 100%);
    border-radius: 16px 0 0 16px;
    padding: 30px 20px;
    text-align: center;
    border-right: 1px solid #e0d6cc;
}
.ai-left h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 50px;
}
.ai-preview {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #fff;
    margin: 0 auto 20px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 3px solid #b97556;
}
.ai-upload-btn {
    background: #b97556;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 80%;
}
.ai-upload-btn:hover {
    background: #a05a40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185,117,86,0.3);
}
.ai-right {
    width: 70%;
    padding: 30px 25px;
    background: #fff;
    border-radius: 0 16px 16px 0;
}
.ai-right h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 50px;
}
.ai-suits {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    justify-content: space-between;
}
.ai-suit-item {
    flex: 1;
    height: 320px;
    cursor: pointer;
    border: 2px solid #e0d6cc;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f9f6f2;
}

@media (max-width: 1200px) {
    .ai-suit-item {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .ai-suit-item {
        height: 180px;
    }
}
.ai-suit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #b97556;
}
.ai-suit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ai-suit-item.active {
    border-color: #b97556;
    box-shadow: 0 0 0 3px rgba(185,117,86,0.2);
}
.ai-generate-btn {
    background: #b97556;
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 50px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}
.ai-generate-btn:hover {
    background: #a05a40;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185,117,86,0.4);
}
.ai-generate-btn:active {
    transform: translateY(0);
}
.ai-result {
    margin-top: 20px;
    text-align: center;
    padding: 10px;
    background: #f9f6f2;
    border-radius: 10px;
    min-height: 100px;
}
.ai-result img {
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.ai-face-tip {
    font-size: 13px;
    margin-top: 10px;
    color: #666;
}
.ai-face-tip.success {
    color: #4caf50;
}
.ai-face-tip.error {
    color: #f44336;
}
.loading-text {
    color: #b97556;
    font-size: 14px;
    padding: 20px;
}

/* 人像检测进度条 */
.face-checking{
    position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);
    background:rgba(0,0,0,0.95);color:white;padding:30px 40px;
    border-radius:16px;z-index:10000;text-align:center;
    display:none;min-width:280px;backdrop-filter:blur(10px);
}
.face-checking.show{display:block;}
.face-checking .close-btn{
    position:absolute;top:12px;right:12px;width:28px;height:28px;
    background:rgba(255,255,255,0.2);border-radius:50%;
    display:flex;align-items:center;justify-content:center;
    cursor:pointer;font-size:18px;color:#fff;transition:all 0.2s;
}
.face-checking .progress-ring{
    position:relative;width:80px;height:80px;margin:0 auto 15px;
}
.face-checking .progress-ring svg{width:100%;height:100%;transform:rotate(-90deg);}
.face-checking .progress-ring circle{
    fill:none;stroke:#c87b57;stroke-width:4;stroke-linecap:round;
    stroke-dasharray:251.2;stroke-dashoffset:251.2;transition:stroke-dashoffset 0.3s ease;
}
.face-checking .progress-ring .circle-bg{
    stroke:rgba(255,255,255,0.2);stroke-dasharray:251.2;stroke-dashoffset:0;
}
.face-checking .progress-percent{
    position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    font-size:18px;font-weight:bold;color:#c87b57;
}

@media (max-width: 1200px) {
    .ai-try-box {
        width: 95%;
        margin: 0 20px;
    }
    .ai-suit-item {
        height: 150px;
    }
}
@media (max-width: 768px) {
    .ai-box-inner {
        flex-direction: column;
    }
    .ai-left, .ai-right {
        width: 100%;
        border-radius: 16px;
    }
    .ai-left {
        border-radius: 16px 16px 0 0;
        border-right: none;
        border-bottom: 1px solid #e0d6cc;
    }
    .ai-suits {
        flex-wrap: wrap;
    }
    .ai-suit-item {
        min-width: calc(33% - 10px);
    }
}

/* 科技感扫光动画 */
.ai-scanning-light {
    position: relative;
    overflow: hidden !important;
}
.ai-scanning-light::after {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 35%;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 50%, rgba(255,255,255,0) 100%);
    animation: scanTopBottom 1.4s ease-in-out infinite alternate;
    z-index: 9;
    pointer-events: none;
    border-radius: inherit;
}
@keyframes scanTopBottom {
    0% {top:-35%;}
    100% {top:100%;}
}

/* AI 结果大图弹窗 */
.ai-result-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.ai-result-modal.show {
    display: flex;
}
.ai-result-inner {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}
.ai-result-img {
    display: block;
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
}
.ai-result-close {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}
.ai-result-close:hover {
    background: #b97556;
    transform: rotate(90deg);
}
.ai-result-btns {
    display: flex;
    gap: 12px;
    padding: 15px 20px;
    background: #fff;
    justify-content: center;
}
.ai-result-btn {
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    font-weight: 50px;
}
.ai-download-btn {
    background: #b97556;
    color: #fff;
}
.ai-download-btn:hover {
    background: #a05a40;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185,117,86,0.3);
}
.ai-view-btn {
    background: #002663;
    color: #fff;
}
.ai-view-btn:hover {
    background: #001a42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,38,99,0.3);
}




/* ====================== 会员特权区块（修复错位专用） ====================== */
.member-section2 {
    background-color: #f5f0e7 !important;
    padding: 60px 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.member-section2 .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
.member-section2 .title-main {
    font-size: 32px !important;
    color: #002663 !important;
    font-weight: bold !important;
    margin: 0 0 20px !important;
}
.member-section2 .title-sub {
    font-size: 20px !important; 
    font-weight: bold !important; 
    color: #002663 !important;
    margin: 0 0 20px !important;
}
.member-section2 .privilege-title {
    font-size: 20px !important;
    color: #b97556 !important;
    margin: 0 0 60px !important;
}
.privilege-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    box-sizing: border-box !important;
}
.privilege-item {
    text-align: center !important;
    box-sizing: border-box !important;
}
.privilege-icon {
    font-size: 48px !important;
    margin-bottom: 20px !important;
    color: #333 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.privilege-name {
    font-size: 20px !important;
    color: #333 !important;
    font-weight: bold !important;
    margin: 0 0 10px !important;
}
.privilege-desc {
    font-size: 16px !important;
    color: #555 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* 移动端自适应 */
@media (max-width: 992px) {
    .privilege-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 576px) {
    .privilege-grid {
        grid-template-columns: 1fr !important;
    }
}

    
    /* AI试衣标题按钮 - 科技呼吸灯效果 */
#openAiTry h2 {
    width: 300px;
    height: 46px;
    border: 2px solid #BA7656;
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    background: #BA7656;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.3s ease;
    animation: aiScaleBreath 2.4s infinite ease-in-out;
}
/* 呼吸缩放：放大缩小循环 */
@keyframes aiScaleBreath {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* 白光从左边缘向右扫，只在按钮内部滑动 */
#openAiTry h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg,transparent,rgba(255,255,255,0.32),transparent);
    animation: sweepIn 3.2s infinite linear;
}
@keyframes sweepIn {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}
/* hover样式 */
#openAiTry h2:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(186, 118, 86, 0.7), inset 0 0 12px rgba(255,255,255,0.15);
}