/* Static shop pages (home, categories, products, policies) */
body.shop-page main { min-height: 50vh; }
.p-card .p-media, .p-card .p-name { text-decoration: none; }
a.p-name { display: block; color: inherit; }
a.p-media { cursor: pointer; }
.p-card .js-price { font-weight: 800; }
.crumbs.on-light { color: var(--text-muted-light); margin: 0 0 18px; }
.crumbs.on-light a { color: var(--text-on-light); }
.shop-main { padding: 36px 0 70px; }
.shop-main .prose { max-width: 78ch; }
.cat-intro { max-width: 80ch; margin-bottom: 26px; }
.cat-intro p { color: var(--text-muted-light); line-height: 1.75; margin-bottom: 12px; }
.cat-intro a, .prose a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="dark"] .cat-intro a { color: var(--green-bright); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin: 8px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border-light); background: var(--surface, #fff); font-weight: 600; font-size: .88rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink, #0a0a0a); color: var(--on-ink, #fff); border-color: var(--ink, #0a0a0a); }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 18px 0 8px; }
.cat-tile { display: block; border: 1px solid var(--border-light); border-radius: 16px; overflow: hidden; background: var(--surface, #fff); transition: transform .2s, border-color .2s; }
.cat-tile:hover { transform: translateY(-3px); border-color: var(--green); }
.cat-tile img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; background: #111; }
.cat-tile span { display: block; padding: 12px 14px; font-weight: 700; }
.cat-tile small { display: block; color: var(--text-muted-light); font-weight: 500; }
.h-section { margin: 44px 0 6px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.8vw, 1.9rem); line-height: 1.2; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 18px 0; }
.trust-grid > div { border: 1px solid var(--border-light); border-radius: 14px; padding: 16px 18px; background: var(--surface, #fff); }
.trust-grid h3 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 6px; }
.trust-grid p { color: var(--text-muted-light); font-size: .92rem; line-height: 1.6; }
.band { margin: 40px 0 0; padding: 24px 26px; border-radius: 18px; background: #0a0a0a; color: #fff; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.band p { color: #b5bdb8; margin-top: 4px; max-width: 60ch; }
.band h2 { font-family: var(--font-display); font-size: 1.2rem; }
.band .btn-outline { color: #fff; border-color: rgba(255,255,255,.3); }
/* product page */
.pp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.pp-gallery { display: grid; gap: 12px; }
.pp-main { border-radius: 18px; overflow: hidden; background: #0a0a0a; aspect-ratio: 4/3; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-thumbs button { width: 74px; height: 74px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; background: #111; cursor: pointer; }
.pp-thumbs button[aria-current="true"] { border-color: var(--green); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-info h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.2; margin: 6px 0 10px; text-wrap: balance; }
.pp-meta { color: var(--text-muted-light); font-size: .88rem; }
.pp-price { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 6px; }
.pp-price strong { font-family: var(--font-display); font-size: 2rem; }
.pp-price s { color: var(--text-dim); }
.pp-save { background: var(--accent-glow); color: var(--green-dark); font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: .82rem; }
.stock-ok, .stock-low, .stock-out { font-weight: 700; }
.stock-ok { color: var(--green-dark); } .stock-low { color: #b45309; } .stock-out { color: #dc2626; }
.pp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.pp-actions .btn { min-height: 50px; }
.pp-points { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pp-points li { padding: 10px 14px; border: 1px solid var(--border-light); border-radius: 12px; font-size: .92rem; color: var(--text-muted-light); }
.pp-points a { color: var(--green-dark); font-weight: 600; text-decoration: underline; }
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.spec-table th { width: 38%; color: var(--text-muted-light); font-weight: 600; background: var(--surface-2, #f5f5f5); }
.pp-section { margin-top: 34px; }
.pp-section h2 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 10px; }
.pp-section p { color: var(--text-muted-light); line-height: 1.75; margin-bottom: 12px; max-width: 78ch; }
.pp-section a { color: var(--green-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.notice { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--accent-border); background: var(--accent-glow); margin: 16px 0; }
.notice.warn { border-color: #f59e0b66; background: #f59e0b14; }
.buybar { display: none; }
@media (max-width: 800px) {
  .pp { grid-template-columns: 1fr; gap: 22px; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: 12px; align-items: center; justify-content: space-between; padding: 10px max(14px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right)); background: rgba(10,10,10,.97); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
  .buybar strong { font-family: var(--font-display); font-size: 1.15rem; display: block; line-height: 1.2; }
  .buybar small { color: #b5bdb8; font-size: .75rem; }
  .buybar .btn { min-height: 46px; padding-inline: 22px; }
  body.has-buybar { padding-bottom: 76px; }
}
:root[data-theme="dark"] .stock-ok { color: var(--green-bright); }
:root[data-theme="dark"] .pp-section a, :root[data-theme="dark"] .pp-points a { color: var(--green-bright); }
:root[data-theme="dark"] .spec-table th { background: #101412; }
.footer-grid.five { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1024px) { .footer-grid.five { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid.five { grid-template-columns: 1fr; } }

.shop-main.top { padding-top: 104px; }
@media (max-width: 768px) { .shop-main.top { padding-top: 88px; } }

.nav-ticket { display: inline-flex; align-items: center; border: 1.5px solid var(--green); color: var(--green) !important; padding: 8px 14px; border-radius: 999px; font-weight: 700 !important; font-size: .85rem !important; white-space: nowrap; }
.nav-ticket:hover { background: var(--green); color: #07140b !important; }
@media (max-width: 768px) { .nav-ticket { justify-content: center; margin-top: 8px; padding: 12px 18px; } }
