/* ==========================================================================
   Shop page — same visual language as the home page
   ========================================================================== */
.shop { background: var(--bg); font-family: var(--sans); }
[data-lang="zh"] .shop, .shop[data-lang="zh"] { font-family: var(--sans-cn); }

.shop-head { position: relative; overflow: hidden; background: linear-gradient(180deg, #e6ecf6 0%, #eef1f7 60%, var(--bg) 100%); }
.shop-head .frame { padding: 6.4rem 4.4rem 3.2rem; }
.shop-brand { font-size: 1.35rem; font-weight: 500; color: #4b4b52; }
.shop-head h1 { margin-top: 1.4rem; font-size: 4.6rem; line-height: 1.05; font-weight: 700; letter-spacing: -.028em; }
[data-lang="zh"] .shop-head h1 { font-weight: 900; letter-spacing: .02em; }
.shop-sub { margin-top: 1rem; font-size: 1.6rem; color: #6c6c73; }
.shop-note { position: absolute; right: 8rem; bottom: 4rem; font-size: 1.9rem; color: #7d7f88; transform: rotate(-8deg); }

.filters-wrap { position: sticky; top: 0; z-index: 20; background: rgba(247, 247, 248, .86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.filters { display: flex; gap: .8rem; padding: 1.4rem 4.4rem; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; height: 3.4rem; padding: 0 1.6rem; border-radius: 99rem; background: #fff; box-shadow: inset 0 0 0 1px #e3e3e8; font-size: 1.3rem; font-weight: 600; color: #3a3a40; transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px #c9c9d0; }
.chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }

main.frame { padding: 2rem 4.4rem 6rem; }
.result-count { font-size: 1.25rem; color: var(--muted); margin-bottom: 1.6rem; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.6rem; }

.card { animation: card-in .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 35ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(1.2rem); } }
.card-media { position: relative; border-radius: 1.4rem; overflow: hidden; background: #f1f1f3; aspect-ratio: 1; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.05); }
.badge { position: absolute; left: 1rem; top: 1rem; height: 2.2rem; padding: 0 .9rem; border-radius: 99rem; font-size: 1rem; font-weight: 700; letter-spacing: .06em; line-height: 2.2rem; }
.badge-new { background: var(--duck); color: #111; }
.badge-hot { background: var(--orange); color: #fff; }
.card-body { padding: 1.2rem .4rem 0; }
.card h3 { font-size: 1.45rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.card p { margin-top: .3rem; font-size: 1.2rem; line-height: 1.4; color: #7d7d84; }
.card-foot { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.add { height: 3.2rem; padding: 0 1.3rem 0 1rem; border-radius: 99rem; background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: .5rem; font-size: 1.2rem; font-weight: 600; transition: transform .15s, background .2s; }
.add svg { width: 1.3rem; height: 1.3rem; }
.add:hover { background: #000; }
.add:active { transform: scale(.94); }

.shop-foot { text-align: center; padding: 3rem 0 5rem; border-top: 1px solid var(--line); }
.shop-foot .footer-brand { font-size: 1.5rem; font-weight: 600; }
.shop-legal { margin-top: 1.2rem; font-size: 1.1rem; color: #a6a6ac; }
.shop-foot .hand, .shop-foot .hand-cn { margin-top: .6rem; font-size: 1.6rem; color: #8c8d94; }

@media (max-width: 900px) {
  .shop-head .frame { padding: 7.6rem 2.4rem 2.8rem; }
  .shop-head h1 { font-size: 4rem; }
  .shop-note { display: none; }
  .filters { padding: 1.2rem 2.4rem; }
  main.frame { padding: 1.6rem 2.4rem 4.8rem; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.2rem; }
  .card h3 { font-size: 1.45rem; }
  .add span { display: none; }
  .add { width: 3.4rem; height: 3.4rem; padding: 0; justify-content: center; }
}
@media (min-width: 901px) and (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
