/* === Category Pages Stylesheet === */

:root{
    --ink:#0D0D0D;
    --ink-soft:#17171A;
    --red:#E30613;
    --red-deep:#A80410;
    --navy:#1B2A6B;
    --gold:#E3A006;
    --white:#FFFFFF;
    --steel:#6B6E76;
    --concrete:#F5F5F4;
    --concrete-deep:#EDEDEC;
    --line:#26262A;
    --line-soft:#E4E4E4;
    --display: 'Anton', sans-serif;
    --body: 'Inter', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(.16,.84,.44,1);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:.001ms !important; transition-duration:.001ms !important;}
  }
  body{
    font-family:var(--body); color:var(--ink); background:var(--white); line-height:1.55;
    -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale;
    overflow-x:hidden;
    -webkit-text-size-adjust:100%; text-size-adjust:100%;
  }
  main{
    opacity:0; transform:translateY(20px);
    transition:opacity 1.1s var(--ease), transform 1.1s var(--ease);
  }
  main.loaded{opacity:1; transform:translateY(0);}
  img{display:block; max-width:100%; height:auto;}
  a{color:inherit; text-decoration:none;}
  button{font-family:inherit; cursor:pointer; border:none; background:none;}
  ul{list-style:none;}
  h1,h2,h3,.font-display{font-family:var(--display); text-transform:uppercase; letter-spacing:.01em; font-weight:400;}
  .eyebrow{font-family:var(--mono); font-size:.72rem; letter-spacing:.16em; text-transform:uppercase; color:var(--red); display:inline-flex; align-items:center; gap:8px;}
  .eyebrow::before{content:''; width:22px; height:2px; background:var(--red);}
  .mono{font-family:var(--mono);}
  :focus-visible{outline:3px solid var(--navy); outline-offset:3px;}
  .wrap{max-width:1280px; margin:0 auto; padding:0 24px;}
  @media (max-width:640px){.wrap{padding:0 18px;}}

  /* ============ Loader ============ */
  .wolf-loader{
    position:fixed; inset:0; background:#09090b; z-index:9999;
    display:flex; align-items:center; justify-content:center;
    transition:transform 0.8s var(--ease), opacity 0.8s var(--ease), visibility 0.8s;
    overflow:hidden;
  }
  .wolf-loader.loaded{transform:scale(1.04); opacity:0; visibility:hidden; pointer-events:none;}
  .loader-inner{width:100%; max-width:80%; display:flex; flex-direction:column; align-items:center; gap:16px;}
  @media (min-width:768px){.loader-inner{max-width:55%;}}
  .loader-text-wrap{width:100%; position:relative; padding-bottom:22%; height:0;}
  @supports (aspect-ratio:1000/220){.loader-text-wrap{padding-bottom:0; height:auto; aspect-ratio:1000/220;}}
  .loader-text-wrap svg{position:absolute; top:0; left:0; width:100%; height:100%;}
  .loader-counter{width:100%; display:flex; justify-content:space-between; align-items:center; font-family:var(--mono); font-size:.74rem; letter-spacing:.1em; color:rgba(255,255,255,.45); margin-top:8px; border-top:1px solid rgba(255,255,255,.08); padding-top:12px;}
  .loader-pct{font-weight:700; color:var(--red); font-size:.84rem;}

  /* ============ Colourful scroll progress ============ */
  .scroll-progress{
    position:fixed; top:0; left:0; height:4px; width:0;
    z-index:999; transition:width .1s linear;
    background:linear-gradient(90deg, var(--red) 0%, var(--gold) 33%, var(--navy) 66%, var(--red) 100%);
    background-size:300% 100%;
    animation:scrollGradientMove 4s linear infinite;
    box-shadow:0 0 14px rgba(227,6,19,.55);
    will-change:width, background-position;
  }
  @keyframes scrollGradientMove{
    0%{background-position:0% 0%;}
    100%{background-position:300% 0%;}
  }

  /* ============ Scroll-down cue (colourful) ============ */
  .scrollcue{
    position:absolute; left:50%; bottom:26px; transform:translateX(-50%);
    display:flex; flex-direction:column; align-items:center; gap:8px; z-index:5;
    color:var(--white); font-family:var(--mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase;
    opacity:.85;
  }
  .scrollcue .wheel{
    width:26px; height:42px; border:2px solid rgba(255,255,255,.55); border-radius:14px; position:relative; overflow:hidden;
  }
  .scrollcue .wheel::before{
    content:''; position:absolute; left:50%; top:8px; width:5px; height:5px; border-radius:50%;
    background:linear-gradient(180deg, var(--red), var(--gold), var(--navy));
    transform:translateX(-50%);
    animation:cueDrop 1.6s ease-in-out infinite;
  }
  @keyframes cueDrop{
    0%{top:8px; opacity:1;}
    70%{opacity:1;}
    100%{top:26px; opacity:0;}
  }
  .scrollcue .chevrons{display:flex; flex-direction:column; gap:2px;}
  .scrollcue .chevrons span{
    display:block; width:12px; height:12px; border-right:2px solid var(--red); border-bottom:2px solid var(--red);
    transform:rotate(45deg); animation:chevBounce 1.6s ease-in-out infinite;
  }
  .scrollcue .chevrons span:nth-child(2){border-color:var(--gold); animation-delay:.15s;}
  .scrollcue .chevrons span:nth-child(3){border-color:var(--navy); animation-delay:.3s;}
  @keyframes chevBounce{
    0%,100%{opacity:.25; transform:translateY(-3px) rotate(45deg);}
    50%{opacity:1; transform:translateY(3px) rotate(45deg);}
  }

  /* ============ Reveal-on-scroll ============ */
  .reveal{opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease);}
  .reveal.in-view{opacity:1; transform:translateY(0);}
  .reveal-stagger > *{opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease);}
  .reveal-stagger.in-view > *{opacity:1; transform:translateY(0);}
  .reveal-stagger.in-view > *:nth-child(1){transition-delay:.03s;}
  .reveal-stagger.in-view > *:nth-child(2){transition-delay:.08s;}
  .reveal-stagger.in-view > *:nth-child(3){transition-delay:.13s;}
  .reveal-stagger.in-view > *:nth-child(4){transition-delay:.18s;}
  .reveal-stagger.in-view > *:nth-child(5){transition-delay:.23s;}
  .reveal-stagger.in-view > *:nth-child(6){transition-delay:.28s;}
  .reveal-stagger.in-view > *:nth-child(7){transition-delay:.33s;}
  .reveal-stagger.in-view > *:nth-child(8){transition-delay:.38s;}
  .reveal-stagger.in-view > *:nth-child(9){transition-delay:.43s;}
  .reveal-stagger.in-view > *:nth-child(10){transition-delay:.48s;}
  .reveal-stagger.in-view > *:nth-child(11){transition-delay:.53s;}
  .reveal-stagger.in-view > *:nth-child(12){transition-delay:.58s;}
  .reveal-stagger.in-view > *:nth-child(13){transition-delay:.63s;}
  .reveal-stagger.in-view > *:nth-child(14){transition-delay:.68s;}
  .reveal-stagger.in-view > *:nth-child(15){transition-delay:.73s;}
  .reveal-stagger.in-view > *:nth-child(16){transition-delay:.78s;}
  .reveal-stagger.in-view > *:nth-child(17){transition-delay:.83s;}
  .reveal-stagger.in-view > *:nth-child(18){transition-delay:.88s;}
  .reveal-stagger.in-view > *:nth-child(19){transition-delay:.93s;}
  .reveal-stagger.in-view > *:nth-child(20){transition-delay:.98s;}

  /* ============ Buttons ============ */
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:9px;
    font-weight:800; font-size:.82rem; text-transform:uppercase; letter-spacing:.05em;
    padding:15px 26px; border:2px solid var(--ink);
    transition:transform .18s var(--ease), background .2s, color .2s, box-shadow .2s;
    white-space:nowrap; position:relative; overflow:hidden; cursor:pointer;
  }
  .btn::before{content:''; position:absolute; top:50%; left:50%; width:0; height:0; border-radius:50%; background:rgba(255,255,255,.2); transform:translate(-50%,-50%); transition:width .6s, height .6s;}
  .btn:active::before{width:300px; height:300px;}
  .btn:hover{transform:translateY(-3px);}
  .btn-primary{background:var(--red); border-color:var(--red); color:var(--white); box-shadow:0 8px 20px -8px rgba(227,6,19,.6);}
  .btn-primary:hover{background:var(--red-deep); border-color:var(--red-deep); box-shadow:0 12px 28px -8px rgba(227,6,19,.7);}
  .btn-dark{background:var(--ink); color:var(--white);}
  .btn-dark:hover{background:#000; box-shadow:0 8px 24px -8px rgba(0,0,0,.5);}
  .btn-ghost{background:transparent; color:var(--white); border-color:rgba(255,255,255,.5);}
  .btn-ghost:hover{background:rgba(255,255,255,.12); border-color:var(--white);}
  .btn-outline-ink{background:transparent; color:var(--ink); border-color:var(--ink);}
  .btn-outline-ink:hover{background:var(--ink); color:var(--white);}
  .btn-wa{background:#128C4A; border-color:#128C4A; color:var(--white);}
  .btn-wa:hover{background:#0f7540; border-color:#0f7540;}
  .btn-sm{padding:11px 18px; font-size:.72rem;}
  .btn-about{background:var(--navy); border-color:var(--navy); color:var(--white);}
  .btn-about:hover{background:#15225a; border-color:#15225a;}
  .btn-lg{padding:19px 38px; font-size:.9rem;}

  /* ============ Header / Nav (same as site) ============ */
  header.site{position:sticky; top:0; z-index:210; background:#ffffff; border-bottom:1px solid var(--line-soft); transition:box-shadow .25s, padding .25s, background .3s;}
  header.site.scrolled{box-shadow:0 10px 30px -18px rgba(0,0,0,.35);}
  body.menu-open header.site{background:var(--ink); border-bottom-color:rgba(255,255,255,.12);}
  body.menu-open .brand picture img{filter:invert(1) brightness(1.5);}
  nav.main{display:flex; align-items:center; justify-content:space-between; padding:12px 24px; gap:24px;}
  .brand{display:flex; align-items:center; gap:0;}
  .brand picture img{height:52px; width:auto; mix-blend-mode:multiply; transition:height .25s;}
  header.site.scrolled .brand picture img{height:42px;}
  .navlinks{display:flex; gap:2px; align-items:center;}
  .navlinks a{font-family:var(--body); font-weight:700; font-size:.82rem; text-transform:uppercase; letter-spacing:.04em; color:var(--ink); padding:10px 14px; position:relative;}
  .navlinks a::after{content:''; position:absolute; left:14px; right:14px; bottom:6px; height:2px; background:var(--red); transform:scaleX(0); transform-origin:left; transition:transform .25s var(--ease);}
  .navlinks a:hover::after, .navlinks a.active::after{transform:scaleX(1);}
  .nav-cta{display:flex; align-items:center; gap:10px;}
  .mobile-toggle{display:none; width:44px; height:44px; position:relative; z-index:210; flex-direction:column; justify-content:center; align-items:center; gap:5px;}
  .mobile-toggle span{display:block; width:26px; height:2.5px; background:var(--ink); transition:transform .3s var(--ease), opacity .2s, background .3s;}
  .mobile-toggle.open span{background:var(--white);}
  .mobile-toggle.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg);}
  .mobile-toggle.open span:nth-child(2){opacity:0;}
  .mobile-toggle.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg);}

  .mobile-menu{position:fixed; inset:0; background:var(--ink); z-index:200; display:flex; flex-direction:column; padding:160px 24px 32px; transform:translateY(-100%); transition:transform .45s var(--ease); overflow-y:auto;}
  .mobile-menu.open{transform:translateY(0);}
  .mobile-menu .mm-links{display:flex; flex-direction:column; gap:6px; margin-bottom:40px;}
  .mobile-menu .mm-links a{font-family:var(--display); font-size:clamp(1.5rem, 8vw, 2.1rem); color:var(--white); text-transform:uppercase; padding:10px 0; border-bottom:1px solid rgba(255,255,255,.1); opacity:0; transform:translateX(-24px); transition:opacity .5s var(--ease), transform .5s var(--ease);}
  .mobile-menu.open .mm-links a{opacity:1; transform:translateX(0);}
  .mobile-menu.open .mm-links a:nth-child(1){transition-delay:.08s;}
  .mobile-menu.open .mm-links a:nth-child(2){transition-delay:.14s;}
  .mobile-menu.open .mm-links a:nth-child(3){transition-delay:.2s;}
  .mobile-menu.open .mm-links a:nth-child(4){transition-delay:.26s;}
  .mobile-menu .mm-cta{display:flex; flex-direction:column; gap:14px; margin-top:auto;}
  body.menu-open{overflow:hidden;}
  @media (max-width:900px){
    .navlinks{display:none;}
    .nav-cta .btn-sm.hide-mobile{display:none;}
    .mobile-toggle{display:flex;}
  }
  @media (max-width:480px){
    nav.main{padding:10px 18px; gap:12px;}
    .brand picture img{height:38px;}
    header.site.scrolled .brand picture img{height:34px;}
    .nav-cta{gap:8px;}
    .nav-cta .btn-sm{padding:9px 13px; font-size:.68rem;}
  }

  /* ============ Category hero banner ============ */
  .cathero{position:relative; background:var(--ink); overflow:hidden; padding:70px 0 96px; isolation:isolate;}
  .cathero::before{
    content:''; position:absolute; inset:0; z-index:0; opacity:.5;
    background:
      radial-gradient(circle at 15% 20%, rgba(227,6,19,.28) 0%, transparent 45%),
      radial-gradient(circle at 85% 75%, rgba(27,42,107,.32) 0%, transparent 50%);
    background-size:200% 200%; animation:heroBgShift 12s ease-in-out infinite alternate;
  }
  @keyframes heroBgShift{0%{background-position:0% 0%;}50%{background-position:60% 100%;}100%{background-position:100% 20%;}}
  .cathero-inner{position:relative; z-index:1;}
  .breadcrumb{display:flex; align-items:center; gap:8px; font-family:var(--mono); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:26px; flex-wrap:wrap;}
  .breadcrumb a{color:rgba(255,255,255,.75); transition:color .2s;}
  .breadcrumb a:hover{color:var(--red);}
  .breadcrumb .sep{color:rgba(255,255,255,.3);}
  .cathero h1{color:var(--white); font-size:clamp(2.4rem,6vw,4.2rem); line-height:.98; max-width:760px;}
  .cathero h1 span{color:var(--red);}
  .cathero p{color:rgba(255,255,255,.68); font-size:1.02rem; max-width:560px; margin-top:20px;}
  .cathero-meta{display:flex; gap:28px; flex-wrap:wrap; margin-top:34px;}
  .cathero-meta .m b{display:block; font-family:var(--display); font-size:1.7rem; color:var(--white);}
  .cathero-meta .m span{font-family:var(--mono); font-size:.66rem; letter-spacing:.08em; text-transform:uppercase; color:rgba(255,255,255,.5);}
  .cathero-meta .m{border-left:2px solid var(--red); padding-left:14px;}

  /* ============ Product grid (same visual language as index) ============ */
  .catsection{padding:80px 0 96px;}
  .sec-head{max-width:680px; margin-bottom:44px;}
  .sec-head h2{font-size:clamp(1.9rem, 4vw, 2.7rem); line-height:1; margin-top:14px;}
  .sec-head p{color:var(--steel); font-size:1.02rem; margin-top:16px; max-width:560px;}

  .prod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
  @media (max-width:1000px){ .prod-grid{grid-template-columns:repeat(3,1fr);} }
  @media (max-width:720px){ .prod-grid{grid-template-columns:repeat(2,1fr); gap:14px;} }
  @media (max-width:400px){ .prod-grid{gap:10px;} }
  .prod-card{border:1px solid var(--line-soft); transition:box-shadow .25s, transform .25s; background:white;}
  .prod-card:hover{box-shadow:0 22px 40px -22px rgba(0,0,0,.28); transform:translateY(-4px);}
  .prod-thumb{position:relative; width:100%; padding-bottom:100%; background:var(--concrete); overflow:hidden;}
  .prod-thumb img{position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease);}
  .prod-card:hover .prod-thumb img{transform:scale(1.06);}
  .prod-thumb .pcode{position:absolute; top:10px; left:10px; z-index:2; background:var(--ink); color:var(--white); font-family:var(--mono); font-size:.65rem; letter-spacing:.05em; padding:5px 9px;}
  .prod-info{padding:16px 16px 18px;}
  .prod-info .pcat{font-family:var(--mono); font-size:.65rem; letter-spacing:.08em; text-transform:uppercase; color:var(--red);}
  .prod-info h4{font-family:var(--body); font-weight:700; font-size:.92rem; text-transform:none; margin-top:6px;}

  /* ============ Catalogue CTA (bottom of category) ============ */
  .cat-catalogue{background:var(--ink); color:var(--white); position:relative; overflow:hidden;}
  .cat-catalogue::before{content:''; position:absolute; top:0; right:0; width:46%; height:100%; background:repeating-linear-gradient(115deg, rgba(227,6,19,.06) 0 2px, transparent 2px 40px);}
  .catalogue-box{
    position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:32px;
    flex-wrap:wrap; padding:56px 0;
  }
  .catalogue-copy{max-width:600px;}
  .catalogue-copy .eyebrow{margin-bottom:14px;}
  .catalogue-copy h2{color:var(--white); font-size:clamp(1.8rem,4vw,2.6rem); line-height:1.02;}
  .catalogue-copy p{color:rgba(255,255,255,.65); margin-top:16px; font-size:.98rem;}
  .catalogue-actions{display:flex; gap:14px; flex-wrap:wrap;}
  @media (max-width:560px){
    .catalogue-box{padding:44px 0;}
    .catalogue-actions{width:100%;}
    .catalogue-actions .btn{width:100%;}
  }

  /* ============ Other-categories strip ============ */
    .other-cats{background:var(--concrete); padding:80px 0 96px;}
  .cat-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  @media (max-width:900px){ .cat-grid{grid-template-columns:1fr 1fr;} }
  @media (max-width:560px){ .cat-grid{grid-template-columns:1fr;} }
  .cat-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(160deg,#1c1c1f,#0d0d0d);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  z-index:0;
}
.cat-card::before{
  content:''; display:block;
  padding-bottom:133.33%;
  position:absolute;
  pointer-events:none;
}
@supports (aspect-ratio: 3/4){
  .cat-card::before { display:none; }
  .cat-card { aspect-ratio:3/4; }
}
.cat-card .cimg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  transition:transform .6s var(--ease);
  opacity:.85;
}
.cat-card:hover .cimg{
  transform:scale(1.08);
}
.cat-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg, rgba(0,0,0,.88) 10%, rgba(0,0,0,.15) 60%, rgba(0,0,0,.35) 100%);
}
.cat-card .cbody{
  position:relative;
  z-index:1;
  padding:24px;
  color:var(--white);
}
.cat-card .ccount{
  font-family:var(--mono);
  font-size:.68rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:8px;
  display:block;
}
.cat-card h3{
  font-size:1.5rem;
  line-height:1.05;
  margin-bottom:12px;
}
.cat-card .clink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--mono);
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  opacity:.85;
  transition:gap .2s;
}
.cat-card:hover .clink{
  gap:14px;
}

  /* ============ Footer ============ */
  footer.site{background:var(--ink); color:rgba(255,255,255,.6); padding-top:72px;}
  .foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:56px; border-bottom:1px solid rgba(255,255,255,.1);}
  @media (max-width:800px){ .foot-grid{grid-template-columns:1fr 1fr; row-gap:36px;} }
  @media (max-width:480px){ .foot-grid{grid-template-columns:1fr;} }
    .foot-brand picture img{height:52px; width:auto; max-width:100%; object-fit:contain; margin-bottom:16px;}
  .foot-brand p{font-size:.88rem; max-width:280px; line-height:1.7;}
  .foot-col h4{font-family:var(--mono); color:var(--white); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; margin-bottom:18px;}
  .foot-col ul{display:flex; flex-direction:column; gap:11px;}
  .foot-col a{font-size:.88rem; transition:color .2s;}
  .foot-col a:hover{color:var(--red);}
  .foot-bottom{display:flex; justify-content:space-between; align-items:center; padding:26px 0; font-size:.78rem; flex-wrap:wrap; gap:12px;}
  @media (max-width:560px){.foot-bottom{flex-direction:column; text-align:center; gap:8px;}}
  .social-row{display:flex; gap:10px;}
  .social-row a{width:38px; height:38px; border:1px solid rgba(255,255,255,.2); display:flex; align-items:center; justify-content:center; transition:background .2s, border-color .2s;}
  .social-row a:hover{background:var(--red); border-color:var(--red);}

  /* ============ Floating WhatsApp ============ */
  .float-wa{
    position:fixed; bottom:28px; right:28px; z-index:150; width:62px; height:62px; border-radius:50%; background:#25D366;
    display:flex; align-items:center; justify-content:center; box-shadow:0 8px 24px rgba(37,211,102,.45);
    transition:transform .25s var(--ease), box-shadow .25s; animation:waPulse 2.2s ease-in-out infinite;
  }
  .float-wa:hover{transform:scale(1.12); box-shadow:0 14px 32px rgba(37,211,102,.6); animation:none;}
  .float-wa svg{width:34px; height:34px; transition:transform .25s;}
  .float-wa:hover svg{transform:rotate(-8deg) scale(1.08);}
  @keyframes waPulse{0%,100%{box-shadow:0 8px 24px rgba(37,211,102,.45);}50%{box-shadow:0 12px 36px rgba(37,211,102,.7), 0 0 0 14px rgba(37,211,102,.08);}}
  @media (max-width:440px){.float-wa{width:54px; height:54px; bottom:20px; right:20px;} .float-wa svg{width:28px; height:28px;}}

  /* ============ Theme switcher global tokens (Accent-only variables) ============ */
  html.theme-light {
    --red: #E30613;
    --red-deep: #A80410;
    --glow-a: rgba(227,6,19,.55);
  }
  html.theme-dark {
    --red: #0ea5e9;
    --red-deep: #0284c7;
    --glow-a: rgba(14,165,233,.55);
  }
  html.theme-green {
    --red: #10b981;
    --red-deep: #059669;
    --glow-a: rgba(16,185,129,.55);
  }

  /* Theme Switcher Styles */
  .theme-switcher-desktop {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 220;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(15, 15, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 12px 8px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  @media (max-width: 900px) {
    .theme-switcher-desktop { display: none; }
  }

  .theme-switcher-mobile {
    display: none;
    gap: 6px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  @media (max-width: 900px) {
    .theme-switcher-mobile { display: flex; }
  }

  .ts-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
  }
  .theme-switcher-mobile .ts-btn {
    color: rgba(0, 0, 0, 0.5);
  }
  .theme-switcher-mobile .ts-btn.active {
    color: var(--red);
    background: rgba(227, 6, 19, 0.05);
    border-color: rgba(227, 6, 19, 0.1);
  }
  .ts-btn[data-theme="light"].active {
    color: #eab308;
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.3);
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.25);
  }
  .ts-btn[data-theme="dark"].active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
  }
  .ts-btn[data-theme="green"].active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
  }
  .ts-btn:hover {
    transform: scale(1.1);
    color: var(--white);
  }
  .theme-switcher-mobile .ts-btn:hover {
    color: var(--ink);
  }

