/* ============================================================
   PC 店铺主页 · 精致版
   ============================================================ */
.st { background: #f5f6fa; min-height: 100vh; padding-bottom: 60px; }
.st-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ① 店铺头 */
.st-hero {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    background-color: #1e1b4b;
    overflow: visible;
}
.st-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(30,27,75,.15) 0%, rgba(30,27,75,.75) 100%);
}
.st-hero-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    padding: 0 24px;
    display: flex;
    align-items: flex-end;
}
.st-hero-card {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 28px 32px;
    background: rgba(255,255,255,.98);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(17,24,39,.12);
    transform: translateY(1px);
    backdrop-filter: blur(20px);
}
.st-hero-logo {
    width: 96px; height: 96px; flex: 0 0 auto;
    border-radius: 22px; overflow: hidden;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 32px -12px rgba(124,58,237,.55), 0 0 0 4px #fff;
}
.st-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.st-hero-logo span {
    font-size: 40px; font-weight: 800;
    background: linear-gradient(135deg, var(--primary, #6366f1), var(--accent, #8b5cf6));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.st-hero-info { flex: 1; min-width: 0; }
.st-hero-name {
    font-size: 26px; font-weight: 800; color: #111827;
    margin: 0 0 8px; letter-spacing: -.5px;
}
.st-hero-meta {
    font-size: 13.5px; color: #6b7280;
    margin: 0;
    display: flex; align-items: center; gap: 8px;
    flex-wrap: wrap;
}
.st-hero-meta .st-dot { opacity: .4; }
.st-hero-actions { display: flex; gap: 10px; }
.st-follow-btn, .st-share-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 42px; padding: 0 22px;
    border: 0; border-radius: 21px;
    font-size: 14px; font-weight: 700;
    cursor: pointer;
    transition: all .18s ease;
}
.st-follow-btn {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 8px 20px -8px rgba(99,102,241,.55);
}
.st-follow-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(99,102,241,.6); }
.st-follow-btn.followed { background: #f3f4f6; color: #6b7280; box-shadow: none; }
.st-share-btn {
    background: #f3f4f6; color: #374151;
}
.st-share-btn:hover { background: #e5e7eb; }

/* ② 数据卡 */
.st-stats {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    background: #fff;
    padding: 24px 24px 28px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 8px 24px -12px rgba(17,24,39,.08);
}
.st-stat {
    flex: 1;
    text-align: center;
    position: relative;
}
.st-stat + .st-stat::before {
    content: '';
    position: absolute; left: 0; top: 20%; bottom: 20%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, #f1f5f9, transparent);
}
.st-stat b {
    display: block;
    font-size: 26px; font-weight: 800;
    color: #111827; letter-spacing: -.5px;
    font-variant-numeric: tabular-nums;
}
.st-stat:nth-child(2) b { color: #ff7a45; }
.st-stat:nth-child(3) b { color: #fbbf24; }
.st-stat span {
    display: block;
    font-size: 12.5px; color: #9ca3af; margin-top: 6px;
}

/* ③ 公告 */
.st-announce {
    display: flex; align-items: center; gap: 10px;
    max-width: 1200px;
    margin: 16px auto 0;
    padding: 14px 24px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid rgba(251,146,60,.22);
    border-radius: 14px;
    font-size: 13.5px; color: #9a3412;
}
.st-announce-icon { font-size: 16px; }
.st-announce-text { flex: 1; line-height: 1.5; }

/* Section 通用 */
.st-section {
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 0 24px;
}
.st-section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 18px;
}
.st-section-title {
    font-size: 20px; font-weight: 800; color: #111827;
    margin: 0; letter-spacing: -.3px;
    position: relative; padding-left: 14px;
}
.st-section-title::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 4px; height: 20px; border-radius: 2px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    transform: translateY(-50%);
}
.st-section-sub {
    font-size: 13px; color: #9ca3af;
    margin: 4px 0 0 14px;
}
.st-more {
    font-size: 13.5px; color: #6b7280;
    text-decoration: none;
    transition: color .15s;
}
.st-more:hover { color: #6366f1; }

/* ④ 优惠券 */
.st-coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.st-coupon-card {
    display: flex;
    position: relative;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,107,53,.14);
    box-shadow: 0 6px 18px -6px rgba(255,71,87,.18);
    transition: transform .18s;
}
.st-coupon-card:hover { transform: translateY(-2px); }
.st-coupon-card::before, .st-coupon-card::after {
    content: ''; position: absolute; left: 96px;
    width: 14px; height: 14px; border-radius: 50%;
    background: #f5f6fa;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: inset 0 1px 2px rgba(0,0,0,.06);
}
.st-coupon-card::before { top: -7px; }
.st-coupon-card::after { bottom: -7px; }
.st-coupon-left {
    flex: 0 0 96px;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.4) 0%, transparent 55%),
                linear-gradient(135deg, #ff7a45 0%, #ff4757 55%, #e83e5c 100%);
    color: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 18px 8px;
    position: relative;
}
.st-coupon-left::after {
    content: '';
    position: absolute; right: 0; top: 12px; bottom: 12px;
    width: 1px;
    background-image: linear-gradient(to bottom, rgba(255,255,255,.55) 55%, transparent 55%);
    background-size: 1px 8px;
}
.st-coupon-face {
    font-size: 26px; font-weight: 800;
    line-height: 1; letter-spacing: -.8px;
    text-shadow: 0 1px 3px rgba(180,40,60,.28);
}
.st-coupon-type {
    font-size: 10.5px; font-weight: 500;
    margin-top: 8px; padding: 2px 9px;
    background: rgba(255,255,255,.24);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    letter-spacing: .5px;
}
.st-coupon-right {
    flex: 1; min-width: 0;
    padding: 16px 18px;
    display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
}
.st-coupon-name {
    font-size: 14.5px; font-weight: 700; color: #1f2937;
    margin-bottom: 6px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-coupon-desc {
    font-size: 12.5px; color: #9ca3af;
    margin-bottom: 4px;
}
.st-coupon-valid {
    font-size: 11.5px; color: #c0c4cc;
}

/* ⑤ 分类 chips */
.st-cats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.st-cat {
    padding: 9px 22px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 22px;
    font-size: 13.5px; color: #4b5563;
    text-decoration: none;
    transition: all .15s;
    box-shadow: 0 2px 6px -2px rgba(17,24,39,.06);
}
.st-cat:hover {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 20px -8px rgba(99,102,241,.5);
    transform: translateY(-1px);
}

/* ⑥ 商品网格 */
.st-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.st-product {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 2px 8px -2px rgba(17,24,39,.06);
    transition: all .2s ease;
}
.st-product:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -12px rgba(17,24,39,.15);
}
.st-product-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f6fa;
    overflow: hidden;
}
.st-product-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.st-product:hover .st-product-img img { transform: scale(1.06); }
.st-img-ph {
    display: flex; align-items: center; justify-content: center;
    height: 100%; font-size: 48px; opacity: .3;
}
.st-badge-hot {
    position: absolute; top: 10px; right: 10px;
    padding: 3px 8px;
    background: linear-gradient(135deg, #ff7a45, #ff4757);
    color: #fff; font-size: 10.5px; font-weight: 800;
    letter-spacing: .5px; border-radius: 8px;
    box-shadow: 0 3px 10px rgba(255,71,87,.4);
}
.st-product-info { padding: 14px 16px 16px; }
.st-product-name {
    font-size: 14px; font-weight: 600; color: #1f2937;
    line-height: 1.4; height: 40px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.st-product-foot {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-top: 10px;
}
.st-product-price {
    font-size: 18px; font-weight: 800; color: #ff4757;
    letter-spacing: -.3px;
}
.st-product-sales { font-size: 12px; color: #9ca3af; }

/* ⑦ 热销榜 */
.st-hot-list {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px -8px rgba(17,24,39,.08);
}
.st-hot-row {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid #f5f6fa;
    text-decoration: none;
    transition: background .15s;
}
.st-hot-row:hover { background: #fafbfc; }
.st-hot-row:last-child { border-bottom: 0; }
.st-rank-no {
    width: 28px; height: 28px; line-height: 28px;
    text-align: center; border-radius: 8px;
    font-size: 13px; font-weight: 800;
    color: #fff; background: #d1d5db;
    flex: 0 0 auto;
}
.st-rank-no.gold { background: linear-gradient(135deg, #ffb800, #ff7a00); box-shadow: 0 4px 10px -2px rgba(255,140,0,.5); }
.st-rank-no.silver { background: linear-gradient(135deg, #c7d0d9, #9aa5b1); }
.st-rank-no.bronze { background: linear-gradient(135deg, #cd7f32, #a5652a); }
.st-hot-img {
    width: 56px; height: 56px; border-radius: 12px;
    background: #f5f6fa; overflow: hidden;
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
}
.st-hot-img img { width: 100%; height: 100%; object-fit: cover; }
.st-hot-img .ph { font-size: 24px; opacity: .3; }
.st-hot-info { flex: 1; min-width: 0; }
.st-hot-name {
    font-size: 14px; font-weight: 600; color: #111827;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.st-hot-meta { font-size: 12px; color: #9ca3af; margin-top: 4px; }
.st-hot-price { font-size: 16px; font-weight: 800; color: #ff4757; }

/* ⑧ 品牌墙 */
.st-brands {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 8px 0;
}
.st-brand-item {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform .18s;
}
.st-brand-item:hover { transform: translateY(-3px); }
.st-brand-badge {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    color: #fff;
    font-size: 26px; font-weight: 800;
    border: 3px solid #fff;
    box-shadow: 0 6px 16px -6px rgba(17,24,39,.18);
}
.st-brand-badge img { width: 100%; height: 100%; object-fit: cover; }
.st-brand-name {
    font-size: 12px; color: #374151; font-weight: 600;
    max-width: 80px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ⑨ 评价 */
.st-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.st-review {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 14px -6px rgba(17,24,39,.08);
}
.st-review-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 14px;
}
.st-review-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; flex: 0 0 auto;
}
.st-review-info { flex: 1; min-width: 0; }
.st-review-name { font-size: 14px; font-weight: 700; color: #1f2937; }
.st-review-country { font-size: 12px; color: #9ca3af; margin-top: 2px; }
.st-review-stars { font-size: 13px; color: #fbbf24; letter-spacing: 1px; }
.st-review-content {
    font-size: 13.5px; line-height: 1.7; color: #4b5563;
    margin: 0;
    display: -webkit-box; -webkit-line-clamp: 4;
    -webkit-box-orient: vertical; overflow: hidden;
}

/* 响应式 */
@media (max-width: 992px) {
    .st-grid { grid-template-columns: repeat(3, 1fr); }
    .st-reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .st-grid { grid-template-columns: repeat(2, 1fr); }
    .st-reviews { grid-template-columns: 1fr; }
    .st-hero { height: 240px; }
    .st-hero-card { flex-direction: column; text-align: center; }
}

