/* =====================================================
   TÉCNICA, CLASES Y TIENDA (oct 2026)
   Misma imagen que Práctica (practica.css, cárgalo antes):
   tela Fortaleza, sombras negras duras y Bebas Neue.
===================================================== */

.sx-intro{ margin:14px 0 4px; color:#fff; font-size:13px; font-weight:600; line-height:1.4; text-shadow:1px 1px 0 #000; }

/* =====================================================
   TÉCNICA — elegir instrumento (ejercicios.html)
===================================================== */
.te-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:18px; }
.te-inst{
  --rot:-1.5deg;
  position:relative;
  display:flex;
  flex-direction:column;
  padding:10px 10px 12px;
  border:4px solid transparent;
  border-radius:14px;
  background:
    linear-gradient(var(--c), var(--c)) padding-box,
    var(--f-estampado) center / auto 120px border-box;
  color:var(--t);
  text-decoration:none;
  box-shadow:6px 6px 0 #000;
  -webkit-tap-highlight-color:transparent;
}
.te-inst:nth-child(even){ --rot:1.5deg; }
.te-inst:active{ transform:translate(3px,3px) !important; box-shadow:2px 2px 0 #000; }
.te-foto{
  aspect-ratio:1;
  border-radius:10px;
  background:#fff center / 88% no-repeat;
  border:3px solid #000;
  margin-bottom:8px;
}
.te-nombre{ font-family:'Bebas Neue',sans-serif; font-size:34px; line-height:.9; letter-spacing:1px; }
.te-sub{ font-size:12px; font-weight:800; letter-spacing:1px; opacity:.85; margin:4px 0 8px; }
.te-inst .pv-barra{ height:8px; }
.te-inst .pv-sticker{ font-size:14px; padding:3px 8px; top:-10px; left:auto; right:-8px; transform:rotate(6deg); }

.te-mundo-banner{
  position:relative;
  margin:26px 0 8px;
  padding:16px;
  border-radius:14px;
  background:#fff;
  color:#111;
  border:4px solid #000;
  box-shadow:6px 6px 0 var(--f-rojo);
  transform:rotate(-.6deg);
}
.te-mundo-banner b{ display:block; font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:28px; letter-spacing:1px; line-height:1; margin-bottom:6px; }
.te-mundo-banner p{ font-size:13px; font-weight:600; line-height:1.4; }

/* =====================================================
   TÉCNICA — página de un instrumento (tecnica.html)
===================================================== */
.te-cab{ display:flex; gap:12px; align-items:center; }
.te-cab-txt{ flex:1; min-width:0; }
.te-cab-foto{
  width:96px;
  aspect-ratio:1;
  flex-shrink:0;
  border-radius:50%;
  background:#fff center / 80% no-repeat;
  border:4px solid #000;
  box-shadow:4px 4px 0 rgba(0,0,0,.4);
  transform:rotate(6deg);
}

.te-fund{
  display:flex;
  gap:12px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:4px 4px 12px;
  margin:0 -4px;
  -webkit-overflow-scrolling:touch;
}
.te-fund::-webkit-scrollbar{ display:none; }
.te-fund-card{
  flex:0 0 72%;
  scroll-snap-align:start;
  padding:12px 14px;
  background:#fff;
  color:#111;
  border-left:7px solid var(--c, var(--f-rojo));
  border-radius:12px;
  box-shadow:4px 4px 0 #000;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
}
.te-fund-card small{
  display:block;
  margin-bottom:4px;
  font-family:'Bebas Neue',sans-serif;
  font-size:22px;
  letter-spacing:1px;
  color:#000;
}
.te-fund-card small::before{
  content:counter(fund);
  counter-increment:fund;
  display:inline-block;
  width:24px;
  margin-right:6px;
  text-align:center;
  background:#000;
  color:var(--f-amarillo);
  border-radius:4px;
}
.te-fund{ counter-reset:fund; }

.te-canal{
  display:inline-block;
  margin-top:3px;
  padding:1px 6px;
  background:#000;
  color:#fff;
  font-size:12px;
  font-weight:800;
  letter-spacing:.8px;
  border-radius:4px;
}
.pc-item.mundo .pc-item-num{ background:var(--f-rojo); color:#fff; }

.te-otros{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.te-otros a{
  flex:1 1 40%;
  padding:10px 8px;
  border:3px solid #000;
  border-radius:10px;
  font-family:'Bebas Neue',sans-serif;
  font-size:22px;
  letter-spacing:1px;
  text-align:center;
  text-decoration:none;
  background:var(--c);
  color:var(--t);
  box-shadow:4px 4px 0 #000;
}
.te-otros a:active{ transform:translate(2px,2px); box-shadow:2px 2px 0 #000; }

/* =====================================================
   CLASES (clases.html)
===================================================== */
.cl-proxima{
  --rot:-1deg;
  position:relative;
  margin:22px 0 10px;
  padding:20px 16px 16px;
  border:5px solid transparent;
  border-radius:14px;
  background:
    linear-gradient(var(--f-rojo), var(--f-rojo)) padding-box,
    var(--f-estampado) center / auto 130px border-box;
  color:#fff;
  box-shadow:7px 7px 0 #000;
}
.cl-proxima.ahora{ background:linear-gradient(#00A651, #00A651) padding-box, var(--f-estampado) center / auto 130px border-box; }
.cl-proxima-fila{ display:flex; gap:14px; align-items:center; }
.cl-fecha{
  flex-shrink:0;
  width:78px;
  padding:6px 0 8px;
  text-align:center;
  background:#fff;
  color:#000;
  border:3px solid #000;
  border-radius:10px;
  box-shadow:3px 3px 0 #000;
  transform:rotate(-4deg);
}
.cl-fecha small{ display:block; background:#000; color:var(--f-amarillo); font-size:12px; font-weight:800; letter-spacing:1px; margin:-6px 0 2px; padding:3px 0; border-radius:6px 6px 0 0; }
.cl-fecha b{ display:block; font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:46px; line-height:.9; }
.cl-fecha span{ font-size:12px; font-weight:800; letter-spacing:1px; }
.cl-proxima-titulo{ font-family:'Bebas Neue',sans-serif; font-size:40px; line-height:.9; letter-spacing:1px; }
.cl-proxima-hora{ font-size:14px; font-weight:800; margin-top:4px; }
.cl-cuenta{
  display:flex;
  gap:8px;
  margin-top:14px;
}
.cl-cuenta div{
  flex:1;
  padding:6px 0;
  text-align:center;
  background:#000;
  color:var(--f-amarillo);
  border-radius:8px;
  box-shadow:3px 3px 0 rgba(0,0,0,.35);
}
.cl-cuenta b{ display:block; font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:34px; line-height:1; }
.cl-cuenta span{ font-size:12px; font-weight:800; letter-spacing:1px; color:#fff; }
.cl-ahora-txt{
  margin-top:14px;
  padding:10px;
  text-align:center;
  background:#000;
  color:var(--f-amarillo);
  border-radius:8px;
  font-family:'Bebas Neue',sans-serif;
  font-size:26px;
  letter-spacing:1px;
}

.cl-botones{ display:flex; gap:10px; margin-top:14px; }

.cl-repasa{
  display:flex;
  align-items:center;
  gap:12px;
  margin:16px 0 4px;
  padding:12px 14px;
  background:#fff;
  color:#111;
  border-left:7px solid var(--f-amarillo);
  border-radius:12px;
  box-shadow:4px 4px 0 #000;
  text-decoration:none;
  font-size:13px;
  font-weight:600;
  line-height:1.35;
}
.cl-repasa small{ display:block; font-size:12px; font-weight:800; letter-spacing:1px; color:var(--f-rojo); }
.cl-repasa b{ font-weight:800; }
.cl-repasa .pv-feed-flecha{ margin-left:auto; }

.cl-dia{
  display:flex;
  gap:12px;
  margin:12px 0;
  padding:10px;
  background:#111;
  color:#fff;
  border-radius:12px;
  box-shadow:5px 5px 0 #000;
}
.cl-dia.hoy{ outline:3px solid var(--f-amarillo); }
.cl-dia .cl-fecha{ width:58px; transform:none; box-shadow:none; border-width:2px; }
.cl-dia .cl-fecha b{ font-size:32px; }
.cl-dia .cl-fecha small{ font-size:12px; }
.cl-sesiones{ flex:1; min-width:0; display:flex; flex-direction:column; gap:6px; justify-content:center; }
.cl-sesion{ display:flex; align-items:center; gap:10px; }
.cl-sesion-hora{
  flex-shrink:0;
  min-width:52px;
  font-family:'Bebas Neue',sans-serif;
  font-size:22px;
  letter-spacing:.5px;
  color:var(--f-amarillo);
}
.cl-sesion-nombre{ font-size:14px; font-weight:700; line-height:1.2; }
.cl-sesion-nombre small{ display:block; font-size:12px; font-weight:700; opacity:.65; }
.cl-sesion::before{
  content:"";
  width:6px;
  align-self:stretch;
  border-radius:3px;
  background:var(--k, var(--f-amarillo));
  flex-shrink:0;
}

.cl-vacio, .cl-cargando{
  margin:22px 0;
  padding:20px;
  text-align:center;
  background:#111;
  color:#fff;
  border-radius:12px;
  box-shadow:5px 5px 0 #000;
  font-weight:600;
}
.cl-cargando{ animation:clRespira 1.2s ease-in-out infinite; }
@keyframes clRespira{ 50%{ opacity:.55; } }

/* =====================================================
   TIENDA (tienda.html)
===================================================== */
.ti-hero{
  --rot:-1deg;
  position:relative;
  margin:22px 0 14px;
  padding:20px 16px 16px;
  border:5px solid transparent;
  border-radius:14px;
  background:
    linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.9)) padding-box,
    var(--f-estampado) center / auto 160% padding-box,
    var(--f-estampado) center / auto 130px border-box;
  color:#fff;
  box-shadow:7px 7px 0 #000;
}
.ti-hero h2{
  font-family:'Bebas Neue',sans-serif;
  font-weight:400;
  font-size:46px;
  line-height:.9;
  letter-spacing:1px;
  color:var(--f-amarillo);
}
.ti-hero p{ font-size:13px; font-weight:600; margin:8px 0 12px; opacity:.9; }
.ti-ventajas{ display:flex; flex-wrap:wrap; gap:6px; }
.ti-ventajas span{
  padding:4px 9px;
  font-size:12px;
  font-weight:800;
  letter-spacing:1px;
  background:var(--f-amarillo);
  color:#000;
  border-radius:20px;
}

.ti-filtros{ display:flex; gap:8px; overflow-x:auto; padding:6px 4px 12px; margin:0 -4px; }
.ti-filtros::-webkit-scrollbar{ display:none; }
.ti-filtros button{
  flex-shrink:0;
  padding:7px 14px;
  border:3px solid #000;
  border-radius:30px;
  background:#fff;
  color:#000;
  font-family:'Bebas Neue',sans-serif;
  font-size:19px;
  letter-spacing:1px;
  box-shadow:3px 3px 0 #000;
  cursor:pointer;
}
.ti-filtros button.active{ background:var(--f-rojo); color:#fff; transform:rotate(-2deg); }

.ti-grid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ti-item{
  --rot:0deg;
  position:relative;
  display:flex;
  flex-direction:column;
  background:#fff;
  color:#111;
  border:3px solid #000;
  border-radius:12px;
  box-shadow:5px 5px 0 #000;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.ti-item:nth-child(odd){ --rot:-.8deg; }
.ti-item:nth-child(even){ --rot:.8deg; }
.ti-item:active{ transform:translate(2px,2px) !important; box-shadow:2px 2px 0 #000; }
.ti-foto{
  aspect-ratio:1;
  border-radius:9px 9px 0 0;
  background:#fff center / contain no-repeat;
  border-bottom:3px solid #000;
}
.ti-info{ padding:8px 10px 10px; display:flex; flex-direction:column; flex:1; }
.ti-cat{ font-size:12px; font-weight:800; letter-spacing:1px; color:var(--f-rojo); }
.ti-nombre{ font-family:'Bebas Neue',sans-serif; font-size:22px; line-height:1; letter-spacing:.5px; margin:2px 0 8px; }
.ti-pie{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.ti-pedir{
  padding:5px 10px;
  border:2px solid #000;
  border-radius:8px;
  background:var(--f-amarillo);
  color:#000;
  font-family:'Bebas Neue',sans-serif;
  font-size:17px;
  letter-spacing:1px;
  box-shadow:2px 2px 0 #000;
}
.ti-precio{
  position:absolute;
  top:-10px;
  right:-8px;
  padding:4px 10px;
  background:#000;
  color:var(--f-amarillo);
  font-family:'Bebas Neue',sans-serif;
  font-size:22px;
  letter-spacing:.5px;
  transform:rotate(6deg);
  box-shadow:3px 3px 0 var(--f-rojo);
}
.ti-tallas{ font-size:12px; font-weight:800; letter-spacing:1px; opacity:.6; }

/* ventana de pedido */
.ti-modal-foto{
  height:150px;
  margin:18px 0 10px;
  border-radius:10px;
  background:#fff center / contain no-repeat;
  border:3px solid #000;
}
.ti-modal-cab{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:10px; }
.ti-modal-cab h2{ font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:32px; line-height:1; letter-spacing:.5px; }
.ti-modal-cab .ti-precio{ position:static; transform:rotate(4deg); flex-shrink:0; }
.ti-tallas-sel{ display:flex; gap:6px; flex-wrap:wrap; margin:6px 0 12px; }
.ti-tallas-sel label{ position:relative; }
.ti-tallas-sel input{ position:absolute; opacity:0; inset:0; }
.ti-tallas-sel span{
  display:block;
  min-width:44px;
  padding:7px 8px;
  text-align:center;
  border:3px solid #000;
  border-radius:8px;
  font-family:'Bebas Neue',sans-serif;
  font-size:19px;
  background:#fff;
  color:#000;
  cursor:pointer;
}
.ti-tallas-sel input:checked + span{ background:#000; color:var(--f-amarillo); transform:rotate(-3deg); }
.ti-campo-titulo{ font-size:12px; font-weight:800; letter-spacing:1px; margin-top:4px; }
.ti-cantidad{ display:flex; align-items:center; gap:10px; margin:6px 0 12px; }
.ti-cantidad button{
  width:42px;
  height:42px;
  border:3px solid #000;
  border-radius:10px;
  background:var(--f-amarillo);
  font-family:'Bebas Neue',sans-serif;
  font-size:26px;
  box-shadow:3px 3px 0 #000;
  cursor:pointer;
}
.ti-cantidad output{ min-width:34px; text-align:center; font-family:'Bebas Neue',sans-serif; font-size:32px; }
.ti-total{ margin-left:auto; text-align:right; font-size:12px; font-weight:800; letter-spacing:1px; }
.ti-total b{ display:block; font-family:'Bebas Neue',sans-serif; font-weight:400; font-size:30px; line-height:1; letter-spacing:.5px; color:var(--f-rojo); }
