/* ================= 页面容器 ================= */
.store-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ================= 标题 ================= */
.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #1f2937;
}

/* ================= 品牌卡片行（单行 3 张） ================= */
.brand-card-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: nowrap; /* ✅ 强制单行 */
	width: fit-content; 
	max-width: 100%; 
}

/* ================= 卡片外层（固定尺寸） ================= */
.brand-card-link {
    flex: 0 0 240px;          /* ✅ 固定宽度 */
    max-width: 240px;
    text-decoration: none;
    color: inherit;
}

/* ================= 卡片本体 ================= */
.brand-card {
    width: 240px;              /* ✅ 固定宽度 */
    height: 340px;             /* ✅ 固定高度 */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    position: relative;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

/* ================= 上半部分（背景图） ================= */
.card-top {
    position: relative;
    height: 200px;
    background-size: 100% 100%;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.25);
}

/* ================= Logo（交叉中心） ================= */
.card-logo {
    position: absolute;
    bottom: -40px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff;
    padding: 8px;
    z-index: 2;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    border: 3px solid #fff;
}

/* ================= 浮层（进店逛逛） ================= */
.card-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.30);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.brand-card:hover .card-hover {
    opacity: 1;
}

.card-hover span {
    background: #ff4d4d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* ================= 下半部分 ================= */
.card-bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 55px 15px 20px;
    text-align: center;
}

.name-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.store-name-card {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.tag {
    background: #ff5000;
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
}

/* ================= 星级 ================= */
.stars {
    color: #ffc107;
    font-size: 16px;
    letter-spacing: 2px;
}

.star.empty {
    color: #ddd;
}