/* Tsuki Center · ajustes para móvil (v0.4): más compacto, iconos más pequeños,
   carta lateral también en móvil y botones flotantes que no tapan los productos. */
@media (max-width:720px){
  /* espacios y títulos */
  .sec{padding-block:34px}
  .sec.tight{padding-block:24px}
  h2{font-size:26px}
  .head{margin-bottom:14px;gap:8px}
  .head p{font-size:13.5px}
  .kicker{font-size:11px;margin-bottom:4px}
  .wrap{padding-inline:14px}

  /* cabecera e iconos */
  .h-main{height:56px}
  .logo img{height:40px;width:auto}
  .h-btn .ico,.h-actions .ico{width:21px;height:21px}
  .h-actions{gap:2px}
  .h-btn{padding:6px}

  /* carrusel principal */
  .slider{min-height:440px}
  .slide{padding:16px 18px 64px;grid-template-rows:auto auto;align-content:start;gap:6px}
  .slide .art{height:170px}
  .slider .arrows{display:none}
  .slide .art img{max-height:160px}
  .slide h1,.slide .h1{font-size:32px;margin-bottom:8px}
  .slide p{font-size:13.5px;margin-bottom:12px}
  .slide .pr{font-size:22px}
  .slide .btn{height:42px;padding:0 16px;font-size:14px}
  .side-tiles{grid-template-columns:1fr 1fr;gap:10px}
  .tile{padding:14px;min-height:150px;border-radius:18px}
  .tile h3{font-size:16px;max-width:100%}
  .tile p{display:none}
  .tile .pic{width:64px;height:auto;right:8px;bottom:8px;object-fit:contain}
  .tile .tag{font-size:11px;padding:3px 8px}
  .tile .link{font-size:13px}

  /* garantías: tira horizontal compacta */
  .trust{display:flex;overflow-x:auto;gap:8px;scrollbar-width:none;margin-inline:-14px;padding-inline:14px}
  .trust::-webkit-scrollbar{display:none}
  .trust div{flex:0 0 auto;padding:10px 12px;gap:10px;border-radius:14px}
  .trust .ic{width:32px;height:32px;border-radius:10px}
  .trust .ic .ico{width:17px;height:17px}
  .trust b{font-size:13px;white-space:nowrap}
  .trust span{font-size:11.5px;white-space:nowrap}

  /* ¿A qué juegas? */
  .cats{gap:8px}
  .cat{padding:10px 6px;border-radius:16px;gap:2px}
  .cat img{width:62%}
  .cat b{font-size:13px}
  .cat small{font-size:11px}

  /* tarjetas de producto (carrusel y catálogo) */
  .rail{grid-auto-columns:calc((100% - 10px)/2.15);gap:10px}
  .grid{grid-template-columns:1fr 1fr;gap:10px}
  .card{border-radius:16px}
  .c-img{padding:8px}
  .badges{top:6px;left:6px;gap:4px}
  .bdg{font-size:10.5px;padding:3px 7px}
  .c-acts{top:6px;right:6px}
  .c-acts button{width:30px;height:30px}
  .c-acts .ico{width:15px;height:15px}
  .c-body{padding:10px 10px 12px;gap:4px}
  .c-meta{font-size:11px}
  .card h3{font-size:13px;line-height:1.25}
  .c-price b{font-size:17px}
  .c-price s{font-size:12px}
  .c-price .save{font-size:10.5px;padding:2px 6px}
  .tp-earn{font-size:10.5px;padding:2px 6px}
  .card .add{height:36px;border-radius:10px;font-size:13px}
  .card .add .ico{width:17px;height:17px}
  .tabs button,.g-pills button{height:34px;padding:0 13px;font-size:13px}
  .toolbar{gap:8px}

  /* 30 aniversario */
  .band{padding:22px 18px;gap:12px}
  .band h2{font-size:26px}
  .band p{font-size:13.5px}
  .band .btn{height:42px;font-size:14px}
  .fan{height:170px}

  /* idiomas */
  .langs-grid{gap:8px}
  .lang{padding:12px;min-height:0;border-radius:16px}
  .lang b{font-size:16px}
  .lang span{font-size:12px}
  .lang img{width:58px;height:58px}
  .lang .flag{width:26px;height:18px}

  /* tiendas y vending */
  .v-item{padding:10px;gap:10px}
  .v-item b{font-size:14px}
  .v-item .pin{width:36px;height:36px}
  .map-wrap{min-height:260px}

  /* Tsuki Points */
  .tp-hero{padding:22px 18px;gap:16px}
  .tp-hero h2{font-size:26px}
  .tp-hero p{font-size:13.5px}
  .tp-how{grid-template-columns:1fr;gap:6px}
  .tp-how div{padding:9px 12px;border-radius:12px;display:flex;align-items:baseline;gap:10px}
  .tp-how b{font-size:16px;margin:0;white-space:nowrap;flex:0 0 92px}
  .tp-how span{font-size:12px;line-height:1.3}
  .tp-card{padding:18px}
  .tp-card .bal{font-size:38px}
  .tp-grid{gap:8px}
  .rw{padding:12px;border-radius:16px;gap:4px}
  .rw .ic{width:38px;height:38px;font-size:19px;border-radius:11px}
  .rw b{font-size:13.5px}
  .rw p{font-size:11.5px}
  .rw .cost{font-size:16px}
  .rw .btn{height:36px;font-size:12.5px;padding:0 10px}

  /* comunidad */
  .news{padding:22px 18px}
  .news h3{font-size:22px}
  .news .masc{width:110px;opacity:.5}
  .channels{grid-template-columns:1fr 1fr;gap:8px}
  .ch{padding:12px;border-radius:16px}
  .ch .ic{width:34px;height:34px;border-radius:10px}
  .ch .ic svg{width:18px;height:18px}
  .ch b{font-size:14px}
  .ch span{font-size:11.5px}
  .ch.wide{grid-column:1/-1}

  /* preguntas frecuentes */
  .faq{gap:16px}
  .qa button{font-size:14.5px;padding:14px 0}

  /* barra inferior y botones flotantes */
  .bbar{padding:4px 4px calc(4px + env(safe-area-inset-bottom))}
  .bbar button,.bbar a{font-size:10px;padding:4px 0;gap:2px}
  .bbar .ico{width:19px;height:19px}
  .wa{bottom:70px;right:10px}
  .wa-btn{width:44px;height:44px}
  .wa-btn svg{width:23px;height:23px}
  .to-top{display:none}
  .admin-btn{bottom:72px;left:10px;height:38px;font-size:13px}

  /* carta lateral también en móvil, pequeña, pegada al borde */
  .side-card{display:block;right:4px;width:28px;height:40px}
  .side-card .pct{display:none}
  .side-track{display:none}
  .sc-f{border-radius:5px}

  /* comparador también en móvil: botón visible en cada tarjeta y barra encima de la barra inferior */
  .c-acts button.cmp{display:grid;opacity:1;transform:none}
  .cmp-bar{bottom:70px;width:calc(100% - 20px);padding:8px;gap:8px;border-radius:16px}
  .cmp-bar span{font-size:12.5px}
  .cmp-bar .th img,.cmp-bar .th i{width:34px;height:34px}
  .cmp-table{overflow-x:auto}
  .cmp-table table{min-width:520px;font-size:13px}

  /* pie */
  .foot{gap:20px}
  footer{padding-bottom:70px}
}
@media (max-width:720px){
  /* carrusel: los botones caben siempre dentro de la diapositiva */
  .slider{min-height:470px}
  .slide .row{flex-wrap:wrap;gap:8px}
  .slide .row .btn{height:40px;padding:0 14px;font-size:13.5px}
  .slide .art img{mix-blend-mode:normal}
}
@media (max-width:720px){
  /* apertura del sobre: las 5 cartas en una fila, sin tapar el texto */
  .table{min-height:340px;border-radius:20px}
  .pulled{flex-wrap:nowrap;gap:6px;row-gap:6px;padding:14px 10px 64px;align-items:center}
  .pull{width:calc((100% - 24px)/5);max-width:74px}
  .pull .rl{font-size:9.5px;padding:2px 6px;bottom:-24px;white-space:nowrap}
  .pull .ft{font-size:5.5px}
  .pull .fx{font-size:5px}
  .pack{transform:scale(.82)}
  .hint{bottom:14px;font-size:12px;padding-inline:10px}
  .odds{gap:6px}
  .odds span{font-size:11.5px;padding:5px 9px}

  /* mapa: marcadores más pequeños y nada encima de ellos */
  .map-wrap{height:380px}
  .mk{width:34px;height:34px;box-shadow:0 0 0 2px var(--blue),0 6px 12px rgba(0,0,0,.22)}
  .mk img{width:28px;height:28px}
  .plano-note{top:auto;bottom:10px;right:10px;left:auto;font-size:10px}
  .plano-card{left:10px;right:10px;bottom:10px;padding:10px 12px;font-size:12.5px;max-width:none}
  .plano-card b{font-size:14px}

  /* entrar / crear cuenta: textos largos dentro de sus botones */
  .acc-login .login{padding:22px 16px}
  .acc-login .login-f .btn{white-space:normal;height:auto;min-height:48px;padding:10px 14px;line-height:1.2;font-size:15px}
  .acc-login .tp-login{font-size:12.5px}
  .acc-login .woocommerce-privacy-policy-text,.acc-login .login-f p{font-size:12px}
}
@media (max-width:720px){
  /* cartas pequeñas del sobre: solo nombre y dibujo */
  .face.front .fx,.face.front .ft span+span{display:none}
  .face.front .ft{font-size:7px;justify-content:center;text-align:center;line-height:1.1}
  .face.front{padding:5px}
}
@media (max-width:720px){
  .slider{min-height:505px}
  .slide{padding-bottom:58px}
}
/* v0.5.3 · móvil: menos scroll hasta los productos */
@media (max-width:720px){
  /* fuera en móvil: idiomas y tira de garantías */
  .sec-langs,.trust{display:none!important}

  /* carrusel principal: alto según su contenido (sin hueco abajo) */
  .slider{min-height:0;display:grid}
  .slide{position:relative;inset:auto;grid-area:1/1;padding:14px 16px 40px;gap:4px}
  .slide .art{height:130px}
  .slide .art img{max-height:125px}
  .slide h1,.slide .h1{font-size:28px;margin-bottom:6px}
  .slide p{font-size:13px;margin-bottom:10px}
  .slide .tag{font-size:11.5px;padding:4px 10px}
  .s-ctrl{bottom:14px}

  /* bloques Coreano y Tsuki Points más bajos */
  .hero-grid{gap:10px}
  .tile{min-height:0;padding:12px 12px 14px}
  .tile h3{font-size:14.5px;line-height:1.15}
  .tile .tag{margin-bottom:8px!important}
  .tile .pic{width:58px;height:auto;aspect-ratio:auto;object-fit:contain}
  .tile .link{font-size:12.5px;margin-top:6px}

  /* ¿A qué juegas? más pequeño */
  .cat{padding:8px 4px 10px}
  .cat img{width:54%}
  .cat b{font-size:12.5px}
  .cat small{display:none}
}
@media (max-width:720px){ .tile.live .pic{display:none} .tile.live h3{max-width:100%} }
/* Panel del equipo en móvil: compacto y sin textos fuera de sus casillas */
@media (max-width:720px){
  .ad-body{padding:12px}
  .stk-sum{grid-template-columns:repeat(3,1fr);gap:6px;margin-bottom:10px}
  .stk-sum div{padding:8px 9px;border-radius:12px;min-width:0}
  .stk-sum b{font-size:17px}
  .stk-sum span{font-size:10.5px;line-height:1.25;display:block}
  .stk-sum div:nth-child(n+4){display:none}
  .stk-bar{gap:6px;margin-bottom:8px}
  .stk-search{flex:1 1 100%;height:42px}
  .stk-search input{font-size:14px;min-width:0}
  .stk-bar .btn{flex:1 1 0;height:40px;padding:0 10px;font-size:13px;min-width:0}
  .stk-bar .btn .ico{width:16px;height:16px}
  .stk-opts{gap:6px;margin-bottom:8px}
  .stk-opts .chips{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:5px;scrollbar-width:none;max-width:100%}
  .stk-opts .chips button{flex:0 0 auto;height:32px;padding:0 10px;font-size:12px;white-space:nowrap}
  .stk-pos{font-size:12.5px;padding:2px 0;width:100%}
  .stk-cols{grid-template-columns:1fr}
  .stk-log{display:none}
  .stk-row{grid-template-columns:44px 1fr;grid-template-areas:"img inf" "locs locs" "acts acts";gap:8px;padding:10px}
  .stk-row img{width:44px;height:44px}
  .stk-row b{font-size:13px}
  .stk-locs{justify-content:space-between;gap:8px}
  .stk-locs .loc span{font-size:10px}
  .stk-acts{justify-content:flex-start!important;gap:5px}
  .stk-acts button{height:34px;padding:0 8px;font-size:11.5px}
  .tp-st-cols,.hm-grid{grid-template-columns:1fr}
  .tp-tbl{font-size:12.5px}
  .hm-top{flex-wrap:wrap}
  .hm-save .v-note{display:none}
  .hm-save .btn{width:100%}
  .stk-search{min-width:0}
}
@media (max-width:720px){
  .hm-ph.small span{bottom:auto;top:6px}
  .hm-ph span{font-size:10.5px;padding:4px 8px}
}
@media (max-width:720px){
}
@media (max-width:720px){
  /* botón del panel del equipo: redondo y pequeño, sin tapar contenido */
  body.tc-staff .admin-btn{width:44px;height:44px;padding:0;justify-content:center;font-size:0;gap:0;border-radius:50%;left:10px;bottom:70px}
  .admin-btn .ico{width:20px;height:20px}
  #sobres .live-box{padding:18px}
  #sobres .live-box p{margin:6px 0 12px}
  #sobres .plats{margin-top:12px}
}
/* v0.6.6 · fotos del carrusel: más grandes, juntas y la segunda con transparencia */
.slide .art img+img{opacity:0}
.slide.on .art img+img{opacity:.55}
@media (max-width:720px){
  .slide .art{height:200px;display:flex;align-items:center;justify-content:center}
  .slide .art img{max-height:195px;max-width:62%;position:relative;z-index:2;transform:translateX(-10%)}
  .slide .art img+img{position:absolute;z-index:1;max-height:62%;max-width:44%;right:auto;left:56%;bottom:6%;transform:none}
}
@media (min-width:721px){
  .slide .art img+img{right:-8%;bottom:6%;max-height:62%;z-index:-1}
}
@media (max-width:720px){ .hm-block .hm-top{flex-wrap:nowrap} .hm-block .hm-top>div:first-child{min-width:0;flex:1} }
@media (max-width:720px){ .tile.kr h3{max-width:68%} .tile.kr .pic{width:50px} }
@media (max-width:720px){
  .tp-home{flex-wrap:wrap;gap:10px}
  .tp-home>div{flex:1 1 0;min-width:0}
  .tp-home b{font-size:17px;display:block}
  .tp-home .btn{width:100%}
  .acc-grid .stat b{font-size:22px}
}
/* Tablet: la cabecera cabe entera (buscador más estrecho, botones más juntos) */
@media (min-width:721px) and (max-width:1024px){
  .h-main{gap:12px}
  .header .search{min-width:0;flex:1 1 auto}
  .search kbd{display:none}
  .search .go{padding:0 12px}
  .search input{padding:0 8px}
  .h-actions{gap:0;flex:0 0 auto}
  .h-btn{padding:0 9px}
  .h-btn .lbl{display:none}
}

