
/* FTS V79 — store nav cleanup + profile wallet integration
   Keep the shop premium: one category drawer, one sticky Store Menu. No third duplicate tab row. */
body[data-section="shop"] .shop-rail{
  top:96px;
  max-height:calc(100svh - 116px);
  overflow:auto;
  padding-right:12px;
  scrollbar-width:thin;
}
body[data-section="shop"] .shop-rail::-webkit-scrollbar{width:4px}
body[data-section="shop"] .shop-rail::-webkit-scrollbar-thumb{background:var(--line2)}
body[data-section="shop"] .rail-group-label{
  margin:14px 0 1px;
  padding-top:11px;
  border-top:1px solid var(--line);
  font-family:var(--mono);
  font-size:8px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(242,239,232,.42);
}
body[data-section="shop"] .shop-rail button{
  padding:7px 0;
  line-height:1.2;
}
body[data-section="shop"] .filter-row{display:none!important;}
body[data-section="shop"] #storefront,
body[data-section="shop"] #categories{scroll-margin-top:110px;}
body[data-section="shop"] .shop-body{margin-top:30px;}
body[data-section="shop"] .category-dropdowns{margin-top:24px;}
body[data-section="shop"] .shop-note{margin-top:18px;}

html[data-theme="light"] body[data-section="shop"] .rail-group-label{color:rgba(10,10,10,.46);border-top-color:rgba(10,10,10,.12)}

/* Profile wallet shortcut */
body[data-section="profile"] .profile-action-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
body[data-section="profile"] .profile-chip-row + .button-row{align-items:center;}
body[data-section="profile"] .side-links a[href="wallet.html"]{border-color:rgba(183,196,154,.26);}

@media(max-width:1180px){
  body[data-section="profile"] .profile-action-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:1020px){
  body[data-section="shop"] .shop-rail{top:auto;max-height:none;overflow-x:auto;overflow-y:hidden;padding-right:0;gap:0;}
  body[data-section="shop"] .rail-group-label{display:none;}
  body[data-section="shop"] .shop-rail button{padding:8px 14px;}
  body[data-section="shop"] #storefront,
  body[data-section="shop"] #categories{scroll-margin-top:78px;}
}
@media(max-width:760px){
  body[data-section="profile"] .profile-action-grid{grid-template-columns:1fr;}
}
