@charset "utf-8";

/* ==========================================================================
   site.css — 视觉增强层
   在 style.css / style4.css 之后加载，只做「增强」，不改动原有布局骨架与交互逻辑。
   品牌主色：#f67777（模板粉）  强调色：#198ede（分页蓝）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 首页横幅
   -------------------------------------------------------------------------- */
.banner {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 1199px) {
    .banner { height: 520px; }
}

@media (max-width: 991px) {
    .banner { height: 420px; }
}

@media (max-width: 767px) {
    .banner { height: 260px; }
}

/* 内容区上下留白，取代原先堆叠的 <br> */
.content-mid {
    padding: 2.5em 0 1.5em;
}

/* 商品列表页整体呼吸空间（取代原先 footer 前堆叠的 <br>） */
.single {
    padding: 24px 0 40px;
}

.single .product-bottom {
    padding-right: 26px;
}

@media (max-width: 991px) {
    .single .product-bottom {
        padding-right: 15px;
        padding-bottom: 24px;
    }
}

/* --------------------------------------------------------------------------
   2. 商品卡片
   -------------------------------------------------------------------------- */
.mid-popular {
    padding-top: 0;
}

.mid-popular::after {
    content: "";
    display: block;
    clear: both;
}

.mid-popular .item-grid {
    padding: 14px;
}

.mid-popular .mid-pop {
    position: relative;
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.mid-popular .mid-pop:hover {
    transform: translateY(-4px);
    border-color: #f8d9d9;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .10);
}

/* 图片区：固定高度 + 等比缩放 + 居中 */
.mid-popular .mid-pop .pro-img {
    position: relative;
    height: 190px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    overflow: hidden;
}

.mid-popular .mid-pop .pro-img > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.mid-popular .mid-pop .pro-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.mid-popular .mid-pop:hover .pro-img img {
    transform: scale(1.06);
}

/* 悬停操作按钮：整块遮罩 + 居中圆形按钮 */
.mid-popular .mid-pop .zoom-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    background: rgba(0, 0, 0, .16);
    transition: opacity .25s ease;
    z-index: 3;
}

.mid-popular .mid-pop .pro-img:hover .zoom-icon {
    top: 0;
    opacity: 1;
    filter: none;
    -ms-filter: none;
}

.mid-popular .mid-pop .zoom-icon .icon {
    width: 46px;
    height: 46px;
    line-height: 46px;
    font-size: 17px;
    border-radius: 50%;
    margin: 0 6px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    transition: transform .2s ease;
}

.mid-popular .mid-pop .zoom-icon a:hover .icon {
    transform: translateY(-2px);
}

/* 文字区 */
.mid-popular .mid-pop .mid-1 {
    position: relative;
    flex: 1 1 auto;
    height: auto;
    min-height: 88px;
    padding: 12px 12px 14px;
}

.mid-popular .mid-pop .women {
    position: relative;
}

.mid-popular .mid-pop .women-top {
    position: static;
    float: none;
    min-height: 58px;
}

.mid-popular .mid-pop .women-top > span {
    display: inline-block;
    padding: 4px 9px;
    font-size: 11px;
    line-height: 1.1;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #f67777;
    background: #fff2f2;
    border-radius: 999px;
}

.mid-popular .mid-pop .mid-1 h6 {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.45;
    font-family: inherit;
}

.mid-popular .mid-pop .mid-1 h6 a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
    overflow-wrap: anywhere;
    word-break: break-word;
    transition: color .2s ease;
}

.mid-popular .mid-pop .mid-1 h6 a:hover {
    color: #f67777;
}

/* 加入购物车按钮：图片区右下角悬浮，hover 显现 */
.mid-popular .mid-pop .pro-img .item_add {
    position: absolute;
    right: 10px;
    bottom: 10px;
    float: none;
    margin: 0;
    z-index: 4;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
}

.mid-popular .mid-pop:hover .pro-img .item_add {
    opacity: 1;
    transform: none;
}

.mid-popular .mid-pop .pro-img .item_add a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: #f67777;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.mid-popular .mid-pop .pro-img .item_add a:hover {
    background: #f67777;
    color: #fff;
    transform: scale(1.06);
}

/* 列表页卡片不含价格/评分数据，隐藏空白的星级行，避免占位 */
.mid-popular .mid-pop .mid-2 {
    display: none;
}

/* --------------------------------------------------------------------------
   3. 分页（与 products.html 内联样式配合增强）
   -------------------------------------------------------------------------- */
