/* TOOLiX shared visual layer — header/footer structure remains controlled by Astra. */
:root{
  --tx-bg:#ffffff;--tx-surface:#faf6ee;--tx-surface-2:#f4ecdd;--tx-surface-3:#fffaf5;
  --tx-ink:#1a1613;--tx-ink-soft:#4a4239;--tx-muted:#8a8175;
  --tx-line:#efe8d8;--tx-line-strong:#dfd4bc;
  --tx-accent:#d43324;--tx-accent-deep:#9c2211;--tx-accent-ghost:#fce8e4;
  --tx-success:#2e7d5b;--tx-success-ghost:#e6f2ec;--tx-gold:#c98a1e;
}

/* Existing Astra header/footer are not rebuilt. Only restrained color integration. */
body{color:var(--tx-ink)}
a{transition:color .2s ease,border-color .2s ease,background-color .2s ease}

/* Mobile bottom navigation and default-product sticky purchase bar. */
.tx-bottom-nav,.tx-sticky-bar{display:none}
@media(max-width:720px){
  body.tx-has-bottom-nav{padding-bottom:64px!important}
  .tx-bottom-nav{
    display:flex;position:fixed;bottom:0;left:0;right:0;height:60px;
    background:rgba(255,255,255,.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    border-top:1px solid var(--tx-line);z-index:99999;align-items:center;
    justify-content:space-around;padding:0 10px;box-shadow:0 -10px 28px -26px rgba(26,22,19,.35)
  }
  .tx-bottom-nav a{
    display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
    text-decoration:none;color:var(--tx-muted);font-size:10px;font-weight:600;flex:1
  }
  .tx-bottom-nav a.active{color:var(--tx-accent)}
  .tx-bottom-nav a svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .tx-sticky-bar{
    position:fixed;bottom:0;left:0;right:0;background:rgba(255,255,255,.97);
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-top:1px solid var(--tx-line);
    padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));gap:10px;z-index:100000;
    transform:translateY(110%);transition:transform .32s cubic-bezier(.2,.8,.2,1);
    box-shadow:0 -10px 30px -26px rgba(26,22,19,.4)
  }
  .tx-sticky-bar.visible{display:flex;transform:none}
  .tx-sticky-bar a{flex:1;padding:12px;border-radius:11px;font-size:14px;font-weight:700;text-align:center;text-decoration:none}
  .tx-sticky-bar .tx-s-atc{border:1px solid var(--tx-line-strong);color:var(--tx-ink);background:#fff}
  .tx-sticky-bar .tx-s-buy{border:1px solid var(--tx-accent);background:var(--tx-accent);color:#fff}
}

/* v3.2.1: permanently remove Astra / plugin scroll-to-top arrows. */
#ast-scroll-top,
.ast-scroll-to-top-right,
.ast-scroll-to-top-left,
.ast-scroll-top-icon,
.scroll-to-top,
.back-to-top,
#scrollUp,
[class*="scroll-to-top"],
[class*="back-to-top"]{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}