/* ===== Banners personalizables (fuente, colores, foto de fondo, 3 fotos con opacidad) ===== */
.slide{isolation:isolate}
.slide .sbg{position:absolute;inset:0;z-index:-2;background:center/cover no-repeat;pointer-events:none}
.slide.has-bg::before{display:none}
.slide h1,.slide .h1{font-family:var(--sf,var(--display));color:var(--st,inherit);font-size:calc(clamp(34px,4.6vw,68px) * var(--tsz,1))}
.slide.f-bebas h1,.slide.f-bebas .h1,.slide.f-bangers h1,.slide.f-bangers .h1,.slide.f-marker h1,.slide.f-marker .h1{font-weight:400;letter-spacing:.01em;line-height:1}
.slide p{color:var(--sx,var(--ink2))}
.slide .row .btn.dark{background:var(--sb,var(--ink))!important;color:var(--sbt,#fff)!important}
.slide.on .art img{opacity:var(--op,1)}
.slide .art img.i3{position:absolute;left:2%;right:auto;bottom:6%;max-height:52%;transition-delay:.25s;z-index:-1}
.slide .art img.i2{z-index:0}
@media (max-width:720px){
  .slide h1,.slide .h1{font-size:calc(32px * var(--tsz,1))}
  .slide.on .art img+img{opacity:var(--op,.55)}
  .slide .art img.i3{left:-4%;right:auto;bottom:6%;max-height:55%;max-width:40%;transform:none}
}
@media (max-width:420px){.slide h1,.slide .h1{font-size:calc(28px * var(--tsz,1))}}
.slide .art img{mix-blend-mode:normal!important}
.slide .pr,.slide .pr s{color:var(--st,inherit)}
.slide .pr s{opacity:.7}
.slide.on .art img+img{opacity:var(--op,.55)}
@media (min-width:721px){.slide .art img.i3{left:-12%;bottom:2%;max-height:50%}}
/* ===== Banners más profesionales: foco de luz y sombra en vez del círculo ===== */
.slide .burst{display:none}
.slide .art::before{content:"";position:absolute;left:50%;top:48%;width:88%;aspect-ratio:1.3;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.55),rgba(255,255,255,.18) 55%,transparent);filter:blur(6px);z-index:-1;pointer-events:none}
.slide .art::after{content:"";position:absolute;left:50%;bottom:6%;width:62%;height:22px;transform:translateX(-50%);border-radius:50%;background:radial-gradient(closest-side,rgba(10,12,30,.32),transparent);filter:blur(4px);z-index:-1;pointer-events:none}
.slide .art img{filter:drop-shadow(0 16px 22px rgba(10,12,30,.22))}
.slide.dark .art::before{background:radial-gradient(closest-side,rgba(255,255,255,.28),rgba(255,255,255,.08) 55%,transparent)}
.slide.dark .art::after{background:radial-gradient(closest-side,rgba(0,0,0,.45),transparent)}
/* fondos oscuros: textos claros (salvo que se haya elegido un color a mano) */
.slide.dark h1,.slide.dark .h1{color:var(--st,#fff)}
.slide.dark p{color:var(--sx,rgba(255,255,255,.86))}
.slide.dark .pr{color:var(--st,#fff)}
.slide.dark .pr s{color:var(--st,rgba(255,255,255,.7))}
.slide.dark .row .btn.dark{background:var(--sb,#fff)!important;color:var(--sbt,#0f172a)!important}
.slide.dark .row .btn.white{background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.35)!important}
@media (max-width:720px){
  .slide .art{height:250px!important}
  .slide .art img.i1{max-height:240px!important;max-width:88%!important;transform:none}
  .slide .art:has(img.i2) img.i1{max-width:70%!important;transform:translateX(-10%)}
  .slide .art::before{width:96%;top:50%}
  .slide .art::after{bottom:2%;width:70%}
}
@media (max-width:420px){.slide .art{height:220px!important}.slide .art img.i1{max-height:212px!important}}
/* Fotos de los banners principales más grandes */
@media (min-width:1025px){
  .slide{grid-template-columns:.92fr 1.25fr}
  .slide .art img.i1{max-height:clamp(320px,34vw,500px);max-width:112%;width:auto}
  .slide .art:has(img.i2) img.i1{max-width:96%}
}
@media (max-width:720px){
  .slide .art{height:285px!important}
  .slide .art img.i1{max-height:275px!important;max-width:96%!important}
  .slide .art::after{width:76%}
}
@media (max-width:420px){.slide .art{height:250px!important}.slide .art img.i1{max-height:242px!important;max-width:98%!important}}
@media (max-width:720px){
  .slide .art{height:300px!important;margin-top:-8px}
  .slide .art img.i1{max-height:292px!important}
  .slide{padding-top:8px!important}
}
@media (max-width:420px){.slide .art{height:285px!important}.slide .art img.i1{max-height:276px!important}}
/* ===== Banners en ordenador: composición profesional ===== */
.slide h1,.slide .h1{font-size:calc(clamp(34px,4.6vw,68px) * var(--tsz,1) * var(--tauto,1));text-wrap:balance}
.slide .txt{min-width:0}
.slide p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (min-width:721px){
  .slide{padding-bottom:calc(clamp(28px,4vw,64px) + 34px)!important;align-items:center}
  .slide .row{row-gap:10px}
  .slide .row .btn{white-space:nowrap}
  .slide .art{height:100%;min-height:0;align-self:stretch}
  .slide .art img.i1{max-height:min(82%,440px)!important;max-width:100%!important;position:relative;z-index:1}
  /* dos fotos: principal a la izquierda, secundaria delante a la derecha */
  .slide .art:has(img.i2) img.i1{max-width:74%!important;max-height:min(76%,410px)!important;transform:translateX(-12%)}
  .slide.on .art:has(img.i2) img.i1{transform:translateX(-12%)}
  .slide .art img.i2{position:absolute;right:0;bottom:8%;max-height:52%!important;max-width:46%!important;z-index:2;filter:drop-shadow(0 14px 18px rgba(10,12,30,.28))}
  .slide.on .art img.i2{opacity:var(--op,1)!important}
  .slide .art img.i3{left:0;bottom:10%;max-height:46%!important;max-width:40%!important;z-index:0}
  .slide.on .art img.i3{opacity:var(--op,1)!important}
}
@media (min-width:1025px){.slide{grid-template-columns:1fr 1.1fr}}
@media (max-width:720px){.slide h1,.slide .h1{font-size:calc(32px * var(--tsz,1) * max(var(--tauto,1), .8))}}
@media (max-width:420px){.slide h1,.slide .h1{font-size:calc(28px * var(--tsz,1) * max(var(--tauto,1), .8))}}
/* La zona de la foto es un marco fijo en la mitad derecha: las fotos siempre caben enteras */
@media (min-width:721px){
  .slide{grid-template-columns:1fr!important}
  .slide .txt{max-width:47%;position:relative;z-index:2}
  .slide .art{position:absolute!important;top:6%;bottom:8%;right:2.5%;width:52%;height:auto!important;display:grid;place-items:center;z-index:1}
  .slide .art img.i1{max-height:90%!important;max-width:100%!important}
  .slide .art:has(img.i2) img.i1{max-height:80%!important;max-width:72%!important}
  .slide .art img.i2{max-height:56%!important;max-width:44%!important;bottom:4%}
  .slide .art img.i3{max-height:50%!important;max-width:38%!important;bottom:6%}
}
@media (min-width:721px){
  .slide .art{overflow:visible}
  .slide .art img{transform:translateY(12px) scale(.97)}
  .slide.on .art img{transform:none}
  .slide .art:has(img.i2) img.i1{transform:translateX(-12%) translateY(12px) scale(.97)}
  .slide.on .art:has(img.i2) img.i1{transform:translateX(-12%)}
}
/* Marco fijo: cada foto ocupa su hueco y se ajusta entera (object-fit) */
@media (min-width:721px){
  .slide .art{display:block!important}
  .slide .art img.i1{position:absolute!important;inset:2% 0 4% 0;width:100%!important;height:94%!important;max-width:none!important;max-height:none!important;object-fit:contain;object-position:center}
  .slide .art:has(img.i2) img.i1{inset:0 24% 12% 0;width:76%!important;height:88%!important;transform:none}
  .slide.on .art:has(img.i2) img.i1{transform:none}
  .slide .art img.i2{position:absolute!important;right:0;bottom:2%;left:auto;top:auto;width:44%!important;height:54%!important;max-width:none!important;max-height:none!important;object-fit:contain;object-position:right bottom}
  .slide .art img.i3{position:absolute!important;left:0;bottom:4%;right:auto;top:auto;width:38%!important;height:48%!important;max-width:none!important;max-height:none!important;object-fit:contain;object-position:left bottom}
  .slide .art::after{bottom:0}
}
