/* CampbellStocks: base page styles for the new pages (homepage, category pages).
   Works together with your nav.php header. Footer classes are prefixed hs-foot. */
body { margin: 0; font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; background: #f6f7f9; color: #111827; transition: background .3s, color .3s; }
body.dark-mode { background: #12121a; color: #eaeef2; }
@media (max-width: 991px) { body { padding-top: 64px; } }
.hs-main-wrap a { color: inherit; text-decoration: none; }
.hs-main-wrap img { max-width: 100%; }
.hs-main-wrap ul { list-style: none; margin: 0; padding: 0; }

/* dark-mode switch (bottom right) */
.theme-toggle-wrapper { position: fixed; bottom: 12px; right: 16px; z-index: 9990; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); padding: 6px 12px; border-radius: 40px; box-shadow: 0 4px 16px rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.06); }
body.dark-mode .theme-toggle-wrapper { background: rgba(30,30,44,.9); border-color: rgba(255,255,255,.08); }
.theme-toggle-label::before { content: '\2600\FE0F'; font-size: 14px; }
body.dark-mode .theme-toggle-label::before { content: '\1F319'; }
.toggle-switch { position: relative; width: 42px; height: 24px; background: #d1d5db; border-radius: 40px; cursor: pointer; transition: background .3s; }
body.dark-mode .toggle-switch { background: #3b3b4e; }
.toggle-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .3s; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
body.dark-mode .toggle-knob { transform: translateX(18px); }

/* footer */
.hs-foot { background: #0f0f1a; color: #cbd5e1; margin-top: 48px; padding: 36px 20px 18px; border-top: 3px solid #EA1E20; font-family: 'Inter', 'Segoe UI', sans-serif; }
.hs-foot a { color: inherit; text-decoration: none; }
.hs-foot-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 120px 1fr 190px; gap: 32px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid #2a2a3e; }
.hs-foot-logo { width: 100px; height: 100px; border-radius: 50%; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hs-foot-logo img { width: 100%; height: 100%; object-fit: contain; }
.hs-foot-links { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; }
.hs-foot-links a { font-size: .92rem; font-weight: 500; color: #fff; }
.hs-foot-links a:hover { color: #EA1E20; }
.hs-foot-social strong { display: block; color: #fff; margin-bottom: 12px; font-size: .9rem; letter-spacing: .06em; }
.hs-foot-social ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.hs-foot-social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.08); color: #b0b3b8; font-size: 1.05rem; }
.hs-foot-social a:hover { background: rgba(255,255,255,.2); color: #fff; }
.hs-foot-copy { max-width: 1200px; margin: 16px auto 0; text-align: center; font-size: .82rem; color: #8b93a3; line-height: 1.7; }
.hs-foot-copy a { color: #cbd5e1; text-decoration: underline; }
@media (max-width: 800px) {
  .hs-foot-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hs-foot-social ul { justify-content: center; }
}
