/* Market — commerce moderne (Horizon / Shopify-like) */
.theme-market {
  --sf-ink: #0a0a0a;
  --sf-muted: #737373;
  --sf-line: rgba(0,0,0,.06);
  --sf-ease: cubic-bezier(.22, 1, .36, 1);
  background: #fafafa;
  color: #404040;
  font-feature-settings: "ss01" on;
}
.theme-market .announce {
  background: #0a0a0a;
  padding: 10px 48px 10px 0;
}
.theme-market .announce-text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.theme-market .header {
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: none;
  border-bottom: 1px solid var(--sf-line);
}
.theme-market .logo strong {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.03em;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  color: var(--sf-ink);
}
.theme-market .logo span {
  letter-spacing: .12em;
  font-weight: 600;
  font-size: 9px;
  color: var(--sf-muted);
}
.theme-market .search {
  border: 0;
  background: #f4f4f5;
  border-radius: 14px;
  height: 48px;
  transition: background .2s var(--sf-ease), box-shadow .2s var(--sf-ease);
}
.theme-market .search:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px var(--pink);
}
.theme-market .search button {
  background: transparent;
  color: var(--sf-ink);
  width: 52px;
}
.theme-market .search button:hover { color: var(--pink); background: transparent; }
.theme-market .tool {
  border: 0;
  background: #f4f4f5;
  color: var(--sf-ink);
  transition: background .2s, transform .2s var(--sf-ease);
}
.theme-market .tool:hover {
  background: #e4e4e7;
  border-color: transparent;
  color: var(--sf-ink);
  transform: translateY(-1px);
}
.theme-market .cats-btn {
  border-radius: 12px;
  font-weight: 650;
  letter-spacing: -.01em;
  box-shadow: none;
  height: 42px;
}
.theme-market .main-nav a {
  font-weight: 550;
  font-size: 13.5px;
  color: #525252;
  border-bottom: 0;
  position: relative;
}
.theme-market .main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .25s var(--sf-ease);
}
.theme-market .main-nav a:hover,
.theme-market .main-nav a.active { color: var(--sf-ink); font-weight: 650; border-bottom-color: transparent; }
.theme-market .main-nav a:hover::after,
.theme-market .main-nav a.active::after { transform: scaleX(1); }

.theme-market .hero {
  border-radius: 20px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 24px 48px rgba(0,0,0,.06);
  overflow: hidden;
}
.theme-market .hero-nav button {
  width: 42px; height: 42px;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,.85);
}
.theme-market .promo-label {
  background: rgba(10, 10, 10, .7);
  border-radius: 999px;
  left: 10px; right: 10px; bottom: 10px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -.01em;
}
.theme-market .promo-grid { gap: 12px; margin-top: 4px; }
.theme-market .promo-tile {
  border: 0;
  border-radius: 16px;
  box-shadow: none;
  background: #f4f4f5;
}
.theme-market .promo-grid img {
  height: 148px;
  transition: transform .55s var(--sf-ease);
}
.theme-market .promo-tile:hover img { transform: scale(1.06); }

.theme-market .section-head { margin: 48px 0 20px; }
.theme-market .section-head h2,
.theme-market .page-title {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.025em;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  color: var(--sf-ink);
}
.theme-market .tabs { gap: 6px; }
.theme-market .tabs button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  color: var(--sf-muted);
  font-weight: 600;
}
.theme-market .tabs button.on {
  background: var(--sf-ink);
  color: #fff;
  border-bottom-color: transparent;
}

.theme-market .grid { gap: 16px; }
.theme-market .card {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  overflow: hidden;
  transition: transform .28s var(--sf-ease), box-shadow .28s var(--sf-ease);
}
.theme-market .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,.1);
  border-color: transparent;
}
.theme-market .card-img {
  background: #f4f4f5;
  aspect-ratio: 1;
}
.theme-market .card-img img {
  transition: transform .6s var(--sf-ease);
}
.theme-market .card:hover .card-img img { transform: scale(1.05); }
.theme-market .card-body {
  padding: 14px 14px 16px;
  gap: 8px;
}
.theme-market .card-body h3 {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--sf-ink);
  min-height: 0;
  text-transform: none;
}
.theme-market .price {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.015em;
  font-size: 15px;
  color: var(--sf-ink);
}
.theme-market .price ins { color: var(--sf-ink); }
.theme-market .sticky-buy .buy-btn {
  background: var(--sf-ink);
  border-radius: 12px;
}
.theme-market .sticky-buy strong { color: var(--sf-ink); }
.theme-market .add-btn,
.theme-market .buy-btn,
.theme-market .buy-btn-dark,
.theme-market .load-more {
  text-transform: none;
  letter-spacing: -.01em;
  font-weight: 650;
  border-radius: 12px;
  transition: transform .2s var(--sf-ease), background .2s;
}
.theme-market .add-btn:hover,
.theme-market .buy-btn:hover { transform: scale(1.01); }
.theme-market .card-atc.add-btn,
.theme-market a.card-atc { height: 42px; font-size: 13px; }
@media (hover: hover) and (min-width: 961px) {
  .theme-market .card-atc {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s var(--sf-ease), transform .25s var(--sf-ease);
  }
  .theme-market .card:hover .card-atc {
    opacity: 1;
    transform: none;
  }
}

.theme-market .trust { gap: 12px; }
.theme-market .trust-item {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  padding: 22px 16px;
}
.theme-market .trust-item h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--sf-ink);
}
.theme-market .review {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
}
.theme-market .explore {
  border-radius: 24px;
  background: #0a0a0a;
  box-shadow: none;
}
.theme-market .explore h2 {
  font-family: var(--font);
  letter-spacing: -.025em;
  font-weight: 700;
}
.theme-market .stats .stat {
  background: rgba(255,255,255,.08);
  border-radius: 16px;
}
.theme-market .stats strong { color: var(--accent); }
.theme-market .stat span { text-transform: none; letter-spacing: -.01em; font-size: 12px; opacity: .7; }
.theme-market .footer { background: #0a0a0a; }
.theme-market .shop-filters {
  border: 0;
  border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}
.theme-market .load-more {
  border: 0;
  background: var(--sf-ink);
  color: #fff;
  box-shadow: none;
  margin-top: 18px;
  margin-bottom: 8px;
}
.theme-market .home-sec .load-more + .section-head,
.theme-market .section-head { margin-top: 40px; }
.theme-market .load-more:hover { background: #262626; color: #fff; }
