/* =============================================

   移动端产品详情（商城风格）

   窗口宽度 <= 768px 时生效

   ============================================= */

@media (max-width: 768px) {



/* ---- 整体容器 ---- */

.mobile-detail-wrap {

    background-color: #fff;

    padding-bottom: 10px;

}



/* ---- 轮播图（全屏宽度） ---- */

.m-gallery {

    position: relative;

    width: auto;

    margin-left: -5vw;

    margin-right: -5vw;

    overflow: hidden;

    background: #faf6f0;

}



/* 移动端 header 高度占位 */

.page-banner {

    margin-top: var(--header-height-mobile);
    height: 35vw;
}



/* 面包屑文字 */

.breadcrumb {
    text-align: center;
    font-size: 15px;

}



.m-gallery-track {

    display: flex;

    transition: transform 0.3s ease;

}



.m-gallery-slide {
    padding: 10px ;

    min-width: 100%;

    aspect-ratio: 1 / 1;

    display: flex;

    align-items: center;

    justify-content: center;

}



.m-gallery-slide img {

    width: 100%;

    height: 100%;

    object-fit: contain;

}



/* 指示器小圆点 */

.m-gallery-dots {

    position: absolute;

    bottom: 12px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 6px;

    z-index: 2;

}



.m-dot {

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.5);

    transition: all 0.3s ease;

}



.m-dot.active {

    width: 18px;

    border-radius: 3px;

    background-color: #fff;

}



/* ---- 价格/标题 ---- */

.m-header-info {

    padding: 14px 16px 10px;

}



.m-price {

    font-size: 26px;

    font-weight: 700;

    color: #dca14d;

    line-height: 1.2;

}



.m-title {

    font-size: 17px;

    font-weight: 500;

    color: #222;

    line-height: 1.5;

    margin: 6px 0 4px;

}



.m-subtitle {

    font-size: 13px;

    color: #999;

    margin: 0;

}



/* ---- 分割块 ---- */

.m-section-block {

    padding: 0 16px;

    margin-top: 10px;

}



/* ---- 规格参数 ---- */

.m-params {

    border-top: 1px solid #f0f0f0;

    padding: 12px 0;

}



.m-param-item {

    display: flex;

    padding: 6px 0;

    font-size: 14px;

    line-height: 1.6;

}



.m-param-label {

    color: #999;

    width: 64px;

    flex-shrink: 0;

}



.m-param-value {

    color: #333;

    flex: 1;

}



/* ---- 图文详情 ---- */

.m-desc-section {

    margin-top: 10px;

    padding: 0 0 20px;

}



.m-desc-title {

    text-align: center;

    font-size: 14px;

    color: #bbb;

    letter-spacing: 2px;

    padding: 18px 0 14px;

    position: relative;

}



.m-desc-title::before,

.m-desc-title::after {

    content: '';

    display: inline-block;

    width: 24px;

    height: 1px;

    background: #ddd;

    vertical-align: middle;

    margin: 0 10px;

}



.m-desc-content {

    padding: 0 16px;

}



.m-desc-content h3 {

    font-size: 16px;

    font-weight: 600;

    color: #333;

    margin: 18px 0 8px;

}



.m-desc-content p {

    font-size: 14px;

    color: #555;

    line-height: 1.8;

    margin-bottom: 12px;

}



.m-desc-imgs {

    margin: 14px 0;

}



.m-desc-imgs img {

    width: 100%;

    height: auto;

    display: block;

    margin-bottom: 8px;

    border-radius: 4px;

}



}