.shop-heading { display:flex; flex-wrap:wrap; gap:1rem; align-items:center; justify-content:space-between; margin-bottom:1.5rem; }
.shop-heading :is(h1,h2) { margin:0; }
.shop-heading nav,.shop-footer { display:flex; flex-wrap:wrap; gap:.75rem 1.25rem; }
.shop-heading nav a,.shop-footer a { text-decoration:underline; text-underline-offset:.2em; }
.shop-crumbs { margin:-.5rem 0 1.5rem; font-size:.95rem; }
.shop-crumbs ol { display:flex; flex-wrap:wrap; gap:.25rem .65rem; margin:0; padding:0; list-style:none; }
.shop-crumbs li+li::before { content:"/"; margin-right:.65rem; color:var(--muted); }
.shop-crumbs a { text-decoration:underline; text-underline-offset:.2em; }
.shop-crumbs [aria-current] { color:var(--muted); }
.shop-footer { margin-top:2rem; padding-top:1rem; border-top:1px solid var(--line); }
.shop-preview { color:var(--muted); margin:0 0 1rem; font-size:.9rem; }
.shop-preview a { text-decoration:underline; }
.shop-admin-nav { display:flex; flex-wrap:wrap; gap:.25rem; border-bottom:1px solid var(--line); margin-bottom:2rem; padding-bottom:.5rem; }
.shop-admin-nav a { padding:.55rem .85rem; border-radius:.4rem; font-weight:700; }
.shop-admin .panel { margin:1rem 0; }
.shop-admin fieldset { min-width:0; display:grid; gap:1rem; padding:1rem; border:1px solid var(--line); border-radius:.5rem; scroll-margin-top:7rem; }
.shop-admin legend { padding:0 .35rem; font-weight:700; }
.shop-admin #product-stock { scroll-margin-top:7rem; }
.shop-admin-photo { display:block; width:10rem; max-width:100%; border-radius:.4rem; }
.shop-admin .tablewrap { overflow-x:auto; margin-bottom:1.5rem; }
.shop-admin table { width:100%; text-align:left; }
.shop-admin th { white-space:nowrap; }
.shop-admin td a { text-decoration:underline; }
.shop-badge { display:inline-block; border-radius:2rem; padding:.16rem .65rem; font-size:.85rem; white-space:nowrap; background:#3c3222; color:#ffd98a; }
.shop-badge-good { background:#193b2e; color:#a9f2cb; }
.shop-badge-bad { background:#492328; color:#ffc2c6; }
@media (max-width:760px) { .shop-admin-nav a { padding:.45rem .65rem; } }

.shop-category-directory { margin-bottom:1.5rem; }
.shop-category-directory .projectbody h2 { font-size:1.3rem; margin:0 0 .35rem; }
.shop-editor-tabs { display:flex; flex-wrap:wrap; gap:.4rem; border-bottom:1px solid var(--line); padding-bottom:.5rem; }
.shop-editor-tabs button { background:#242428; color:#fafafa; border:1px solid var(--line); }
.shop-editor-tabs button[aria-selected="true"] { background:#ffd52e; border-color:#ffd52e; color:#101010; }
[data-shop-product-editor] [hidden] { display:none !important; }