/* --- Next Style Block --- */

@keyframes pulseLiveDot {
        0% { transform: scale(0.95); opacity: 0.9; }
        70% { transform: scale(2.2); opacity: 0; }
        100% { transform: scale(0.95); opacity: 0; }
      }

/* --- Next Style Block --- */

.live-sold-popup {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999999;
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(16, 16, 20, 0.95) 0%, rgba(28, 28, 34, 0.92) 100%);
  border: 1px solid rgba(227, 6, 19, 0.45);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 24px rgba(227, 6, 19, 0.22);
  backdrop-filter: blur(16px);
  max-width: 390px;
  width: calc(100vw - 48px);
  transform: translateX(-140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  font-family: var(--body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}
.live-sold-popup.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.live-sold-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  transition: color 0.2s, transform 0.2s;
}
.live-sold-close:hover {
  color: #fff;
  transform: scale(1.15);
}
.live-sold-thumb {
  width: 66px;
  height: 66px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.live-sold-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.live-sold-content {
  flex: 1;
  min-width: 0;
  padding-right: 16px;
}
.live-sold-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.live-sold-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: liveSoldPulse 1.5s infinite;
}
@keyframes liveSoldPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}
.live-sold-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.live-sold-time {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  margin-left: auto;
}
.live-sold-buyer {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}
.live-sold-item {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.35;
}
@media (max-width: 600px) {
  .live-sold-popup {
    bottom: 16px;
    left: 16px;
    right: 16px;
    width: calc(100vw - 32px);
  }
}