/* ============================================================
   婚礼自研商城模块 · 公共样式（原生 CSS，移动端自适应）
   供 shop / goods_detail / cart / checkout / pay / user_order 使用
   设计图重构版：主视觉横幅 + 搜索栏 + 层级筛选 + 5列商品网格 + 礼服专区
   ============================================================ */
:root {
    --shop-primary: #b64a2a;
    --shop-primary-light: #d4663a;
    --shop-bg: #fdf7f3;
    --shop-text: #3d2f28;
    --shop-gray: #999;
    --shop-border: #f0e0d5;
    --shop-warn: #e6a23c;
    --shop-success: #67c23a;
    --shop-danger: #f56c6c;
    --shop-red: #d0342c;
    --shop-radius: 12px;
}

body.shop-body { background: var(--shop-bg); }

/* ---------- 页面横幅（营销专区用） ---------- */
.shop-banner {
    background: linear-gradient(120deg, #b64a2a 0%, #d4663a 55%, #e8a06a 100%);
    padding: 34px 0 38px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.shop-banner h1 { font-size: 30px; margin: 0 0 8px; letter-spacing: 2px; }
.shop-banner p { margin: 0; font-size: 15px; opacity: .92; }
.shop-banner .shop-banner-dec { font-size: 13px; margin-top: 10px; opacity: .85; }

/* ---------- 主视觉轮播 ---------- */
.shop-slider {
    position: relative;
    margin-top: 20px;
    border-radius: 18px;
    overflow: hidden;
    height: clamp(200px, 28vw, 340px);
    background: #8b1a1a;
    box-shadow: 0 12px 36px rgba(140, 30, 30, .25);
}
.shop-slider .ss-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
}
/* --- 轮播 Slide 主题（渐变兜底） --- */
.shop-slider .ss-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
}
.ss-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.ss-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.05) 75%);
    pointer-events: none;
}
.ss-theme-red {
    background: linear-gradient(135deg, #a01818 0%, #c8302a 45%, #d4623a 100%);
}
.ss-theme-gold {
    background: linear-gradient(135deg, #8b4513 0%, #c8860d 45%, #e8a838 100%);
}
.ss-theme-rose {
    background: linear-gradient(135deg, #9b2c4d 0%, #c74b6e 45%, #e07a92 100%);
}
.ss-theme-wine {
    background: linear-gradient(135deg, #4a1525 0%, #7a2038 45%, #a83a55 100%);
}
/* --- 装饰圆（兜底时显示） --- */
.ss-deco {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    pointer-events: none;
}
.ss-deco-1 {
    width: 320px; height: 320px;
    background: #fff;
    top: -120px; right: -60px;
}
.ss-deco-2 {
    width: 200px; height: 200px;
    background: #ffd700;
    bottom: -80px; right: 120px;
    opacity: .15;
}
/* --- 文字内容 --- */
.ss-content {
    position: relative;
    z-index: 2;
    padding: 0 clamp(28px, 5vw, 64px);
    max-width: 620px;
}
.ss-tag {
    display: inline-block;
    font-size: clamp(10px, 1.2vw, 13px);
    letter-spacing: 3px;
    font-weight: 600;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .3);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: clamp(10px, 1.8vw, 18px);
}
.ss-content h2 {
    font-size: clamp(22px, 3.6vw, 40px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 clamp(8px, 1.5vw, 14px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.ss-content p {
    font-size: clamp(13px, 1.8vw, 17px);
    line-height: 1.6;
    margin: 0 0 clamp(14px, 2.5vw, 24px);
    opacity: .92;
}
.ss-cta {
    display: inline-block;
    background: rgba(255, 255, 255, .95);
    color: #8b1a1a;
    font-size: clamp(13px, 1.5vw, 16px);
    font-weight: 600;
    padding: clamp(8px, 1.4vw, 12px) clamp(18px, 3vw, 30px);
    border-radius: 24px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}
.ss-slide:hover .ss-cta {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.shop-slider .ss-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .28);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}
.shop-slider .ss-arrow:hover { background: rgba(0, 0, 0, .5); }
.shop-slider .ss-prev { left: 14px; }
.shop-slider .ss-next { right: 14px; }
.shop-slider .ss-dots {
    position: absolute;
    left: 0; right: 0; bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.shop-slider .ss-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    cursor: pointer;
    transition: all .25s;
}
.shop-slider .ss-dot.active {
    width: 22px;
    border-radius: 5px;
    background: #fff;
}
@media (max-width: 767px) {
    .shop-slider { height: 190px; border-radius: 14px; }
    .shop-slider .ss-arrow { width: 32px; height: 32px; font-size: 20px; }
    .shop-slider .ss-prev { left: 8px; }
    .shop-slider .ss-next { right: 8px; }
    .ss-content { padding: 0 20px; max-width: 100%; }
    .ss-deco-1 { width: 180px; height: 180px; top: -70px; right: -40px; }
    .ss-deco-2 { width: 120px; height: 120px; bottom: -50px; right: 60px; }
}

/* ---------- 搜索栏（设计图样式） ---------- */
.shop-search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    background: #fff;
    border-radius: 24px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 3px 14px rgba(182, 74, 42, .08);
}
.shop-search-bar .ss-icon { font-size: 15px; opacity: .7; }
.shop-search-bar .ss-input {
    flex: 1;
    min-width: 240px;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--shop-text);
    background: transparent;
    padding: 9px 0;
}
.shop-search-bar .ss-input::placeholder { color: #bbaba0; }
.shop-search-bar .ss-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 9px 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}
.shop-search-bar .ss-btn:hover { opacity: .9; }

/* ---------- 层级分类筛选（设计图样式） ---------- */
.shop-filter { margin: 14px auto 0; }
.shop-filter .filter-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    padding: 6px 0; margin-bottom: 2px;
}
.shop-filter .filter-label {
    font-size: 13px; color: #a08a7c; flex-shrink: 0;
    width: 40px; font-weight: 600;
}
.shop-filter .chip {
    display: inline-block; padding: 5px 14px; border-radius: 8px;
    font-size: 13px; cursor: pointer; color: #6b5544;
    background: #fff; border: 1px solid #f3e4d8; transition: all .2s;
    user-select: none; text-decoration: none;
}
.shop-filter .chip:hover { color: var(--shop-primary); border-color: #e8c4a8; }
.shop-filter .chip.active {
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
    color: #fff; border-color: transparent;
    font-weight: 600;
}

/* ---------- 商品网格（设计图：桌面5列 / 平板4列 / 手机2列） ---------- */
.shop-grid {
    display: grid; gap: 14px;
    grid-template-columns: repeat(5, 1fr);
    margin: 16px 0 30px;
}
.shop-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(182,74,42,.07);
    transition: transform .2s, box-shadow .2s;
    position: relative; display: flex; flex-direction: column;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(182,74,42,.14); }
.shop-card .card-img-wrap {
    display: block; position: relative; overflow: hidden;
    background: #fdf2ea;
}
.shop-card .card-img {
    display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover;
    transition: transform .35s ease;
}
.shop-card:hover .card-img { transform: scale(1.04); }
.shop-card .card-badge {
    position: absolute; top: 8px; left: 8px; z-index: 2;
    font-size: 11px; padding: 2px 9px; border-radius: 9px; color: #fff;
    background: linear-gradient(135deg, #e04a30, #c03428);
    box-shadow: 0 2px 6px rgba(190, 50, 30, .35);
}
.shop-card .card-badge.service { background: linear-gradient(135deg, #5a8fd8, #3d6fc0); box-shadow: 0 2px 6px rgba(60, 110, 190, .35); }
.shop-card .card-body { padding: 10px 12px 12px; flex: 1; display: flex; flex-direction: column; }
.shop-card .card-name {
    font-size: 13px; font-weight: 600; color: var(--shop-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; min-height: 37px; line-height: 1.42;
    text-decoration: none;
}
.shop-card .card-name:hover { color: var(--shop-primary); }
.shop-card .card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.shop-card .price-box { min-width: 0; display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; }
.shop-card .price-box .price { color: var(--shop-red); font-size: 18px; font-weight: 700; white-space: nowrap; }
.shop-card .price-box .price small { font-size: 12px; }
.shop-card .price-box .price-old { color: var(--shop-gray); font-size: 11px; text-decoration: line-through; white-space: nowrap; }
.shop-card .cart-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
    color: #fff; border: none; width: 30px; height: 30px; border-radius: 50%;
    cursor: pointer; font-size: 15px; line-height: 1; display: flex; align-items: center;
    justify-content: center; box-shadow: 0 3px 8px rgba(182,74,42,.3); transition: transform .15s;
}
.shop-card .cart-btn:hover { transform: scale(1.1); }

/* ---------- 分页 ---------- */
.shop-page { text-align: center; margin: 4px 0 34px; }
.shop-page .pnum {
    display: inline-block; background: #fff; border: 1px solid #f0e0d5;
    border-radius: 8px; padding: 6px 13px; margin: 0 3px;
    color: #6b5544; text-decoration: none; font-size: 14px; transition: all .2s;
}
.shop-page .pnum:hover { border-color: var(--shop-primary); color: var(--shop-primary); }
.shop-page .pnum.active {
    background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
    color: #fff; border-color: transparent; font-weight: 600;
}

/* ---------- 空状态 ---------- */
.shop-empty { text-align: center; padding: 70px 0; color: var(--shop-gray); }
.shop-empty .big { font-size: 52px; }
.shop-empty p { margin: 12px 0 20px; font-size: 15px; }

/* ---------- 底部购物车悬浮条 ---------- */
.shop-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
    display: flex; align-items: center; padding: 10px 16px; gap: 12px;
}
.shop-bar .bar-cart {
    display: flex; align-items: center; gap: 8px; color: var(--shop-text);
    font-size: 15px; text-decoration: none; flex-shrink: 0;
}
.shop-bar .bar-cart .cart-icon { font-size: 24px; position: relative; }
.shop-bar .bar-cart .cart-badge {
    position: absolute; top: -6px; right: -10px; background: var(--shop-danger);
    color: #fff; font-size: 11px; min-width: 17px; height: 17px; border-radius: 9px;
    text-align: center; line-height: 17px; padding: 0 4px;
}
.shop-bar .bar-spacer { flex: 1; }
.shop-bar .bar-link {
    padding: 8px 14px; border-radius: 8px; font-size: 14px; text-decoration: none;
    border: 1px solid var(--shop-border); color: var(--shop-text); background: #fff;
}
.shop-bar .bar-btn {
    padding: 9px 26px; border-radius: 22px; background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
    color: #fff; font-size: 15px; font-weight: 600; border: none; cursor: pointer;
    box-shadow: 0 4px 12px rgba(182,74,42,.3);
}

/* ---------- Toast 提示 ---------- */
.shop-toast {
    position: fixed; left: 50%; top: 18%; transform: translateX(-50%);
    background: rgba(40,30,25,.92); color: #fff; padding: 10px 22px;
    border-radius: 22px; font-size: 14px; z-index: 1001; display: none;
    max-width: 80%; text-align: center; box-shadow: 0 4px 18px rgba(0,0,0,.25);
}

/* ---------- 通用按钮 ---------- */
.btn-shop {
    display: inline-block; background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light));
    color: #fff; border: none; padding: 10px 26px; border-radius: 22px;
    font-size: 15px; cursor: pointer; text-decoration: none; text-align: center;
}
.btn-shop:hover { opacity: .92; color: #fff; }
.btn-shop.ghost { background: #fff; color: var(--shop-primary); border: 1px solid var(--shop-primary); }
.btn-shop.block { display: block; width: 100%; }

/* ---------- 面包屑导航（商品页统一模板） ---------- */
.gd-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #a08a7c; padding: 14px 2px 0; }
.gd-breadcrumb a { color: #8a6f5e; text-decoration: none; transition: color .2s; }
.gd-breadcrumb a:hover { color: var(--shop-primary); }
.gd-breadcrumb span { color: #d8c5b6; }
.gd-breadcrumb b { color: var(--shop-text); font-weight: 600; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- 商品详情页（统一模板，对齐设计稿） ---------- */
.goods-detail-wrap { display: flex; gap: 30px; margin: 22px 0 26px; background: #fff; border-radius: var(--shop-radius); padding: 24px; box-shadow: 0 2px 12px rgba(182,74,42,.06); }

/* 图区：1:1 主图 + 缩略图行 */
.gd-gallery { width: 440px; flex-shrink: 0; }
.gd-main-img {
    position: relative; width: 100%; aspect-ratio: 1 / 1;
    border-radius: 14px; overflow: hidden; background: #fdf7f3;
}
.gd-main-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-main-img video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.gd-price-tag {
    position: absolute; left: 0; top: 14px;
    background: linear-gradient(135deg, #e04a30, #c03428); color: #fff;
    font-size: 12px; font-weight: 600; padding: 4px 12px 4px 10px;
    border-radius: 0 12px 12px 0; box-shadow: 0 2px 8px rgba(192,52,40,.3);
}
.gd-buy-tag {
    position: absolute; right: 12px; bottom: 12px;
    background: linear-gradient(135deg, #e04a30, #c03428); color: #fff;
    font-size: 18px; font-weight: 800; padding: 6px 14px; border-radius: 10px;
    box-shadow: 0 3px 10px rgba(192,52,40,.35); line-height: 1.15;
}
.gd-buy-tag small { display: block; font-size: 11px; font-weight: 500; opacity: .92; }
.gd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gd-thumb { position: relative; width: 64px; height: 64px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; background: #fdf7f3; }
.gd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-thumb.active { border-color: var(--shop-primary); }
.gd-thumb-video .gd-video-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff;
    font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.gd-thumb-video .gd-video-size { position: absolute; right: 3px; bottom: 2px; font-size: 9px; color: #fff; background: rgba(0,0,0,.45); border-radius: 4px; padding: 0 3px; }

/* 信息区 */
.gd-info { flex: 1; min-width: 0; }
.gd-badge-row { margin-bottom: 10px; }
.gd-badge {
    display: inline-block; font-size: 12px; font-weight: 600; color: #c03428;
    background: rgba(192,52,40,.08); border: 1px solid rgba(192,52,40,.25);
    padding: 3px 12px; border-radius: 12px 12px 12px 3px; letter-spacing: .5px;
}
.gd-title { font-size: 21px; font-weight: 800; color: var(--shop-text); margin: 0 0 10px; line-height: 1.45; }
.gd-rating-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: 13px; }
.gd-brand-tag { font-size: 12px; color: #b06a28; background: #fdf2ea; border-radius: 4px; padding: 2px 8px; }
.gd-stars { display: inline-flex; gap: 1px; }
.gd-star { color: #ddd; font-size: 15px; line-height: 1; }
.gd-star.on { color: #f5a623; }
.gd-star.half { color: #f5a623; opacity: .5; }
.gd-rating-num { font-size: 15px; font-weight: 700; color: #c03428; }
.gd-rating-sep { color: #ddd; font-size: 12px; }
.gd-rating-cnt { font-size: 12px; color: #a08a7c; }
.gd-rating-good { font-size: 12px; color: #6b5544; }
.gd-rating-good b { color: #c03428; font-weight: 700; }
.gd-rating-sales { font-size: 12px; color: #8a6f5e; }

.gd-info .gd-tags { margin-bottom: 12px; }
.gd-info .gd-tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 10px; margin-right: 8px; }
.gd-tag.type { background: rgba(182,74,42,.12); color: var(--shop-primary); }
.gd-tag.service { background: rgba(60,120,200,.12); color: #3878c8; }
.gd-tag.cat { background: #f6efe8; color: #7a6a5c; }

.gd-info .gd-price-box {
    background: linear-gradient(135deg, #fdf2ea, #fbe9dd);
    border-radius: 10px; padding: 13px 16px; margin-bottom: 16px;
    display: flex; align-items: baseline; flex-wrap: wrap;
}
.gd-price-box .gd-price { color: var(--shop-danger); font-size: 31px; font-weight: 800; line-height: 1.1; }
.gd-price-box .gd-price small { font-size: 16px; }
.gd-price-box .gd-price-old { color: #b09a8a; font-size: 14px; text-decoration: line-through; margin-left: 10px; }
.gd-price-save {
    display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; color: #2f8a3d;
    background: rgba(58,157,90,.12); border-radius: 4px; padding: 2px 7px;
}
.gd-price-box .gd-sales { margin-left: auto; font-size: 13px; color: #8a6f5e; }

.gd-row-label { width: 52px; flex-shrink: 0; color: #8a6f5e; font-size: 14px; line-height: 1.9; }
.gd-info .gd-row { display: flex; align-items: flex-start; font-size: 14px; color: #6b5544; margin-bottom: 12px; }
.gd-info .gd-row b { color: var(--shop-text); font-weight: 600; }
.gd-info .gd-stock.ok { color: var(--shop-success); }
.gd-info .gd-stock.low { color: var(--shop-warn); }
.gd-info .gd-stock.out { color: var(--shop-danger); }
.gd-sku-row { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; }
.gd-sku-list { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.gd-sku-item {
    border: 1px solid var(--shop-border); background: #fff; color: #6b5544;
    border-radius: 6px; padding: 7px 14px; font-size: 13px; cursor: pointer;
    transition: all .18s ease; text-align: left;
}
.gd-sku-item:hover { border-color: #c03428; color: #c03428; }
.gd-sku-item.active { background: #fff; border-color: #c03428; color: #c03428; font-weight: 600; box-shadow: 0 0 0 1px #c03428 inset; }

.gd-qty .qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--shop-border); border-radius: 22px; overflow: hidden; }
.gd-qty .qty-stepper button { width: 34px; height: 34px; border: none; background: #fff; font-size: 18px; cursor: pointer; color: var(--shop-text); }
.gd-qty .qty-stepper button:disabled { color: #ccc; cursor: not-allowed; }
.gd-qty .qty-stepper input { width: 48px; height: 34px; border: none; border-left: 1px solid var(--shop-border); border-right: 1px solid var(--shop-border); text-align: center; font-size: 15px; outline: none; }

/* 数量 + 购买按钮同行（统一模板） */
.gd-buy-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 20px 0 16px; }
.gd-buy-row .btn-shop { display: inline-flex; align-items: center; justify-content: center; margin: 0; }
.gd-qty-hint { font-size: 12px; color: #999; width: 100%; }
.btn-shop.btn-cart { background: linear-gradient(135deg, #e6a23c, #f0b25c); color: #fff; box-shadow: 0 4px 12px rgba(230,162,60,.3); }
.btn-shop.btn-buy { background: linear-gradient(135deg, #c03428, #d4453a); color: #fff; box-shadow: 0 4px 12px rgba(192,52,40,.3); }
.btn-shop.btn-buy:hover { opacity: .92; color: #fff; }

/* 收藏 / 分享圆钮（统一模板） */
.gd-fav-row { display: flex; gap: 12px; margin: 4px 0 10px; }
.gd-round-btn { display: inline-flex; align-items: center; gap: 4px; padding: 7px 20px; border: 1px solid #e8d5c8; border-radius: 20px; font-size: 13px; color: #6b5544; background: #fff; text-decoration: none; transition: all .2s; cursor: pointer; }
.gd-round-btn:hover { border-color: var(--shop-primary); color: var(--shop-primary); }
.gd-round-btn[data-fav="1"] { color: #c03428; border-color: #e6b8a2; }
.gd-info .gd-notice { margin-top: 14px; font-size: 12px; color: var(--shop-gray); background: #faf5f0; padding: 10px 14px; border-radius: 8px; line-height: 1.8; }

/* ---------- 详情标签页（商品详情 / 图文详情 / 热门推荐） ---------- */
.gd-tabs {
    display: flex; gap: 32px; border-bottom: 1px solid #eee; margin-bottom: 32px;
}
.gd-tab {
    border: none; background: none; cursor: pointer;
    font-size: 15px; font-weight: 400; color: #bbb;
    padding: 12px 0; position: relative; transition: color .2s;
}
.gd-tab:hover { color: #888; }
.gd-tab.active { color: #1a1a1a; font-weight: 500; }
.gd-tab.active::after {
    content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: #1a1a1a;
}
.gd-tabpane { display: none; }
.gd-tabpane.active { display: block; animation: gdPaneIn .3s ease; }
@keyframes gdPaneIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.gd-detail-section { background: #fff; border-radius: var(--shop-radius); box-shadow: 0 2px 12px rgba(182,74,42,.06); padding: 26px 28px 30px; }
.gd-detail-title {
    font-size: 17px; font-weight: 700; color: var(--shop-text); margin: 0 0 18px;
    padding-left: 11px; border-left: 4px solid #c03428; line-height: 1.3;
}

/* ---- 统一图文详情区块 ---- */
.gd-section { margin-bottom: 40px; }
.gd-section:last-child { margin-bottom: 0; }
.gd-section-title {
    font-size: 16px; font-weight: 600; color: var(--shop-text); margin: 0 0 20px;
    padding-left: 12px; border-left: 3px solid var(--shop-primary); line-height: 1.3;
}

/* 核心卖点（图文卡片：图在上，文字在下，居中） */
.gd-feature-list { display: flex; flex-direction: column; gap: 16px; }
.gd-feature-card {
    background: #faf9f8; border-radius: 12px; overflow: hidden; transition: box-shadow .2s;
}
.gd-feature-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.08); }
.gd-feature-card.has-img .gd-feature-img { width: 100%; overflow: hidden; }
.gd-feature-card.has-img .gd-feature-img img { width: 100%; display: block; cursor: zoom-in; transition: transform .3s; }
.gd-feature-card.has-img .gd-feature-img:hover img { transform: scale(1.03); }
.gd-feature-body { padding: 24px 20px; text-align: center; }
.gd-feature-title { font-size: 18px; font-weight: 700; color: var(--shop-text); margin-bottom: 8px; letter-spacing: .5px; }
.gd-feature-desc { font-size: 14px; color: #888; line-height: 1.8; }

/* 细节图廊 */
.gd-gallery { display: flex; flex-direction: column; gap: 0; }
.gd-gallery img { width: 100%; display: block; cursor: zoom-in; transition: opacity .2s; }
.gd-gallery img:hover { opacity: .92; }

/* 包装清单 */
.gd-pkg-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gd-pkg-list li { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #faf9f8; border-radius: 8px; font-size: 13px; color: #555; }
.gd-pkg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--shop-primary); flex-shrink: 0; }

/* 使用场景 */
.gd-scenarios { display: flex; flex-wrap: wrap; gap: 10px; }
.gd-scene-chip { font-size: 13px; color: var(--shop-text); background: #faf2ee; border: 1px solid #f0e0d8; border-radius: 20px; padding: 6px 16px; }

/* 小贴士 */
.gd-tip-box {
    font-size: 14px; color: #6b5544; line-height: 1.9; background: #fdf6f0;
    border-left: 3px solid #e8b89a; border-radius: 0 8px 8px 0; padding: 14px 18px;
}

/* desc-text 富文本通用排版 */
.desc-text { font-size: 15px; color: #444; line-height: 2; word-break: break-word; }
.desc-text h3 { margin: 32px 0 14px; font-size: 20px; font-weight: 600; color: var(--shop-text); border: none; padding: 0; }
.desc-text h4 { margin: 24px 0 10px; font-size: 16px; font-weight: 600; color: #333; border: none; padding: 0; }
.desc-text p { margin: 12px 0; text-align: justify; }
.desc-text strong { color: var(--shop-text); font-weight: 700; }
.desc-text em { color: #888; font-style: italic; }
.desc-text hr { border: none; border-top: 1px solid #eee; margin: 24px 0; height: 0; }
.desc-text ul, .desc-text ol { margin: 12px 0; padding-left: 20px; }
.desc-text ul li, .desc-text ol li { margin: 6px 0; line-height: 2; font-size: 14px; color: #555; }
.desc-text ul li::marker { color: var(--shop-primary); }
.desc-text table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; }
.desc-text table th { background: #faf2ee; color: #333; font-weight: 600; padding: 10px 12px; text-align: left; border-bottom: 2px solid #e6d5c8; }
.desc-text table td { padding: 9px 12px; border-bottom: 1px solid #f0e3d8; line-height: 1.7; color: #555; }
.desc-text table tr:nth-child(even) td { background: #fdf7f3; }
.desc-text table[border="1"] { border-spacing: 0; }
.desc-text img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }

/* 热门推荐：商品卡片网格 */
.gd-rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gd-rec-card {
    display: flex; flex-direction: column; background: #fff; border: 1px solid #f0e3d8;
    border-radius: 12px; overflow: hidden; text-decoration: none; transition: all .2s ease;
}
.gd-rec-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(182,74,42,.12); border-color: #e6b8a2; }
.gd-rec-img { display: block; width: 100%; aspect-ratio: 1 / 1; background: #fdf7f3; }
.gd-rec-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-rec-name {
    font-size: 13px; color: var(--shop-text); line-height: 1.5; padding: 10px 12px 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.gd-rec-price { font-size: 17px; font-weight: 800; color: var(--shop-danger); padding: 0 12px 12px; }
.gd-rec-price small { font-size: 12px; font-weight: 600; }

/* 标签页角标 */
.gd-tab-badge { display: inline-block; min-width: 18px; padding: 1px 6px; background: var(--shop-primary); color: #fff; border-radius: 10px; font-size: 11px; margin-left: 4px; line-height: 1.3; }
.gd-tab.active .gd-tab-badge { background: var(--shop-text); }

/* 空面板占位 */
.gd-empty-pane { text-align: center; padding: 60px 20px; color: #bbb; font-size: 14px; }

/* 规格参数表格 */
.gd-spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.gd-spec-table th {
    width: 130px; text-align: left; padding: 12px 16px; color: #888;
    background: #faf9f8; border-bottom: 1px solid #f0f0f0; font-weight: 400; vertical-align: top;
}
.gd-spec-table td { padding: 12px 16px; color: #333; border-bottom: 1px solid #f0f0f0; line-height: 1.8; }
.gd-spec-table tr:last-child th, .gd-spec-table tr:last-child td { border-bottom: none; }

/* 评价汇总（评分 + 标签云） */
.gd-review-summary {
    display: flex; align-items: center; gap: 32px; padding: 24px 28px;
    background: #faf9f8; border-radius: 12px; margin-bottom: 24px;
}
.gd-rs-left { flex-shrink: 0; }
.gd-rs-score { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.gd-rs-num { font-size: 40px; font-weight: 800; color: var(--shop-primary); line-height: 1; }
.gd-rs-score .gd-stars { gap: 1px; }
.gd-rs-text { font-size: 13px; color: #999; margin-top: 2px; }
.gd-rs-tags { flex: 1; display: flex; flex-wrap: wrap; gap: 10px; }
.gd-rs-tag {
    display: inline-flex; align-items: center; gap: 4px; padding: 6px 14px;
    background: #fff; border: 1px solid #f0e0d8; border-radius: 20px;
    font-size: 13px; color: var(--shop-text); transition: all .2s;
}
.gd-rs-tag b { color: var(--shop-primary); font-weight: 700; }
.gd-rs-tag:hover { border-color: var(--shop-primary); color: var(--shop-primary); }

/* 评价列表 */
.gd-review-list { display: flex; flex-direction: column; gap: 0; }
.gd-review-item { padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.gd-review-item:last-child { border-bottom: none; }
.gd-rv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.gd-rv-avatar {
    width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 15px; font-weight: 600; flex-shrink: 0;
}
.gd-rv-userinfo { display: flex; flex-direction: column; gap: 2px; }
.gd-rv-user { font-size: 14px; font-weight: 600; color: #333; }
.gd-rv-meta { font-size: 12px; color: #bbb; }
.gd-rv-stars { margin-left: auto; display: inline-flex; gap: 1px; }
.gd-rv-content { font-size: 14px; color: #555; line-height: 1.9; padding-left: 48px; }
.gd-rv-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; padding-left: 48px; }
.gd-rv-imgs img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; cursor: zoom-in; }
.gd-rv-reply {
    margin-top: 10px; margin-left: 48px; padding: 10px 14px; background: #faf9f8; border-radius: 8px;
    font-size: 13px; color: #6b5544; line-height: 1.8; border-left: 3px solid #e8d5c8;
}

/* ---- 图片放大 Lightbox ---- */
.gd-lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; background: rgba(0,0,0,.92); }
.gd-lightbox.show { display: flex; align-items: center; justify-content: center; animation: gdLbIn .2s ease; }
@keyframes gdLbIn { from { opacity: 0; } to { opacity: 1; } }
.gd-lb-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.gd-lb-inner img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; display: block; }
.gd-lb-close {
    position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff;
    font-size: 32px; cursor: pointer; line-height: 1; padding: 4px 8px; opacity: .7; transition: opacity .2s;
}
.gd-lb-close:hover { opacity: 1; }
.gd-lb-prev, .gd-lb-next {
    position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15);
    border: none; color: #fff; font-size: 36px; cursor: pointer; padding: 8px 14px; border-radius: 50%;
    line-height: 1; transition: background .2s;
}
.gd-lb-prev { left: 16px; }
.gd-lb-next { right: 16px; }
.gd-lb-prev:hover, .gd-lb-next:hover { background: rgba(255,255,255,.3); }
.gd-lb-counter { position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.6); font-size: 14px; }

/* ---------- 详情页响应式 ---------- */
@media (max-width: 1023px) {
    .gd-gallery { width: 360px; }
    .gd-rec-grid { grid-template-columns: repeat(3, 1fr); }
    .gd-title { font-size: 19px; }
    .gd-price-box .gd-price { font-size: 27px; }
}
@media (max-width: 767px) {
    .goods-detail-wrap { flex-direction: column; gap: 16px; padding: 14px; }
    .gd-gallery { width: 100%; }
    .gd-main-img { border-radius: 10px; }
    .gd-buy-tag { font-size: 15px; padding: 4px 10px; }
    .gd-thumb { width: 54px; height: 54px; }
    .gd-title { font-size: 17px; }
    .gd-info .gd-price-box { padding: 11px 13px; }
    .gd-price-box .gd-price { font-size: 24px; }
    .gd-row-label { width: 44px; font-size: 13px; }
    .gd-sku-item { padding: 6px 11px; font-size: 12px; }
    .gd-buy-row .btn-shop { flex: 1; }
    .gd-tab { font-size: 14px; padding: 10px 0; }
    .gd-tabs { gap: 20px; margin-bottom: 24px; }
    .gd-section { margin-bottom: 30px; }
    .gd-section-title { font-size: 15px; }
    .gd-feature-body { padding: 18px 16px; }
    .gd-feature-title { font-size: 16px; }
    .gd-pkg-list { grid-template-columns: 1fr; }
    .gd-detail-section { padding: 18px 16px 22px; }
    .gd-rec-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gd-rec-price { font-size: 15px; }
    /* 手机端详情描述 - 尺码表格响应式 */
    .desc-text table {
        display: block; width: 100%; max-width: 100%; overflow-x: auto;
        -webkit-overflow-scrolling: touch; border-collapse: separate; border-spacing: 0;
    }
    .desc-text table th, .desc-text table td {
        padding: 7px 9px; font-size: 12px; line-height: 1.55; white-space: nowrap; vertical-align: middle;
    }
    .desc-text table th { font-size: 12px; padding: 8px 10px; position: sticky; left: 0; z-index: 1; }
    .desc-text h3 { font-size: 18px; }
    .desc-text p, .desc-text li { font-size: 14px; line-height: 1.8; }
    .desc-text ul { padding-left: 20px; margin-left: 0; }
    .desc-text hr { margin: 16px 0; }
    /* Lightbox 按钮 */
    .gd-lb-prev, .gd-lb-next { font-size: 28px; padding: 6px 10px; }
    /* 评价区响应式 */
    .gd-review-summary { flex-direction: column; align-items: flex-start; gap: 16px; padding: 16px; }
    .gd-rs-num { font-size: 32px; }
    .gd-rs-tags { gap: 8px; }
    .gd-rs-tag { font-size: 12px; padding: 5px 12px; }
    .gd-rv-content, .gd-rv-imgs, .gd-rv-reply { padding-left: 0; margin-left: 0; }
    .gd-rv-imgs img { width: 64px; height: 64px; }
    .gd-spec-table th { width: 90px; font-size: 12px; padding: 10px 12px; }
    .gd-spec-table td { font-size: 13px; padding: 10px 12px; }
    /* 标签栏可滚动 */
    .gd-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- 购物车页 ---------- */
.cart-wrap { margin: 22px 0 40px; }
.cart-list { background: #fff; border-radius: var(--shop-radius); box-shadow: 0 2px 12px rgba(182,74,42,.06); overflow: hidden; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 16px; border-bottom: 1px solid #f7ece3; }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 84px; height: 63px; object-fit: cover; border-radius: 8px; background: #fdf2ea; flex-shrink: 0; }
.cart-item .ci-name { flex: 1; min-width: 0; }
.cart-item .ci-name a { font-size: 15px; font-weight: 600; color: var(--shop-text); text-decoration: none; }
.cart-item .ci-name .ci-cat { font-size: 12px; color: var(--shop-gray); margin-top: 4px; }
.cart-item .ci-price { font-size: 16px; font-weight: 700; color: var(--shop-danger); width: 90px; text-align: right; flex-shrink: 0; }
.cart-item .ci-qty { flex-shrink: 0; }
.cart-item .ci-remove { flex-shrink: 0; background: none; border: none; color: var(--shop-gray); font-size: 20px; cursor: pointer; padding: 6px; }
.cart-item .ci-remove:hover { color: var(--shop-danger); }
.cart-item .ci-out { color: var(--shop-danger); font-size: 12px; margin-top: 4px; }
.cart-footer {
    margin-top: 14px; background: #fff; border-radius: var(--shop-radius); padding: 14px 18px;
    display: flex; align-items: center; gap: 16px; box-shadow: 0 2px 12px rgba(182,74,42,.06);
}
.cart-footer .cf-total { font-size: 15px; color: #6b5544; }
.cart-footer .cf-total .sum { color: var(--shop-danger); font-size: 24px; font-weight: 800; margin-left: 6px; }
.cart-footer .cf-right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- 结算页 ---------- */
.checkout-wrap { margin: 22px 0 40px; display: flex; gap: 20px; }
.checkout-form { flex: 1; background: #fff; border-radius: var(--shop-radius); padding: 22px; box-shadow: 0 2px 12px rgba(182,74,42,.06); }
.checkout-side { width: 320px; flex-shrink: 0; }
.co-group { margin-bottom: 18px; }
.co-group .co-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid #f7ece3; }
.co-field { margin-bottom: 14px; }
.co-field label { display: block; font-size: 13px; color: #6b5544; margin-bottom: 6px; }
.co-field label .req { color: var(--shop-danger); }
.co-field input, .co-field textarea, .co-field select {
    width: 100%; padding: 10px 12px; border: 1px solid var(--shop-border); border-radius: 8px;
    font-size: 14px; outline: none; box-sizing: border-box; background: #fff;
}
.co-field input:focus, .co-field textarea:focus { border-color: var(--shop-primary); }
.co-field textarea { resize: vertical; min-height: 70px; }
.co-hint { font-size: 12px; color: var(--shop-gray); margin-top: 5px; }
.co-field.hidden { display: none; }
.co-side-card { background: #fff; border-radius: var(--shop-radius); padding: 18px; box-shadow: 0 2px 12px rgba(182,74,42,.06); margin-bottom: 14px; }
.co-side-card .co-side-title { font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.co-side-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #f2e5da; font-size: 13px; }
.co-side-item:last-child { border-bottom: none; }
.co-side-item img { width: 52px; height: 39px; object-fit: cover; border-radius: 6px; background: #fdf2ea; }
.co-side-item .si-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--shop-text); }
.co-side-item .si-price { color: var(--shop-danger); }
.co-sum-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; color: #6b5544; }
.co-sum-row.total { font-size: 15px; font-weight: 700; color: var(--shop-text); border-top: 1px dashed #f2e5da; margin-top: 6px; padding-top: 10px; }
.co-sum-row.total .val { color: var(--shop-danger); font-size: 24px; font-weight: 800; }

/* ---------- 支付页 ---------- */
.pay-wrap { margin: 22px 0 40px; max-width: 620px; }
.pay-card { background: #fff; border-radius: var(--shop-radius); padding: 24px; box-shadow: 0 2px 12px rgba(182,74,42,.06); text-align: center; }
.pay-card .pay-status-icon { font-size: 58px; }
.pay-card .pay-status-icon.done { color: var(--shop-success); }
.pay-card .pay-status-icon.wait { color: var(--shop-warn); }
.pay-card h2 { font-size: 20px; margin: 10px 0 6px; }
.pay-card .pay-amount { color: var(--shop-danger); font-size: 32px; font-weight: 800; margin: 8px 0 4px; }
.pay-card .pay-amount small { font-size: 16px; }
.pay-card .pay-meta { font-size: 13px; color: var(--shop-gray); margin-bottom: 18px; line-height: 1.9; }
.pay-methods { text-align: left; background: #faf5f0; border-radius: 10px; padding: 12px 14px; margin: 16px 0; }
.pay-methods h4 { margin: 0 0 8px; font-size: 14px; color: #6b5544; }
.pay-method-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--shop-text); padding: 6px 0; }
.pay-note { font-size: 12px; color: var(--shop-gray); text-align: left; line-height: 1.9; margin-top: 10px; }

/* ---------- 订单列表页 ---------- */
.orders-wrap { margin: 22px 0 40px; }
.order-tabs { display: flex; gap: 10px; margin-bottom: 16px; }
.order-tabs .tab { padding: 8px 22px; border-radius: 22px; background: #fff; color: #6b5544; font-size: 14px; text-decoration: none; box-shadow: 0 2px 8px rgba(182,74,42,.06); }
.order-tabs .tab.active { background: var(--shop-primary); color: #fff; }
.order-tabs .tab .cnt { font-size: 12px; margin-left: 4px; opacity: .8; }
.order-card { background: #fff; border-radius: var(--shop-radius); margin-bottom: 14px; box-shadow: 0 2px 12px rgba(182,74,42,.06); overflow: hidden; }
.order-card .oc-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #fdf2ea; font-size: 13px; color: #6b5544; }
.order-card .oc-head .oc-no { font-weight: 600; color: var(--shop-text); }
.order-card .oc-head .oc-status { margin-left: auto; }
.order-card .oc-head .oc-status.paid { color: var(--shop-success); font-weight: 600; }
.order-card .oc-head .oc-status.unpaid { color: var(--shop-warn); font-weight: 600; }
.order-card .oc-items { padding: 4px 16px; }
.order-card .oc-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; }
.order-card .oc-item img { width: 52px; height: 39px; object-fit: cover; border-radius: 6px; background: #fdf2ea; }
.order-card .oc-item .oi-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--shop-text); }
.order-card .oc-item .oi-qty { color: var(--shop-gray); }
.order-card .oc-item .oi-price { color: var(--shop-danger); width: 80px; text-align: right; }
.order-card .oc-foot { display: flex; align-items: center; padding: 10px 16px; border-top: 1px solid #f7ece3; font-size: 13px; color: #6b5544; gap: 16px; }
.order-card .oc-foot .oc-total { margin-left: auto; color: var(--shop-text); }
.order-card .oc-foot .oc-total b { color: var(--shop-danger); font-size: 18px; }
.order-card .oc-foot .oc-act { text-decoration: none; padding: 5px 16px; border-radius: 16px; font-size: 13px; }
.order-card .oc-foot .oc-act.pay { background: linear-gradient(135deg, var(--shop-primary), var(--shop-primary-light)); color: #fff; }
.order-card .oc-foot .oc-act.cancel { border: 1px solid var(--shop-border); color: #6b5544; background: #fff; }

/* ---------- 页脚补齐（底部悬浮条占位） ---------- */
.shop-bar-holder { height: 64px; }

/* ---------- 商品详情：多图轮播 + 富文本布局 ---------- */
.gd-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 36px;
    padding: 28px;
    background: #fff;
    border-radius: var(--shop-radius);
    box-shadow: 0 2px 16px rgba(182,74,42,.06);
    margin-bottom: 24px;
}
.gd-gallery { width: 100%; min-width: 0; overflow: hidden; }
.gd-main-img {
    position: relative;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1;
    background: #fdf7f3;
    border: 3px solid #c03428;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gd-main-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    object-fit: cover;
    transition: transform .35s ease;
}
.gd-main-img:hover img { transform: scale(1.03); }
.gd-price-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, #b64a2a, #d4663a);
    color: #fff;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(182,74,42,.3);
}
.gd-buy-tag {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: linear-gradient(135deg, #e04a30, #c03428);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(192,52,40,.35);
    display: flex;
    align-items: baseline;
    gap: 4px;
    z-index: 2;
}
.gd-buy-tag small { font-size: 11px; font-weight: 500; opacity: .92; }
.gd-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gd-thumbs::-webkit-scrollbar { height: 4px; }
.gd-thumbs::-webkit-scrollbar-thumb { background: #f0e0d5; border-radius: 2px; }
.gd-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s;
    background: #fdf7f3;
}
.gd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gd-thumb.active { border-color: var(--shop-primary); }

/* 视频缩略图徽章 + 演示视频播放器样式（推销展示用） */
.gd-thumb-video { position: relative; }
.gd-thumb-video::after {
    content: '演示';
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(182,74,42,.92);
    color: #fff;
    font-size: 10px;
    padding: 1px 5px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 2;
}
.gd-video-badge {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 32px; height: 32px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}
.gd-video-size {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 3px;
    z-index: 2;
    white-space: nowrap;
}
.gd-thumb-video.active { border-color: var(--shop-primary); }
.gd-main-img video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 0;
    object-fit: contain;
    background: #000;
    display: block;
}

.gd-title {
    font-size: 22px;
    line-height: 1.5;
    color: var(--shop-text);
    margin: 0 0 12px;
    font-weight: 600;
}
.gd-badge-row { margin-bottom: 10px; }
.gd-badge { display: inline-block; font-size: 12px; font-weight: 600; color: #c03428; background: linear-gradient(135deg, #fdeee6, #fce2d4); padding: 4px 12px; border-radius: 14px; letter-spacing: 1px; }
.gd-slogan {
    margin-top: 14px;
    background: linear-gradient(135deg, #fff5ef, #ffe9dc);
    border-left: 3px solid var(--shop-primary);
    padding: 12px 16px;
    border-radius: 6px;
    color: var(--shop-primary);
    font-size: 14px;
    line-height: 1.7;
}
.gd-tip { background: #fdf2ea; padding: 8px 12px; border-radius: 6px; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 768px) {
    .shop-banner h1 { font-size: 24px; }
    .goods-detail-wrap { flex-direction: column; padding: 14px; }
    .goods-detail-wrap .gd-img { width: 100%; }
    .gd-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }
    .gd-title { font-size: 18px; }
    .gd-price-box .gd-price { font-size: 24px; }
    .gd-main-img { aspect-ratio: 1 / 1; }
    .gd-thumb { width: 58px; height: 58px; }
    .gd-detail-section { padding: 20px 16px; }
    .gd-detail-title { font-size: 16px; margin-bottom: 14px; }
    .checkout-wrap { flex-direction: column; }
    .checkout-side { width: 100%; }
    .cart-item { flex-wrap: wrap; }
    .cart-item .ci-name { flex-basis: calc(100% - 98px); }
    .shop-bar { padding: 8px 12px; }
    .shop-bar .bar-link { padding: 7px 10px; font-size: 13px; }
    .order-card .oc-foot { flex-wrap: wrap; }
}

/* ============================================================
   婚纱礼服专区 · Dress Zone（设计图样式）
   ============================================================ */
.dress-zone {
    margin: 44px 0 26px;
    padding: 26px 24px;
    background: linear-gradient(135deg, #fef6f0 0%, #fdf0e8 50%, #fce8dc 100%);
    border-radius: 20px;
    border: 1px solid #f5dcc7;
    position: relative;
    overflow: hidden;
}
.dress-zone::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,180,140,0.25) 0%, transparent 70%);
    pointer-events: none;
}
.dress-zone::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(200,100,60,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* 专区头部 */
.dz-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.dz-title-wrap .dz-title {
    display: inline-block;
    font-size: 25px;
    font-weight: 800;
    color: #4a2412;
    margin: 0 0 6px;
    letter-spacing: 1px;
    position: relative;
    z-index: 0;
}
.dz-title-wrap .dz-title::after {
    content: '';
    position: absolute;
    left: -2px; right: -6px; bottom: 2px;
    height: 12px;
    background: linear-gradient(90deg, #ffd98e, #ffca6e);
    border-radius: 6px;
    opacity: .75;
    z-index: -1;
}
.dz-title-wrap .dz-title .dz-title-icon { margin-right: 8px; }
.dz-title-wrap .dz-subtitle {
    font-size: 13px;
    color: #8a6349;
    margin: 0;
}
.dz-more {
    color: #b64a2a;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 16px;
    border: 1px solid #e8c4a8;
    border-radius: 20px;
    transition: all 0.2s;
    background: #fff;
    flex-shrink: 0;
}
.dz-more:hover {
    background: #b64a2a;
    color: #fff;
    border-color: #b64a2a;
}

/* 四种服务模式卡片 */
.dz-mode-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.dz-mode-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 12px 14px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(180, 100, 60, 0.08);
    border: 2px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
}
.dz-mode-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(180, 100, 60, 0.16);
    border-color: #f0b896;
}
.dz-mode-icon {
    font-size: 32px;
    margin-bottom: 8px;
    line-height: 1;
}
.dz-mode-name {
    font-size: 15px;
    font-weight: 700;
    color: #4a2412;
    margin-bottom: 4px;
}
.dz-mode-desc {
    font-size: 12px;
    color: #a0826d;
    line-height: 1.4;
}

/* 分类筛选 chips */
.dz-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}
.dz-chip {
    display: inline-block;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #e8c4a8;
    border-radius: 20px;
    color: #6b4832;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}
.dz-chip:hover {
    background: #fff5ee;
    border-color: #d4663a;
    color: #b64a2a;
}
.dz-chip.active {
    background: linear-gradient(135deg, #c4653e 0%, #b64a2a 100%);
    border-color: #b64a2a;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(182, 74, 42, 0.25);
}

/* 专区空状态 */
.dz-empty {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed #e6c9b0;
    position: relative;
    z-index: 1;
}
.dz-empty-icon { font-size: 48px; margin-bottom: 14px; }
.dz-empty p {
    color: #8a6a55;
    font-size: 15px;
    margin: 0 0 18px;
}
.dz-empty-link {
    display: inline-block;
    padding: 9px 22px;
    background: linear-gradient(135deg, #c4653e 0%, #b64a2a 100%);
    color: #fff;
    border-radius: 22px;
    text-decoration: none;
    font-size: 14px;
    transition: transform 0.2s;
}
.dz-empty-link:hover { transform: scale(1.05); }

/* 礼服商品网格 */
.dz-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    position: relative;
    z-index: 1;
}
.dz-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(180, 100, 60, 0.08);
    border: 1px solid #f3e4d5;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.dz-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(180, 100, 60, 0.18);
    border-color: #e8c4a8;
}
.dz-img-wrap {
    display: block;
    text-decoration: none;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #faf3ec;
    position: relative;
}
.dz-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.dz-card:hover .dz-img { transform: scale(1.06); }
.dz-cat-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: linear-gradient(135deg, #c4653e, #b64a2a);
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 9px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(182, 74, 42, 0.3);
}
.dz-body {
    padding: 10px 12px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dz-name {
    font-size: 13px;
    font-weight: 600;
    color: #3a2515;
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 36px;
    transition: color 0.2s;
}
.dz-name:hover { color: #b64a2a; }
.dz-foot {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
}
.dz-price-box {
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-shrink: 0;
    flex-wrap: wrap;
    min-width: 0;
}
.dz-price {
    color: #d0342c;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}
.dz-price small { font-size: 12px; }
.dz-price-old {
    color: #b8a898;
    text-decoration: line-through;
    font-size: 11px;
    white-space: nowrap;
}
.dz-actions { flex-shrink: 0; }
.dz-btn {
    background: linear-gradient(135deg, #c4653e 0%, #b64a2a 100%);
    color: #fff;
    border: none;
    padding: 7px 16px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.dz-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(182, 74, 42, 0.3);
}

/* 婚纱礼服专区响应式 */
@media (max-width: 1023px) {
    .dz-grid { grid-template-columns: repeat(3, 1fr); }
    .dz-mode-cards { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
    .dress-zone {
        margin: 30px 0 18px;
        padding: 20px 14px;
        border-radius: 16px;
    }
    .dz-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .dz-title-wrap .dz-title { font-size: 21px; }
    .dz-mode-cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .dz-filter-chips { gap: 8px; }
    .dz-chip { padding: 6px 14px; font-size: 12px; }
    .dz-grid { grid-template-columns: repeat(2, 1fr); }
    .dz-name { font-size: 13px; }
    .dz-price { font-size: 15px; }
    .dz-btn { width: 100%; }
}
/* ============================================================
   全站响应式（设计图多设备适配）
   ============================================================ */

/* 平板（768px - 1023px） */
@media (max-width: 1023px) {
    .shop-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

/* 手机（< 768px） */
@media (max-width: 767px) {
    .shop-slider { margin-top: 14px; }

    .shop-search-bar { margin-top: 12px; padding-left: 14px; }
    .shop-search-bar .ss-input { min-width: 0; font-size: 13px; }
    .shop-search-bar .ss-btn { padding: 8px 20px; font-size: 13px; }

    .shop-filter { margin-top: 10px; }
    .shop-filter .filter-label { width: 100%; margin-bottom: -2px; }
    .shop-filter .chip { padding: 4px 12px; font-size: 12px; }

    .shop-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .shop-card { border-radius: 12px; }
    .shop-card .card-body { padding: 8px 10px 10px; }
    .shop-card .card-name { font-size: 12px; min-height: 34px; }
    .shop-card .price-box .price { font-size: 16px; }
    .shop-card .cart-btn { width: 27px; height: 27px; font-size: 13px; }

    .shop-page { margin-bottom: 26px; }
    .shop-page .pnum { padding: 5px 11px; font-size: 13px; }
}

/* 小屏手机（< 480px） */
@media (max-width: 480px) {
    .shop-filter .chip { padding: 4px 10px; }
    .dz-ccard .dz-ccard-name { font-size: 13px; }
    .dz-ccard .dz-ccard-cnt { font-size: 11px; }
    .dz-footer-tip { font-size: 12px; padding: 12px 14px; }
    .dz-foot { flex-direction: column; align-items: stretch; }
    .dz-btn { width: 100%; }
}