.tem_main_m_fy a:hover {
    box-shadow: 0 2px 8px rgba(25, 142, 222, .18);
}

.tem_main_m_fy a.page-prev,
.tem_main_m_fy a.page-next {
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   4. 顶部导航下拉
   -------------------------------------------------------------------------- */
.navbar-nav > li.mega-dropdown > .dropdown-menu {
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, .10);
}

/* --------------------------------------------------------------------------
   5. 加载指示器：改为视口居中，避免偏出屏幕
   -------------------------------------------------------------------------- */
#loadingImg {
    position: fixed;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    margin: 0;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

#loadingImg img {
    width: 44px;
    height: 44px;
}

/* --------------------------------------------------------------------------
   6. 商品详情页
   -------------------------------------------------------------------------- */
/* 相关商品 / 热款商品区块标题 */
.product-section {
    margin-top: 48px;
}

.product-section .section-title {
    margin: 0 0 10px;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    color: #222;
    font-family: inherit;
}

/* 颜色 / 尺码选项（原模板为黑色粗边框 + 蓝色文字） */
.productColor > li,
.productSize > li,
.productSoleColor > li {
    float: none !important;
    display: inline-block;
    margin: 0 8px 8px 0;
    list-style: none;
    vertical-align: top;
}

.productColor > li > a,
.productSize > li > a,
.productSoleColor > li > a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.productColor > li > a:hover,
.productSize > li > a:hover,
.productSoleColor > li > a:hover {
    color: #f67777;
    border-color: #f67777;
}

.productColor > li > a.activeA,
.productSize > li > a.activeA,
.productSoleColor > li > a.activeA {
    color: #fff;
    background: #f67777;
    border-color: #f67777;
}

/* 自定义颜色/尺码输入框 */
.productColor > li > input,
.productSize > li > input {
    height: 30px;
    padding: 0 10px;
    font-size: 13px;
    border: 1px solid #e3e3e3;
    border-radius: 16px;
    outline: none;
}

.productColor > li > input:focus,
.productSize > li > input:focus {
    border-color: #f67777;
}

/* 规格行：改为 grid 两列，label 列宽 = 最长文案宽度，冒号与右侧内容统一对齐 */
.price_single .spec-rows {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: start;
    column-gap: 14px;
    row-gap: 10px;
    margin-top: 14px;
}

/* 行容器只用来「整行隐藏」不参与布局，子元素直接进 grid */
.price_single .spec-row {
    display: contents;
}

.price_single .spec-row.is-empty {
    display: none;
}

.price_single .spec-label {
    padding-top: 7px; /* 与 32px 高的胶囊按钮文字垂直居中 */
    font-size: 14px;
    line-height: 20px;
    color: #666;
    text-align: right;
    white-space: nowrap;
}

/* 材质 / 工艺 / 出厂包装为纯文本，不需要额外下移 */
.price_single .spec-label.spec-label-plain {
    padding-top: 0;
}

.price_single .spec-value {
    min-width: 0;
}

