/* 响应式移动端适配样式 - responsive.css */
/* 只在移动端生效，PC端保持不变 */

/* 移动端适配 - 屏幕宽度小于768px */
@media screen and (max-width: 768px) {
    /* ========== 基础布局重置 ========== */
    /* 首先覆盖所有min-width设置，防止PC端样式影响 */
    html, body {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    * {
        box-sizing: border-box;
    }
    
    html {
        overflow-x: hidden !important;
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }
    
    body {
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative;
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 覆盖所有可能的min-width设置 */
    * {
        min-width: 0 !important;
    }
    
    /* 但保留表格等需要最小宽度的元素 */
    table {
        min-width: auto !important;
    }
    
    img, video, iframe {
        min-width: 0 !important;
    }
    
    /* 特别处理可能设置了min-width的容器 */
    .container,
    .main,
    .content,
    .page,
    #container,
    #main,
    #content,
    #page {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* 所有容器宽度重置 */
    .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0 10px !important;
        margin: 0 auto !important;
        box-sizing: border-box;
    }
    
    /* 覆盖所有可能的容器min-width */
    div, section, article, aside, nav, header, footer, main {
        min-width: 0 !important;
    }
    
    /* ========== 头部区域 ========== */
    .topper {
        display: none !important;
    }
    
    .ui-bgbanner {
        display: none !important;
    }
    
    .header {
        width: 100% !important;
        height: auto !important;
        padding: 10px 0 !important;
        margin: 0 !important;
    }
    
    .header .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        display: flex;
    }
    
    .header .logo {
        width: 100% !important;
        max-width: 200px;
        margin: 10px auto !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-position: center !important;
        height: 50px;
    }
    
    .header .city-info {
        width: 100% !important;
        text-align: center;
        margin: 10px 0 !important;
        font-size: 12px;
    }
    
    .header .city-info .city {
        margin-bottom: 5px;
        font-size: 13px;
        overflow: hidden;
        white-space: nowrap;
    }
    
    .header .city-info .slogan {
        font-size: 11px;
    }
    
    .header .sch-wrap {
        width: 100% !important;
        margin: 10px 0 !important;
    }
    
    .header .schbar {
        width: 100% !important;
        display: flex;
    }
    
    .header .schbar .q {
        width: calc(100% - 50px) !important;
        font-size: 14px;
        padding: 8px 10px;
    }
    
    .header .ad {
        display: none !important;
    }
    
    /* 主导航菜单 */
    .nav {
        display: none !important;
    }
    
    /* 侧边导航 */
    #slidemenu {
        display: none !important;
    }
    
    /* ========== 轮播图区域 ========== */
    .full-slider {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
    
    .full-slider .banner {
        width: 100% !important;
        height: 200px !important;
        min-height: 180px;
        max-height: 250px;
    }
    
    .full-slider .banner .item {
        width: 100% !important;
        height: auto;
    }
    
    .full-slider .banner .item .img {
        width: 100% !important;
        height: auto !important;
        min-height: 180px;
        max-height: 250px;
        background-size: cover !important;
        background-position: center !important;
        display: block !important;
    }
    
    .full-slider .banner .item img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover;
        display: block !important;
    }
    
    /* 确保懒加载图片显示 - 由JS处理，CSS只设置容器 */
    .full-slider .banner .item .img[data-lazy] {
        min-height: 180px;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .slider-nav {
        display: none !important;
    }
    
    /* ========== 促销活动区域 ========== */
    .section-promo {
        width: 100% !important;
        padding: 10px 0 !important;
        margin: 0 !important;
    }
    
    .section-promo .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    /* banner下方的送老公/男神区域 - 确保宽度占满，整齐铺满 */
    .section-promo .hot_tab,
    .section-promo .list-hot-tab {
        display: none !important;
    }
    
    .activity_left {
        width: 100% !important;
        height: 440px !important;
        float: none !important;
        margin: 0 0 20px 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* 限时抢购 - 大图在上 */
    .activity_left .hwslider {
        width: 100% !important;
        order: 1 !important;
        margin-bottom: 10px !important;
    }
    
    /* 缩略图滚动区域 - 在下 */
    .activity_left .thumbs {
        width: 100% !important;
        order: 2 !important;
        margin-top: 0 !important;
    }
    
    .customer-center {
        display: none !important;
    }
    
    .customer-center .wx-box {
        text-align: center;
    }
    
    .customer-center .wx-box img {
        width: 120px !important;
        height: 120px !important;
        max-width: 120px !important;
    }
    
    /* ========== 产品列表 ========== */
    .lists-item .list_link .det .title {
        white-space: nowrap;
    }
    .lists-item .list_link .imgs {
        height: auto !important;
        border-bottom: none !important;
    }
    .plist {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    
    .plist li {
        width: 48% !important;
        margin: 0 0 15px 0 !important;
        float: none !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    .plist li .figure {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
    
    .plist li .figure img,
    .plist li .figure .lazy {
        width: 100% !important;
        height: 220px;
        display: block !important;
        max-width: 100% !important;
    }
    
    /* 懒加载图片支持 - 由JS处理，CSS只设置容器 */
    .plist li .figure img.lazy[data-lazy],
    .plist li .figure img[data-lazy] {
        height: 220px;
        background-color: #f5f5f5;
        display: block !important;
    }
    
    .lists-item {
        width: 48% !important;
        float: none !important;
        margin: 0 0 15px 0 !important;
        box-sizing: border-box;
    }
    
    .lists .lists-item {
        width: 48% !important;
    }
    
    .lists-item .imgs {
        width: 100% !important;
    }
    
    .lists-item .imgs img,
    .lists-item .imgs .lazy {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* ========== 楼层导航 ========== */
    .tab-box {
        width: 100% !important;
        flex-direction: column;
        padding: 10px 0 !important;
    }
    
    .floor-nav {
        width: 100% !important;
        margin-bottom: 10px;
    }
    
    .nav-middle {
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-nav {
        white-space: nowrap;
        display: flex;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .tab-nav .item {
        padding: 8px 15px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    /* ========== 侧边栏 ========== */
    .section-side {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }
    
    .section-cnt {
        width: 100% !important;
        flex-direction: column;
        display: flex;
    }
    
    .tab-wrap {
        width: 100% !important;
        float: none !important;
    }
    
    /* ========== 商品详情页 ========== */
    .section-focus {
        width: 100% !important;
        border: 0 !important;
        flex-direction: column;
        display: flex;
    }
    
    .goods-show {
        width: 100% !important;
        float: none !important;
        min-height: auto !important;
        margin: 0 0 20px 0 !important;
    }
    
    .goods-show .show-box {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .goods-show .show-big {
        width: 100% !important;
        height: auto !important;
        order: 1 !important;
        border-bottom: 1px solid #e5e5e5;
        margin-bottom: 10px !important;
        position: relative;
    }
    
    .goods-show .show-big .tumb-big {
        width: 100% !important;
        height: auto !important;
    }
    
    .goods-show .show-big .tumb-big img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .goods-show .show-big .zoomup,
    .goods-show .show-big .zoom-show {
        display: none !important;
    }

    .goods-show .show-small {
        width: 100% !important;
        order: 2 !important;
        position: relative;
    }
    
    .goods-show .tumbs {
        width: 100% !important;
        height: 80px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        flex-direction: row !important;
        white-space: nowrap !important;
        padding: 5px 0 !important;
        margin: 0 !important;
        list-style: none !important;
    }
    
    .goods-show .tumbs li {
        display: inline-block !important;
        width: 80px !important;
        height: 70px !important;
        flex-shrink: 0 !important;
        margin-right: 10px !important;
        vertical-align: top !important;
        cursor: pointer;
    }
    
    .goods-show .tumbs li img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
        border: 2px solid transparent;
        border-radius: 4px;
    }
    
    .goods-show .tumbs li.active img,
    .goods-show .tumbs .owl-item.active img {
        border-color: #e74c3c !important;
    }
    
    .goods-show .tumbs-nav {
        display: none !important;
    }

    .goods-info {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
        border-left: 0 !important;
        padding: 0 !important;
    }
    
    /* 商品标题区域 */
    .goods-info .title-box {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
    
    .goods-info .title-box .name-row {
        width: 100% !important;
        margin-bottom: 8px;
    }
    
    .goods-info .title-box .pnum {
        font-size: 12px;
        color: #999;
        margin-bottom: 5px;
    }
    
    .goods-info .title-box .tit {
        font-size: 18px;
        font-weight: bold;
        line-height: 1.4;
        word-break: break-all;
        color: #333;
    }
    
    .goods-info .title-box .pub {
        font-size: 14px;
        color: #666;
        margin-top: 8px;
    }
    
    /* 价格区域 */
    .goods-info .price-box {
        width: 100% !important;
        margin: 15px 0;
        padding: 15px;
        background: #f5f5f5;
        border-radius: 4px;
    }
    
    .goods-info .price-box .defbox {
        width: 100% !important;
    }
    
    .goods-info .price-box .op {
        font-size: 16px;
        margin-bottom: 5px;
        color: #333;
    }
    
    .goods-info .price-box .op .num {
        font-size: 24px;
        color: #e74c3c;
        font-weight: bold;
    }
    
    .goods-info .price-box .mp {
        font-size: 14px;
        color: #999;
    }
    
    /* 商品信息行 */
    .goods-info .row-info {
        width: 100% !important;
        margin: 12px 0;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }
    
    .goods-info .row-info dt {
        width: 80px;
        flex-shrink: 0;
        font-weight: normal;
        color: #666;
        margin: 0;
        padding: 0;
    }
    
    .goods-info .row-info dd {
        flex: 1;
        margin: 0;
        padding: 0;
        word-break: break-all;
        line-height: 1.6;
        color: #333;
    }
    
    .goods-info .row-info dd .lh {
        line-height: 1.8;
    }
    
    /* 商品操作按钮 - 移动端底部固定，一行显示 */
    .goods-info .goods-action {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 0 !important;
        z-index: 999 !important;
        background: #fff !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
    }
    
    .goods-info .goods-action .btn {
        flex: 1 !important;
        width: 50% !important;
        margin: 0 !important;
        padding: 14px 10px !important;
        font-size: 16px !important;
        text-align: center !important;
        line-height: 1.2 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 0 !important;
    }
    
    /* 左侧加入购物车按钮 */
    .goods-info .goods-action .add-to-cart {
        background: #dc143c !important;
        color: #fff !important;
    }
    
    /* 右侧立即购买按钮 */
    .goods-info .goods-action .buy-now {
        background: #ff8c00 !important;
        color: #fff !important;
    }
    
    /* 为底部按钮预留空间，防止内容被遮挡 - 已在上面定义 */
    
    /* 商品服务区域 */
    .goods-info .goods-service {
        width: 100% !important;
        margin: 20px 0;
        padding: 15px;
        background: #f9f9f9;
        border-radius: 4px;
    }
    
    .goods-info .goods-service .hotline {
        width: 100% !important;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }
    
    .goods-info .goods-service .hotline .ico {
        margin-right: 10px;
    }
    
    .goods-info .goods-service .hotline .cnt {
        flex: 1;
    }
    
    .goods-info .goods-service .hotline .cnt .tit {
        font-size: 14px;
        color: #666;
        margin-bottom: 5px;
    }
    
    .goods-info .goods-service .hotline .cnt .tel {
        font-size: 18px;
        color: #e74c3c;
        font-weight: bold;
    }
    
    .goods-info .goods-service .consult {
        width: 100% !important;
        display: flex;
        justify-content: space-around;
    }
    
    .goods-info .goods-service .consult .item {
        flex: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .goods-info .goods-service .consult .item .ico {
        width: 40px;
        height: 40px;
        margin-bottom: 5px;
    }
    
    .goods-info .goods-service .consult .item .label {
        font-size: 12px;
        color: #666;
    }
    
    /* 说明和服务承诺区域 */
    .section-alert {
        width: 100% !important;
        margin: 20px 0;
        padding: 15px 10px !important;
        background: #fff;
        box-sizing: border-box;
    }
    
    .section-alert .explain {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        padding: 12px 10px !important;
        background: #fff5f5 !important;
        border-left: 3px solid #e74c3c;
        border-radius: 4px;
        box-sizing: border-box;
    }
    
    .section-alert .explain .hd {
        font-weight: bold;
        color: #e74c3c;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .section-alert .explain .cnt {
        font-size: 13px;
        color: #666;
        line-height: 1.8 !important;
        word-break: break-all;
    }
    
    .section-alert .sc {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 15px;
        margin-left: 0 !important;
        box-sizing: border-box;
    }
    
    .section-alert .sc .hd {
        width: 100% !important;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
        font-size: 14px;
    }
    
    .section-alert .sc .item {
        flex: 0 0 calc(50% - 5px) !important;
        width: calc(50% - 5px) !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 0 10px 0 !important;
    }
    
    .section-alert .sc .item .ico {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
        display: block;
    }
    
    .section-alert .sc .item div {
        font-size: 13px;
        color: #666;
        line-height: 1.4;
    }
    
    /* 优势栏 */
    .advatage-bar {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin: 20px 0;
        padding: 15px 10px;
        height: auto;
        background: #f9f9f9;
    }
    
    .advatage-bar .item {
        flex: 1;
        min-width: calc(50% - 5px);
        text-align: center;
        font-size: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .advatage-bar .item .ico {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 8px;
    }
    
    .advatage-bar .item .label {
        color: #666;
        line-height: 1.4;
    }
    
    /* 商品详情标签页 */
    .desc-wrap {
        width: 100% !important;
        margin: 20px 0 0 0 !important;
        padding: 0 !important;
    }
    
    .desc-main {
        width: 100% !important;
        float: none !important;
        margin: 0 !important;
    }
    
    .desc-aside {
        width: 100% !important;
        float: none !important;
        margin: 0 0 20px 0 !important;
    }
    
    .desc-tabs {
        width: 100% !important;
        height: auto;
        line-height: normal;
        position: sticky !important;
        top: 0 !important;
        background: #fff;
        z-index: 100;
        border-bottom: 1px solid #eee;
        margin-bottom: 15px;
    }
    
    .desc-tabs .tab-nav {
        width: 100% !important;
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .desc-tabs .tab-nav .item {
        flex-shrink: 0;
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .desc-tabs .tool {
        display: none !important;
    }
    
    .desc-cnt {
        width: 100% !important;
        padding: 0 !important
    }
    
    .desc-cnt .tab-con {
        width: 100% !important;
    }
    
    .desc-typo {
        width: 100% !important;
    }
    
    .desc-typo img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .desc-comment {
        width: 100% !important;
    }
    
    .desc-comment .cmt-post {
        width: 100% !important;
        margin-bottom: 15px;
        padding: 15px;
        background: #f9f9f9;
        border-radius: 4px;
    }
    
    /* 侧边栏推荐 */
    .desc-aside .panel-hd {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 1px solid #eee;
    }
    
    /* 隐藏我的足迹 - 隐藏最后一个panel-hd（我的足迹标题） */
    .desc-aside .panel-hd:last-of-type {
        display: none !important;
    }
    
    /* 隐藏我的足迹的列表 - 隐藏最后一个aside-rec */
    .desc-aside .aside-rec:last-of-type {
        display: none !important;
    }
    
    .desc-aside .aside-rec {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        list-style: none;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .desc-aside .aside-rec li {
        width: calc(50% - 5px) !important;
        margin: 0 0 15px 0 !important;
        box-sizing: border-box;
    }
    
    .desc-aside .aside-rec li .figure {
        width: 100% !important;
        margin-bottom: 8px;
    }
    
    .desc-aside .aside-rec li .figure img {
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .desc-aside .aside-rec li .cnt {
        width: 100% !important;
    }
    
    .desc-aside .aside-rec li .cnt .name {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .desc-aside .aside-rec li .cnt .name a {
        color: #333;
        text-decoration: none;
    }
    
    .desc-aside .aside-rec li .cnt .price {
        font-size: 14px;
        color: #e74c3c;
        font-weight: bold;
    }
    
    .desc-aside .weixin-code {
        width: 100% !important;
        text-align: center;
        margin: 20px 0;
    }
    
    .desc-aside .weixin-code img {
        width: 150px !important;
        height: 150px !important;
        max-width: 150px !important;
    }
    
    .show-small {
        width: 100% !important;
        -webkit-overflow-scrolling: touch;
    }
    
    .show-small .tumbs {
        white-space: nowrap;
        display: flex;
    }
    
    .show-small .tumbs li {
        display: inline-block;
        width: 80px;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    /* ========== 购物车 ========== */
    .bar-step {
        display: none !important;
    }
    
    /* ========== 页脚 ========== */
    .fatfooter {
        width: 100% !important;
        padding: 0 !important;
    }
    
    .fatfooter .wrapper {
        width: 100% !important;
        flex-direction: column;
        padding: 20px 10px !important;
    }
    
    .fatfooter .col-links {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    /* 客户服务、服务支持、商品配送、售后服务 - 一行2个 */
    .fatfooter .col-links .col {
        width: calc(50% - 8px) !important;
        margin: 0 !important;
        padding: 0 48px !important;
        float: none !important;
        box-sizing: border-box;
    }
    
    .fatfooter .col-links .col:nth-child(odd) {
        border-left: none !important;
    }

    /* 北京鲜花网客服 - 独占一行 */
    .fatfooter .col-links .col:last-child {
        width: 100% !important;
    }
    
    .fatfooter .col .tit {
        font-size: 14px;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
    }
    
    .fatfooter .col .list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .fatfooter .col .list li {
        margin-bottom: 8px;
        font-size: 13px;
    }
    
    .fatfooter .col .list li a {
        color: #666;
        text-decoration: none;
    }
    
    .fatfooter .col-erwei {
        width: 100% !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px;
        margin-top: 20px;
        padding: 15px 0;
        border-top: 1px solid #555555;
    }
    
    /* 左侧二维码 */
    .fatfooter .col-erwei .code,
    .fatfooter .col-erwei > div:first-child {
        width: 50% !important;
        text-align: center;
        flex-shrink: 0;
    }
    
    .fatfooter .col-erwei .code img,
    .fatfooter .col-erwei > div:first-child img {
        width: 120px !important;
        height: 120px !important;
        max-width: 120px !important;
        display: block;
        margin: 0 auto 8px;
    }
    
    .fatfooter .col-erwei .code div,
    .fatfooter .col-erwei > div:first-child div {
        font-size: 13px;
        color: #666;
    }
    
    /* 右侧电话信息 */
    .fatfooter .col-erwei .info {
        width: 50% !important;
        text-align: left !important;
        flex-shrink: 0;
        margin-left: 0;
        padding-left: 0;
    }
    
    .fatfooter .col-erwei .info .tel {
        font-size: 18px;
        font-weight: bold;
        color: #e74c3c;
        margin-bottom: 8px;
    }
    
    .fatfooter .col-erwei .info > div {
        font-size: 13px;
        color: #666;
        line-height: 1.6;
        margin-bottom: 5px;
    }
    
    .ft-service {
        width: 100% !important;
    }
    
    .ft-service .inner-wrap {
        width: 100% !important;
        flex-direction: column;
        display: flex;
    }
    
    .ft-service .item {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
        text-align: center;
    }
    
    /* 页脚版权信息 */
    .footer {
        width: 100% !important;
        padding: 15px 10px 60px !important;
        background: #333;
        color: #999;
    }
    
    .footer .links {
        list-style: none;
        padding: 0;
        margin: 0 0 15px 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer .links li {
        font-size: 12px;
    }
    
    .footer .links li a {
        color: #999;
        text-decoration: none;
    }
    
    .footer .copyright {
        text-align: center;
        font-size: 12px;
        color: #999;
        line-height: 1.8;
    }
    
    .footer .copyright a {
        color: #999;
        text-decoration: none;
        display: inline-block;
        vertical-align: middle;
    }
    
    /* 京公网安备图标和文字同一行 */
    .footer .copyright a:last-child {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px;
        margin-left: 10px;
    }
    
    .footer .copyright a:last-child img {
        width: 16px !important;
        height: 16px !important;
        display: inline-block !important;
        vertical-align: middle;
        margin: 0 !important;
    }
    
    /* ========== 工具侧边栏 ========== */
    .ui-tools-side {
        display: none !important;
    }
    
    /* ========== 文字和标题 ========== */
    h1 {
        font-size: 1.5em !important;
    }
    
    h2 {
        font-size: 1.3em !important;
    }
    
    h3 {
        font-size: 1.2em !important;
    }
    
    /* ========== 按钮 ========== */
    .btn, .ui-btn-primary {
        padding: 10px 20px !important;
        font-size: 14px !important;
        width: 100% !important;
        box-sizing: border-box;
        text-align: center;
        display: block;
    }
    
    .buy-btn {
        width: 100% !important;
        padding: 8px 15px !important;
        font-size: 13px !important;
    }
    
    /* ========== 表单 ========== */
    .txtin-box {
        width: 100% !important;
        margin-bottom: 15px;
    }
    
    .txtin {
        width: 100% !important;
        box-sizing: border-box;
        font-size: 14px;
    }
    
    /* ========== 图片通用样式 ========== */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    /* 懒加载图片支持 - 确保图片能正常显示 */
    img.lazy,
    img[data-lazy] {
        min-height: 100px;
        background-color: #f5f5f5;
        opacity: 1 !important; /* 移动端直接显示，不等待懒加载 */
        display: block !important;
        visibility: visible !important;
    }
    
    /* 如果图片有src属性，确保显示 */
    img.lazy[src],
    img[data-lazy][src] {
        opacity: 1 !important;
    }
    
    /* data-lazy属性的div背景图 - 确保背景图能显示 */
    .img[data-lazy],
    div[data-lazy],
    .lazy[data-lazy] {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        min-height: 150px;
        display: block !important;
    }
    
    /* 轮播图懒加载特殊处理 - 由JS处理背景图加载 */
    .full-slider .banner .item .img[data-lazy] {
        min-height: 180px;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    /* 确保所有带data-lazy的图片元素都能显示 */
    [data-lazy] {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* ========== 清除浮动 ========== */
    .clearfix::after {
        content: "";
        display: table;
        clear: both;
    }
    
    /* 浮动元素清除 */
    .fl, .fr {
        float: none !important;
    }
    
    /* ========== 面包屑导航 ========== */
    .ui-router {
        width: 100% !important;
        font-size: 12px;
        padding: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    
    .ui-router .link,
    .ui-router .divider,
    .ui-router .cur {
        display: inline-block !important;
        vertical-align: middle !important;
        line-height: 1.5 !important;
        white-space: nowrap;
    }
    
    .ui-router .divider {
        margin: 0 5px !important;
        display: inline-block !important;
    }
    
    /* 确保图标和文字在同一行 */
    .ui-router a,
    .ui-router span {
        display: inline !important;
        vertical-align: middle !important;
    }
    
    /* ========== 列表页 ========== */
    .list_item {
        width: 48% !important;
        margin: 0 0 15px 0 !important;
        float: none !important;
    }
    
    /* ========== 专题页 ========== */
    .zhuanti-banner {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .zhuanti-banner img {
        width: 100% !important;
        height: auto !important;
    }
    
    /* ========== 文章列表 ========== */
    .article-list li {
        width: 100% !important;
        margin: 0 0 15px 0 !important;
    }
    
    /* ========== 用户中心 ========== */
    .layout-main {
        width: 100% !important;
        flex-direction: column;
        display: flex;
    }
    
    .layout-side {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }
    
    .layout-content {
        width: 100% !important;
    }
    
    /* ========== 订单列表 ========== */
    .order-list {
        width: 100% !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .order-list table {
        font-size: 12px;
        min-width: 600px;
    }
    
    .order-list table th,
    .order-list table td {
        padding: 8px 5px;
    }
    
    /* ========== 支付页面 ========== */
    .pay-methods {
        width: 100% !important;
        flex-direction: column;
        display: flex;
    }
    
    .pay-methods .method {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
    }
    
    /* ========== 简单头部 ========== */
    .header-sp {
        width: 100% !important;
        padding: 10px 0;
    }
    
    .header-sp .wrapper {
        width: 100% !important;
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }
    
    .header-sp .title {
        font-size: 12px;
        margin-top: 5px;
    }
    
    /* ========== 登录注册页面 ========== */
    .sign-wrap {
        width: 100% !important;
        padding: 20px 10px;
    }
    
    .panel {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* ========== 搜索列表 ========== */
    .sch-goods {
        width: 100% !important;
    }
    
    .sch-goods li {
        width: 48% !important;
        margin: 0 0 15px 0 !important;
        float: none !important;
    }
    
    /* ========== 相关购买 ========== */
    .related-buy {
        width: 100% !important;
        padding: 10px 0;
    }
    
    /* ========== 隐藏不必要的边缘元素 ========== */
    .bar-banner {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .bar-banner img {
        width: 100% !important;
        height: auto !important;
    }
    
    /* 虚拟横幅 */
    .virtual-banner {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .virtual-banner img {
        width: 100% !important;
        height: auto !important;
    }

    .pdt-wrap .virtual-banner {
        height: 150px !important;
    }

    .pdt-wrap .virtual-banner.b1 {
        height: 150px !important;
    }
    
    /* ========== 为您的爱情精挑细选区域 ========== */
    .section-pdt {
        width: 100% !important;
        padding: 15px 0 !important;
        margin: 0 !important;
    }
    
    .section-pdt .wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }
    
    .section-pdt .tab-box {
        width: 100% !important;
        height: auto !important;
        margin-bottom: 15px;
    }

    .section-pdt .tab-box .item {
        padding: 5px 5px;
        height: 50px !important;
    }

    .section-pdt .tab-wrap {
        height: auto !important;
    }
    
    .section-pdt .floor-nav {
        width: 100% !important;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
        padding: 0 !important;
    }
    
    .section-pdt .floor-nav .floor_icon {
        display: inline-block;
        background: #e74c3c;
        color: #fff;
        padding: 2px 8px;
        border-radius: 2px;
        margin-right: 8px;
        font-size: 14px;
    }
    
    .section-pdt .nav-middle {
        width: 100% !important;
        overflow-x: auto;
        display: flex;
        -webkit-overflow-scrolling: touch;
    }

    .section-pdt .section-cnt {
        margin-top: 80px !important;
        margin-right: 0 !important;
    }
    
    .section-pdt .tab-nav {
        white-space: nowrap;
        display: flex;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .section-pdt .tab-nav .item {
        padding: 6px 8px;
        font-size: 13px;
        flex-shrink: 0;
        margin-right: 10px;
    }
    
    /* 为您的爱情精挑细选 - 产品列表一行2个，格式精细 */
    .section-pdt .plist {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }

    .section-pdt .plist .action {
        position: relative;
        right: 0px;
        top: 0px;
        line-height: auto;
    }

    .section-pdt .plist .figure {
        height: 220px !important;
    }

    .section-pdt .plist .btn {
        height: 50px !important;
        line-height: 30px !important;
    }
    
    .section-pdt .plist li {
        width: calc(50% - 5px) !important;
        height: 365px !important;
        margin: 0 0 15px 0 !important;
        float: none !important;
        padding: 0 !important;
        box-sizing: border-box;
        background: #fff;
        border-radius: 4px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .section-pdt .plist li .figure {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        background: #f5f5f5;
    }
    
    .section-pdt .plist li .figure img,
    .section-pdt .plist li .figure .lazy {
        width: 100% !important;
        height: 220px;
        display: block !important;
        max-width: 100% !important;
    }
    
    .section-pdt .plist li .cnt {
        width: 100% !important;
        padding: 10px !important;
        box-sizing: border-box;
    }
    
    .section-pdt .plist li .cnt .name {
        width: 100% !important;
        font-size: 14px;
        margin-bottom: 8px;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .section-pdt .plist li .cnt .name a {
        color: #333;
        text-decoration: none;
    }
    
    .section-pdt .plist li .cnt .price {
        font-size: 18px;
        color: #e74c3c;
        font-weight: bold;
        margin-bottom: 10px;
    }
    
    .section-pdt .plist li .cnt .price .num {
        font-size: 20px;
    }
    
    .section-pdt .plist li .cnt .action {
        width: 100% !important;
    }
    
    .section-pdt .plist li .cnt .action .btn {
        width: 100% !important;
        padding: 10px !important;
        font-size: 14px !important;
        text-align: center;
        background: #e74c3c !important;
        color: #fff !important;
        border-radius: 4px;
        border: none;
        display: block;
    }
    
    /* ========== 新品上市区域 ========== */
    .index_lists {
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }
    
    .index_lists .tit {
        width: 100% !important;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 15px;
        padding-left: 50px !important;
        text-align: left !important;
        color: #333;
    }
    
    .index_lists .lists {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    
    .index_lists .lists-item {
        width: calc(50% - 5px) !important;
        height: auto !important;
        margin: 0 0 15px 0 !important;
        float: none !important;
        box-sizing: border-box;
        background: #fff;
        border-radius: 4px;
        overflow: hidden;
        border: 1px solid #f0f0f0;
    }

    .lists .lists-item:before {
        background-color: none !important;
    }
    
    .index_lists .lists-item .list_link {
        width: 100% !important;
        display: block;
        text-decoration: none;
    }
    
    .index_lists .lists-item .imgs {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        background: #f5f5f5;
    }
    
    .index_lists .lists-item .imgs img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .index_lists .lists-item .det {
        width: 100% !important;
        padding: 12px !important;
        box-sizing: border-box;
    }
    
    .index_lists .lists-item .det .det_info {
        width: 100% !important;
        height: auto !important;
        line-height: auto !important;
        display: block !important;
        margin-bottom: 10px;
        text-decoration: none;
    }
    
    .index_lists .lists-item .det .det_info .title {
        width: 100% !important;
        font-size: 14px;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        text-align: left !important;
        float: none !important;
    }
    
    .index_lists .lists-item .det .det_info .price {
        width: 100% !important;
        font-size: 18px;
        color: #e74c3c;
        font-weight: bold;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        float: none !important;
    }
    
    .index_lists .lists-item .det .det_buy {
        width: 100% !important;
        text-align: left !important;
        margin-top: 10px;
        float: none !important;
    }
    
    .index_lists .lists-item .det .det_buy .buy-btn {
        display: inline-block !important;
        width: 100% !important;
        height: auto !important;
        padding: 10px !important;
        font-size: 14px !important;
        background: #e74c3c !important;
        color: #fff !important;
        border-radius: 4px;
        text-decoration: none;
        text-align: center !important;
        border: none;
        box-sizing: border-box;
    }

    .sale-rank {
        display: none !important;
    }

    .other-order {
        display: none !important;
    }
    
    /* ========== 限时抢购区域 ========== */
    .hwslider {
        width: 100% !important;
        height: 350px !important;
        position: relative;
    }
    
    .hwslider ul {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    
    .hwslider ul li {
        width: 100% !important;
        display: none;
    }
    
    .hwslider ul li.active {
        display: block !important;
    }
    
    .hwslider ul li a {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        text-decoration: none;
    }
    
    .hwslider .big_pic {
        width: 100% !important;
        order: 1 !important;
        margin-bottom: 0 !important;
    }
    
    .hwslider .big_pic .pic {
        width: 100% !important;
        height: auto !important;
    }
    
    .hwslider .big_pic .pic img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .hwslider .wrap_right {
        width: 100% !important;
        order: 2 !important;
        padding: 10px !important;
        box-sizing: border-box;
        background: #fff;
    }
    
    .hwslider .wrap_right .title {
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 8px;
        color: #333;
    }
    
    .hwslider .wrap_right .desc {
        margin-bottom: 10px;
    }
    
    .hwslider .wrap_right .desc .txt {
        font-size: 13px;
        color: #666;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .hwslider .wrap_right .desc .prices {
        font-size: 18px;
        color: #e74c3c;
        font-weight: bold;
    }
    
    .hwslider .wrap_right .ljqg-btn {
        width: 100% !important;
        padding: 10px !important;
        background: #e74c3c;
        color: #fff;
        text-align: center;
        border-radius: 4px;
        font-size: 14px;
        margin-top: 10px;
    }
    
    .hwslider .arr {
        display: none !important;
    }
    
    /* ========== 确保所有容器不溢出 ========== */
    div, section, article, aside, nav {
        max-width: 100% !important;
    }
    
    /* 防止水平滚动 - 但保留必要的内部滚动 */
    * {
        max-width: 100%;
    }
    
    /* 表格容器允许横向滚动 */
    table {
        max-width: none;
    }
    
    /* ========== 特殊元素处理 ========== */
    /* 新品上市列表 */
    .lists_group {
        width: 100% !important;
        padding: 0 10px !important;
    }
    
    .lists_group .lists {
        width: 100% !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* 限时抢购区域 */
    .hwslider ul {
        width: 100% !important;
    }
    
    .hwslider .big_pic .pic {
        width: 100% !important;
    }
    
    .hwslider .big_pic .pic img {
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* 缩略图区域 - 固定高度，左右滑动 */
    .thumbs {
        width: 100% !important;
        height: 80px !important;
        -webkit-overflow-scrolling: touch;
        display: flex !important;
        flex-direction: row !important;
        white-space: nowrap !important;
        padding: 5px 0 !important;
    }
    
    .thumbs .layout {
        display: inline-block !important;
        width: 80px !important;
        height: 70px !important;
        flex-shrink: 0 !important;
        margin-right: 10px !important;
        vertical-align: top !important;
    }
    
    .thumbs .layout img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    /* 侧边栏图片 */
    .side-figure {
        width: 100% !important;
        height: auto !important;
    }
    
    .side-figure img,
    .side-figure .lazy {
        width: 100% !important;
        height: auto !important;
    }
    
    /* 新闻列表区域 */
    .section-news {
        width: 100% !important;
        padding: 10px 0 !important;
    }
    
    .section-news .wrapper {
        width: 100% !important;
        padding: 0 10px !important;
    }

    .new-notice .oo-list .pic {
        width: 83px !important;
    }

    .scrollText {
        padding: 7px 10px !important;
    }
    
    .panel-xw,
    .panel-pj {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    /* 链接区域 */
    .wrapper-link {
        width: 100% !important;
        padding: 0 10px !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .wrapper-link ul {
        white-space: nowrap;
        display: flex;
        flex-wrap: wrap;
    }
    
    /* 确保所有图片容器正确 */
    .figure,
    .imgs,
    .pic {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden;
    }
    
    /* 懒加载占位符 */
    .lazy {
        background-color: #f5f5f5;
        min-height: 150px;
    }
}

/* 小屏幕手机适配 - 屏幕宽度小于480px */
@media screen and (max-width: 480px) {
    .plist li {
        width: 100% !important;
    }
    
    .lists-item {
        width: 100% !important;
    }
    
    .list_item {
        width: 100% !important;
    }
    
    .sch-goods li {
        width: 100% !important;
    }
    
    .header .city-info {
        font-size: 11px;
    }
    
    .header .city-info .slogan {
        font-size: 10px;
    }
    
    body {
        font-size: 12px;
    }
    
    .tab-nav .item {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .btn, .ui-btn-primary {
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .full-slider .banner {
        height: 150px;
    }
    
    .full-slider .banner .item .img,
    .full-slider .banner .item img {
        height: 150px;
    }
}

/* 移动端菜单样式 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9998;
    overflow-y: auto;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    padding: 60px 20px 20px;
    margin: 0;
}

.mobile-nav ul li {
    border-bottom: 1px solid #333;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 0;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.mobile-nav-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
}

