/* Vapsolo Showcase v5.3 - 优化布局和标签格式 */

/* 主容器 */
.cigarette {
    background-color: #fff;
}

/* 主展示区域 - 左右分栏布局 */
.cigarette .both {
    overflow: hidden;
    background-color: #f8f8f8;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

/* 产品图片 - 左侧60% */
.cigarette .both .pics {
    flex: 0 0 60%;
    max-width: 60%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cigarette .both .pics img {
    display: none;
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 0;
}

.cigarette .both .pics img.on {
    display: block;
}

/* 产品信息区域 - 右侧40% */
.cigarette .both .info {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.cigarette .both .info .lists {
    position: relative;
    width: 100%;
}

.cigarette .both .info .fitem {
    text-align: left;
    width: 100%;
    display: none;
    overflow: hidden;
}

.cigarette .both .info .fitem.on {
    display: block;
}

.cigarette .both .info .cpname {
    font-size: 30px;
    color: #000;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.cigarette .both .info .cpdesc {
    font-size: 15px;
    color: #000;
    line-height: 14px;
    white-space: pre-line;
}

/* Tab切换按钮 - 圆形网格布局 */
.cigarette .tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%;
}

.cigarette .tabs .tab {
    font-size: 14px;
    color: #000;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid transparent;
    transition: all 0.4s;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cigarette .tabs .tab:hover {
    border-color: #000;
    transform: scale(1.05);
}

.cigarette .tabs .tab.on {
    border-color: #000;
    background-color: #f0f0f0;
    font-weight: 700;
}

.cigarette .tabs .tab p {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
}

.cigarette .tabs .tab img {
    display: block;
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 50%;
}

/* 购买按钮 */
.cigarette .buttons {
    margin-top: 25px;
}

.cigarette .button {
    display: none;
    width: 200px;
    height: 50px;
    border: 2px solid #000;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    line-height: 46px;
    text-align: center;
    transition: all .3s;
    text-decoration: none;
}

.cigarette .button.on {
    display: inline-block;
}

.cigarette .button:hover {
    background-color: #000;
    color: #fff;
}

/* 悬浮Logo - hover效果 */
.cigarette .moveimg {
    position: absolute;
    left: 10vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
    width: 15%;
    max-width: 150px;
    transition: all 1.5s;
    opacity: 1;
    pointer-events: none;
}

.cigarette .moveimg.active {
    transform: translateY(-50%) scale(1.2) rotate(15deg);
    left: 45vw;
    z-index: 12;
}

.cigarette .moveimg img {
    display: none;
    width: 100%;
}

.cigarette .moveimg img.on {
    display: block;
}

/* 响应式设计 - 1400px */
@media (max-width: 1400px) {
    .cigarette .tabs {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .cigarette .tabs .tab {
        width: 70px;
        height: 70px;
    }
    
    .cigarette .tabs .tab img {
        width: 30px;
        height: 30px;
    }
}

/* 响应式设计 - 1200px */
@media (max-width: 1200px) {
    .cigarette .both {
        min-height: 500px;
    }
    
    .cigarette .both .pics {
        padding: 20px;
    }
    
    .cigarette .both .info {
        padding: 30px;
    }
    
    .cigarette .both .info .cpname {
        font-size: 26px;
    }
    
    .cigarette .both .info .cpdesc {
        font-size: 15px;
    }
    
    .cigarette .tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .cigarette .tabs .tab {
        width: 65px;
        height: 65px;
    }
    
    .cigarette .tabs .tab img {
        width: 28px;
        height: 28px;
    }
    
    .cigarette .tabs .tab p {
        font-size: 9px;
    }
    
    .cigarette .moveimg {
        display: none;
    }
}

/* 响应式设计 - 768px - 切换为垂直布局 */
@media (max-width: 768px) {
    .cigarette .both {
        flex-direction: column;
        min-height: auto;
    }
    
    .cigarette .both .pics,
    .cigarette .both .info {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 20px;
    }
    
    .cigarette .both .info {
        gap: 15px;
    }
    
    .cigarette .both .info .cpname {
        font-size: 22px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .cigarette .both .info .cpdesc {
        font-size: 20px;
        text-align: center;
        line-height: 1.5;
    }
    
    .cigarette .tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-top: 15px;
    }
    
    .cigarette .tabs .tab {
        width: 55px;
        height: 55px;
        padding: 5px;
    }
    
    .cigarette .tabs .tab img {
        width: 25px;
        height: 25px;
        margin-bottom: 3px;
    }
    
    .cigarette .tabs .tab p {
        font-size: 8px;
    }
    
    .cigarette .buttons {
        text-align: center;
        margin-top: 20px;
    }
    
    .cigarette .button {
        width: 160px;
        height: 44px;
        line-height: 40px;
        font-size: 16px;
    }
}

/* 响应式设计 - 480px */
@media (max-width: 480px) {
    .cigarette .both .info .cpname {
        font-size: 20px;
    }
    
    .cigarette .both .info .cpdesc {
        font-size: 13px;
    }
    
    .cigarette .tabs {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }
    
    .cigarette .tabs .tab {
        width: 50px;
        height: 50px;
        padding: 4px;
    }
    
    .cigarette .tabs .tab img {
        width: 22px;
        height: 22px;
        margin-bottom: 2px;
    }
    
    .cigarette .tabs .tab p {
        font-size: 7px;
    }
}