.price_single .spec-text {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* 「其他颜色 / 其他码段」自定义输入框：默认隐藏，选中对应选项才出现 */
.spec-chips > li > input.spec-other {
    display: none;
    width: 150px;
    height: 32px;
    padding: 0 12px;
    font-size: 13px;
    line-height: 30px;
    color: #333;
    background: #fff;
    border: 1px solid #f67777;
    border-radius: 20px;
    outline: none;
}

.spec-chips > li > input.spec-other.is-open {
    display: inline-block;
}

.spec-chips > li > input.spec-other::placeholder {
    color: #bbb;
}

@media (max-width: 480px) {
    .price_single .spec-rows {
        column-gap: 10px;
    }

    .price_single .spec-label,
    .price_single .spec-text {
        font-size: 13px;
    }

    .spec-chips > li > input.spec-other {
        width: 120px;
    }
}

/* --------------------------------------------------------------------------
   7. 关于我们
   -------------------------------------------------------------------------- */
/* 原模板把 .wrap2 写死 1400px，在 bootstrap container(1170px) 内会横向溢出 */
.wrap2 {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-intro {
    padding: 6px 0 40px;
}

.about-hero {
    text-align: center;
    margin-bottom: 30px;
}

.about-name {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.3;
    color: #222;
    font-family: inherit;
}

.about-lead {
    margin: 0;
    font-size: 15px;
    color: #999;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.about-stats .stat {
    padding: 18px 10px;
    text-align: center;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    transition: border-color .2s ease, transform .2s ease;
}

.about-stats .stat:hover {
    border-color: #f8d9d9;
    transform: translateY(-2px);
}

.about-stats .stat strong {
    display: block;
    font-size: 23px;
    line-height: 1.2;
    color: #f67777;
    font-weight: 700;
}

.about-stats .stat .unit {
    font-size: 13px;
    margin-left: 2px;
    font-weight: 400;
}

.about-stats .stat > span {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #8a8a8a;
}

.about-desc {
    margin: 0 0 34px;
    padding: 20px 24px;
    font-size: 15px;
    line-height: 1.95;
    color: #555;
    background: #fafafa;
    border-left: 3px solid #f67777;
    border-radius: 0 10px 10px 0;
}

.about-advantages h2 {
    margin: 0 0 16px;
    font-size: 22px;
    color: #222;
    font-family: inherit;
}

.about-advantages ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-advantages li {
    position: relative;
    padding: 14px 18px 14px 40px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.about-advantages li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 21px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f67777;
}

/* 新闻列表：原先 dl 写死 1200px + dd 900px，会超出容器 */
.new .news-list dl {
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
}

.new .news-list .news-date {
    width: 140px;
}

.new .news-list .news-body {
    width: calc(100% - 180px);
    margin-right: 0;
}

@media (max-width: 1199px) {
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .about-name {
        font-size: 22px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .about-stats .stat strong {
        font-size: 19px;
    }

    .about-desc {
        padding: 16px 18px;
        font-size: 14px;
    }

    .about-advantages ul {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   8. 登录 / 注册 / 找回密码 卡片
   -------------------------------------------------------------------------- */
.login-card {
    background: #fff;
    border-radius: 16px;
    padding: 42px 32px 28px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
}

.login-card h4 {
    margin: 0 0 26px !important;
    font-size: 19px;
    color: #222;
    font-family: inherit;
}

.login-card .login-mail {
    width: 100%;
    height: 46px;
    margin-bottom: 14px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.login-card .login-mail:focus-within {
    border-color: #f67777;
    box-shadow: 0 0 0 3px rgba(246, 119, 119, .12);
}

.login-card .login-mail input[type="text"],
.login-card .login-mail input[type="password"] {
    flex: 1 1 auto;
    width: auto;
    height: 100%;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: #333;
}

.login-card .login-mail i {
    float: none;
    margin: 0 0 0 10px;
    font-size: 15px;
    color: #f67777;
    cursor: pointer;
}

.login-card .hvr-skew-backward-login {
    display: block;
    width: 100%;
    height: 46px;
    line-height: 46px;
    margin: 20px 0 14px;
    text-align: center;
    background: #f67777;
    color: #fff !important;
    border-radius: 10px;
    font-size: 15px;
    letter-spacing: .02em;
    transform: none;
    transition: background .2s ease, box-shadow .2s ease;
}

.login-card .hvr-skew-backward-login:hover {
    background: #f05c5c;
    box-shadow: 0 8px 18px rgba(246, 119, 119, .28);
}

.login-card a {
    color: #f67777 !important;
    font-size: 13px;
    text-decoration: none;
}

.login-card a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   9. 联系我们
   -------------------------------------------------------------------------- */
.contact-left h3,
.contact-top h3 {
    margin-bottom: 18px;
    font-size: 20px;
    color: #222;
    font-family: inherit;
}

.contact-left .facts ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-left .facts li {
    position: relative;
    margin-bottom: 14px !important;
    padding-left: 26px;
    font-size: 14px;
    line-height: 1.75;
    color: #555;
}

.contact-left .facts li .glyphicon {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 12px;
    color: #f67777;
}

/* 地址信息：提高正文对比度 */
.contact-left .address1 h3 {
    margin-bottom: 6px;
    font-size: 15px;
    color: #333;
    font-family: inherit;
}

.contact-left .address1 p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: #6f6f6f;
}

.contact-left .address1 p a {
    color: #f67777;
}

.contact-left .address-grid {
    margin-bottom: 18px;
}

.contact-left .address-grid > i {
    color: #f67777;
    font-size: 17px;
    margin-top: 2px;
}

.contact-top > div > div {
    margin-bottom: 12px;
}

.contact-top > div > div > span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #666;
}

.contact-top input[type="text"],
.contact-top textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-top textarea {
    min-height: 132px;
    resize: vertical;
}

.contact-top input[type="text"]:focus,
.contact-top textarea:focus {
    border-color: #f67777;
    box-shadow: 0 0 0 3px rgba(246, 119, 119, .12);
}

.contact-top .hvr-skew-backward {
    display: inline-block;
    margin-top: 10px;
    padding: 11px 36px;
    background: #f67777;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transform: none;
    transition: background .2s ease, box-shadow .2s ease;
}

.contact-top .hvr-skew-backward:hover {
    background: #f05c5c;
    box-shadow: 0 8px 18px rgba(246, 119, 119, .28);
}

/* --------------------------------------------------------------------------
   9.4 品牌 logo：容器定宽，避免图片原始尺寸变化撑破导航
   -------------------------------------------------------------------------- */
.header .logo {
    width: 120px;
}

.header .logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   9.5 首页品牌简介（页面唯一的 H1，兼顾 SEO 与信息传达）
   -------------------------------------------------------------------------- */
.home-intro {
    padding: 3.2em 0 0.6em;
    text-align: center;
}

.home-intro h1 {
    max-width: 940px;
    margin: 0 auto 0.55em;
    font-size: 2em;
    line-height: 1.45;
    font-family: 'Ubuntu-Bold', 'Microsoft YaHei', sans-serif;
    color: #2e2e2e;
    letter-spacing: .2px;
}

.home-intro-sub {
    max-width: 880px;
    margin: 0 auto 1.7em;
    font-size: 15px;
    line-height: 1.95;
    color: #7c7c7c;
}

.home-intro-links {
    margin: 0 0 0.4em;
}

.btn-intro {
    display: inline-block;
    margin: 0 6px 10px;
    padding: 11px 28px;
    border-radius: 30px;
    background: #f67777;
    color: #fff;
    font-size: 14px;
    letter-spacing: .4px;
    transition: background .25s ease, transform .2s ease, border-color .25s ease;
}

.btn-intro:hover {
    background: #e85f5f;
    color: #fff;
    transform: translateY(-1px);
}

.btn-intro-ghost {
    background: #fff;
    border: 1px solid #f0c9c9;
    color: #e26969;
}

.btn-intro-ghost:hover {
    background: #fff6f6;
    border-color: #e8a9a9;
    color: #d95c5c;
}

@media (max-width: 767px) {
    .home-intro {
        padding: 2em 0 0.2em;
    }

    .home-intro .container {
        padding-left: 20px;
        padding-right: 20px;
        width: auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .home-intro h1,
    .home-intro-sub {
        width: 100%;
        max-width: 100%;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .home-intro h1 {
        font-size: 1.28em;
        line-height: 1.5;
    }

    .home-intro-sub {
        font-size: 13px;
        line-height: 1.85;
        margin-bottom: 1.3em;
    }

    .btn-intro {
        padding: 9px 20px;
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   10. 小屏适配
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    /* ---- 顶部：logo 绝对定位，小屏需要显式撑高，否则会压住登录区 ---- */
    .head {
        height: 72px;
    }

    .header .logo {
        width: 86px;
        left: 0;
    }

    .header .logo img {
        display: block;
        width: 100%;
        height: auto;
    }

    .header-top {
        padding: 4px 0;
    }

    /* 用 flex 让「登录入口 + 语言/货币」在同一行右对齐，避免错行与截断 */
    .header-top .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 2px 12px;
        padding-left: 98px;
    }

    .header-top .col-sm-4 {
        width: auto !important;
        float: none !important;
        padding: 0 !important;
    }

    .header-login ul,
    .header-top .option-list {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        float: none;
    }

    .header-login ul li,
    .option-list > li {
        float: none;
        display: block;
        margin: 0;
    }

    .header-login ul li a {
        margin: 0 0 0 12px;
        font-size: 12px;
    }

    /* 小屏空间有限，购物车/订单入口已由图标与页脚提供，避免换行截断 */
    .header-login ul li:nth-child(3),
    .header-login ul li:nth-child(4) {
        display: none;
    }

    .option-list:first-child {
        margin-right: 6px;
    }

    /* 搜索 / 购物车图标同行右对齐 */
    .search-right .heart {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        float: none;
        margin: 0;
        padding: 0;
    }

    .search-right .heart li {
        float: none;
        margin-left: 14px;
    }

    .option-list > li > a {
        margin: 0 3px;
        font-size: 12px;
        padding: 0 3px;
    }

    /* ---- 商品卡片 ---- */
    .mid-popular .item-grid {
        width: 50%;
        padding: 6px;
    }

    .mid-popular .mid-pop .pro-img {
        height: 140px;
        padding: 8px;
    }

    .mid-popular .mid-pop .mid-1 {
        min-height: 84px;
        padding: 10px 10px 12px;
    }

    .mid-popular .mid-pop .women-top {
        min-height: 60px;
        padding-right: 0;
    }

    .mid-popular .mid-pop .mid-1 h6 {
        font-size: 13px;
    }

    .mid-popular .mid-pop .pro-img .item_add {
        right: 6px;
        bottom: 6px;
        opacity: 1;
        transform: none;
    }

    .mid-popular .mid-pop .pro-img .item_add a {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    /* 触屏无 hover，隐藏大图按钮，避免误触 */
    .mid-popular .mid-pop .zoom-icon {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   8. 详情页操作区：标题 + 分享、数量 + 加入购物车
   （取代模板里的 hvr-skew-backward 歪斜动画）
   -------------------------------------------------------------------------- */
.pd-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.single-top-in .pd-head h1.product-title {
    flex: 1 1 auto;
    min-width: 0;
}

.pd-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    margin-top: 0.7em;
    padding: 7px 15px;
    font-size: 13px;
    line-height: 1.2;
    color: #f67777;
    background: #fff;
    border: 1px solid #f7cdcd;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .18s ease, background .18s ease, border-color .18s ease,
                box-shadow .18s ease, transform .18s ease;
}

.pd-share .glyphicon {
    font-size: 12px;
}

.pd-share:hover,
.pd-share:focus {
    color: #fff;
    background: #f67777;
    border-color: #f67777;
    box-shadow: 0 6px 14px rgba(246, 119, 119, .28);
    transform: translateY(-1px);
    text-decoration: none;
}

.pd-share:active {
    transform: translateY(0);
    box-shadow: none;
}

.pd-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0 4px;
}

.pd-actions .quantity {
    float: none;
    margin: 0;
}

.pd-actions .quantity-select {
    display: flex;
    align-items: center;
}

.pd-actions .value-minus,
.pd-actions .value-plus {
    width: 40px;
    height: 44px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    background: #fff;
    transition: background .18s ease, border-color .18s ease;
}

.pd-actions .value-minus:hover,
.pd-actions .value-plus:hover {
    background: #fff5f5;
    border-color: #f7c9c9;
}

.pd-actions #inputQuantity {
    width: 96px;
    height: 44px;
    margin: 0 8px;
    padding: 0 4px;
    font-size: 16px;
    color: #333;
    text-align: center;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    outline: none;
    transition: border-color .18s ease;
}

.pd-actions #inputQuantity:focus {
    border-color: #f67777;
}

.pd-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 190px;
    height: 44px;
    padding: 0 26px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff !important;
    background: linear-gradient(180deg, #f98a8a 0%, #f67777 100%);
    border: 0;
    border-radius: 22px;
    box-shadow: 0 8px 18px rgba(246, 119, 119, .32);
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.pd-cart .glyphicon {
    font-size: 14px;
}

.pd-cart:hover,
.pd-cart:focus {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(246, 119, 119, .4);
    filter: saturate(1.06);
}

.pd-cart:active {
    transform: translateY(0) scale(.99);
    box-shadow: 0 5px 12px rgba(246, 119, 119, .3);
}

@media (max-width: 479px) {
    .pd-head {
        gap: 10px;
    }

    .pd-share {
        margin-top: 0.5em;
        padding: 6px 12px;
        font-size: 12px;
    }

    .pd-actions {
        gap: 10px;
    }

    .pd-cart {
        width: 100%;
        min-width: 0;
    }
}

/* --------------------------------------------------------------------------
   9. 分类筛选面板（左/右侧栏，移动端折叠）
   -------------------------------------------------------------------------- */
.filter-card {
    padding: 16px 14px 14px;
    background: #fff;
    border: 1px solid #f1f1f1;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .02);
}

.filter-toggle {
    display: none;
}

.filter-toggle-count {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 400;
    line-height: 18px;
    color: #fff;
    text-align: center;
    background: #f67777;
    border-radius: 9px;
}

.filter-toggle-count:empty {
    display: none;
}

.filter-group {
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px dashed #f0f0f0;
}

.filter-group:last-of-type {
    margin-bottom: 10px;
    padding-bottom: 2px;
    border-bottom: 0;
}

.filter-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.filter-group-title::before {
    content: "";
    width: 3px;
    height: 12px;
    border-radius: 2px;
    background: #f67777;
}

.filter-opts {
    display: flex;
    flex-wrap: wrap;
}

.filter-opt {
    position: relative;
    display: inline-flex;
    margin: 0 6px 8px 0;
    cursor: pointer;
}

.filter-opt input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.filter-opt span {
    display: inline-block;
    padding: 5px 11px;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    background: #fafafa;
    border: 1px solid #efefef;
    border-radius: 14px;
    transition: color .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.filter-opt:hover span {
    color: #f67777;
    background: #fff;
    border-color: #f7c9c9;
}

.filter-opt input:checked + span {
    color: #fff;
    background: #f67777;
    border-color: #f67777;
    box-shadow: 0 3px 8px rgba(246, 119, 119, .25);
}

.filter-opt input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(246, 119, 119, .18);
}

.filter-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}

.filter-submit {
    flex: 1 1 auto;
    height: 38px;
    font-size: 13px;
    color: #fff;
    background: #f67777;
    border: 0;
    border-radius: 19px;
    cursor: pointer;
    transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}

.filter-submit:hover {
    background: #f56b6b;
    box-shadow: 0 6px 14px rgba(246, 119, 119, .3);
}

.filter-submit:active {
    transform: translateY(1px);
    box-shadow: none;
}

.filter-reset {
    flex: 0 0 auto;
    height: 38px;
    padding: 0 14px;
    font-size: 13px;
    color: #888;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 19px;
    cursor: pointer;
    transition: color .16s ease, border-color .16s ease;
}

.filter-reset:hover {
    color: #f67777;
    border-color: #f7c9c9;
}

@keyframes filterIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* 移动端：整个筛选收进一个「筛选」按钮，避免一长串选项把商品挤到屏外 */
@media (max-width: 767px) {
    .filter-card {
        padding: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .filter-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        width: 100%;
        height: 44px;
        padding: 0 16px;
        font-size: 14px;
        color: #333;
        background: #fff;
        border: 1px solid #efefef;
        border-radius: 12px;
        cursor: pointer;
    }

    .filter-toggle .filter-caret {
        margin-left: auto;
        font-size: 11px;
        color: #999;
        transition: transform .2s ease;
    }

    .filter-toggle.is-open .filter-caret {
        transform: rotate(180deg);
    }

    .filter-body {
        display: none;
        margin-top: 10px;
        padding: 14px;
        background: #fff;
        border: 1px solid #efefef;
        border-radius: 12px;
    }

    .filter-body.is-open {
        display: block;
        animation: filterIn .2s ease;
    }

    .filter-opt span {
        padding: 6px 13px;
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   10. 登录拦截弹窗（分享 / 加入购物车）
   -------------------------------------------------------------------------- */
.lg-wrap {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.lg-wrap[hidden] {
    display: none;
}

.lg-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(24, 24, 24, .45);
    opacity: 0;
    transition: opacity .22s ease;
}

.lg-box {
    position: relative;
    width: 100%;
    max-width: 350px;
    padding: 26px 24px 20px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(12px) scale(.96);
    transition: opacity .2s ease, transform .26s cubic-bezier(.2, .9, .3, 1.15);
}

.lg-wrap.is-open .lg-mask {
    opacity: 1;
}

.lg-wrap.is-open .lg-box {
    opacity: 1;
    transform: none;
}

.lg-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 12px;
    font-size: 18px;
    color: #f67777;
    background: #fff0f0;
    border-radius: 50%;
}

.lg-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
}

.lg-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #888;
}

.lg-btns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.lg-btn {
    flex: 1 1 0;
    height: 42px;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 21px;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, border-color .16s ease,
                box-shadow .16s ease, transform .16s ease;
}

.lg-cancel {
    color: #666;
    background: #fff;
    border-color: #e3e3e3;
}

.lg-cancel:hover {
    color: #333;
    border-color: #ccc;
}

.lg-primary {
    color: #fff;
    background: #f67777;
    box-shadow: 0 6px 14px rgba(246, 119, 119, .3);
}

.lg-primary:hover {
    background: #f56b6b;
    transform: translateY(-1px);
    box-shadow: 0 9px 18px rgba(246, 119, 119, .36);
}

.lg-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

body.lg-open {
    overflow: hidden;
}
