  :root{
    --bg:#0D0B09; --bg2:#141110; --ink:#F2EDE4; --ink-dim:#B9B0A2;
    --accent:#E5322D; --amber:#E8A020; --line:#2A241F; --card:#171310;
  }
  html[data-theme="light"]{
    --bg:#F4EFE6; --bg2:#EAE2D2; --ink:#171310; --ink-dim:#5C5344;
    --line:#D8CDB8; --card:#FFFFFF;
  }
  *{margin:0; padding:0; box-sizing:border-box;}
  html{scroll-behavior:auto; overflow-x:clip;}
  body{background:var(--bg); color:var(--ink); font-family:Inter,system-ui,sans-serif; overflow-x:clip;}
  img{display:block; max-width:none;}
  a{color:inherit;}
  .anton{font-family:'Cormorant Garamond',serif; font-weight:700; letter-spacing:.01em;}

  @media (max-width: 680px){
    header{flex-wrap:wrap; row-gap:8px; padding:10px 14px;}
    .brand{font-size:20px;}
    .brand-seal{width:27px; height:27px;}
    header nav{order:3; width:100%; overflow-x:auto; scrollbar-width:none; padding-bottom:2px; margin-left:0;}
    header nav::-webkit-scrollbar{display:none;}
    header nav a, header nav .tgl{white-space:nowrap;}
  #trust li{padding:12px;}
  #trust li b{font-size:16px;}
    .keys-top{top:122px !important;}
  }
  /* ---------- header ---------- */
  header{position:fixed; inset:0 0 auto 0; z-index:50; display:flex; align-items:center; gap:14px;
    padding:12px 16px; background:color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);}
  .brand{font-size:22px; text-decoration:none; display:flex; align-items:center; gap:9px;}
  .brand-seal{width:30px; height:30px; border-radius:50%;}
  .seal-stamp{width:64px; height:64px; margin:0 auto 10px;}
  .brand b{color:var(--accent); font-weight:400;}
  header nav{margin-left:auto; display:flex; gap:8px; align-items:center;}
  header nav a{font-size:13px; font-weight:600; text-decoration:none; padding:8px 10px; border:1px solid var(--line); border-radius:999px;}
  header nav a.wa{background:#1FA855; border-color:#1FA855; color:#fff;}
  .tgl{font:600 12px Inter,sans-serif; background:var(--card); color:var(--ink); border:1px solid var(--line);
    border-radius:999px; padding:8px 10px; cursor:pointer;}

  /* ---------- logo dropdown menu ---------- */
  html{scroll-behavior:smooth;}
  section[id]{scroll-margin-top:112px;}
  .brandbox{position:relative; display:flex; align-items:center; gap:9px;}
  .brand-seal-btn{background:none; border:none; padding:0; cursor:pointer; position:relative; display:block; line-height:0;}
  .brand-seal-btn .caret{position:absolute; right:-8px; bottom:-5px; font-size:9px; color:var(--amber);
    background:var(--bg); border:1px solid var(--line); border-radius:50%; width:15px; height:15px;
    display:flex; align-items:center; justify-content:center;}
  #menu-drop{position:absolute; top:calc(100% + 6px); left:12px; min-width:264px; z-index:60; display:none;
    background:color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter:blur(12px);
    border:1px solid var(--line); border-radius:16px; padding:8px; box-shadow:0 24px 50px rgba(0,0,0,.35);}
  #menu-drop.open{display:block;}
  #menu-drop a{display:flex; align-items:baseline; gap:10px; padding:10px 12px; border-radius:10px;
    text-decoration:none; color:var(--ink); font-size:14px; font-weight:600;}
  #menu-drop a:hover{background:color-mix(in srgb, var(--ink) 8%, transparent);}
  #menu-drop a .n{font-family:'Cormorant Garamond',serif; font-weight:700; font-size:11px; color:var(--accent); min-width:20px;}
  html[data-theme="light"] #menu-drop a .n{color:#B3231F;}
  #menu-drop .sep{height:1px; background:var(--line); margin:6px 4px;}

  /* ---------- hero ---------- */
  #hero-wrap{height:240vh; position:relative;}
  #hero-stage{position:sticky; top:0; height:100vh; height:100svh; overflow:hidden;}
  #scrub-hero{position:absolute; inset:0; background:#000;
    animation:heroSettle 900ms cubic-bezier(0.16,1,0.3,1) backwards;}
  #scrub-hero img{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0;}
  #scrub-hero img:first-child{opacity:1;}
  @keyframes heroSettle{from{opacity:0;} to{opacity:1;}}
  #hero-shade{position:absolute; inset:0; background:linear-gradient(180deg, rgba(8,6,5,.42) 0%, rgba(8,6,5,.18) 40%, rgba(8,6,5,.88) 100%);}
  #hero-content{position:absolute; inset:auto 0 0 0; padding:0 20px 12vh; color:#F6F1E7;}
  #hero-content .kicker{font-size:12px; font-weight:800; letter-spacing:.14em; color:var(--amber); text-transform:none;}
  #hero-content h1{font-size:clamp(56px, 15vw, 148px); line-height:.94; margin:10px 0 8px;}
  #hero-content h1 span{color:var(--accent);}
  #hero-content p{font-size:clamp(15px, 2.4vw, 20px); color:#EDE6D8; max-width:34ch;}
  #hero-cue{margin-top:18px; font-size:12px; font-weight:800; letter-spacing:.12em; color:#EDE6D8; text-transform:none;}
  #hero-cue i{display:inline-block; width:34px; height:2px; background:var(--accent); vertical-align:middle; margin-right:10px;}

  /* ---------- trust strip ---------- */
  #trust{border-block:1px solid var(--line); background:var(--bg2);}
  #trust ul{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; list-style:none;}
  #trust li{padding:16px; font-size:13px; font-weight:600; color:var(--ink-dim); background:var(--bg2);}
  #trust li b{display:block; font-size:22px; color:var(--ink); font-family:'Cormorant Garamond',serif; font-weight:700; letter-spacing:.01em;}
  @media(min-width:820px){ #trust ul{grid-template-columns:repeat(4,1fr);} }

  /* ---------- wall ---------- */
  #wall-wrap{height:250vh; position:relative;}
  #wall-stage{position:sticky; top:0; height:100vh; height:100svh; overflow:hidden; display:flex; flex-direction:column; justify-content:center; gap:14px;
    background:var(--bg);}
  #wall-head{padding:0 20px; display:flex; align-items:baseline; gap:14px; flex-wrap:wrap;}
  #wall-head h2{font-size:clamp(34px, 6.8vw, 60px);}
  #wall-head p{color:var(--ink-dim); font-size:14px; font-weight:600;}
  .wall-row{display:flex; gap:14px; width:max-content; will-change:transform;}
  .wall-row figure{position:relative; width:200px; height:264px; overflow:hidden; border-radius:10px; flex:none; background:var(--card);}
  .wall-row figure img{width:100%; height:100%; object-fit:cover;}
  .wall-row figcaption{position:absolute; left:0; right:0; bottom:0; padding:16px 10px 8px; font-size:11px; font-weight:800;
    letter-spacing:.06em; text-transform:none; color:#fff; background:linear-gradient(transparent, rgba(0,0,0,.72));}
  @media(min-width:820px){ .wall-row figure{width:250px; height:330px;} }

  /* ---------- chapters ---------- */
  .chapter{padding:11vh 20px; max-width:1200px; margin:0 auto;}
  .chapter .kick{font-size:12px; font-weight:800; letter-spacing:.14em; color:var(--accent); text-transform:none;}
  html[data-theme="light"] .chapter .kick{color:#B3231F;}
  .chapter h2{font-size:clamp(42px, 8.8vw, 84px); line-height:.98; margin:8px 0 10px;}
  .chapter .lede{color:var(--ink-dim); font-size:16px; max-width:52ch;}
  .chapter .cta{display:flex; gap:10px; margin-top:20px; flex-wrap:wrap;}
  .btn{display:inline-block; padding:13px 20px; border-radius:999px; font-weight:800; font-size:14px; text-decoration:none; border:1px solid var(--line);}
  .btn.red{background:var(--accent); border-color:var(--accent); color:#fff;}
  .btn.wa{background:#1FA855; border-color:#1FA855; color:#fff;}
  .chapter .big{margin-top:26px; border-radius:14px; overflow:hidden; background:var(--card);}
  .chapter .big img{width:100%; height:min(68vh, 620px); object-fit:cover;}
  .duo{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:14px;}
  .duo figure{border-radius:14px; overflow:hidden; background:var(--card);}
  .duo figure img{width:100%; height:300px; object-fit:cover;}
  .duo figcaption{padding:10px 12px; font-size:12px; font-weight:600; color:var(--ink-dim);}

  /* ---------- drum beats ---------- */
  #drum-wrap{height:280vh; position:relative;}
  #drum-stage{position:sticky; top:0; height:100vh; height:100svh; overflow:hidden; background:#0A0806;}
  .scene{position:absolute; inset:0; opacity:0;}
  .scene.first{opacity:1;}
  .scene img{width:100%; height:100%; object-fit:cover;}
  #drum-shade{position:absolute; inset:0; background:linear-gradient(180deg, rgba(5,4,3,.35), rgba(5,4,3,.05) 45%, rgba(5,4,3,.85));}
  #drum-ui{position:absolute; inset:auto 0 0 0; padding:0 20px 9vh; color:#F6F1E7;}
  #drum-ui .kick{font-size:12px; font-weight:800; letter-spacing:.14em; color:var(--amber); text-transform:none;}
  .beat{position:absolute; left:20px; right:20px; bottom:16vh; opacity:0;}
  .beat.on{opacity:1;}
  .beat h3{font-size:clamp(42px, 9.8vw, 92px); line-height:.95;}
  .beat p{color:#EDE6D8; font-size:15px; margin-top:6px; max-width:40ch;}
  #drum-bar{height:4px; background:rgba(255,255,255,.18); border-radius:2px; margin-top:20px; position:relative;}
  #drum-fill{position:absolute; inset:0 auto 0 0; width:0%; background:var(--accent); border-radius:2px;}
  .tick{position:absolute; top:-3px; width:2px; height:10px; background:rgba(255,255,255,.55);}


  /* ---------- giro (chrome sequences, scroll-scrubbed frames) ---------- */
  .scrub-wrap{height:240vh; position:relative; background:#070505;}
  .scrub-stage{position:sticky; top:0; height:100vh; height:100svh; overflow:hidden; background:#070505;}
  #scrub-keys{position:absolute; inset:0;}
  #scrub-keys img{position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:0;}
  #scrub-keys img:first-child{opacity:1;}
  .keys-top{position:absolute; top:78px; left:0; right:0; z-index:3; text-align:center; padding:0 16px;}
  .keys-top .scrub-bar{margin:10px auto 0;}
  .keys-cap{position:absolute; left:0; right:0; bottom:0; z-index:3; text-align:center; padding:72px 16px 26px;
    background:linear-gradient(transparent, rgba(5,3,3,.9) 48%); color:#F6F1E7;}
  .keys-cap .seal-stamp{width:56px; height:56px;}
  .keys-cap .anton{font-size:clamp(29px, 6.6vw, 46px);}
  .keys-cap span{display:block; color:#CFC6B6; font-size:13.5px; font-weight:600; margin:6px auto 16px; max-width:520px;}
  .btn.vamos{font-family:'Cormorant Garamond',serif; font-weight:700; letter-spacing:.03em; font-size:18px;
    padding:15px 30px; background:linear-gradient(135deg, #E63329, #9E130C); border-color:#E63329; color:#fff;
    box-shadow:0 12px 30px rgba(230,51,41,.35);}
  .scrub-cap{color:#F6F1E7; text-align:center;}
  .scrub-cap .anton{font-size:clamp(27px, 6vw, 44px);}
  .scrub-cap span{display:block; color:#B9B0A2; font-size:13px; font-weight:600; margin-top:4px;}
  .scrub-bar{width:min(86vw, 400px); height:4px; background:rgba(255,255,255,.15); border-radius:2px; position:relative;}
  .scrub-fill{position:absolute; inset:0 auto 0 0; width:0%; background:var(--amber); border-radius:2px;}

  /* ---------- magazine (hojeable, flip on demand; never traps the scroll) ---------- */

  .quad{display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:26px;}
  .quad figure{border-radius:14px; overflow:hidden; background:var(--card);}
  .quad figure img{width:100%; height:230px; object-fit:cover;}
  .quad figcaption{padding:10px 12px; font-size:12px; font-weight:600; color:var(--ink-dim);}

  /* ---------- catalog rail (deslizable, como el de Rich) ---------- */
  .rail-zone{margin-top:26px;}
  .rail-zone .rail{padding-left:0; padding-right:0;}
  .rail-zone .rail-ui{padding:0;}
  .drumshop-cat{max-width:1200px; margin:0 auto; padding:0 20px 6vh;}
  .drumshop-cat .kick{font-size:12px; font-weight:800; letter-spacing:.14em; color:var(--amber); text-transform:none;}
  .drumshop-cat h3{font-size:clamp(26px, 5.4vw, 40px); margin-top:6px;}

  #catalogo{padding:11vh 0 9vh;}
  #catalogo .head{max-width:1200px; margin:0 auto; padding:0 20px;}
  #catalogo .kick{font-size:12px; font-weight:800; letter-spacing:.14em; color:var(--accent); text-transform:none;}
  html[data-theme="light"] #catalogo .kick{color:#B3231F;}
  #catalogo .head h2{font-size:clamp(38px, 8vw, 76px); line-height:.98; margin:8px 0 6px;}
  #catalogo .hint{color:var(--ink-dim); font-size:14px; font-weight:600;}
  .rail{display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x proximity; padding:22px 20px 10px;
    scrollbar-width:none; cursor:grab;}
  .rail::-webkit-scrollbar{display:none;}
  .rail.dragging{cursor:grabbing; scroll-snap-type:none;}
  .rail-card{flex:0 0 238px; scroll-snap-align:start; background:var(--card); border:1px solid var(--line); border-radius:14px; overflow:hidden;}
  .rail-card .ph{height:168px; background:#fff; overflow:hidden;}
  .rail-card .ph img{width:100%; height:100%; object-fit:contain;}
  .rail-card .ph.cover img{object-fit:cover;}
  .rail-card .bd{padding:12px 14px 14px;}
  .rail-card h3{font-family:'Cinzel Decorative',serif; font-weight:700; font-size:16.5px; line-height:1.15; text-transform:uppercase; min-height:38px;}
  .rail-card .pr{font-weight:800; font-size:17px; margin-top:6px;}
  .rail-card a{display:inline-block; margin-top:10px; background:#1FA855; color:#fff; text-decoration:none; font-weight:800; font-size:12.5px; padding:9px 14px; border-radius:999px;}
  .rail-ui{max-width:1200px; margin:8px auto 0; padding:0 20px; display:flex; align-items:center; gap:12px;}
  .rail-bar{flex:1; height:4px; background:var(--line); border-radius:2px; position:relative;}
  .rail-fill{position:absolute; inset:0 auto 0 0; width:8%; background:var(--accent); border-radius:2px;}
  .rail-ui span{font-size:12px; font-weight:800; letter-spacing:.16em; color:var(--ink-dim); white-space:nowrap;}

  /* ---------- close / store ---------- */
  #local{padding:12vh 20px; max-width:1200px; margin:0 auto;}
  #local h2{font-size:clamp(38px, 8vw, 72px); line-height:.98;}
  #local .grid{display:grid; gap:22px; margin-top:22px;}
  @media(min-width:820px){ #local .grid{grid-template-columns:1.2fr .8fr;} }
  #local p{color:var(--ink-dim); font-size:16px; max-width:52ch;}
  #local .fact{border:1px solid var(--line); border-radius:14px; padding:18px; background:var(--card);}
  #local .fact b{font-family:'Cormorant Garamond',serif; font-weight:700; font-size:24px; display:block; margin-bottom:6px;}
  #local .fact span{color:var(--ink-dim); font-size:14px;}
  footer{border-top:1px solid var(--line); padding:26px 20px 110px; color:var(--ink-dim); font-size:13px;
    display:flex; gap:14px; flex-wrap:wrap; justify-content:space-between;}

  /* ---------- sticky bar ---------- */
  #sticky-bar{position:fixed; left:12px; right:76px; bottom:12px; z-index:60; transform:translateY(160%);
    background:var(--card); border:1px solid var(--line); border-radius:14px; padding:10px 12px;
    display:flex; align-items:center; gap:10px; box-shadow:0 10px 30px rgba(0,0,0,.35);}
  #sticky-bar span{font-size:13px; font-weight:600;}
  #sticky-bar a{margin-left:auto; background:#1FA855; color:#fff; text-decoration:none; font-weight:800; font-size:13px;
    padding:10px 14px; border-radius:999px; white-space:nowrap;}

  @media (prefers-reduced-motion: reduce){
    #scrub-hero{animation:none;}
  }

/* ==========================================================================
   TONY MUSICA WP BRIDGE (additions only, prototype rules above are untouched)
   - WP admin bar offset for the fixed header
   - WooCommerce [products] shortcode output styled as prototype rail cards
   ========================================================================== */
body.admin-bar header{ top:32px; }
@media (max-width:782px){ body.admin-bar header{ top:46px; } }
.rail-ui span a{ color:inherit; }
.tm-wc-rail .woocommerce{ width:100%; }
.tm-wc-rail .woocommerce ul.products{ display:flex; gap:14px; margin:0; padding:0; list-style:none; align-items:flex-start; }
.tm-wc-rail .woocommerce ul.products::before,
.tm-wc-rail .woocommerce ul.products::after{ display:none; }
.tm-wc-rail .woocommerce ul.products li.product{
  flex:0 0 238px; width:238px; margin:0; float:none; clear:none; position:relative;
  scroll-snap-align:start; background:var(--card); border:1px solid var(--line);
  border-radius:14px; overflow:hidden; text-align:left;
}
.tm-wc-rail .woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:block; text-decoration:none; color:inherit;
}
.tm-wc-rail .woocommerce ul.products li.product img{
  width:100%; height:168px; object-fit:contain; background:#fff; margin:0;
}
.tm-wc-rail .woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:Inter,system-ui,sans-serif; font-weight:700; font-size:14.5px; line-height:1.35;
  text-transform:none; letter-spacing:0; padding:12px 14px 0; margin:0; color:var(--ink); min-height:39px;
  overflow-wrap:break-word;
}
.tm-wc-rail .woocommerce ul.products li.product .price{
  display:block; font-weight:800; font-size:17px; margin-top:6px; padding:0 14px; color:var(--ink);
}
.tm-wc-rail .woocommerce ul.products li.product .button{
  display:inline-block; margin:8px 14px 10px; background:#1FA855; color:#fff;
  text-decoration:none; font-weight:800; font-size:12px; padding:7px 12px; border-radius:999px;
}
.tm-wc-rail .woocommerce ul.products li.product .onsale{
  position:absolute; top:10px; left:10px; z-index:2; background:var(--accent); color:#fff;
  font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 8px; border-radius:999px; min-height:0; min-width:0; line-height:1.4;
}
.tm-wc-rail .woocommerce ul.products li.product .tm-wa-link{
  display:inline-block; margin:0 14px 10px; background:#1FA855; color:#fff;
  text-decoration:none; font-weight:800; font-size:12px; padding:7px 12px; border-radius:999px;
}

  /* ---------- added chapter catalog blocks (2026-11-03) ---------- */
  .tm-cat-block{max-width:1200px; margin:0 auto; padding:0 20px 6vh;}
  .tm-cat-block .kick{font-size:12px; font-weight:800; letter-spacing:.14em; color:var(--amber); text-transform:none;}
  .tm-cat-block h3{font-size:clamp(26px, 5.4vw, 40px); margin-top:6px;}
/* FIX 4: sticky rescue — keep the home page's wrapper ancestors from becoming scroll containers */
#page, #content{overflow:visible;}

/* FIX 8: rail arrows, rail title clamp, tighter phone cards
   (owner's iPhone audit, 2026-11-05: rails would not scroll or go back,
   and eight-line titles made ~540px cards). */
.rail-nav{flex:none; width:38px; height:38px; border-radius:50%; border:1px solid var(--line); background:var(--card); color:var(--ink); font-size:22px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0 0 3px;}
.rail-nav:disabled{opacity:.3; cursor:default;}
.tm-wc-rail .woocommerce ul.products li.product .woocommerce-loop-product__title{
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
}
@media (max-width: 680px){
  .tm-wc-rail .woocommerce ul.products li.product{ flex-basis:210px; width:210px; }
  .tm-wc-rail .woocommerce ul.products li.product img{ height:150px; }
}

/* ---------- FIX 12 (2026-11-07): menu accordion (las solapas) ----------
   Each catalog area in the seal menu expands to its real subcategories.
   The panel scrolls when the accordions make it taller than the screen. */
#menu-drop{max-height:min(74vh, 660px); overflow-y:auto;}
#menu-drop .tm-mi{position:relative;}
#menu-drop .tm-mi > a{padding-right:46px;}
#menu-drop .tm-acc{position:absolute; top:3px; right:4px; width:34px; height:34px; border-radius:50%;
  border:1px solid var(--line); background:transparent; color:var(--ink); font-size:14px; line-height:1;
  cursor:pointer; display:flex; align-items:center; justify-content:center; padding:0 0 2px;}
#menu-drop .tm-acc[aria-expanded="true"]{transform:rotate(180deg);}
#menu-drop .tm-sub{display:none; padding:0 0 8px 32px;}
#menu-drop .tm-sub.open{display:block;}
#menu-drop .tm-sub a{display:block; padding:7px 10px; font-size:13.5px; font-weight:600; color:var(--ink-dim); border-radius:8px;}
#menu-drop .tm-sub a:hover{color:var(--ink);}

/* ---------- FIX 14 (2026-11-08): hero title in light mode ----------
   The hero photo is dark in both themes, but the h1 inherited the
   theme ink, so in light mode "Tony" turned dark and vanished into
   the photo (Martin's catch on his iPhone). The title now keeps the
   same warm light tone as the hero paragraph in both themes, with a
   soft shadow for the photo's bright chrome areas. "Musica" keeps
   its red span. */
html[data-theme="light"] #hero-content h1{color:#EDE6D8; text-shadow:0 2px 22px rgba(0,0,0,.55), 0 1px 4px rgba(0,0,0,.6);}

/* ---------- FIX 15 (2026-11-08): que el menu se descubra ----------
   Tony's catch: customers did not realize the seal opens the menu; the
   only hint was a 15px caret badge. The button is now a labeled chip,
   seal + the word "Categorias", and the open panel is more solid so
   its list stays readable over photos. */
.brand-seal-btn{display:flex; align-items:center; gap:8px; line-height:1;
  padding:5px 13px 5px 6px; border:1px solid var(--line); border-radius:999px;
  background:color-mix(in srgb, var(--bg) 55%, transparent);}
.brand-seal-btn .menu-label{font-family:Inter,system-ui,sans-serif; font-size:13px; font-weight:800;
  letter-spacing:.02em; color:var(--ink); white-space:nowrap;}
.brand-seal-btn .menu-arrow{color:var(--amber); font-size:11px;}
#menu-drop{background:color-mix(in srgb, var(--bg) 94%, transparent);}
