.winkel-page { --muted: #a1a2b5; }
.winkel-shell { max-width: 1500px; margin: 0 auto; padding: calc(var(--nav-h) + 36px) 40px 96px; min-height: 80vh; }
.shop-layout { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-sidebar { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.sidebar { border: 1px solid var(--border); border-radius: 12px; background: #0d0e18; padding: 12px; }
.recent-purchases { padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: #0d0e18; }
.recent-purchases h2 { font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.recent-purchase { display: flex; align-items: flex-start; gap: 10px; padding: 14px 0; }
.recent-purchase + .recent-purchase { border-top: 1px solid var(--border); }
.recent-purchase:first-child { padding-top: 0; }
.recent-purchase:last-child { padding-bottom: 0; }
.recent-purchase img, .purchase-avatar-fallback { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; background: #292039; }
.purchase-avatar-fallback { display: grid; place-items: center; color: var(--purple-l); }
.recent-purchase > div { min-width: 0; }
.recent-purchase h3 { font-size: 12px; color: var(--purple-l); font-weight: 600; overflow-wrap: anywhere; }
.recent-purchase p { font-size: 12px; color: var(--muted); margin-top: 4px; line-height: 1.65; overflow-wrap: anywhere; }
.purchase-status { font-size: 12px; line-height: 1.7; color: var(--muted); }
.sidebar-title { padding: 8px 12px 14px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sidebar-cats { display: flex; flex-direction: column; gap: 5px; }
.sidebar-cat { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 13px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); font: 600 13px/1.4 'Inter', sans-serif; text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.sidebar-cat:hover { color: var(--text); background: var(--glass); }
.sidebar-cat.active { color: var(--text); background: rgba(168,85,247,.12); }
.sidebar-cat.active::before { content: ''; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 4px; background: var(--purple); box-shadow: 0 0 12px #a855f755; }
.sidebar-cat-icon { font-size: 16px; width: 22px; text-align: center; flex-shrink: 0; }
.sidebar-cat-count { margin-left: auto; color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.sidebar-cat.active .sidebar-cat-count { color: var(--purple-l); }
.shop-content { min-width: 0; }
.shop-header { padding: 4px 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.shop-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.shop-eyebrow { color: var(--purple-l); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 9px; }
.shop-header h1 { font: 700 clamp(30px, 3.2vw, 46px)/1.15 'Space Grotesk', sans-serif; letter-spacing: -.04em; overflow-wrap: anywhere; }
#page-desc { color: var(--muted); font-size: 14px; line-height: 1.8; max-width: 760px; margin-top: 19px; white-space: pre-line; }
#page-desc:empty { display: none; }
.winkel-page .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.winkel-page .p-card { background: #0e101b; border-radius: 11px; overflow: hidden; }
.winkel-page .p-card:hover { transform: translateY(-3px); border-color: var(--border-p); box-shadow: 0 12px 32px #0005; }
.winkel-page .p-img-sm { height: auto; aspect-ratio: 16/10; font-size: 52px; background: radial-gradient(ellipse at center, #54217c55, #141222 70%); border-bottom: 1px solid var(--border); }
.winkel-page .store-product-image { object-fit: contain; }
.winkel-page .p-img::after { background: linear-gradient(transparent 65%, #0e101b50); }
.winkel-page .p-badge { top: 12px; left: 12px; padding: 4px 8px; border: 1px solid #c084fc55; border-radius: 5px; background: #38204deb; color: #e9d5ff; }
.winkel-page .p-body { padding: 18px; }
.winkel-page .p-cat { font-size: 10px; letter-spacing: .08em; }
.winkel-page .p-name { font-size: 17px; line-height: 1.4; margin: 5px 0 12px; overflow-wrap: anywhere; }
.winkel-page .p-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.7; flex: none; margin: 0 0 20px; }
.winkel-page .p-footer { border-top: 1px solid var(--border); margin-top: auto; padding-top: 16px; gap: 10px; flex-wrap: wrap; }
.winkel-page .p-price { font-size: 21px; color: var(--text); background: none; -webkit-text-fill-color: currentColor; line-height: 1.4; }
.winkel-price { display: flex; flex-direction: column; }
.winkel-old-price { color: var(--muted); font-size: 12px; }
.winkel-page .p-buy { color: white; background: linear-gradient(110deg, #7c3aed, #a855f7); border: 1px solid #c084fc33; border-radius: 6px; font-size: 12px; padding: 9px 12px; white-space: nowrap; }
.winkel-page .p-card:hover .p-buy { background: linear-gradient(110deg, #8b5cf6, #b56bfa); color: white; }
.empty-state { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty-state-icon { font-size: 40px; color: var(--purple-l); margin-bottom: 12px; }
.empty-state h2 { color: var(--text); font: 600 21px 'Space Grotesk', sans-serif; margin-bottom: 10px; }
.catalog-loading { color: var(--muted); padding: 12px; font-size: 13px; }
@media (min-width: 1200px) { .winkel-page .nav-inner { max-width: 1500px; padding-inline: 40px; } }
@media (max-width: 1199px) {
  .shop-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .winkel-page .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .winkel-shell { padding: calc(var(--nav-h) + 24px) 20px 64px; }
  .shop-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sidebar { position: static; padding: 12px; }
  .sidebar-title { padding: 0 4px 10px; }
  .sidebar-cats { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .sidebar-cat { width: auto; flex-shrink: 0; padding: 11px 12px; gap: 8px; }
  .sidebar-cat-count { margin-left: 4px; }
  .shop-header { margin-bottom: 20px; padding-bottom: 24px; }
}
@media (max-width: 480px) {
  .winkel-page .p-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .winkel-page .p-img-sm { aspect-ratio: 16/9; }
}
@media (prefers-reduced-motion: reduce) { .winkel-page .p-card { transition: none; } .winkel-page .p-card:hover { transform: none; } }
