body {
    margin: 0;
    background: #fafafa;
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* 整體框架 */
.store-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* 🔥 Banner */
.store-banner {
    background: linear-gradient(90deg, #ff4d6d, #ff7a85);
    border-radius: 20px;
    padding: 26px;
    margin-bottom: 22px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(255, 77, 109, 0.3);
}

/* 🔥 分類 Bar */
.category-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.cat-btn {
    padding: 10px 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #eee;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.25s;
}

.cat-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.cat-btn.active {
    background: linear-gradient(90deg, #ff4d6d, #ff7a85);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 18px rgba(255, 77, 109, 0.25);
}

/* 🔥 商品網格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
}

/* 🔥 商品卡片 */
.product-card {
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.25s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 18px 28px rgba(0,0,0,0.12);
}

/* 商品圖片 */
.p-thumb {
    width: 100%;
    height: 170px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 10px;
}

/* 文字 */
.p-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.p-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.p-price {
    font-size: 18px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff4d6d, #ff7a85);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
body {
    margin: 0;
    background: #fafafa;
    font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
}

/* ======================= */
/* 🔥 NAVBAR */
/* ======================= */
.navbar {
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    justify-content: flex-start;
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff4d6d, #ff7a85);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    margin-left: 18px;
    font-size: 15px;
    color: #444;
    text-decoration: none;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #ff4d6d;
}

/* ======================= */
/* 🔥 Hero Banner */
/* ======================= */
.hero-banner {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.hero-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.hero-text {
    position: absolute;
    bottom: 20px;
    left: 25px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
}

.hero-sub {
    font-size: 16px;
    margin-top: 4px;
}

/* ======================= */
/* 🔥 Footer */
/* ======================= */
.footer {
    margin-top: 40px;
    padding: 30px 20px;
    background: #fff;
    text-align: center;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.05);
}

.footer-title {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(90deg, #ff4d6d, #ff7a85);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.footer-links a {
    margin: 0 10px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ff4d6d;
}

.footer-copy {
    margin-top: 10px;
    font-size: 12px;
    color: #aaa;
}
/* 防止整页横向滚动 */
html, body {
    overflow-x: hidden;
    width: 100%;
}

/* Banner 不要超宽 */
.hero-banner {
    max-width: 100%;
    overflow: hidden;
}

/* 商品卡片限制宽度 */
.product-card {
    max-width: 100%;
}

/* 分类按钮在手机避免撑开 */
.category-bar {
    overflow-x: auto;
    white-space: nowrap;
}

.cat-btn {
    display: inline-block;
}
.tw-footer {
    background: #ffffff;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: #333;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 6px;
    background: linear-gradient(90deg, #ff4d6d, #ff7a85);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
}

.footer-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.footer-links a {
    display: inline-block;
    margin: 6px 10px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ff4d6d;
}

.footer-info p {
    font-size: 13px;
    color: #777;
    margin: 3px 0;
}

.footer-social {
    margin: 20px 0;
}

.footer-social img {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.footer-copy {
    font-size: 12px;
    color: #aaa;
    margin-top: 20px;
}
