:root {
    --shop-ink: #17151a;
    --shop-muted: #706b73;
    --shop-line: #e7e2e7;
    --shop-surface: #ffffff;
    --shop-soft: #f8f6f8;
    --shop-brand: #9d2d58;
    --shop-brand-dark: #6f1f40;
    --shop-accent: #d6a451;
    --shop-success: #2d7a4f;
    --shop-shadow: 0 14px 40px rgba(39, 26, 34, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.shop-page {
    margin: 0;
    color: var(--shop-ink);
    background: var(--shop-soft);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    line-height: 1.65;
}
.shop-page a { color: inherit; }
.shop-shell { width: min(1440px, calc(100% - 40px)); margin: 0 auto; }

.shop-topbar {
    background: #211a20;
    color: #f7edf2;
    font-size: 13px;
}
.shop-topbar .shop-shell {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.shop-topbar a { color: #fff; text-decoration: none; }
.shop-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--shop-line);
}
.shop-header-row {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 34px;
}
.shop-brand {
    color: var(--shop-brand-dark);
    text-decoration: none;
    font-size: 25px;
    font-weight: 850;
    letter-spacing: -.02em;
}
.shop-nav { display: flex; align-items: center; gap: 24px; }
.shop-nav a { color: #433c43; text-decoration: none; font-weight: 650; font-size: 14px; }
.shop-nav a:hover { color: var(--shop-brand); }
.shop-header-cta {
    padding: 10px 17px;
    border-radius: 999px;
    background: var(--shop-brand);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}

.shop-hero {
    padding: 46px 0 36px;
    background:
        radial-gradient(circle at 88% 5%, rgba(157, 45, 88, .14), transparent 31%),
        linear-gradient(145deg, #fff 0%, #fbf5f7 100%);
    border-bottom: 1px solid var(--shop-line);
}
.shop-breadcrumb { color: var(--shop-muted); font-size: 13px; margin-bottom: 16px; }
.shop-breadcrumb a { text-decoration: none; }
.shop-breadcrumb span { margin: 0 8px; color: #aaa2a8; }
.shop-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 42px; align-items: end; }
.shop-eyebrow { color: var(--shop-brand); font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.shop-hero h1 { margin: 8px 0 14px; font-size: clamp(30px, 4vw, 52px); line-height: 1.12; letter-spacing: -.04em; }
.shop-hero p { margin: 0; max-width: 840px; color: #5f5760; font-size: 17px; }
.shop-stat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.shop-stat div { background: #fff; padding: 16px; border: 1px solid var(--shop-line); border-radius: 14px; box-shadow: var(--shop-shadow); }
.shop-stat strong { display: block; font-size: 24px; line-height: 1; color: var(--shop-brand-dark); }
.shop-stat span { display: block; margin-top: 8px; color: var(--shop-muted); font-size: 12px; }

.shop-main { padding: 34px 0 70px; }
.shop-mobile-filter { display: none; }
.shop-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 30px; align-items: start; }
.shop-sidebar {
    position: sticky;
    top: 98px;
    background: var(--shop-surface);
    border: 1px solid var(--shop-line);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shop-shadow);
}
.filter-block + .filter-block { border-top: 1px solid var(--shop-line); margin-top: 22px; padding-top: 20px; }
.filter-block h2 { margin: 0 0 12px; font-size: 15px; }
.filter-list { display: grid; gap: 8px; }
.filter-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 11px;
    color: #4f474f;
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
}
.filter-chip:hover, .filter-chip.is-active { border-color: var(--shop-brand); color: var(--shop-brand-dark); background: #fff6f9; }
.filter-chip small { color: #999098; }
.filter-note { margin: 10px 0 0; color: var(--shop-muted); font-size: 12px; }

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 14px;
}
.shop-toolbar p { margin: 0; color: var(--shop-muted); font-size: 14px; }
.shop-toolbar form { display: flex; align-items: center; gap: 10px; }
.shop-toolbar label { font-size: 13px; font-weight: 700; }
.shop-toolbar select {
    min-width: 150px;
    padding: 9px 34px 9px 11px;
    border: 1px solid var(--shop-line);
    border-radius: 9px;
    background: #fff;
    color: var(--shop-ink);
}

.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.shop-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(35, 23, 31, .055);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shop-shadow); border-color: #d6c9d1; }
.shop-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #eee9ec; }
.shop-card-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.shop-card:hover img { transform: scale(1.035); }
.shop-card-badge { position: absolute; top: 12px; left: 12px; padding: 6px 9px; border-radius: 999px; background: rgba(33, 26, 32, .84); color: #fff; font-size: 11px; font-weight: 800; }
.shop-card-body { padding: 16px; }
.shop-card-kicker { color: var(--shop-brand); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.shop-card h2 { margin: 5px 0 8px; font-size: 16px; line-height: 1.35; }
.shop-card h2 a { color: var(--shop-ink); text-decoration: none; }
.shop-card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 13px; padding: 0; list-style: none; }
.shop-card-meta li { padding: 4px 7px; color: #6c626b; background: var(--shop-soft); border-radius: 6px; font-size: 11px; }
.shop-card-action { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--shop-line); }
.shop-card-action span { color: var(--shop-success); font-size: 12px; font-weight: 750; }
.shop-card-action a { color: var(--shop-brand-dark); text-decoration: none; font-size: 13px; font-weight: 800; }

.shop-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.shop-pagination a, .shop-pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--shop-line); border-radius: 10px; background: #fff; text-decoration: none; font-size: 13px; }
.shop-pagination .current { color: #fff; background: var(--shop-brand); border-color: var(--shop-brand); }

.shop-content, .shop-faq, .shop-links {
    margin-top: 34px;
    padding: clamp(24px, 4vw, 44px);
    background: #fff;
    border: 1px solid var(--shop-line);
    border-radius: 18px;
    box-shadow: var(--shop-shadow);
}
.shop-content h2, .shop-faq h2, .shop-links h2 { margin: 0 0 15px; font-size: clamp(22px, 3vw, 31px); line-height: 1.25; }
.shop-content h3 { margin: 28px 0 10px; font-size: 19px; }
.shop-content p { margin: 0 0 14px; color: #514951; }
.shop-content ul { padding-left: 20px; color: #514951; }
.shop-faq details { border-top: 1px solid var(--shop-line); padding: 16px 0; }
.shop-faq details:first-of-type { border-top: 0; }
.shop-faq summary { cursor: pointer; font-weight: 800; }
.shop-faq p { margin: 9px 0 0; color: var(--shop-muted); }
.shop-tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.shop-tag-list a { padding: 8px 12px; border: 1px solid var(--shop-line); border-radius: 999px; text-decoration: none; color: #5b5159; font-size: 12px; }
.shop-tag-list a:hover { border-color: var(--shop-brand); color: var(--shop-brand); }
.shop-footer { padding: 34px 0; background: #211a20; color: #ddd1d8; text-align: center; }
.shop-footer p { margin: 5px 0; font-size: 13px; }

@media (max-width: 1120px) {
    .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .shop-hero-grid { grid-template-columns: 1fr; }
    .shop-stat { max-width: 500px; }
}
@media (max-width: 880px) {
    .shop-header-row { grid-template-columns: 1fr auto; }
    .shop-nav { display: none; }
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { position: static; display: none; }
    .shop-sidebar.is-open { display: block; }
    .shop-mobile-filter { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid var(--shop-line); border-radius: 10px; background: #fff; font-weight: 750; cursor: pointer; }
    .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
    .shop-shell { width: min(100% - 24px, 1440px); }
    .shop-topbar .shop-shell { justify-content: center; text-align: center; }
    .shop-topbar span:last-child { display: none; }
    .shop-header-row { min-height: 64px; gap: 14px; }
    .shop-brand { font-size: 21px; }
    .shop-header-cta { padding: 8px 12px; font-size: 12px; }
    .shop-hero { padding: 30px 0 27px; }
    .shop-hero p { font-size: 15px; }
    .shop-stat { grid-template-columns: 1fr 1fr; }
    .shop-main { padding-top: 22px; }
    .shop-toolbar { align-items: stretch; flex-direction: column; }
    .shop-toolbar form { justify-content: space-between; }
    .shop-toolbar select { flex: 1; min-width: 0; }
    .shop-grid { gap: 12px; }
    .shop-card-body { padding: 12px; }
    .shop-card h2 { font-size: 14px; }
    .shop-card-meta li:nth-child(n+3) { display: none; }
    .shop-card-action { align-items: flex-start; flex-direction: column; }
    .shop-content, .shop-faq, .shop-links { padding: 23px 19px; }
}
